]> git.saurik.com Git - wxWidgets.git/blob - docs/doxygen/copyright.h
fix part of the doxygen warnings introducing aliases for preprocessor commands; repla...
[wxWidgets.git] / docs / doxygen / copyright.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: copyright.h
3 // Purpose: Copyright page of the Doxygen manual
4 // Author: wxWidgets team
5 // RCS-ID: $Id$
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
8
9
10 /*!
11
12 @page copyright_page Copyright notice
13
14 <center>
15 Copyright (c) 1992-2008 Julian Smart, Robert Roebling, Vadim Zeitlin and other
16 members of the wxWidgets team
17
18 Portions (c) 1996 Artificial Intelligence Applications Institute
19 </center>
20
21 Please also see the wxWindows license files (preamble.txt, lgpl.txt, gpl.txt,
22 licence.txt, licendoc.txt) for conditions of software and documentation use.
23 Note that we use the old name wxWindows in the license, pending
24 recognition of the new name by OSI.
25
26 @ref wxlicense
27
28 @ref gnulicense
29
30 */
31
32
33 /*!
34
35 @page wxlicense wxWindows Library License, Version 3.1
36
37 <!--
38
39 NB: this is exact copy of docs/licence.txt file. DO NOT modify this
40 section, it MUST be identical to docs/licence.txt!
41
42 -->
43
44 Copyright (c) 1998-2008 Julian Smart, Robert Roebling et al
45
46 Everyone is permitted to copy and distribute verbatim copies
47 of this licence document, but changing it is not allowed.
48
49 <center>
50 WXWINDOWS LIBRARY LICENCE
51
52 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
53 </center>
54
55 This library is free software; you can redistribute it and/or modify it
56 under the terms of the GNU Library General Public Licence as published by
57 the Free Software Foundation; either version 2 of the Licence, or (at
58 your option) any later version.
59
60 This library is distributed in the hope that it will be useful, but
61 WITHOUT ANY WARRANTY; without even the implied warranty of
62 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
63 General Public Licence for more details.
64
65 You should have received a copy of the GNU Library General Public Licence
66 along with this software, usually in a file named COPYING.LIB. If not,
67 write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
68 Boston, MA 02111-1307 USA.
69
70
71 EXCEPTION NOTICE
72
73 1. As a special exception, the copyright holders of this library give
74 permission for additional uses of the text contained in this release of
75 the library as licenced under the wxWindows Library Licence, applying
76 either version 3.1 of the Licence, or (at your option) any later version of
77 the Licence as published by the copyright holders of version 3.1 of the
78 Licence document.
79
80 2. The exception is that you may use, copy, link, modify and distribute
81 under your own terms, binary object code versions of works based
82 on the Library.
83
84 3. If you copy code from files distributed under the terms of the GNU
85 General Public Licence or the GNU Library General Public Licence into a
86 copy of this library, as this licence permits, the exception does not
87 apply to the code that you add in this way. To avoid misleading anyone as
88 to the status of such modified files, you must delete this exception
89 notice from such code and/or adjust the licensing conditions notice
90 accordingly.
91
92 4. If you write modifications of your own for this library, it is your
93 choice whether to permit this exception to apply to your modifications.
94 If you do not wish that, you must delete the exception notice from such
95 code and/or adjust the licensing conditions notice accordingly.
96
97 */
98
99
100 /*!
101
102 @page gnulicense GNU Library General Public License, Version 2
103
104 Copyright (C) 1991 Free Software Foundation, Inc.
105 675 Mass Ave, Cambridge, MA 02139, USA
106
107 Everyone is permitted to copy and distribute verbatim copies
108 of this license document, but changing it is not allowed.
109
110 [This is the first released version of the library GPL. It is
111 numbered 2 because it goes with version 2 of the ordinary GPL.]
112
113 @section gnulicense_preamble Preamble
114
115 The licenses for most software are designed to take away your
116 freedom to share and change it. By contrast, the GNU General Public
117 Licenses are intended to guarantee your freedom to share and change
118 free software -- to make sure the software is free for all its users.
119
120 This license, the Library General Public License, applies to some
121 specially designated Free Software Foundation software, and to any
122 other libraries whose authors decide to use it. You can use it for
123 your libraries, too.
124
125 When we speak of free software, we are referring to freedom, not
126 price. Our General Public Licenses are designed to make sure that you
127 have the freedom to distribute copies of free software (and charge for
128 this service if you wish), that you receive source code or can get it
129 if you want it, that you can change the software or use pieces of it
130 in new free programs; and that you know you can do these things.
131
132 To protect your rights, we need to make restrictions that forbid
133 anyone to deny you these rights or to ask you to surrender the rights.
134 These restrictions translate to certain responsibilities for you if
135 you distribute copies of the library, or if you modify it.
136
137 For example, if you distribute copies of the library, whether gratis
138 or for a fee, you must give the recipients all the rights that we gave
139 you. You must make sure that they, too, receive or can get the source
140 code. If you link a program with the library, you must provide
141 complete object files to the recipients so that they can relink them
142 with the library, after making changes to the library and recompiling
143 it. And you must show them these terms so they know their rights.
144
145 Our method of protecting your rights has two steps: (1) copyright
146 the library, and (2) offer you this license which gives you legal
147 permission to copy, distribute and/or modify the library.
148
149 Also, for each distributor's protection, we want to make certain
150 that everyone understands that there is no warranty for this free
151 library. If the library is modified by someone else and passed on, we
152 want its recipients to know that what they have is not the original
153 version, so that any problems introduced by others will not reflect on
154 the original authors' reputations.
155
156 Finally, any free program is threatened constantly by software
157 patents. We wish to avoid the danger that companies distributing free
158 software will individually obtain patent licenses, thus in effect
159 transforming the program into proprietary software. To prevent this,
160 we have made it clear that any patent must be licensed for everyone's
161 free use or not licensed at all.
162
163 Most GNU software, including some libraries, is covered by the ordinary
164 GNU General Public License, which was designed for utility programs. This
165 license, the GNU Library General Public License, applies to certain
166 designated libraries. This license is quite different from the ordinary
167 one; be sure to read it in full, and don't assume that anything in it is
168 the same as in the ordinary license.
169
170 The reason we have a separate public license for some libraries is that
171 they blur the distinction we usually make between modifying or adding to a
172 program and simply using it. Linking a program with a library, without
173 changing the library, is in some sense simply using the library, and is
174 analogous to running a utility program or application program. However, in
175 a textual and legal sense, the linked executable is a combined work, a
176 derivative of the original library, and the ordinary General Public License
177 treats it as such.
178
179 Because of this blurred distinction, using the ordinary General
180 Public License for libraries did not effectively promote software
181 sharing, because most developers did not use the libraries. We
182 concluded that weaker conditions might promote sharing better.
183
184 However, unrestricted linking of non-free programs would deprive the
185 users of those programs of all benefit from the free status of the
186 libraries themselves. This Library General Public License is intended to
187 permit developers of non-free programs to use free libraries, while
188 preserving your freedom as a user of such programs to change the free
189 libraries that are incorporated in them. (We have not seen how to achieve
190 this as regards changes in header files, but we have achieved it as regards
191 changes in the actual functions of the Library.) The hope is that this
192 will lead to faster development of free libraries.
193
194 The precise terms and conditions for copying, distribution and
195 modification follow. Pay close attention to the difference between a
196 "work based on the library" and a "work that uses the library". The
197 former contains code derived from the library, while the latter only
198 works together with the library.
199
200 Note that it is possible for a library to be covered by the ordinary
201 General Public License rather than by this special one.
202
203 <center>
204 GNU LIBRARY GENERAL PUBLIC LICENSE
205
206 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
207 </center>
208
209 0. This License Agreement applies to any software library which
210 contains a notice placed by the copyright holder or other authorized
211 party saying it may be distributed under the terms of this Library
212 General Public License (also called "this License"). Each licensee is
213 addressed as "you".
214
215 A "library" means a collection of software functions and/or data
216 prepared so as to be conveniently linked with application programs
217 (which use some of those functions and data) to form executables.
218
219 The "Library", below, refers to any such software library or work
220 which has been distributed under these terms. A "work based on the
221 Library" means either the Library or any derivative work under
222 copyright law: that is to say, a work containing the Library or a
223 portion of it, either verbatim or with modifications and/or translated
224 straightforwardly into another language. (Hereinafter, translation is
225 included without limitation in the term "modification".)
226
227 "Source code" for a work means the preferred form of the work for
228 making modifications to it. For a library, complete source code means
229 all the source code for all modules it contains, plus any associated
230 interface definition files, plus the scripts used to control compilation
231 and installation of the library.
232
233 Activities other than copying, distribution and modification are not
234 covered by this License; they are outside its scope. The act of
235 running a program using the Library is not restricted, and output from
236 such a program is covered only if its contents constitute a work based
237 on the Library (independent of the use of the Library in a tool for
238 writing it). Whether that is true depends on what the Library does
239 and what the program that uses the Library does.
240
241 1. You may copy and distribute verbatim copies of the Library's
242 complete source code as you receive it, in any medium, provided that
243 you conspicuously and appropriately publish on each copy an
244 appropriate copyright notice and disclaimer of warranty; keep intact
245 all the notices that refer to this License and to the absence of any
246 warranty; and distribute a copy of this License along with the
247 Library.
248
249 You may charge a fee for the physical act of transferring a copy,
250 and you may at your option offer warranty protection in exchange for a
251 fee.
252
253 2. You may modify your copy or copies of the Library or any portion
254 of it, thus forming a work based on the Library, and copy and
255 distribute such modifications or work under the terms of Section 1
256 above, provided that you also meet all of these conditions:
257
258 a) The modified work must itself be a software library.
259
260 b) You must cause the files modified to carry prominent notices
261 stating that you changed the files and the date of any change.
262
263 c) You must cause the whole of the work to be licensed at no
264 charge to all third parties under the terms of this License.
265
266 d) If a facility in the modified Library refers to a function or a
267 table of data to be supplied by an application program that uses
268 the facility, other than as an argument passed when the facility
269 is invoked, then you must make a good faith effort to ensure that,
270 in the event an application does not supply such function or
271 table, the facility still operates, and performs whatever part of
272 its purpose remains meaningful.
273
274 (For example, a function in a library to compute square roots has
275 a purpose that is entirely well-defined independent of the
276 application. Therefore, Subsection 2d requires that any
277 application-supplied function or table used by this function must
278 be optional: if the application does not supply it, the square
279 root function must still compute square roots.)
280
281 These requirements apply to the modified work as a whole. If
282 identifiable sections of that work are not derived from the Library,
283 and can be reasonably considered independent and separate works in
284 themselves, then this License, and its terms, do not apply to those
285 sections when you distribute them as separate works. But when you
286 distribute the same sections as part of a whole which is a work based
287 on the Library, the distribution of the whole must be on the terms of
288 this License, whose permissions for other licensees extend to the
289 entire whole, and thus to each and every part regardless of who wrote
290 it.
291
292 Thus, it is not the intent of this section to claim rights or contest
293 your rights to work written entirely by you; rather, the intent is to
294 exercise the right to control the distribution of derivative or
295 collective works based on the Library.
296
297 In addition, mere aggregation of another work not based on the Library
298 with the Library (or with a work based on the Library) on a volume of
299 a storage or distribution medium does not bring the other work under
300 the scope of this License.
301
302 3. You may opt to apply the terms of the ordinary GNU General Public
303 License instead of this License to a given copy of the Library. To do
304 this, you must alter all the notices that refer to this License, so
305 that they refer to the ordinary GNU General Public License, version 2,
306 instead of to this License. (If a newer version than version 2 of the
307 ordinary GNU General Public License has appeared, then you can specify
308 that version instead if you wish.) Do not make any other change in
309 these notices.
310
311 Once this change is made in a given copy, it is irreversible for
312 that copy, so the ordinary GNU General Public License applies to all
313 subsequent copies and derivative works made from that copy.
314
315 This option is useful when you wish to copy part of the code of
316 the Library into a program that is not a library.
317
318 4. You may copy and distribute the Library (or a portion or
319 derivative of it, under Section 2) in object code or executable form
320 under the terms of Sections 1 and 2 above provided that you accompany
321 it with the complete corresponding machine-readable source code, which
322 must be distributed under the terms of Sections 1 and 2 above on a
323 medium customarily used for software interchange.
324
325 If distribution of object code is made by offering access to copy
326 from a designated place, then offering equivalent access to copy the
327 source code from the same place satisfies the requirement to
328 distribute the source code, even though third parties are not
329 compelled to copy the source along with the object code.
330
331 5. A program that contains no derivative of any portion of the
332 Library, but is designed to work with the Library by being compiled or
333 linked with it, is called a "work that uses the Library". Such a
334 work, in isolation, is not a derivative work of the Library, and
335 therefore falls outside the scope of this License.
336
337 However, linking a "work that uses the Library" with the Library
338 creates an executable that is a derivative of the Library (because it
339 contains portions of the Library), rather than a "work that uses the
340 library". The executable is therefore covered by this License.
341 Section 6 states terms for distribution of such executables.
342
343 When a "work that uses the Library" uses material from a header file
344 that is part of the Library, the object code for the work may be a
345 derivative work of the Library even though the source code is not.
346 Whether this is true is especially significant if the work can be
347 linked without the Library, or if the work is itself a library. The
348 threshold for this to be true is not precisely defined by law.
349
350 If such an object file uses only numerical parameters, data
351 structure layouts and accessors, and small macros and small inline
352 functions (ten lines or less in length), then the use of the object
353 file is unrestricted, regardless of whether it is legally a derivative
354 work. (Executables containing this object code plus portions of the
355 Library will still fall under Section 6.)
356
357 Otherwise, if the work is a derivative of the Library, you may
358 distribute the object code for the work under the terms of Section 6.
359 Any executables containing that work also fall under Section 6,
360 whether or not they are linked directly with the Library itself.
361
362 6. As an exception to the Sections above, you may also compile or
363 link a "work that uses the Library" with the Library to produce a
364 work containing portions of the Library, and distribute that work
365 under terms of your choice, provided that the terms permit
366 modification of the work for the customer's own use and reverse
367 engineering for debugging such modifications.
368
369 You must give prominent notice with each copy of the work that the
370 Library is used in it and that the Library and its use are covered by
371 this License. You must supply a copy of this License. If the work
372 during execution displays copyright notices, you must include the
373 copyright notice for the Library among them, as well as a reference
374 directing the user to the copy of this License. Also, you must do one
375 of these things:
376
377 a) Accompany the work with the complete corresponding
378 machine-readable source code for the Library including whatever
379 changes were used in the work (which must be distributed under
380 Sections 1 and 2 above); and, if the work is an executable linked
381 with the Library, with the complete machine-readable "work that
382 uses the Library", as object code and/or source code, so that the
383 user can modify the Library and then relink to produce a modified
384 executable containing the modified Library. (It is understood
385 that the user who changes the contents of definitions files in the
386 Library will not necessarily be able to recompile the application
387 to use the modified definitions.)
388
389 b) Accompany the work with a written offer, valid for at
390 least three years, to give the same user the materials
391 specified in Subsection 6a, above, for a charge no more
392 than the cost of performing this distribution.
393
394 c) If distribution of the work is made by offering access to copy
395 from a designated place, offer equivalent access to copy the above
396 specified materials from the same place.
397
398 d) Verify that the user has already received a copy of these
399 materials or that you have already sent this user a copy.
400
401 For an executable, the required form of the "work that uses the
402 Library" must include any data and utility programs needed for
403 reproducing the executable from it. However, as a special exception,
404 the source code distributed need not include anything that is normally
405 distributed (in either source or binary form) with the major
406 components (compiler, kernel, and so on) of the operating system on
407 which the executable runs, unless that component itself accompanies
408 the executable.
409
410 It may happen that this requirement contradicts the license
411 restrictions of other proprietary libraries that do not normally
412 accompany the operating system. Such a contradiction means you cannot
413 use both them and the Library together in an executable that you
414 distribute.
415
416 7. You may place library facilities that are a work based on the
417 Library side-by-side in a single library together with other library
418 facilities not covered by this License, and distribute such a combined
419 library, provided that the separate distribution of the work based on
420 the Library and of the other library facilities is otherwise
421 permitted, and provided that you do these two things:
422
423 a) Accompany the combined library with a copy of the same work
424 based on the Library, uncombined with any other library
425 facilities. This must be distributed under the terms of the
426 Sections above.
427
428 b) Give prominent notice with the combined library of the fact
429 that part of it is a work based on the Library, and explaining
430 where to find the accompanying uncombined form of the same work.
431
432 8. You may not copy, modify, sublicense, link with, or distribute
433 the Library except as expressly provided under this License. Any
434 attempt otherwise to copy, modify, sublicense, link with, or
435 distribute the Library is void, and will automatically terminate your
436 rights under this License. However, parties who have received copies,
437 or rights, from you under this License will not have their licenses
438 terminated so long as such parties remain in full compliance.
439
440 9. You are not required to accept this License, since you have not
441 signed it. However, nothing else grants you permission to modify or
442 distribute the Library or its derivative works. These actions are
443 prohibited by law if you do not accept this License. Therefore, by
444 modifying or distributing the Library (or any work based on the
445 Library), you indicate your acceptance of this License to do so, and
446 all its terms and conditions for copying, distributing or modifying
447 the Library or works based on it.
448
449 10. Each time you redistribute the Library (or any work based on the
450 Library), the recipient automatically receives a license from the
451 original licensor to copy, distribute, link with or modify the Library
452 subject to these terms and conditions. You may not impose any further
453 restrictions on the recipients' exercise of the rights granted herein.
454 You are not responsible for enforcing compliance by third parties to
455 this License.
456
457 11. If, as a consequence of a court judgment or allegation of patent
458 infringement or for any other reason (not limited to patent issues),
459 conditions are imposed on you (whether by court order, agreement or
460 otherwise) that contradict the conditions of this License, they do not
461 excuse you from the conditions of this License. If you cannot
462 distribute so as to satisfy simultaneously your obligations under this
463 License and any other pertinent obligations, then as a consequence you
464 may not distribute the Library at all. For example, if a patent
465 license would not permit royalty-free redistribution of the Library by
466 all those who receive copies directly or indirectly through you, then
467 the only way you could satisfy both it and this License would be to
468 refrain entirely from distribution of the Library.
469
470 If any portion of this section is held invalid or unenforceable under any
471 particular circumstance, the balance of the section is intended to apply,
472 and the section as a whole is intended to apply in other circumstances.
473
474 It is not the purpose of this section to induce you to infringe any
475 patents or other property right claims or to contest validity of any
476 such claims; this section has the sole purpose of protecting the
477 integrity of the free software distribution system which is
478 implemented by public license practices. Many people have made
479 generous contributions to the wide range of software distributed
480 through that system in reliance on consistent application of that
481 system; it is up to the author/donor to decide if he or she is willing
482 to distribute software through any other system and a licensee cannot
483 impose that choice.
484
485 This section is intended to make thoroughly clear what is believed to
486 be a consequence of the rest of this License.
487
488 12. If the distribution and/or use of the Library is restricted in
489 certain countries either by patents or by copyrighted interfaces, the
490 original copyright holder who places the Library under this License may add
491 an explicit geographical distribution limitation excluding those countries,
492 so that distribution is permitted only in or among countries not thus
493 excluded. In such case, this License incorporates the limitation as if
494 written in the body of this License.
495
496 13. The Free Software Foundation may publish revised and/or new
497 versions of the Library General Public License from time to time.
498 Such new versions will be similar in spirit to the present version,
499 but may differ in detail to address new problems or concerns.
500
501 Each version is given a distinguishing version number. If the Library
502 specifies a version number of this License which applies to it and
503 "any later version", you have the option of following the terms and
504 conditions either of that version or of any later version published by
505 the Free Software Foundation. If the Library does not specify a
506 license version number, you may choose any version ever published by
507 the Free Software Foundation.
508
509 14. If you wish to incorporate parts of the Library into other free
510 programs whose distribution conditions are incompatible with these,
511 write to the author to ask for permission. For software which is
512 copyrighted by the Free Software Foundation, write to the Free
513 Software Foundation; we sometimes make exceptions for this. Our
514 decision will be guided by the two goals of preserving the free status
515 of all derivatives of our free software and of promoting the sharing
516 and reuse of software generally.
517
518 <center>
519 NO WARRANTY
520 </center>
521
522 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
523 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
524 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
525 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
526 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
527 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
528 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
529 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
530 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
531
532 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
533 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
534 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
535 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
536 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
537 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
538 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
539 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
540 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
541 DAMAGES.
542
543
544 <center>
545 END OF TERMS AND CONDITIONS
546 </center>
547
548 @section gnulicense_appendix Appendix: How to Apply These Terms to Your New Libraries
549
550 If you develop a new library, and you want it to be of the greatest
551 possible use to the public, we recommend making it free software that
552 everyone can redistribute and change. You can do so by permitting
553 redistribution under these terms (or, alternatively, under the terms of the
554 ordinary General Public License).
555
556 To apply these terms, attach the following notices to the library. It is
557 safest to attach them to the start of each source file to most effectively
558 convey the exclusion of warranty; and each file should have at least the
559 "copyright" line and a pointer to where the full notice is found.
560
561 @verbatim
562 <one line to give the library's name and a brief idea of what it does.>
563 Copyright (C) <year> <name of author>
564
565 This library is free software; you can redistribute it and/or
566 modify it under the terms of the GNU Library General Public
567 License as published by the Free Software Foundation; either
568 version 2 of the License, or (at your option) any later version.
569
570 This library is distributed in the hope that it will be useful,
571 but WITHOUT ANY WARRANTY; without even the implied warranty of
572 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
573 Library General Public License for more details.
574
575 You should have received a copy of the GNU Library General Public
576 License along with this library; if not, write to the Free
577 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
578 @endverbatim
579
580
581 Also add information on how to contact you by electronic and paper mail.
582
583 You should also get your employer (if you work as a programmer) or your
584 school, if any, to sign a "copyright disclaimer" for the library, if
585 necessary. Here is a sample; alter the names:
586
587 @verbatim
588 Yoyodyne, Inc., hereby disclaims all copyright interest in the
589 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
590
591 <signature of Ty Coon>, 1 April 1990
592 Ty Coon, President of Vice
593 @endverbatim
594
595
596 That's all there is to it!
597 */