blob: 6b7e63a55b6a424ed426beba1ab3e7597e3389ab [file] [log] [blame]
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001// Copyright (c) 2013 The Chromium Authors. All rights reserved.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002//
3// Redistribution and use in source and binary forms, with or without
4// modification, are permitted provided that the following conditions are
5// met:
6//
7// * Redistributions of source code must retain the above copyright
8// notice, this list of conditions and the following disclaimer.
9// * Redistributions in binary form must reproduce the above
10// copyright notice, this list of conditions and the following disclaimer
11// in the documentation and/or other materials provided with the
12// distribution.
13// * Neither the name of Google Inc. nor the names of its
14// contributors may be used to endorse or promote products derived from
15// this software without specific prior written permission.
16//
17// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000029/****************************************************************
30 *
31 * The author of this software is David M. Gay.
32 *
33 * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
34 *
35 * Permission to use, copy, modify, and distribute this software for any
36 * purpose without fee is hereby granted, provided that this entire notice
37 * is included in all copies of any software which is or includes a copy
38 * or modification of this software and in all copies of the supporting
39 * documentation for such software.
40 *
41 * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
42 * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
43 * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
44 * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
45 *
46 ***************************************************************/
47
48/* Copyright (c) 2008-2009, Google Inc.
49 * All rights reserved.
50 *
51 * Redistribution and use in source and binary forms, with or without
52 * modification, are permitted provided that the following conditions are
53 * met:
54 *
55 * * Redistributions of source code must retain the above copyright
56 * notice, this list of conditions and the following disclaimer.
57 * * Neither the name of Google Inc. nor the names of its
58 * contributors may be used to endorse or promote products derived from
59 * this software without specific prior written permission.
60 *
61 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
62 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
63 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
64 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
65 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
66 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
67 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
68 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
69 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
70 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
71 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
72 *
73 * ---
74 * Author: Kostya Serebryany
75 */
76
Torne (Richard Coles)58218062012-11-14 11:43:16 +000077/* ***** BEGIN LICENSE BLOCK *****
78 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
79 *
80 * The contents of this file are subject to the Mozilla Public License Version
81 * 1.1 (the "License"); you may not use this file except in compliance with
82 * the License. You may obtain a copy of the License at
83 * http://www.mozilla.org/MPL/
84 *
85 * Software distributed under the License is distributed on an "AS IS" basis,
86 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
87 * for the specific language governing rights and limitations under the
88 * License.
89 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000090 * The Original Code is the Netscape Portable Runtime (NSPR).
Torne (Richard Coles)58218062012-11-14 11:43:16 +000091 *
92 * The Initial Developer of the Original Code is
93 * Netscape Communications Corporation.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000094 * Portions created by the Initial Developer are Copyright (C) 1998-2000
Torne (Richard Coles)58218062012-11-14 11:43:16 +000095 * the Initial Developer. All Rights Reserved.
96 *
97 * Contributor(s):
98 *
99 * Alternatively, the contents of this file may be used under the terms of
100 * either the GNU General Public License Version 2 or later (the "GPL"), or
101 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
102 * in which case the provisions of the GPL or the LGPL are applicable instead
103 * of those above. If you wish to allow use of your version of this file only
104 * under the terms of either the GPL or the LGPL, and not to allow others to
105 * use your version of this file under the terms of the MPL, indicate your
106 * decision by deleting the provisions above and replace them with the notice
107 * and other provisions required by the GPL or the LGPL. If you do not delete
108 * the provisions above, a recipient may use your version of this file under
109 * the terms of any one of the MPL, the GPL or the LGPL.
110 *
111 * ***** END LICENSE BLOCK ***** */
112
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000113// Copyright (c) 2006, Google Inc.
114// All rights reserved.
115//
116// Redistribution and use in source and binary forms, with or without
117// modification, are permitted provided that the following conditions are
118// met:
119//
120// * Redistributions of source code must retain the above copyright
121// notice, this list of conditions and the following disclaimer.
122// * Redistributions in binary form must reproduce the above
123// copyright notice, this list of conditions and the following disclaimer
124// in the documentation and/or other materials provided with the
125// distribution.
126// * Neither the name of Google Inc. nor the names of its
127// contributors may be used to endorse or promote products derived from
128// this software without specific prior written permission.
129//
130// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
131// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
132// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
133// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
134// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
135// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
136// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
137// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
138// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
139// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
140// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
141
142 Notice that the following BSD-style license applies to the Valgrind header
143 files used by Chromium (valgrind.h and memcheck.h). However, the rest of
144 Valgrind is licensed under the terms of the GNU General Public License,
145 version 2, unless otherwise indicated.
146
147 ----------------------------------------------------------------
148
149 Copyright (C) 2000-2008 Julian Seward. All rights reserved.
150
151 Redistribution and use in source and binary forms, with or without
152 modification, are permitted provided that the following conditions
153 are met:
154
155 1. Redistributions of source code must retain the above copyright
156 notice, this list of conditions and the following disclaimer.
157
158 2. The origin of this software must not be misrepresented; you must
159 not claim that you wrote the original software. If you use this
160 software in a product, an acknowledgment in the product
161 documentation would be appreciated but is not required.
162
163 3. Altered source versions must be plainly marked as such, and must
164 not be misrepresented as being the original software.
165
166 4. The name of the author may not be used to endorse or promote
167 products derived from this software without specific prior written
168 permission.
169
170 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
171 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
172 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
173 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
174 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
175 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
176 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
177 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
178 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
179 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
180 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
181
182 Copyright (c) 2007 Red Hat, inc
183
184 Permission is hereby granted, free of charge, to any person
185 obtaining a copy of this software and associated documentation files
186 (the "Software"), to deal in the Software without restriction,
187 including without limitation the rights to use, copy, modify, merge,
188 publish, distribute, sublicense, and/or sell copies of the Software,
189 and to permit persons to whom the Software is furnished to do so,
190 subject to the following conditions:
191
192 The above copyright notice and this permission notice shall be
193 included in all copies or substantial portions of the Software.
194
195 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
196 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
197 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
198 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
199 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
200 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
201 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
202 SOFTWARE.
203
204Copyright 2003-2005 Colin Percival
205All rights reserved
206
207Redistribution and use in source and binary forms, with or without
208modification, are permitted providing that the following conditions
209are met:
2101. Redistributions of source code must retain the above copyright
211 notice, this list of conditions and the following disclaimer.
2122. Redistributions in binary form must reproduce the above copyright
213 notice, this list of conditions and the following disclaimer in the
214 documentation and/or other materials provided with the distribution.
215
216THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
217IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
218WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
219ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
220DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
221DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
222OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
223HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
224STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
225IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
226POSSIBILITY OF SUCH DAMAGE.
227
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000228
229 Apache License
230 Version 2.0, January 2004
231 http://www.apache.org/licenses/
232
233 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
234
235 1. Definitions.
236
237 "License" shall mean the terms and conditions for use, reproduction,
238 and distribution as defined by Sections 1 through 9 of this document.
239
240 "Licensor" shall mean the copyright owner or entity authorized by
241 the copyright owner that is granting the License.
242
243 "Legal Entity" shall mean the union of the acting entity and all
244 other entities that control, are controlled by, or are under common
245 control with that entity. For the purposes of this definition,
246 "control" means (i) the power, direct or indirect, to cause the
247 direction or management of such entity, whether by contract or
248 otherwise, or (ii) ownership of fifty percent (50%) or more of the
249 outstanding shares, or (iii) beneficial ownership of such entity.
250
251 "You" (or "Your") shall mean an individual or Legal Entity
252 exercising permissions granted by this License.
253
254 "Source" form shall mean the preferred form for making modifications,
255 including but not limited to software source code, documentation
256 source, and configuration files.
257
258 "Object" form shall mean any form resulting from mechanical
259 transformation or translation of a Source form, including but
260 not limited to compiled object code, generated documentation,
261 and conversions to other media types.
262
263 "Work" shall mean the work of authorship, whether in Source or
264 Object form, made available under the License, as indicated by a
265 copyright notice that is included in or attached to the work
266 (an example is provided in the Appendix below).
267
268 "Derivative Works" shall mean any work, whether in Source or Object
269 form, that is based on (or derived from) the Work and for which the
270 editorial revisions, annotations, elaborations, or other modifications
271 represent, as a whole, an original work of authorship. For the purposes
272 of this License, Derivative Works shall not include works that remain
273 separable from, or merely link (or bind by name) to the interfaces of,
274 the Work and Derivative Works thereof.
275
276 "Contribution" shall mean any work of authorship, including
277 the original version of the Work and any modifications or additions
278 to that Work or Derivative Works thereof, that is intentionally
279 submitted to Licensor for inclusion in the Work by the copyright owner
280 or by an individual or Legal Entity authorized to submit on behalf of
281 the copyright owner. For the purposes of this definition, "submitted"
282 means any form of electronic, verbal, or written communication sent
283 to the Licensor or its representatives, including but not limited to
284 communication on electronic mailing lists, source code control systems,
285 and issue tracking systems that are managed by, or on behalf of, the
286 Licensor for the purpose of discussing and improving the Work, but
287 excluding communication that is conspicuously marked or otherwise
288 designated in writing by the copyright owner as "Not a Contribution."
289
290 "Contributor" shall mean Licensor and any individual or Legal Entity
291 on behalf of whom a Contribution has been received by Licensor and
292 subsequently incorporated within the Work.
293
294 2. Grant of Copyright License. Subject to the terms and conditions of
295 this License, each Contributor hereby grants to You a perpetual,
296 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
297 copyright license to reproduce, prepare Derivative Works of,
298 publicly display, publicly perform, sublicense, and distribute the
299 Work and such Derivative Works in Source or Object form.
300
301 3. Grant of Patent License. Subject to the terms and conditions of
302 this License, each Contributor hereby grants to You a perpetual,
303 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
304 (except as stated in this section) patent license to make, have made,
305 use, offer to sell, sell, import, and otherwise transfer the Work,
306 where such license applies only to those patent claims licensable
307 by such Contributor that are necessarily infringed by their
308 Contribution(s) alone or by combination of their Contribution(s)
309 with the Work to which such Contribution(s) was submitted. If You
310 institute patent litigation against any entity (including a
311 cross-claim or counterclaim in a lawsuit) alleging that the Work
312 or a Contribution incorporated within the Work constitutes direct
313 or contributory patent infringement, then any patent licenses
314 granted to You under this License for that Work shall terminate
315 as of the date such litigation is filed.
316
317 4. Redistribution. You may reproduce and distribute copies of the
318 Work or Derivative Works thereof in any medium, with or without
319 modifications, and in Source or Object form, provided that You
320 meet the following conditions:
321
322 (a) You must give any other recipients of the Work or
323 Derivative Works a copy of this License; and
324
325 (b) You must cause any modified files to carry prominent notices
326 stating that You changed the files; and
327
328 (c) You must retain, in the Source form of any Derivative Works
329 that You distribute, all copyright, patent, trademark, and
330 attribution notices from the Source form of the Work,
331 excluding those notices that do not pertain to any part of
332 the Derivative Works; and
333
334 (d) If the Work includes a "NOTICE" text file as part of its
335 distribution, then any Derivative Works that You distribute must
336 include a readable copy of the attribution notices contained
337 within such NOTICE file, excluding those notices that do not
338 pertain to any part of the Derivative Works, in at least one
339 of the following places: within a NOTICE text file distributed
340 as part of the Derivative Works; within the Source form or
341 documentation, if provided along with the Derivative Works; or,
342 within a display generated by the Derivative Works, if and
343 wherever such third-party notices normally appear. The contents
344 of the NOTICE file are for informational purposes only and
345 do not modify the License. You may add Your own attribution
346 notices within Derivative Works that You distribute, alongside
347 or as an addendum to the NOTICE text from the Work, provided
348 that such additional attribution notices cannot be construed
349 as modifying the License.
350
351 You may add Your own copyright statement to Your modifications and
352 may provide additional or different license terms and conditions
353 for use, reproduction, or distribution of Your modifications, or
354 for any such Derivative Works as a whole, provided Your use,
355 reproduction, and distribution of the Work otherwise complies with
356 the conditions stated in this License.
357
358 5. Submission of Contributions. Unless You explicitly state otherwise,
359 any Contribution intentionally submitted for inclusion in the Work
360 by You to the Licensor shall be under the terms and conditions of
361 this License, without any additional terms or conditions.
362 Notwithstanding the above, nothing herein shall supersede or modify
363 the terms of any separate license agreement you may have executed
364 with Licensor regarding such Contributions.
365
366 6. Trademarks. This License does not grant permission to use the trade
367 names, trademarks, service marks, or product names of the Licensor,
368 except as required for reasonable and customary use in describing the
369 origin of the Work and reproducing the content of the NOTICE file.
370
371 7. Disclaimer of Warranty. Unless required by applicable law or
372 agreed to in writing, Licensor provides the Work (and each
373 Contributor provides its Contributions) on an "AS IS" BASIS,
374 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
375 implied, including, without limitation, any warranties or conditions
376 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
377 PARTICULAR PURPOSE. You are solely responsible for determining the
378 appropriateness of using or redistributing the Work and assume any
379 risks associated with Your exercise of permissions under this License.
380
381 8. Limitation of Liability. In no event and under no legal theory,
382 whether in tort (including negligence), contract, or otherwise,
383 unless required by applicable law (such as deliberate and grossly
384 negligent acts) or agreed to in writing, shall any Contributor be
385 liable to You for damages, including any direct, indirect, special,
386 incidental, or consequential damages of any character arising as a
387 result of this License or out of the use or inability to use the
388 Work (including but not limited to damages for loss of goodwill,
389 work stoppage, computer failure or malfunction, or any and all
390 other commercial damages or losses), even if such Contributor
391 has been advised of the possibility of such damages.
392
393 9. Accepting Warranty or Additional Liability. While redistributing
394 the Work or Derivative Works thereof, You may choose to offer,
395 and charge a fee for, acceptance of support, warranty, indemnity,
396 or other liability obligations and/or rights consistent with this
397 License. However, in accepting such obligations, You may act only
398 on Your own behalf and on Your sole responsibility, not on behalf
399 of any other Contributor, and only if You agree to indemnify,
400 defend, and hold each Contributor harmless for any liability
401 incurred by, or claims asserted against, such Contributor by reason
402 of your accepting any such warranty or additional liability.
403
404 END OF TERMS AND CONDITIONS
405
406 APPENDIX: How to apply the Apache License to your work.
407
408 To apply the Apache License to your work, attach the following
409 boilerplate notice, with the fields enclosed by brackets "[]"
410 replaced with your own identifying information. (Don't include
411 the brackets!) The text should be enclosed in the appropriate
412 comment syntax for the file format. We also recommend that a
413 file or class name and description of purpose be included on the
414 same "printed page" as the copyright notice for easier
415 identification within third-party archives.
416
417 Copyright 2007-2009 Google Inc.
418 Copyright 2007-2009 WebDriver committers
419
420 Licensed under the Apache License, Version 2.0 (the "License");
421 you may not use this file except in compliance with the License.
422 You may obtain a copy of the License at
423
424 http://www.apache.org/licenses/LICENSE-2.0
425
426 Unless required by applicable law or agreed to in writing, software
427 distributed under the License is distributed on an "AS IS" BASIS,
428 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
429 See the License for the specific language governing permissions and
430 limitations under the License.
431
432
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000433
434 Apache License
435 Version 2.0, January 2004
436 http://www.apache.org/licenses/
437
438 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
439
440 1. Definitions.
441
442 "License" shall mean the terms and conditions for use, reproduction,
443 and distribution as defined by Sections 1 through 9 of this document.
444
445 "Licensor" shall mean the copyright owner or entity authorized by
446 the copyright owner that is granting the License.
447
448 "Legal Entity" shall mean the union of the acting entity and all
449 other entities that control, are controlled by, or are under common
450 control with that entity. For the purposes of this definition,
451 "control" means (i) the power, direct or indirect, to cause the
452 direction or management of such entity, whether by contract or
453 otherwise, or (ii) ownership of fifty percent (50%) or more of the
454 outstanding shares, or (iii) beneficial ownership of such entity.
455
456 "You" (or "Your") shall mean an individual or Legal Entity
457 exercising permissions granted by this License.
458
459 "Source" form shall mean the preferred form for making modifications,
460 including but not limited to software source code, documentation
461 source, and configuration files.
462
463 "Object" form shall mean any form resulting from mechanical
464 transformation or translation of a Source form, including but
465 not limited to compiled object code, generated documentation,
466 and conversions to other media types.
467
468 "Work" shall mean the work of authorship, whether in Source or
469 Object form, made available under the License, as indicated by a
470 copyright notice that is included in or attached to the work
471 (an example is provided in the Appendix below).
472
473 "Derivative Works" shall mean any work, whether in Source or Object
474 form, that is based on (or derived from) the Work and for which the
475 editorial revisions, annotations, elaborations, or other modifications
476 represent, as a whole, an original work of authorship. For the purposes
477 of this License, Derivative Works shall not include works that remain
478 separable from, or merely link (or bind by name) to the interfaces of,
479 the Work and Derivative Works thereof.
480
481 "Contribution" shall mean any work of authorship, including
482 the original version of the Work and any modifications or additions
483 to that Work or Derivative Works thereof, that is intentionally
484 submitted to Licensor for inclusion in the Work by the copyright owner
485 or by an individual or Legal Entity authorized to submit on behalf of
486 the copyright owner. For the purposes of this definition, "submitted"
487 means any form of electronic, verbal, or written communication sent
488 to the Licensor or its representatives, including but not limited to
489 communication on electronic mailing lists, source code control systems,
490 and issue tracking systems that are managed by, or on behalf of, the
491 Licensor for the purpose of discussing and improving the Work, but
492 excluding communication that is conspicuously marked or otherwise
493 designated in writing by the copyright owner as "Not a Contribution."
494
495 "Contributor" shall mean Licensor and any individual or Legal Entity
496 on behalf of whom a Contribution has been received by Licensor and
497 subsequently incorporated within the Work.
498
499 2. Grant of Copyright License. Subject to the terms and conditions of
500 this License, each Contributor hereby grants to You a perpetual,
501 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
502 copyright license to reproduce, prepare Derivative Works of,
503 publicly display, publicly perform, sublicense, and distribute the
504 Work and such Derivative Works in Source or Object form.
505
506 3. Grant of Patent License. Subject to the terms and conditions of
507 this License, each Contributor hereby grants to You a perpetual,
508 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
509 (except as stated in this section) patent license to make, have made,
510 use, offer to sell, sell, import, and otherwise transfer the Work,
511 where such license applies only to those patent claims licensable
512 by such Contributor that are necessarily infringed by their
513 Contribution(s) alone or by combination of their Contribution(s)
514 with the Work to which such Contribution(s) was submitted. If You
515 institute patent litigation against any entity (including a
516 cross-claim or counterclaim in a lawsuit) alleging that the Work
517 or a Contribution incorporated within the Work constitutes direct
518 or contributory patent infringement, then any patent licenses
519 granted to You under this License for that Work shall terminate
520 as of the date such litigation is filed.
521
522 4. Redistribution. You may reproduce and distribute copies of the
523 Work or Derivative Works thereof in any medium, with or without
524 modifications, and in Source or Object form, provided that You
525 meet the following conditions:
526
527 (a) You must give any other recipients of the Work or
528 Derivative Works a copy of this License; and
529
530 (b) You must cause any modified files to carry prominent notices
531 stating that You changed the files; and
532
533 (c) You must retain, in the Source form of any Derivative Works
534 that You distribute, all copyright, patent, trademark, and
535 attribution notices from the Source form of the Work,
536 excluding those notices that do not pertain to any part of
537 the Derivative Works; and
538
539 (d) If the Work includes a "NOTICE" text file as part of its
540 distribution, then any Derivative Works that You distribute must
541 include a readable copy of the attribution notices contained
542 within such NOTICE file, excluding those notices that do not
543 pertain to any part of the Derivative Works, in at least one
544 of the following places: within a NOTICE text file distributed
545 as part of the Derivative Works; within the Source form or
546 documentation, if provided along with the Derivative Works; or,
547 within a display generated by the Derivative Works, if and
548 wherever such third-party notices normally appear. The contents
549 of the NOTICE file are for informational purposes only and
550 do not modify the License. You may add Your own attribution
551 notices within Derivative Works that You distribute, alongside
552 or as an addendum to the NOTICE text from the Work, provided
553 that such additional attribution notices cannot be construed
554 as modifying the License.
555
556 You may add Your own copyright statement to Your modifications and
557 may provide additional or different license terms and conditions
558 for use, reproduction, or distribution of Your modifications, or
559 for any such Derivative Works as a whole, provided Your use,
560 reproduction, and distribution of the Work otherwise complies with
561 the conditions stated in this License.
562
563 5. Submission of Contributions. Unless You explicitly state otherwise,
564 any Contribution intentionally submitted for inclusion in the Work
565 by You to the Licensor shall be under the terms and conditions of
566 this License, without any additional terms or conditions.
567 Notwithstanding the above, nothing herein shall supersede or modify
568 the terms of any separate license agreement you may have executed
569 with Licensor regarding such Contributions.
570
571 6. Trademarks. This License does not grant permission to use the trade
572 names, trademarks, service marks, or product names of the Licensor,
573 except as required for reasonable and customary use in describing the
574 origin of the Work and reproducing the content of the NOTICE file.
575
576 7. Disclaimer of Warranty. Unless required by applicable law or
577 agreed to in writing, Licensor provides the Work (and each
578 Contributor provides its Contributions) on an "AS IS" BASIS,
579 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
580 implied, including, without limitation, any warranties or conditions
581 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
582 PARTICULAR PURPOSE. You are solely responsible for determining the
583 appropriateness of using or redistributing the Work and assume any
584 risks associated with Your exercise of permissions under this License.
585
586 8. Limitation of Liability. In no event and under no legal theory,
587 whether in tort (including negligence), contract, or otherwise,
588 unless required by applicable law (such as deliberate and grossly
589 negligent acts) or agreed to in writing, shall any Contributor be
590 liable to You for damages, including any direct, indirect, special,
591 incidental, or consequential damages of any character arising as a
592 result of this License or out of the use or inability to use the
593 Work (including but not limited to damages for loss of goodwill,
594 work stoppage, computer failure or malfunction, or any and all
595 other commercial damages or losses), even if such Contributor
596 has been advised of the possibility of such damages.
597
598 9. Accepting Warranty or Additional Liability. While redistributing
599 the Work or Derivative Works thereof, You may choose to offer,
600 and charge a fee for, acceptance of support, warranty, indemnity,
601 or other liability obligations and/or rights consistent with this
602 License. However, in accepting such obligations, You may act only
603 on Your own behalf and on Your sole responsibility, not on behalf
604 of any other Contributor, and only if You agree to indemnify,
605 defend, and hold each Contributor harmless for any liability
606 incurred by, or claims asserted against, such Contributor by reason
607 of your accepting any such warranty or additional liability.
608
609 END OF TERMS AND CONDITIONS
610
611 APPENDIX: How to apply the Apache License to your work.
612
613 To apply the Apache License to your work, attach the following
614 boilerplate notice, with the fields enclosed by brackets "[]"
615 replaced with your own identifying information. (Don't include
616 the brackets!) The text should be enclosed in the appropriate
617 comment syntax for the file format. We also recommend that a
618 file or class name and description of purpose be included on the
619 same "printed page" as the copyright notice for easier
620 identification within third-party archives.
621
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000622 Copyright 2007-2009 Google Inc.
623 Copyright 2007-2009 WebDriver committers
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000624
625 Licensed under the Apache License, Version 2.0 (the "License");
626 you may not use this file except in compliance with the License.
627 You may obtain a copy of the License at
628
629 http://www.apache.org/licenses/LICENSE-2.0
630
631 Unless required by applicable law or agreed to in writing, software
632 distributed under the License is distributed on an "AS IS" BASIS,
633 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
634 See the License for the specific language governing permissions and
635 limitations under the License.
636
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000637
638Copyright (C) 2009 by Tung Mac.
639
640Permission is hereby granted, free of charge, to any person obtaining a copy
641of this software and associated documentation files (the "Software"), to deal
642in the Software without restriction, including without limitation the rights
643to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
644copies of the Software, and to permit persons to whom the Software is
645furnished to do so, subject to the following conditions:
646
647The above copyright notice and this permission notice shall be included in
648all copies or substantial portions of the Software.
649
650THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
651IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
652FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
653AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
654LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
655OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
656THE SOFTWARE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000657
658/* ***** BEGIN LICENSE BLOCK *****
659 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
660 *
661 * The contents of this file are subject to the Mozilla Public License Version
662 * 1.1 (the "License"); you may not use this file except in compliance with
663 * the License. You may obtain a copy of the License at
664 * http://www.mozilla.org/MPL/
665 *
666 * Software distributed under the License is distributed on an "AS IS" basis,
667 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
668 * for the specific language governing rights and limitations under the
669 * License.
670 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000671 * The Original Code is the Netscape security libraries.
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000672 *
673 * The Initial Developer of the Original Code is
674 * Netscape Communications Corporation.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000675 * Portions created by the Initial Developer are Copyright (C) 2000
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000676 * the Initial Developer. All Rights Reserved.
677 *
678 * Contributor(s):
679 *
680 * Alternatively, the contents of this file may be used under the terms of
681 * either the GNU General Public License Version 2 or later (the "GPL"), or
682 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
683 * in which case the provisions of the GPL or the LGPL are applicable instead
684 * of those above. If you wish to allow use of your version of this file only
685 * under the terms of either the GPL or the LGPL, and not to allow others to
686 * use your version of this file under the terms of the MPL, indicate your
687 * decision by deleting the provisions above and replace them with the notice
688 * and other provisions required by the GPL or the LGPL. If you do not delete
689 * the provisions above, a recipient may use your version of this file under
690 * the terms of any one of the MPL, the GPL or the LGPL.
691 *
692 * ***** END LICENSE BLOCK ***** */
693
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000694/* ***** BEGIN LICENSE BLOCK *****
695 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
696 *
697 * The contents of this file are subject to the Mozilla Public License Version
698 * 1.1 (the "License"); you may not use this file except in compliance with
699 * the License. You may obtain a copy of the License at
700 * http://www.mozilla.org/MPL/
701 *
702 * Software distributed under the License is distributed on an "AS IS" basis,
703 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
704 * for the specific language governing rights and limitations under the
705 * License.
706 *
707 * The Original Code is the Netscape security libraries.
708 *
709 * The Initial Developer of the Original Code is
710 * Netscape Communications Corporation.
711 * Portions created by the Initial Developer are Copyright (C) 1994-2000
712 * the Initial Developer. All Rights Reserved.
713 *
714 * Contributor(s):
715 *
716 * Alternatively, the contents of this file may be used under the terms of
717 * either the GNU General Public License Version 2 or later (the "GPL"), or
718 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
719 * in which case the provisions of the GPL or the LGPL are applicable instead
720 * of those above. If you wish to allow use of your version of this file only
721 * under the terms of either the GPL or the LGPL, and not to allow others to
722 * use your version of this file under the terms of the MPL, indicate your
723 * decision by deleting the provisions above and replace them with the notice
724 * and other provisions required by the GPL or the LGPL. If you do not delete
725 * the provisions above, a recipient may use your version of this file under
726 * the terms of any one of the MPL, the GPL or the LGPL.
727 *
728 * ***** END LICENSE BLOCK ***** */
729
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000730Copyright 2007, Google Inc.
731All rights reserved.
732
733Redistribution and use in source and binary forms, with or without
734modification, are permitted provided that the following conditions are
735met:
736
737 * Redistributions of source code must retain the above copyright
738notice, this list of conditions and the following disclaimer.
739 * Redistributions in binary form must reproduce the above
740copyright notice, this list of conditions and the following disclaimer
741in the documentation and/or other materials provided with the
742distribution.
743 * Neither the name of Google Inc. nor the names of its
744contributors may be used to endorse or promote products derived from
745this software without specific prior written permission.
746
747THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
748"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
749LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
750A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
751OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
752SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
753LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
754DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
755THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
756(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
757OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
758
759-------------------------------------------------------------------------------
760
761The file url_parse.cc is based on nsURLParsers.cc from Mozilla. This file is
762licensed separately as follows:
763
764The contents of this file are subject to the Mozilla Public License Version
7651.1 (the "License"); you may not use this file except in compliance with
766the License. You may obtain a copy of the License at
767http://www.mozilla.org/MPL/
768
769Software distributed under the License is distributed on an "AS IS" basis,
770WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
771for the specific language governing rights and limitations under the
772License.
773
774The Original Code is mozilla.org code.
775
776The Initial Developer of the Original Code is
777Netscape Communications Corporation.
778Portions created by the Initial Developer are Copyright (C) 1998
779the Initial Developer. All Rights Reserved.
780
781Contributor(s):
782 Darin Fisher (original author)
783
784Alternatively, the contents of this file may be used under the terms of
785either the GNU General Public License Version 2 or later (the "GPL"), or
786the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
787in which case the provisions of the GPL or the LGPL are applicable instead
788of those above. If you wish to allow use of your version of this file only
789under the terms of either the GPL or the LGPL, and not to allow others to
790use your version of this file under the terms of the MPL, indicate your
791decision by deleting the provisions above and replace them with the notice
792and other provisions required by the GPL or the LGPL. If you do not delete
793the provisions above, a recipient may use your version of this file under
794the terms of any one of the MPL, the GPL or the LGPL.
795
796Copyright 2011, The Chromium Authors
797All rights reserved.
798
799Redistribution and use in source and binary forms, with or without
800modification, are permitted provided that the following conditions are
801met:
802
803 * Redistributions of source code must retain the above copyright
804notice, this list of conditions and the following disclaimer.
805 * Redistributions in binary form must reproduce the above
806copyright notice, this list of conditions and the following disclaimer
807in the documentation and/or other materials provided with the
808distribution.
809 * Neither the name of Google Inc. nor the names of its
810contributors may be used to endorse or promote products derived from
811this software without specific prior written permission.
812
813THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
814"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
815LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
816A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
817OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
818SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
819LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
820DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
821THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
822(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
823OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
824
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000825 GNU GENERAL PUBLIC LICENSE
826 Version 2, June 1991
827
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000828 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
829 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000830 Everyone is permitted to copy and distribute verbatim copies
831 of this license document, but changing it is not allowed.
832
833 Preamble
834
835 The licenses for most software are designed to take away your
836freedom to share and change it. By contrast, the GNU General Public
837License is intended to guarantee your freedom to share and change free
838software--to make sure the software is free for all its users. This
839General Public License applies to most of the Free Software
840Foundation's software and to any other program whose authors commit to
841using it. (Some other Free Software Foundation software is covered by
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000842the GNU Library General Public License instead.) You can apply it to
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000843your programs, too.
844
845 When we speak of free software, we are referring to freedom, not
846price. Our General Public Licenses are designed to make sure that you
847have the freedom to distribute copies of free software (and charge for
848this service if you wish), that you receive source code or can get it
849if you want it, that you can change the software or use pieces of it
850in new free programs; and that you know you can do these things.
851
852 To protect your rights, we need to make restrictions that forbid
853anyone to deny you these rights or to ask you to surrender the rights.
854These restrictions translate to certain responsibilities for you if you
855distribute copies of the software, or if you modify it.
856
857 For example, if you distribute copies of such a program, whether
858gratis or for a fee, you must give the recipients all the rights that
859you have. You must make sure that they, too, receive or can get the
860source code. And you must show them these terms so they know their
861rights.
862
863 We protect your rights with two steps: (1) copyright the software, and
864(2) offer you this license which gives you legal permission to copy,
865distribute and/or modify the software.
866
867 Also, for each author's protection and ours, we want to make certain
868that everyone understands that there is no warranty for this free
869software. If the software is modified by someone else and passed on, we
870want its recipients to know that what they have is not the original, so
871that any problems introduced by others will not reflect on the original
872authors' reputations.
873
874 Finally, any free program is threatened constantly by software
875patents. We wish to avoid the danger that redistributors of a free
876program will individually obtain patent licenses, in effect making the
877program proprietary. To prevent this, we have made it clear that any
878patent must be licensed for everyone's free use or not licensed at all.
879
880 The precise terms and conditions for copying, distribution and
881modification follow.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000882
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000883 GNU GENERAL PUBLIC LICENSE
884 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
885
886 0. This License applies to any program or other work which contains
887a notice placed by the copyright holder saying it may be distributed
888under the terms of this General Public License. The "Program", below,
889refers to any such program or work, and a "work based on the Program"
890means either the Program or any derivative work under copyright law:
891that is to say, a work containing the Program or a portion of it,
892either verbatim or with modifications and/or translated into another
893language. (Hereinafter, translation is included without limitation in
894the term "modification".) Each licensee is addressed as "you".
895
896Activities other than copying, distribution and modification are not
897covered by this License; they are outside its scope. The act of
898running the Program is not restricted, and the output from the Program
899is covered only if its contents constitute a work based on the
900Program (independent of having been made by running the Program).
901Whether that is true depends on what the Program does.
902
903 1. You may copy and distribute verbatim copies of the Program's
904source code as you receive it, in any medium, provided that you
905conspicuously and appropriately publish on each copy an appropriate
906copyright notice and disclaimer of warranty; keep intact all the
907notices that refer to this License and to the absence of any warranty;
908and give any other recipients of the Program a copy of this License
909along with the Program.
910
911You may charge a fee for the physical act of transferring a copy, and
912you may at your option offer warranty protection in exchange for a fee.
913
914 2. You may modify your copy or copies of the Program or any portion
915of it, thus forming a work based on the Program, and copy and
916distribute such modifications or work under the terms of Section 1
917above, provided that you also meet all of these conditions:
918
919 a) You must cause the modified files to carry prominent notices
920 stating that you changed the files and the date of any change.
921
922 b) You must cause any work that you distribute or publish, that in
923 whole or in part contains or is derived from the Program or any
924 part thereof, to be licensed as a whole at no charge to all third
925 parties under the terms of this License.
926
927 c) If the modified program normally reads commands interactively
928 when run, you must cause it, when started running for such
929 interactive use in the most ordinary way, to print or display an
930 announcement including an appropriate copyright notice and a
931 notice that there is no warranty (or else, saying that you provide
932 a warranty) and that users may redistribute the program under
933 these conditions, and telling the user how to view a copy of this
934 License. (Exception: if the Program itself is interactive but
935 does not normally print such an announcement, your work based on
936 the Program is not required to print an announcement.)
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000937
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000938These requirements apply to the modified work as a whole. If
939identifiable sections of that work are not derived from the Program,
940and can be reasonably considered independent and separate works in
941themselves, then this License, and its terms, do not apply to those
942sections when you distribute them as separate works. But when you
943distribute the same sections as part of a whole which is a work based
944on the Program, the distribution of the whole must be on the terms of
945this License, whose permissions for other licensees extend to the
946entire whole, and thus to each and every part regardless of who wrote it.
947
948Thus, it is not the intent of this section to claim rights or contest
949your rights to work written entirely by you; rather, the intent is to
950exercise the right to control the distribution of derivative or
951collective works based on the Program.
952
953In addition, mere aggregation of another work not based on the Program
954with the Program (or with a work based on the Program) on a volume of
955a storage or distribution medium does not bring the other work under
956the scope of this License.
957
958 3. You may copy and distribute the Program (or a work based on it,
959under Section 2) in object code or executable form under the terms of
960Sections 1 and 2 above provided that you also do one of the following:
961
962 a) Accompany it with the complete corresponding machine-readable
963 source code, which must be distributed under the terms of Sections
964 1 and 2 above on a medium customarily used for software interchange; or,
965
966 b) Accompany it with a written offer, valid for at least three
967 years, to give any third party, for a charge no more than your
968 cost of physically performing source distribution, a complete
969 machine-readable copy of the corresponding source code, to be
970 distributed under the terms of Sections 1 and 2 above on a medium
971 customarily used for software interchange; or,
972
973 c) Accompany it with the information you received as to the offer
974 to distribute corresponding source code. (This alternative is
975 allowed only for noncommercial distribution and only if you
976 received the program in object code or executable form with such
977 an offer, in accord with Subsection b above.)
978
979The source code for a work means the preferred form of the work for
980making modifications to it. For an executable work, complete source
981code means all the source code for all modules it contains, plus any
982associated interface definition files, plus the scripts used to
983control compilation and installation of the executable. However, as a
984special exception, the source code distributed need not include
985anything that is normally distributed (in either source or binary
986form) with the major components (compiler, kernel, and so on) of the
987operating system on which the executable runs, unless that component
988itself accompanies the executable.
989
990If distribution of executable or object code is made by offering
991access to copy from a designated place, then offering equivalent
992access to copy the source code from the same place counts as
993distribution of the source code, even though third parties are not
994compelled to copy the source along with the object code.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000995
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000996 4. You may not copy, modify, sublicense, or distribute the Program
997except as expressly provided under this License. Any attempt
998otherwise to copy, modify, sublicense or distribute the Program is
999void, and will automatically terminate your rights under this License.
1000However, parties who have received copies, or rights, from you under
1001this License will not have their licenses terminated so long as such
1002parties remain in full compliance.
1003
1004 5. You are not required to accept this License, since you have not
1005signed it. However, nothing else grants you permission to modify or
1006distribute the Program or its derivative works. These actions are
1007prohibited by law if you do not accept this License. Therefore, by
1008modifying or distributing the Program (or any work based on the
1009Program), you indicate your acceptance of this License to do so, and
1010all its terms and conditions for copying, distributing or modifying
1011the Program or works based on it.
1012
1013 6. Each time you redistribute the Program (or any work based on the
1014Program), the recipient automatically receives a license from the
1015original licensor to copy, distribute or modify the Program subject to
1016these terms and conditions. You may not impose any further
1017restrictions on the recipients' exercise of the rights granted herein.
1018You are not responsible for enforcing compliance by third parties to
1019this License.
1020
1021 7. If, as a consequence of a court judgment or allegation of patent
1022infringement or for any other reason (not limited to patent issues),
1023conditions are imposed on you (whether by court order, agreement or
1024otherwise) that contradict the conditions of this License, they do not
1025excuse you from the conditions of this License. If you cannot
1026distribute so as to satisfy simultaneously your obligations under this
1027License and any other pertinent obligations, then as a consequence you
1028may not distribute the Program at all. For example, if a patent
1029license would not permit royalty-free redistribution of the Program by
1030all those who receive copies directly or indirectly through you, then
1031the only way you could satisfy both it and this License would be to
1032refrain entirely from distribution of the Program.
1033
1034If any portion of this section is held invalid or unenforceable under
1035any particular circumstance, the balance of the section is intended to
1036apply and the section as a whole is intended to apply in other
1037circumstances.
1038
1039It is not the purpose of this section to induce you to infringe any
1040patents or other property right claims or to contest validity of any
1041such claims; this section has the sole purpose of protecting the
1042integrity of the free software distribution system, which is
1043implemented by public license practices. Many people have made
1044generous contributions to the wide range of software distributed
1045through that system in reliance on consistent application of that
1046system; it is up to the author/donor to decide if he or she is willing
1047to distribute software through any other system and a licensee cannot
1048impose that choice.
1049
1050This section is intended to make thoroughly clear what is believed to
1051be a consequence of the rest of this License.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001052
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001053 8. If the distribution and/or use of the Program is restricted in
1054certain countries either by patents or by copyrighted interfaces, the
1055original copyright holder who places the Program under this License
1056may add an explicit geographical distribution limitation excluding
1057those countries, so that distribution is permitted only in or among
1058countries not thus excluded. In such case, this License incorporates
1059the limitation as if written in the body of this License.
1060
1061 9. The Free Software Foundation may publish revised and/or new versions
1062of the General Public License from time to time. Such new versions will
1063be similar in spirit to the present version, but may differ in detail to
1064address new problems or concerns.
1065
1066Each version is given a distinguishing version number. If the Program
1067specifies a version number of this License which applies to it and "any
1068later version", you have the option of following the terms and conditions
1069either of that version or of any later version published by the Free
1070Software Foundation. If the Program does not specify a version number of
1071this License, you may choose any version ever published by the Free Software
1072Foundation.
1073
1074 10. If you wish to incorporate parts of the Program into other free
1075programs whose distribution conditions are different, write to the author
1076to ask for permission. For software which is copyrighted by the Free
1077Software Foundation, write to the Free Software Foundation; we sometimes
1078make exceptions for this. Our decision will be guided by the two goals
1079of preserving the free status of all derivatives of our free software and
1080of promoting the sharing and reuse of software generally.
1081
1082 NO WARRANTY
1083
1084 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
1085FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
1086OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
1087PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1088OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1089MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
1090TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
1091PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
1092REPAIR OR CORRECTION.
1093
1094 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1095WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1096REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1097INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1098OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
1099TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
1100YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
1101PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1102POSSIBILITY OF SUCH DAMAGES.
1103
1104 END OF TERMS AND CONDITIONS
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001105
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001106 How to Apply These Terms to Your New Programs
1107
1108 If you develop a new program, and you want it to be of the greatest
1109possible use to the public, the best way to achieve this is to make it
1110free software which everyone can redistribute and change under these terms.
1111
1112 To do so, attach the following notices to the program. It is safest
1113to attach them to the start of each source file to most effectively
1114convey the exclusion of warranty; and each file should have at least
1115the "copyright" line and a pointer to where the full notice is found.
1116
1117 <one line to give the program's name and a brief idea of what it does.>
1118 Copyright (C) <year> <name of author>
1119
1120 This program is free software; you can redistribute it and/or modify
1121 it under the terms of the GNU General Public License as published by
1122 the Free Software Foundation; either version 2 of the License, or
1123 (at your option) any later version.
1124
1125 This program is distributed in the hope that it will be useful,
1126 but WITHOUT ANY WARRANTY; without even the implied warranty of
1127 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1128 GNU General Public License for more details.
1129
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001130 You should have received a copy of the GNU General Public License
1131 along with this program; if not, write to the Free Software
1132 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1133
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001134
1135Also add information on how to contact you by electronic and paper mail.
1136
1137If the program is interactive, make it output a short notice like this
1138when it starts in an interactive mode:
1139
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001140 Gnomovision version 69, Copyright (C) year name of author
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001141 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1142 This is free software, and you are welcome to redistribute it
1143 under certain conditions; type `show c' for details.
1144
1145The hypothetical commands `show w' and `show c' should show the appropriate
1146parts of the General Public License. Of course, the commands you use may
1147be called something other than `show w' and `show c'; they could even be
1148mouse-clicks or menu items--whatever suits your program.
1149
1150You should also get your employer (if you work as a programmer) or your
1151school, if any, to sign a "copyright disclaimer" for the program, if
1152necessary. Here is a sample; alter the names:
1153
1154 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
1155 `Gnomovision' (which makes passes at compilers) written by James Hacker.
1156
1157 <signature of Ty Coon>, 1 April 1989
1158 Ty Coon, President of Vice
1159
1160This General Public License does not permit incorporating your program into
1161proprietary programs. If your program is a subroutine library, you may
1162consider it more useful to permit linking proprietary applications with the
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001163library. If this is what you want to do, use the GNU Library General
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001164Public License instead of this License.
1165
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001166// Copyright (c) 2012 The Chromium Authors. All rights reserved.
1167//
1168// Redistribution and use in source and binary forms, with or without
1169// modification, are permitted provided that the following conditions are
1170// met:
1171//
1172// * Redistributions of source code must retain the above copyright
1173// notice, this list of conditions and the following disclaimer.
1174// * Redistributions in binary form must reproduce the above
1175// copyright notice, this list of conditions and the following disclaimer
1176// in the documentation and/or other materials provided with the
1177// distribution.
1178// * Neither the name of Google Inc. nor the names of its
1179// contributors may be used to endorse or promote products derived from
1180// this software without specific prior written permission.
1181//
1182// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1183// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1184// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1185// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1186// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1187// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1188// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1189// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1190// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1191// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1192// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001193
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001194
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001195/*
1196** Copyright (c) 2007-2010 The Khronos Group Inc.
1197**
1198** Permission is hereby granted, free of charge, to any person obtaining a
1199** copy of this software and/or associated documentation files (the
1200** "Materials"), to deal in the Materials without restriction, including
1201** without limitation the rights to use, copy, modify, merge, publish,
1202** distribute, sublicense, and/or sell copies of the Materials, and to
1203** permit persons to whom the Materials are furnished to do so, subject to
1204** the following conditions:
1205**
1206** The above copyright notice and this permission notice shall be included
1207** in all copies or substantial portions of the Materials.
1208**
1209** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1210** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1211** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1212** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
1213** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1214** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1215** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001216*/
1217
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001218
1219 Apache License
1220 Version 2.0, January 2004
1221 http://www.apache.org/licenses/
1222
1223 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1224
1225 1. Definitions.
1226
1227 "License" shall mean the terms and conditions for use, reproduction,
1228 and distribution as defined by Sections 1 through 9 of this document.
1229
1230 "Licensor" shall mean the copyright owner or entity authorized by
1231 the copyright owner that is granting the License.
1232
1233 "Legal Entity" shall mean the union of the acting entity and all
1234 other entities that control, are controlled by, or are under common
1235 control with that entity. For the purposes of this definition,
1236 "control" means (i) the power, direct or indirect, to cause the
1237 direction or management of such entity, whether by contract or
1238 otherwise, or (ii) ownership of fifty percent (50%) or more of the
1239 outstanding shares, or (iii) beneficial ownership of such entity.
1240
1241 "You" (or "Your") shall mean an individual or Legal Entity
1242 exercising permissions granted by this License.
1243
1244 "Source" form shall mean the preferred form for making modifications,
1245 including but not limited to software source code, documentation
1246 source, and configuration files.
1247
1248 "Object" form shall mean any form resulting from mechanical
1249 transformation or translation of a Source form, including but
1250 not limited to compiled object code, generated documentation,
1251 and conversions to other media types.
1252
1253 "Work" shall mean the work of authorship, whether in Source or
1254 Object form, made available under the License, as indicated by a
1255 copyright notice that is included in or attached to the work
1256 (an example is provided in the Appendix below).
1257
1258 "Derivative Works" shall mean any work, whether in Source or Object
1259 form, that is based on (or derived from) the Work and for which the
1260 editorial revisions, annotations, elaborations, or other modifications
1261 represent, as a whole, an original work of authorship. For the purposes
1262 of this License, Derivative Works shall not include works that remain
1263 separable from, or merely link (or bind by name) to the interfaces of,
1264 the Work and Derivative Works thereof.
1265
1266 "Contribution" shall mean any work of authorship, including
1267 the original version of the Work and any modifications or additions
1268 to that Work or Derivative Works thereof, that is intentionally
1269 submitted to Licensor for inclusion in the Work by the copyright owner
1270 or by an individual or Legal Entity authorized to submit on behalf of
1271 the copyright owner. For the purposes of this definition, "submitted"
1272 means any form of electronic, verbal, or written communication sent
1273 to the Licensor or its representatives, including but not limited to
1274 communication on electronic mailing lists, source code control systems,
1275 and issue tracking systems that are managed by, or on behalf of, the
1276 Licensor for the purpose of discussing and improving the Work, but
1277 excluding communication that is conspicuously marked or otherwise
1278 designated in writing by the copyright owner as "Not a Contribution."
1279
1280 "Contributor" shall mean Licensor and any individual or Legal Entity
1281 on behalf of whom a Contribution has been received by Licensor and
1282 subsequently incorporated within the Work.
1283
1284 2. Grant of Copyright License. Subject to the terms and conditions of
1285 this License, each Contributor hereby grants to You a perpetual,
1286 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1287 copyright license to reproduce, prepare Derivative Works of,
1288 publicly display, publicly perform, sublicense, and distribute the
1289 Work and such Derivative Works in Source or Object form.
1290
1291 3. Grant of Patent License. Subject to the terms and conditions of
1292 this License, each Contributor hereby grants to You a perpetual,
1293 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1294 (except as stated in this section) patent license to make, have made,
1295 use, offer to sell, sell, import, and otherwise transfer the Work,
1296 where such license applies only to those patent claims licensable
1297 by such Contributor that are necessarily infringed by their
1298 Contribution(s) alone or by combination of their Contribution(s)
1299 with the Work to which such Contribution(s) was submitted. If You
1300 institute patent litigation against any entity (including a
1301 cross-claim or counterclaim in a lawsuit) alleging that the Work
1302 or a Contribution incorporated within the Work constitutes direct
1303 or contributory patent infringement, then any patent licenses
1304 granted to You under this License for that Work shall terminate
1305 as of the date such litigation is filed.
1306
1307 4. Redistribution. You may reproduce and distribute copies of the
1308 Work or Derivative Works thereof in any medium, with or without
1309 modifications, and in Source or Object form, provided that You
1310 meet the following conditions:
1311
1312 (a) You must give any other recipients of the Work or
1313 Derivative Works a copy of this License; and
1314
1315 (b) You must cause any modified files to carry prominent notices
1316 stating that You changed the files; and
1317
1318 (c) You must retain, in the Source form of any Derivative Works
1319 that You distribute, all copyright, patent, trademark, and
1320 attribution notices from the Source form of the Work,
1321 excluding those notices that do not pertain to any part of
1322 the Derivative Works; and
1323
1324 (d) If the Work includes a "NOTICE" text file as part of its
1325 distribution, then any Derivative Works that You distribute must
1326 include a readable copy of the attribution notices contained
1327 within such NOTICE file, excluding those notices that do not
1328 pertain to any part of the Derivative Works, in at least one
1329 of the following places: within a NOTICE text file distributed
1330 as part of the Derivative Works; within the Source form or
1331 documentation, if provided along with the Derivative Works; or,
1332 within a display generated by the Derivative Works, if and
1333 wherever such third-party notices normally appear. The contents
1334 of the NOTICE file are for informational purposes only and
1335 do not modify the License. You may add Your own attribution
1336 notices within Derivative Works that You distribute, alongside
1337 or as an addendum to the NOTICE text from the Work, provided
1338 that such additional attribution notices cannot be construed
1339 as modifying the License.
1340
1341 You may add Your own copyright statement to Your modifications and
1342 may provide additional or different license terms and conditions
1343 for use, reproduction, or distribution of Your modifications, or
1344 for any such Derivative Works as a whole, provided Your use,
1345 reproduction, and distribution of the Work otherwise complies with
1346 the conditions stated in this License.
1347
1348 5. Submission of Contributions. Unless You explicitly state otherwise,
1349 any Contribution intentionally submitted for inclusion in the Work
1350 by You to the Licensor shall be under the terms and conditions of
1351 this License, without any additional terms or conditions.
1352 Notwithstanding the above, nothing herein shall supersede or modify
1353 the terms of any separate license agreement you may have executed
1354 with Licensor regarding such Contributions.
1355
1356 6. Trademarks. This License does not grant permission to use the trade
1357 names, trademarks, service marks, or product names of the Licensor,
1358 except as required for reasonable and customary use in describing the
1359 origin of the Work and reproducing the content of the NOTICE file.
1360
1361 7. Disclaimer of Warranty. Unless required by applicable law or
1362 agreed to in writing, Licensor provides the Work (and each
1363 Contributor provides its Contributions) on an "AS IS" BASIS,
1364 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1365 implied, including, without limitation, any warranties or conditions
1366 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1367 PARTICULAR PURPOSE. You are solely responsible for determining the
1368 appropriateness of using or redistributing the Work and assume any
1369 risks associated with Your exercise of permissions under this License.
1370
1371 8. Limitation of Liability. In no event and under no legal theory,
1372 whether in tort (including negligence), contract, or otherwise,
1373 unless required by applicable law (such as deliberate and grossly
1374 negligent acts) or agreed to in writing, shall any Contributor be
1375 liable to You for damages, including any direct, indirect, special,
1376 incidental, or consequential damages of any character arising as a
1377 result of this License or out of the use or inability to use the
1378 Work (including but not limited to damages for loss of goodwill,
1379 work stoppage, computer failure or malfunction, or any and all
1380 other commercial damages or losses), even if such Contributor
1381 has been advised of the possibility of such damages.
1382
1383 9. Accepting Warranty or Additional Liability. While redistributing
1384 the Work or Derivative Works thereof, You may choose to offer,
1385 and charge a fee for, acceptance of support, warranty, indemnity,
1386 or other liability obligations and/or rights consistent with this
1387 License. However, in accepting such obligations, You may act only
1388 on Your own behalf and on Your sole responsibility, not on behalf
1389 of any other Contributor, and only if You agree to indemnify,
1390 defend, and hold each Contributor harmless for any liability
1391 incurred by, or claims asserted against, such Contributor by reason
1392 of your accepting any such warranty or additional liability.
1393
1394 END OF TERMS AND CONDITIONS
1395
1396 APPENDIX: How to apply the Apache License to your work.
1397
1398 To apply the Apache License to your work, attach the following
1399 boilerplate notice, with the fields enclosed by brackets "[]"
1400 replaced with your own identifying information. (Don't include
1401 the brackets!) The text should be enclosed in the appropriate
1402 comment syntax for the file format. We also recommend that a
1403 file or class name and description of purpose be included on the
1404 same "printed page" as the copyright notice for easier
1405 identification within third-party archives.
1406
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001407 Copyright (c) 2008, Google Inc.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001408
1409 Licensed under the Apache License, Version 2.0 (the "License");
1410 you may not use this file except in compliance with the License.
1411 You may obtain a copy of the License at
1412
1413 http://www.apache.org/licenses/LICENSE-2.0
1414
1415 Unless required by applicable law or agreed to in writing, software
1416 distributed under the License is distributed on an "AS IS" BASIS,
1417 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1418 See the License for the specific language governing permissions and
1419 limitations under the License.
1420
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001421(WebKit doesn't distribute an explicit license. This LICENSE is derived from
1422license text in the source.)
1423
1424Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
14252006, 2007 Alexander Kellett, Alexey Proskuryakov, Alex Mathews, Allan
1426Sandfeld Jensen, Alp Toker, Anders Carlsson, Andrew Wellington, Antti
1427Koivisto, Apple Inc., Arthur Langereis, Baron Schwartz, Bjoern Graf,
1428Brent Fulgham, Cameron Zwarich, Charles Samuels, Christian Dywan,
1429Collabora Ltd., Cyrus Patel, Daniel Molkentin, Dave Maclachlan, David
1430Smith, Dawit Alemayehu, Dirk Mueller, Dirk Schulze, Don Gibson, Enrico
1431Ros, Eric Seidel, Frederik Holljen, Frerich Raabe, Friedmann Kleint,
1432George Staikos, Google Inc., Graham Dennis, Harri Porten, Henry Mason,
1433Hiroyuki Ikezoe, Holger Hans Peter Freyther, IBM, James G. Speth, Jan
1434Alonzo, Jean-Loup Gailly, John Reis, Jonas Witt, Jon Shier, Jonas
1435Witt, Julien Chaffraix, Justin Haygood, Kevin Ollivier, Kevin Watters,
1436Kimmo Kinnunen, Kouhei Sutou, Krzysztof Kowalczyk, Lars Knoll, Luca
1437Bruno, Maks Orlovich, Malte Starostik, Mark Adler, Martin Jones,
1438Marvin Decker, Matt Lilek, Michael Emmel, Mitz Pettel, mozilla.org,
1439Netscape Communications Corporation, Nicholas Shanks, Nikolas
1440Zimmermann, Nokia, Oliver Hunt, Opened Hand, Paul Johnston, Peter
1441Kelly, Pioneer Research Center USA, Rich Moore, Rob Buis, Robin Dunn,
1442Ronald Tschalär, Samuel Weinig, Simon Hausmann, Staikos Computing
1443Services Inc., Stefan Schimanski, Symantec Corporation, The Dojo
1444Foundation, The Karbon Developers, Thomas Boyer, Tim Copperfield,
1445Tobias Anton, Torben Weis, Trolltech, University of Cambridge, Vaclav
1446Slavik, Waldo Bastian, Xan Lopez, Zack Rusin
1447
1448The terms and conditions vary from file to file, but are one of:
1449
1450Redistribution and use in source and binary forms, with or without
1451modification, are permitted provided that the following conditions are
1452met:
1453
14541. Redistributions of source code must retain the above copyright
1455 notice, this list of conditions and the following disclaimer.
1456
14572. Redistributions in binary form must reproduce the above copyright
1458 notice, this list of conditions and the following disclaimer in the
1459 documentation and/or other materials provided with the
1460 distribution.
1461
1462*OR*
1463
1464Redistribution and use in source and binary forms, with or without
1465modification, are permitted provided that the following conditions are
1466met:
1467
14681. Redistributions of source code must retain the above copyright
1469 notice, this list of conditions and the following disclaimer.
14702. Redistributions in binary form must reproduce the above copyright
1471 notice, this list of conditions and the following disclaimer in the
1472 documentation and/or other materials provided with the
1473 distribution.
14743. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
1475 its contributors may be used to endorse or promote products derived
1476 from this software without specific prior written permission.
1477
1478THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
1479EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1480IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1481PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
1482CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
1483EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
1484PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
1485PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
1486
1487OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1488(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1489OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1490
1491
1492 GNU LIBRARY GENERAL PUBLIC LICENSE
1493 Version 2, June 1991
1494
1495 Copyright (C) 1991 Free Software Foundation, Inc.
1496 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1497 Everyone is permitted to copy and distribute verbatim copies
1498 of this license document, but changing it is not allowed.
1499
1500[This is the first released version of the library GPL. It is
1501 numbered 2 because it goes with version 2 of the ordinary GPL.]
1502
1503 Preamble
1504
1505 The licenses for most software are designed to take away your
1506freedom to share and change it. By contrast, the GNU General Public
1507Licenses are intended to guarantee your freedom to share and change
1508free software--to make sure the software is free for all its users.
1509
1510 This license, the Library General Public License, applies to some
1511specially designated Free Software Foundation software, and to any
1512other libraries whose authors decide to use it. You can use it for
1513your libraries, too.
1514
1515 When we speak of free software, we are referring to freedom, not
1516price. Our General Public Licenses are designed to make sure that you
1517have the freedom to distribute copies of free software (and charge for
1518this service if you wish), that you receive source code or can get it
1519if you want it, that you can change the software or use pieces of it
1520in new free programs; and that you know you can do these things.
1521
1522 To protect your rights, we need to make restrictions that forbid
1523anyone to deny you these rights or to ask you to surrender the rights.
1524These restrictions translate to certain responsibilities for you if
1525you distribute copies of the library, or if you modify it.
1526
1527 For example, if you distribute copies of the library, whether gratis
1528or for a fee, you must give the recipients all the rights that we gave
1529you. You must make sure that they, too, receive or can get the source
1530code. If you link a program with the library, you must provide
1531complete object files to the recipients so that they can relink them
1532with the library, after making changes to the library and recompiling
1533it. And you must show them these terms so they know their rights.
1534
1535 Our method of protecting your rights has two steps: (1) copyright
1536the library, and (2) offer you this license which gives you legal
1537permission to copy, distribute and/or modify the library.
1538
1539 Also, for each distributor's protection, we want to make certain
1540that everyone understands that there is no warranty for this free
1541library. If the library is modified by someone else and passed on, we
1542want its recipients to know that what they have is not the original
1543version, so that any problems introduced by others will not reflect on
1544the original authors' reputations.
1545
1546 Finally, any free program is threatened constantly by software
1547patents. We wish to avoid the danger that companies distributing free
1548software will individually obtain patent licenses, thus in effect
1549transforming the program into proprietary software. To prevent this,
1550we have made it clear that any patent must be licensed for everyone's
1551free use or not licensed at all.
1552
1553 Most GNU software, including some libraries, is covered by the ordinary
1554GNU General Public License, which was designed for utility programs. This
1555license, the GNU Library General Public License, applies to certain
1556designated libraries. This license is quite different from the ordinary
1557one; be sure to read it in full, and don't assume that anything in it is
1558the same as in the ordinary license.
1559
1560 The reason we have a separate public license for some libraries is that
1561they blur the distinction we usually make between modifying or adding to a
1562program and simply using it. Linking a program with a library, without
1563changing the library, is in some sense simply using the library, and is
1564analogous to running a utility program or application program. However, in
1565a textual and legal sense, the linked executable is a combined work, a
1566derivative of the original library, and the ordinary General Public License
1567treats it as such.
1568
1569 Because of this blurred distinction, using the ordinary General
1570Public License for libraries did not effectively promote software
1571sharing, because most developers did not use the libraries. We
1572concluded that weaker conditions might promote sharing better.
1573
1574 However, unrestricted linking of non-free programs would deprive the
1575users of those programs of all benefit from the free status of the
1576libraries themselves. This Library General Public License is intended to
1577permit developers of non-free programs to use free libraries, while
1578preserving your freedom as a user of such programs to change the free
1579libraries that are incorporated in them. (We have not seen how to achieve
1580this as regards changes in header files, but we have achieved it as regards
1581changes in the actual functions of the Library.) The hope is that this
1582will lead to faster development of free libraries.
1583
1584 The precise terms and conditions for copying, distribution and
1585modification follow. Pay close attention to the difference between a
1586"work based on the library" and a "work that uses the library". The
1587former contains code derived from the library, while the latter only
1588works together with the library.
1589
1590 Note that it is possible for a library to be covered by the ordinary
1591General Public License rather than by this special one.
1592
1593 GNU LIBRARY GENERAL PUBLIC LICENSE
1594 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1595
1596 0. This License Agreement applies to any software library which
1597contains a notice placed by the copyright holder or other authorized
1598party saying it may be distributed under the terms of this Library
1599General Public License (also called "this License"). Each licensee is
1600addressed as "you".
1601
1602 A "library" means a collection of software functions and/or data
1603prepared so as to be conveniently linked with application programs
1604(which use some of those functions and data) to form executables.
1605
1606 The "Library", below, refers to any such software library or work
1607which has been distributed under these terms. A "work based on the
1608Library" means either the Library or any derivative work under
1609copyright law: that is to say, a work containing the Library or a
1610portion of it, either verbatim or with modifications and/or translated
1611straightforwardly into another language. (Hereinafter, translation is
1612included without limitation in the term "modification".)
1613
1614 "Source code" for a work means the preferred form of the work for
1615making modifications to it. For a library, complete source code means
1616all the source code for all modules it contains, plus any associated
1617interface definition files, plus the scripts used to control compilation
1618and installation of the library.
1619
1620 Activities other than copying, distribution and modification are not
1621covered by this License; they are outside its scope. The act of
1622running a program using the Library is not restricted, and output from
1623such a program is covered only if its contents constitute a work based
1624on the Library (independent of the use of the Library in a tool for
1625writing it). Whether that is true depends on what the Library does
1626and what the program that uses the Library does.
1627
1628 1. You may copy and distribute verbatim copies of the Library's
1629complete source code as you receive it, in any medium, provided that
1630you conspicuously and appropriately publish on each copy an
1631appropriate copyright notice and disclaimer of warranty; keep intact
1632all the notices that refer to this License and to the absence of any
1633warranty; and distribute a copy of this License along with the
1634Library.
1635
1636 You may charge a fee for the physical act of transferring a copy,
1637and you may at your option offer warranty protection in exchange for a
1638fee.
1639
1640 2. You may modify your copy or copies of the Library or any portion
1641of it, thus forming a work based on the Library, and copy and
1642distribute such modifications or work under the terms of Section 1
1643above, provided that you also meet all of these conditions:
1644
1645 a) The modified work must itself be a software library.
1646
1647 b) You must cause the files modified to carry prominent notices
1648 stating that you changed the files and the date of any change.
1649
1650 c) You must cause the whole of the work to be licensed at no
1651 charge to all third parties under the terms of this License.
1652
1653 d) If a facility in the modified Library refers to a function or a
1654 table of data to be supplied by an application program that uses
1655 the facility, other than as an argument passed when the facility
1656 is invoked, then you must make a good faith effort to ensure that,
1657 in the event an application does not supply such function or
1658 table, the facility still operates, and performs whatever part of
1659 its purpose remains meaningful.
1660
1661 (For example, a function in a library to compute square roots has
1662 a purpose that is entirely well-defined independent of the
1663 application. Therefore, Subsection 2d requires that any
1664 application-supplied function or table used by this function must
1665 be optional: if the application does not supply it, the square
1666 root function must still compute square roots.)
1667
1668These requirements apply to the modified work as a whole. If
1669identifiable sections of that work are not derived from the Library,
1670and can be reasonably considered independent and separate works in
1671themselves, then this License, and its terms, do not apply to those
1672sections when you distribute them as separate works. But when you
1673distribute the same sections as part of a whole which is a work based
1674on the Library, the distribution of the whole must be on the terms of
1675this License, whose permissions for other licensees extend to the
1676entire whole, and thus to each and every part regardless of who wrote
1677it.
1678
1679Thus, it is not the intent of this section to claim rights or contest
1680your rights to work written entirely by you; rather, the intent is to
1681exercise the right to control the distribution of derivative or
1682collective works based on the Library.
1683
1684In addition, mere aggregation of another work not based on the Library
1685with the Library (or with a work based on the Library) on a volume of
1686a storage or distribution medium does not bring the other work under
1687the scope of this License.
1688
1689 3. You may opt to apply the terms of the ordinary GNU General Public
1690License instead of this License to a given copy of the Library. To do
1691this, you must alter all the notices that refer to this License, so
1692that they refer to the ordinary GNU General Public License, version 2,
1693instead of to this License. (If a newer version than version 2 of the
1694ordinary GNU General Public License has appeared, then you can specify
1695that version instead if you wish.) Do not make any other change in
1696these notices.
1697
1698 Once this change is made in a given copy, it is irreversible for
1699that copy, so the ordinary GNU General Public License applies to all
1700subsequent copies and derivative works made from that copy.
1701
1702 This option is useful when you wish to copy part of the code of
1703the Library into a program that is not a library.
1704
1705 4. You may copy and distribute the Library (or a portion or
1706derivative of it, under Section 2) in object code or executable form
1707under the terms of Sections 1 and 2 above provided that you accompany
1708it with the complete corresponding machine-readable source code, which
1709must be distributed under the terms of Sections 1 and 2 above on a
1710medium customarily used for software interchange.
1711
1712 If distribution of object code is made by offering access to copy
1713from a designated place, then offering equivalent access to copy the
1714source code from the same place satisfies the requirement to
1715distribute the source code, even though third parties are not
1716compelled to copy the source along with the object code.
1717
1718 5. A program that contains no derivative of any portion of the
1719Library, but is designed to work with the Library by being compiled or
1720linked with it, is called a "work that uses the Library". Such a
1721work, in isolation, is not a derivative work of the Library, and
1722therefore falls outside the scope of this License.
1723
1724 However, linking a "work that uses the Library" with the Library
1725creates an executable that is a derivative of the Library (because it
1726contains portions of the Library), rather than a "work that uses the
1727library". The executable is therefore covered by this License.
1728Section 6 states terms for distribution of such executables.
1729
1730 When a "work that uses the Library" uses material from a header file
1731that is part of the Library, the object code for the work may be a
1732derivative work of the Library even though the source code is not.
1733Whether this is true is especially significant if the work can be
1734linked without the Library, or if the work is itself a library. The
1735threshold for this to be true is not precisely defined by law.
1736
1737 If such an object file uses only numerical parameters, data
1738structure layouts and accessors, and small macros and small inline
1739functions (ten lines or less in length), then the use of the object
1740file is unrestricted, regardless of whether it is legally a derivative
1741work. (Executables containing this object code plus portions of the
1742Library will still fall under Section 6.)
1743
1744 Otherwise, if the work is a derivative of the Library, you may
1745distribute the object code for the work under the terms of Section 6.
1746Any executables containing that work also fall under Section 6,
1747whether or not they are linked directly with the Library itself.
1748
1749 6. As an exception to the Sections above, you may also compile or
1750link a "work that uses the Library" with the Library to produce a
1751work containing portions of the Library, and distribute that work
1752under terms of your choice, provided that the terms permit
1753modification of the work for the customer's own use and reverse
1754engineering for debugging such modifications.
1755
1756 You must give prominent notice with each copy of the work that the
1757Library is used in it and that the Library and its use are covered by
1758this License. You must supply a copy of this License. If the work
1759during execution displays copyright notices, you must include the
1760copyright notice for the Library among them, as well as a reference
1761directing the user to the copy of this License. Also, you must do one
1762of these things:
1763
1764 a) Accompany the work with the complete corresponding
1765 machine-readable source code for the Library including whatever
1766 changes were used in the work (which must be distributed under
1767 Sections 1 and 2 above); and, if the work is an executable linked
1768 with the Library, with the complete machine-readable "work that
1769 uses the Library", as object code and/or source code, so that the
1770 user can modify the Library and then relink to produce a modified
1771 executable containing the modified Library. (It is understood
1772 that the user who changes the contents of definitions files in the
1773 Library will not necessarily be able to recompile the application
1774 to use the modified definitions.)
1775
1776 b) Accompany the work with a written offer, valid for at
1777 least three years, to give the same user the materials
1778 specified in Subsection 6a, above, for a charge no more
1779 than the cost of performing this distribution.
1780
1781 c) If distribution of the work is made by offering access to copy
1782 from a designated place, offer equivalent access to copy the above
1783 specified materials from the same place.
1784
1785 d) Verify that the user has already received a copy of these
1786 materials or that you have already sent this user a copy.
1787
1788 For an executable, the required form of the "work that uses the
1789Library" must include any data and utility programs needed for
1790reproducing the executable from it. However, as a special exception,
1791the source code distributed need not include anything that is normally
1792distributed (in either source or binary form) with the major
1793components (compiler, kernel, and so on) of the operating system on
1794which the executable runs, unless that component itself accompanies
1795the executable.
1796
1797 It may happen that this requirement contradicts the license
1798restrictions of other proprietary libraries that do not normally
1799accompany the operating system. Such a contradiction means you cannot
1800use both them and the Library together in an executable that you
1801distribute.
1802
1803 7. You may place library facilities that are a work based on the
1804Library side-by-side in a single library together with other library
1805facilities not covered by this License, and distribute such a combined
1806library, provided that the separate distribution of the work based on
1807the Library and of the other library facilities is otherwise
1808permitted, and provided that you do these two things:
1809
1810 a) Accompany the combined library with a copy of the same work
1811 based on the Library, uncombined with any other library
1812 facilities. This must be distributed under the terms of the
1813 Sections above.
1814
1815 b) Give prominent notice with the combined library of the fact
1816 that part of it is a work based on the Library, and explaining
1817 where to find the accompanying uncombined form of the same work.
1818
1819 8. You may not copy, modify, sublicense, link with, or distribute
1820the Library except as expressly provided under this License. Any
1821attempt otherwise to copy, modify, sublicense, link with, or
1822distribute the Library is void, and will automatically terminate your
1823rights under this License. However, parties who have received copies,
1824or rights, from you under this License will not have their licenses
1825terminated so long as such parties remain in full compliance.
1826
1827 9. You are not required to accept this License, since you have not
1828signed it. However, nothing else grants you permission to modify or
1829distribute the Library or its derivative works. These actions are
1830prohibited by law if you do not accept this License. Therefore, by
1831modifying or distributing the Library (or any work based on the
1832Library), you indicate your acceptance of this License to do so, and
1833all its terms and conditions for copying, distributing or modifying
1834the Library or works based on it.
1835
1836 10. Each time you redistribute the Library (or any work based on the
1837Library), the recipient automatically receives a license from the
1838original licensor to copy, distribute, link with or modify the Library
1839subject to these terms and conditions. You may not impose any further
1840restrictions on the recipients' exercise of the rights granted herein.
1841You are not responsible for enforcing compliance by third parties to
1842this License.
1843
1844 11. If, as a consequence of a court judgment or allegation of patent
1845infringement or for any other reason (not limited to patent issues),
1846conditions are imposed on you (whether by court order, agreement or
1847otherwise) that contradict the conditions of this License, they do not
1848excuse you from the conditions of this License. If you cannot
1849distribute so as to satisfy simultaneously your obligations under this
1850License and any other pertinent obligations, then as a consequence you
1851may not distribute the Library at all. For example, if a patent
1852license would not permit royalty-free redistribution of the Library by
1853all those who receive copies directly or indirectly through you, then
1854the only way you could satisfy both it and this License would be to
1855refrain entirely from distribution of the Library.
1856
1857If any portion of this section is held invalid or unenforceable under any
1858particular circumstance, the balance of the section is intended to apply,
1859and the section as a whole is intended to apply in other circumstances.
1860
1861It is not the purpose of this section to induce you to infringe any
1862patents or other property right claims or to contest validity of any
1863such claims; this section has the sole purpose of protecting the
1864integrity of the free software distribution system which is
1865implemented by public license practices. Many people have made
1866generous contributions to the wide range of software distributed
1867through that system in reliance on consistent application of that
1868system; it is up to the author/donor to decide if he or she is willing
1869to distribute software through any other system and a licensee cannot
1870impose that choice.
1871
1872This section is intended to make thoroughly clear what is believed to
1873be a consequence of the rest of this License.
1874
1875 12. If the distribution and/or use of the Library is restricted in
1876certain countries either by patents or by copyrighted interfaces, the
1877original copyright holder who places the Library under this License may add
1878an explicit geographical distribution limitation excluding those countries,
1879so that distribution is permitted only in or among countries not thus
1880excluded. In such case, this License incorporates the limitation as if
1881written in the body of this License.
1882
1883 13. The Free Software Foundation may publish revised and/or new
1884versions of the Library General Public License from time to time.
1885Such new versions will be similar in spirit to the present version,
1886but may differ in detail to address new problems or concerns.
1887
1888Each version is given a distinguishing version number. If the Library
1889specifies a version number of this License which applies to it and
1890"any later version", you have the option of following the terms and
1891conditions either of that version or of any later version published by
1892the Free Software Foundation. If the Library does not specify a
1893license version number, you may choose any version ever published by
1894the Free Software Foundation.
1895
1896 14. If you wish to incorporate parts of the Library into other free
1897programs whose distribution conditions are incompatible with these,
1898write to the author to ask for permission. For software which is
1899copyrighted by the Free Software Foundation, write to the Free
1900Software Foundation; we sometimes make exceptions for this. Our
1901decision will be guided by the two goals of preserving the free status
1902of all derivatives of our free software and of promoting the sharing
1903and reuse of software generally.
1904
1905 NO WARRANTY
1906
1907 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1908WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1909EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1910OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1911KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1912IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1913PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1914LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1915THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1916
1917 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1918WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1919AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1920FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1921CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1922LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1923RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1924FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1925SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1926DAMAGES.
1927
1928 END OF TERMS AND CONDITIONS
1929
1930 GNU LESSER GENERAL PUBLIC LICENSE
1931 Version 2.1, February 1999
1932
1933 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
1934 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1935 Everyone is permitted to copy and distribute verbatim copies
1936 of this license document, but changing it is not allowed.
1937
1938[This is the first released version of the Lesser GPL. It also counts
1939 as the successor of the GNU Library Public License, version 2, hence
1940 the version number 2.1.]
1941
1942 Preamble
1943
1944 The licenses for most software are designed to take away your
1945freedom to share and change it. By contrast, the GNU General Public
1946Licenses are intended to guarantee your freedom to share and change
1947free software--to make sure the software is free for all its users.
1948
1949 This license, the Lesser General Public License, applies to some
1950specially designated software packages--typically libraries--of the
1951Free Software Foundation and other authors who decide to use it. You
1952can use it too, but we suggest you first think carefully about whether
1953this license or the ordinary General Public License is the better
1954strategy to use in any particular case, based on the explanations below.
1955
1956 When we speak of free software, we are referring to freedom of use,
1957not price. Our General Public Licenses are designed to make sure that
1958you have the freedom to distribute copies of free software (and charge
1959for this service if you wish); that you receive source code or can get
1960it if you want it; that you can change the software and use pieces of
1961it in new free programs; and that you are informed that you can do
1962these things.
1963
1964 To protect your rights, we need to make restrictions that forbid
1965distributors to deny you these rights or to ask you to surrender these
1966rights. These restrictions translate to certain responsibilities for
1967you if you distribute copies of the library or if you modify it.
1968
1969 For example, if you distribute copies of the library, whether gratis
1970or for a fee, you must give the recipients all the rights that we gave
1971you. You must make sure that they, too, receive or can get the source
1972code. If you link other code with the library, you must provide
1973complete object files to the recipients, so that they can relink them
1974with the library after making changes to the library and recompiling
1975it. And you must show them these terms so they know their rights.
1976
1977 We protect your rights with a two-step method: (1) we copyright the
1978library, and (2) we offer you this license, which gives you legal
1979permission to copy, distribute and/or modify the library.
1980
1981 To protect each distributor, we want to make it very clear that
1982there is no warranty for the free library. Also, if the library is
1983modified by someone else and passed on, the recipients should know
1984that what they have is not the original version, so that the original
1985author's reputation will not be affected by problems that might be
1986introduced by others.
1987
1988 Finally, software patents pose a constant threat to the existence of
1989any free program. We wish to make sure that a company cannot
1990effectively restrict the users of a free program by obtaining a
1991restrictive license from a patent holder. Therefore, we insist that
1992any patent license obtained for a version of the library must be
1993consistent with the full freedom of use specified in this license.
1994
1995 Most GNU software, including some libraries, is covered by the
1996ordinary GNU General Public License. This license, the GNU Lesser
1997General Public License, applies to certain designated libraries, and
1998is quite different from the ordinary General Public License. We use
1999this license for certain libraries in order to permit linking those
2000libraries into non-free programs.
2001
2002 When a program is linked with a library, whether statically or using
2003a shared library, the combination of the two is legally speaking a
2004combined work, a derivative of the original library. The ordinary
2005General Public License therefore permits such linking only if the
2006entire combination fits its criteria of freedom. The Lesser General
2007Public License permits more lax criteria for linking other code with
2008the library.
2009
2010 We call this license the "Lesser" General Public License because it
2011does Less to protect the user's freedom than the ordinary General
2012Public License. It also provides other free software developers Less
2013of an advantage over competing non-free programs. These disadvantages
2014are the reason we use the ordinary General Public License for many
2015libraries. However, the Lesser license provides advantages in certain
2016special circumstances.
2017
2018 For example, on rare occasions, there may be a special need to
2019encourage the widest possible use of a certain library, so that it becomes
2020a de-facto standard. To achieve this, non-free programs must be
2021allowed to use the library. A more frequent case is that a free
2022library does the same job as widely used non-free libraries. In this
2023case, there is little to gain by limiting the free library to free
2024software only, so we use the Lesser General Public License.
2025
2026 In other cases, permission to use a particular library in non-free
2027programs enables a greater number of people to use a large body of
2028free software. For example, permission to use the GNU C Library in
2029non-free programs enables many more people to use the whole GNU
2030operating system, as well as its variant, the GNU/Linux operating
2031system.
2032
2033 Although the Lesser General Public License is Less protective of the
2034users' freedom, it does ensure that the user of a program that is
2035linked with the Library has the freedom and the wherewithal to run
2036that program using a modified version of the Library.
2037
2038 The precise terms and conditions for copying, distribution and
2039modification follow. Pay close attention to the difference between a
2040"work based on the library" and a "work that uses the library". The
2041former contains code derived from the library, whereas the latter must
2042be combined with the library in order to run.
2043
2044 GNU LESSER GENERAL PUBLIC LICENSE
2045 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
2046
2047 0. This License Agreement applies to any software library or other
2048program which contains a notice placed by the copyright holder or
2049other authorized party saying it may be distributed under the terms of
2050this Lesser General Public License (also called "this License").
2051Each licensee is addressed as "you".
2052
2053 A "library" means a collection of software functions and/or data
2054prepared so as to be conveniently linked with application programs
2055(which use some of those functions and data) to form executables.
2056
2057 The "Library", below, refers to any such software library or work
2058which has been distributed under these terms. A "work based on the
2059Library" means either the Library or any derivative work under
2060copyright law: that is to say, a work containing the Library or a
2061portion of it, either verbatim or with modifications and/or translated
2062straightforwardly into another language. (Hereinafter, translation is
2063included without limitation in the term "modification".)
2064
2065 "Source code" for a work means the preferred form of the work for
2066making modifications to it. For a library, complete source code means
2067all the source code for all modules it contains, plus any associated
2068interface definition files, plus the scripts used to control compilation
2069and installation of the library.
2070
2071 Activities other than copying, distribution and modification are not
2072covered by this License; they are outside its scope. The act of
2073running a program using the Library is not restricted, and output from
2074such a program is covered only if its contents constitute a work based
2075on the Library (independent of the use of the Library in a tool for
2076writing it). Whether that is true depends on what the Library does
2077and what the program that uses the Library does.
2078
2079 1. You may copy and distribute verbatim copies of the Library's
2080complete source code as you receive it, in any medium, provided that
2081you conspicuously and appropriately publish on each copy an
2082appropriate copyright notice and disclaimer of warranty; keep intact
2083all the notices that refer to this License and to the absence of any
2084warranty; and distribute a copy of this License along with the
2085Library.
2086
2087 You may charge a fee for the physical act of transferring a copy,
2088and you may at your option offer warranty protection in exchange for a
2089fee.
2090
2091 2. You may modify your copy or copies of the Library or any portion
2092of it, thus forming a work based on the Library, and copy and
2093distribute such modifications or work under the terms of Section 1
2094above, provided that you also meet all of these conditions:
2095
2096 a) The modified work must itself be a software library.
2097
2098 b) You must cause the files modified to carry prominent notices
2099 stating that you changed the files and the date of any change.
2100
2101 c) You must cause the whole of the work to be licensed at no
2102 charge to all third parties under the terms of this License.
2103
2104 d) If a facility in the modified Library refers to a function or a
2105 table of data to be supplied by an application program that uses
2106 the facility, other than as an argument passed when the facility
2107 is invoked, then you must make a good faith effort to ensure that,
2108 in the event an application does not supply such function or
2109 table, the facility still operates, and performs whatever part of
2110 its purpose remains meaningful.
2111
2112 (For example, a function in a library to compute square roots has
2113 a purpose that is entirely well-defined independent of the
2114 application. Therefore, Subsection 2d requires that any
2115 application-supplied function or table used by this function must
2116 be optional: if the application does not supply it, the square
2117 root function must still compute square roots.)
2118
2119These requirements apply to the modified work as a whole. If
2120identifiable sections of that work are not derived from the Library,
2121and can be reasonably considered independent and separate works in
2122themselves, then this License, and its terms, do not apply to those
2123sections when you distribute them as separate works. But when you
2124distribute the same sections as part of a whole which is a work based
2125on the Library, the distribution of the whole must be on the terms of
2126this License, whose permissions for other licensees extend to the
2127entire whole, and thus to each and every part regardless of who wrote
2128it.
2129
2130Thus, it is not the intent of this section to claim rights or contest
2131your rights to work written entirely by you; rather, the intent is to
2132exercise the right to control the distribution of derivative or
2133collective works based on the Library.
2134
2135In addition, mere aggregation of another work not based on the Library
2136with the Library (or with a work based on the Library) on a volume of
2137a storage or distribution medium does not bring the other work under
2138the scope of this License.
2139
2140 3. You may opt to apply the terms of the ordinary GNU General Public
2141License instead of this License to a given copy of the Library. To do
2142this, you must alter all the notices that refer to this License, so
2143that they refer to the ordinary GNU General Public License, version 2,
2144instead of to this License. (If a newer version than version 2 of the
2145ordinary GNU General Public License has appeared, then you can specify
2146that version instead if you wish.) Do not make any other change in
2147these notices.
2148
2149 Once this change is made in a given copy, it is irreversible for
2150that copy, so the ordinary GNU General Public License applies to all
2151subsequent copies and derivative works made from that copy.
2152
2153 This option is useful when you wish to copy part of the code of
2154the Library into a program that is not a library.
2155
2156 4. You may copy and distribute the Library (or a portion or
2157derivative of it, under Section 2) in object code or executable form
2158under the terms of Sections 1 and 2 above provided that you accompany
2159it with the complete corresponding machine-readable source code, which
2160must be distributed under the terms of Sections 1 and 2 above on a
2161medium customarily used for software interchange.
2162
2163 If distribution of object code is made by offering access to copy
2164from a designated place, then offering equivalent access to copy the
2165source code from the same place satisfies the requirement to
2166distribute the source code, even though third parties are not
2167compelled to copy the source along with the object code.
2168
2169 5. A program that contains no derivative of any portion of the
2170Library, but is designed to work with the Library by being compiled or
2171linked with it, is called a "work that uses the Library". Such a
2172work, in isolation, is not a derivative work of the Library, and
2173therefore falls outside the scope of this License.
2174
2175 However, linking a "work that uses the Library" with the Library
2176creates an executable that is a derivative of the Library (because it
2177contains portions of the Library), rather than a "work that uses the
2178library". The executable is therefore covered by this License.
2179Section 6 states terms for distribution of such executables.
2180
2181 When a "work that uses the Library" uses material from a header file
2182that is part of the Library, the object code for the work may be a
2183derivative work of the Library even though the source code is not.
2184Whether this is true is especially significant if the work can be
2185linked without the Library, or if the work is itself a library. The
2186threshold for this to be true is not precisely defined by law.
2187
2188 If such an object file uses only numerical parameters, data
2189structure layouts and accessors, and small macros and small inline
2190functions (ten lines or less in length), then the use of the object
2191file is unrestricted, regardless of whether it is legally a derivative
2192work. (Executables containing this object code plus portions of the
2193Library will still fall under Section 6.)
2194
2195 Otherwise, if the work is a derivative of the Library, you may
2196distribute the object code for the work under the terms of Section 6.
2197Any executables containing that work also fall under Section 6,
2198whether or not they are linked directly with the Library itself.
2199
2200 6. As an exception to the Sections above, you may also combine or
2201link a "work that uses the Library" with the Library to produce a
2202work containing portions of the Library, and distribute that work
2203under terms of your choice, provided that the terms permit
2204modification of the work for the customer's own use and reverse
2205engineering for debugging such modifications.
2206
2207 You must give prominent notice with each copy of the work that the
2208Library is used in it and that the Library and its use are covered by
2209this License. You must supply a copy of this License. If the work
2210during execution displays copyright notices, you must include the
2211copyright notice for the Library among them, as well as a reference
2212directing the user to the copy of this License. Also, you must do one
2213of these things:
2214
2215 a) Accompany the work with the complete corresponding
2216 machine-readable source code for the Library including whatever
2217 changes were used in the work (which must be distributed under
2218 Sections 1 and 2 above); and, if the work is an executable linked
2219 with the Library, with the complete machine-readable "work that
2220 uses the Library", as object code and/or source code, so that the
2221 user can modify the Library and then relink to produce a modified
2222 executable containing the modified Library. (It is understood
2223 that the user who changes the contents of definitions files in the
2224 Library will not necessarily be able to recompile the application
2225 to use the modified definitions.)
2226
2227 b) Use a suitable shared library mechanism for linking with the
2228 Library. A suitable mechanism is one that (1) uses at run time a
2229 copy of the library already present on the user's computer system,
2230 rather than copying library functions into the executable, and (2)
2231 will operate properly with a modified version of the library, if
2232 the user installs one, as long as the modified version is
2233 interface-compatible with the version that the work was made with.
2234
2235 c) Accompany the work with a written offer, valid for at
2236 least three years, to give the same user the materials
2237 specified in Subsection 6a, above, for a charge no more
2238 than the cost of performing this distribution.
2239
2240 d) If distribution of the work is made by offering access to copy
2241 from a designated place, offer equivalent access to copy the above
2242 specified materials from the same place.
2243
2244 e) Verify that the user has already received a copy of these
2245 materials or that you have already sent this user a copy.
2246
2247 For an executable, the required form of the "work that uses the
2248Library" must include any data and utility programs needed for
2249reproducing the executable from it. However, as a special exception,
2250the materials to be distributed need not include anything that is
2251normally distributed (in either source or binary form) with the major
2252components (compiler, kernel, and so on) of the operating system on
2253which the executable runs, unless that component itself accompanies
2254the executable.
2255
2256 It may happen that this requirement contradicts the license
2257restrictions of other proprietary libraries that do not normally
2258accompany the operating system. Such a contradiction means you cannot
2259use both them and the Library together in an executable that you
2260distribute.
2261
2262 7. You may place library facilities that are a work based on the
2263Library side-by-side in a single library together with other library
2264facilities not covered by this License, and distribute such a combined
2265library, provided that the separate distribution of the work based on
2266the Library and of the other library facilities is otherwise
2267permitted, and provided that you do these two things:
2268
2269 a) Accompany the combined library with a copy of the same work
2270 based on the Library, uncombined with any other library
2271 facilities. This must be distributed under the terms of the
2272 Sections above.
2273
2274 b) Give prominent notice with the combined library of the fact
2275 that part of it is a work based on the Library, and explaining
2276 where to find the accompanying uncombined form of the same work.
2277
2278 8. You may not copy, modify, sublicense, link with, or distribute
2279the Library except as expressly provided under this License. Any
2280attempt otherwise to copy, modify, sublicense, link with, or
2281distribute the Library is void, and will automatically terminate your
2282rights under this License. However, parties who have received copies,
2283or rights, from you under this License will not have their licenses
2284terminated so long as such parties remain in full compliance.
2285
2286 9. You are not required to accept this License, since you have not
2287signed it. However, nothing else grants you permission to modify or
2288distribute the Library or its derivative works. These actions are
2289prohibited by law if you do not accept this License. Therefore, by
2290modifying or distributing the Library (or any work based on the
2291Library), you indicate your acceptance of this License to do so, and
2292all its terms and conditions for copying, distributing or modifying
2293the Library or works based on it.
2294
2295 10. Each time you redistribute the Library (or any work based on the
2296Library), the recipient automatically receives a license from the
2297original licensor to copy, distribute, link with or modify the Library
2298subject to these terms and conditions. You may not impose any further
2299restrictions on the recipients' exercise of the rights granted herein.
2300You are not responsible for enforcing compliance by third parties with
2301this License.
2302
2303 11. If, as a consequence of a court judgment or allegation of patent
2304infringement or for any other reason (not limited to patent issues),
2305conditions are imposed on you (whether by court order, agreement or
2306otherwise) that contradict the conditions of this License, they do not
2307excuse you from the conditions of this License. If you cannot
2308distribute so as to satisfy simultaneously your obligations under this
2309License and any other pertinent obligations, then as a consequence you
2310may not distribute the Library at all. For example, if a patent
2311license would not permit royalty-free redistribution of the Library by
2312all those who receive copies directly or indirectly through you, then
2313the only way you could satisfy both it and this License would be to
2314refrain entirely from distribution of the Library.
2315
2316If any portion of this section is held invalid or unenforceable under any
2317particular circumstance, the balance of the section is intended to apply,
2318and the section as a whole is intended to apply in other circumstances.
2319
2320It is not the purpose of this section to induce you to infringe any
2321patents or other property right claims or to contest validity of any
2322such claims; this section has the sole purpose of protecting the
2323integrity of the free software distribution system which is
2324implemented by public license practices. Many people have made
2325generous contributions to the wide range of software distributed
2326through that system in reliance on consistent application of that
2327system; it is up to the author/donor to decide if he or she is willing
2328to distribute software through any other system and a licensee cannot
2329impose that choice.
2330
2331This section is intended to make thoroughly clear what is believed to
2332be a consequence of the rest of this License.
2333
2334 12. If the distribution and/or use of the Library is restricted in
2335certain countries either by patents or by copyrighted interfaces, the
2336original copyright holder who places the Library under this License may add
2337an explicit geographical distribution limitation excluding those countries,
2338so that distribution is permitted only in or among countries not thus
2339excluded. In such case, this License incorporates the limitation as if
2340written in the body of this License.
2341
2342 13. The Free Software Foundation may publish revised and/or new
2343versions of the Lesser General Public License from time to time.
2344Such new versions will be similar in spirit to the present version,
2345but may differ in detail to address new problems or concerns.
2346
2347Each version is given a distinguishing version number. If the Library
2348specifies a version number of this License which applies to it and
2349"any later version", you have the option of following the terms and
2350conditions either of that version or of any later version published by
2351the Free Software Foundation. If the Library does not specify a
2352license version number, you may choose any version ever published by
2353the Free Software Foundation.
2354
2355 14. If you wish to incorporate parts of the Library into other free
2356programs whose distribution conditions are incompatible with these,
2357write to the author to ask for permission. For software which is
2358copyrighted by the Free Software Foundation, write to the Free
2359Software Foundation; we sometimes make exceptions for this. Our
2360decision will be guided by the two goals of preserving the free status
2361of all derivatives of our free software and of promoting the sharing
2362and reuse of software generally.
2363
2364 NO WARRANTY
2365
2366 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
2367WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
2368EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
2369OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
2370KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
2371IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2372PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
2373LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
2374THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
2375
2376 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
2377WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
2378AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
2379FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
2380CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
2381LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
2382RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
2383FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
2384SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
2385DAMAGES.
2386
2387 END OF TERMS AND CONDITIONS
2388
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002389// Copyright (C) 2002-2013 The ANGLE Project Authors.
2390// All rights reserved.
2391//
2392// Redistribution and use in source and binary forms, with or without
2393// modification, are permitted provided that the following conditions
2394// are met:
2395//
2396// Redistributions of source code must retain the above copyright
2397// notice, this list of conditions and the following disclaimer.
2398//
2399// Redistributions in binary form must reproduce the above
2400// copyright notice, this list of conditions and the following
2401// disclaimer in the documentation and/or other materials provided
2402// with the distribution.
2403//
2404// Neither the name of TransGaming Inc., Google Inc., 3DLabs Inc.
2405// Ltd., nor the names of their contributors may be used to endorse
2406// or promote products derived from this software without specific
2407// prior written permission.
2408//
2409// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2410// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2411// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
2412// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
2413// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
2414// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
2415// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2416// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2417// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2418// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
2419// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2420// POSSIBILITY OF SUCH DAMAGE.
2421
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +01002422// Copyright (C) 2002-2013 The ANGLE Project Authors.
2423// All rights reserved.
2424//
2425// Redistribution and use in source and binary forms, with or without
2426// modification, are permitted provided that the following conditions
2427// are met:
2428//
2429// Redistributions of source code must retain the above copyright
2430// notice, this list of conditions and the following disclaimer.
2431//
2432// Redistributions in binary form must reproduce the above
2433// copyright notice, this list of conditions and the following
2434// disclaimer in the documentation and/or other materials provided
2435// with the distribution.
2436//
2437// Neither the name of TransGaming Inc., Google Inc., 3DLabs Inc.
2438// Ltd., nor the names of their contributors may be used to endorse
2439// or promote products derived from this software without specific
2440// prior written permission.
2441//
2442// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2443// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2444// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
2445// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
2446// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
2447// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
2448// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2449// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2450// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2451// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
2452// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2453// POSSIBILITY OF SUCH DAMAGE.
2454
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002455
2456 Apache License
2457 Version 2.0, January 2004
2458 http://www.apache.org/licenses/
2459
2460 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
2461
2462 1. Definitions.
2463
2464 "License" shall mean the terms and conditions for use, reproduction,
2465 and distribution as defined by Sections 1 through 9 of this document.
2466
2467 "Licensor" shall mean the copyright owner or entity authorized by
2468 the copyright owner that is granting the License.
2469
2470 "Legal Entity" shall mean the union of the acting entity and all
2471 other entities that control, are controlled by, or are under common
2472 control with that entity. For the purposes of this definition,
2473 "control" means (i) the power, direct or indirect, to cause the
2474 direction or management of such entity, whether by contract or
2475 otherwise, or (ii) ownership of fifty percent (50%) or more of the
2476 outstanding shares, or (iii) beneficial ownership of such entity.
2477
2478 "You" (or "Your") shall mean an individual or Legal Entity
2479 exercising permissions granted by this License.
2480
2481 "Source" form shall mean the preferred form for making modifications,
2482 including but not limited to software source code, documentation
2483 source, and configuration files.
2484
2485 "Object" form shall mean any form resulting from mechanical
2486 transformation or translation of a Source form, including but
2487 not limited to compiled object code, generated documentation,
2488 and conversions to other media types.
2489
2490 "Work" shall mean the work of authorship, whether in Source or
2491 Object form, made available under the License, as indicated by a
2492 copyright notice that is included in or attached to the work
2493 (an example is provided in the Appendix below).
2494
2495 "Derivative Works" shall mean any work, whether in Source or Object
2496 form, that is based on (or derived from) the Work and for which the
2497 editorial revisions, annotations, elaborations, or other modifications
2498 represent, as a whole, an original work of authorship. For the purposes
2499 of this License, Derivative Works shall not include works that remain
2500 separable from, or merely link (or bind by name) to the interfaces of,
2501 the Work and Derivative Works thereof.
2502
2503 "Contribution" shall mean any work of authorship, including
2504 the original version of the Work and any modifications or additions
2505 to that Work or Derivative Works thereof, that is intentionally
2506 submitted to Licensor for inclusion in the Work by the copyright owner
2507 or by an individual or Legal Entity authorized to submit on behalf of
2508 the copyright owner. For the purposes of this definition, "submitted"
2509 means any form of electronic, verbal, or written communication sent
2510 to the Licensor or its representatives, including but not limited to
2511 communication on electronic mailing lists, source code control systems,
2512 and issue tracking systems that are managed by, or on behalf of, the
2513 Licensor for the purpose of discussing and improving the Work, but
2514 excluding communication that is conspicuously marked or otherwise
2515 designated in writing by the copyright owner as "Not a Contribution."
2516
2517 "Contributor" shall mean Licensor and any individual or Legal Entity
2518 on behalf of whom a Contribution has been received by Licensor and
2519 subsequently incorporated within the Work.
2520
2521 2. Grant of Copyright License. Subject to the terms and conditions of
2522 this License, each Contributor hereby grants to You a perpetual,
2523 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2524 copyright license to reproduce, prepare Derivative Works of,
2525 publicly display, publicly perform, sublicense, and distribute the
2526 Work and such Derivative Works in Source or Object form.
2527
2528 3. Grant of Patent License. Subject to the terms and conditions of
2529 this License, each Contributor hereby grants to You a perpetual,
2530 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2531 (except as stated in this section) patent license to make, have made,
2532 use, offer to sell, sell, import, and otherwise transfer the Work,
2533 where such license applies only to those patent claims licensable
2534 by such Contributor that are necessarily infringed by their
2535 Contribution(s) alone or by combination of their Contribution(s)
2536 with the Work to which such Contribution(s) was submitted. If You
2537 institute patent litigation against any entity (including a
2538 cross-claim or counterclaim in a lawsuit) alleging that the Work
2539 or a Contribution incorporated within the Work constitutes direct
2540 or contributory patent infringement, then any patent licenses
2541 granted to You under this License for that Work shall terminate
2542 as of the date such litigation is filed.
2543
2544 4. Redistribution. You may reproduce and distribute copies of the
2545 Work or Derivative Works thereof in any medium, with or without
2546 modifications, and in Source or Object form, provided that You
2547 meet the following conditions:
2548
2549 (a) You must give any other recipients of the Work or
2550 Derivative Works a copy of this License; and
2551
2552 (b) You must cause any modified files to carry prominent notices
2553 stating that You changed the files; and
2554
2555 (c) You must retain, in the Source form of any Derivative Works
2556 that You distribute, all copyright, patent, trademark, and
2557 attribution notices from the Source form of the Work,
2558 excluding those notices that do not pertain to any part of
2559 the Derivative Works; and
2560
2561 (d) If the Work includes a "NOTICE" text file as part of its
2562 distribution, then any Derivative Works that You distribute must
2563 include a readable copy of the attribution notices contained
2564 within such NOTICE file, excluding those notices that do not
2565 pertain to any part of the Derivative Works, in at least one
2566 of the following places: within a NOTICE text file distributed
2567 as part of the Derivative Works; within the Source form or
2568 documentation, if provided along with the Derivative Works; or,
2569 within a display generated by the Derivative Works, if and
2570 wherever such third-party notices normally appear. The contents
2571 of the NOTICE file are for informational purposes only and
2572 do not modify the License. You may add Your own attribution
2573 notices within Derivative Works that You distribute, alongside
2574 or as an addendum to the NOTICE text from the Work, provided
2575 that such additional attribution notices cannot be construed
2576 as modifying the License.
2577
2578 You may add Your own copyright statement to Your modifications and
2579 may provide additional or different license terms and conditions
2580 for use, reproduction, or distribution of Your modifications, or
2581 for any such Derivative Works as a whole, provided Your use,
2582 reproduction, and distribution of the Work otherwise complies with
2583 the conditions stated in this License.
2584
2585 5. Submission of Contributions. Unless You explicitly state otherwise,
2586 any Contribution intentionally submitted for inclusion in the Work
2587 by You to the Licensor shall be under the terms and conditions of
2588 this License, without any additional terms or conditions.
2589 Notwithstanding the above, nothing herein shall supersede or modify
2590 the terms of any separate license agreement you may have executed
2591 with Licensor regarding such Contributions.
2592
2593 6. Trademarks. This License does not grant permission to use the trade
2594 names, trademarks, service marks, or product names of the Licensor,
2595 except as required for reasonable and customary use in describing the
2596 origin of the Work and reproducing the content of the NOTICE file.
2597
2598 7. Disclaimer of Warranty. Unless required by applicable law or
2599 agreed to in writing, Licensor provides the Work (and each
2600 Contributor provides its Contributions) on an "AS IS" BASIS,
2601 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2602 implied, including, without limitation, any warranties or conditions
2603 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2604 PARTICULAR PURPOSE. You are solely responsible for determining the
2605 appropriateness of using or redistributing the Work and assume any
2606 risks associated with Your exercise of permissions under this License.
2607
2608 8. Limitation of Liability. In no event and under no legal theory,
2609 whether in tort (including negligence), contract, or otherwise,
2610 unless required by applicable law (such as deliberate and grossly
2611 negligent acts) or agreed to in writing, shall any Contributor be
2612 liable to You for damages, including any direct, indirect, special,
2613 incidental, or consequential damages of any character arising as a
2614 result of this License or out of the use or inability to use the
2615 Work (including but not limited to damages for loss of goodwill,
2616 work stoppage, computer failure or malfunction, or any and all
2617 other commercial damages or losses), even if such Contributor
2618 has been advised of the possibility of such damages.
2619
2620 9. Accepting Warranty or Additional Liability. While redistributing
2621 the Work or Derivative Works thereof, You may choose to offer,
2622 and charge a fee for, acceptance of support, warranty, indemnity,
2623 or other liability obligations and/or rights consistent with this
2624 License. However, in accepting such obligations, You may act only
2625 on Your own behalf and on Your sole responsibility, not on behalf
2626 of any other Contributor, and only if You agree to indemnify,
2627 defend, and hold each Contributor harmless for any liability
2628 incurred by, or claims asserted against, such Contributor by reason
2629 of your accepting any such warranty or additional liability.
2630
2631 END OF TERMS AND CONDITIONS
2632
2633 APPENDIX: How to apply the Apache License to your work.
2634
2635 To apply the Apache License to your work, attach the following
2636 boilerplate notice, with the fields enclosed by brackets "[]"
2637 replaced with your own identifying information. (Don't include
2638 the brackets!) The text should be enclosed in the appropriate
2639 comment syntax for the file format. We also recommend that a
2640 file or class name and description of purpose be included on the
2641 same "printed page" as the copyright notice for easier
2642 identification within third-party archives.
2643
2644 Copyright [yyyy] [name of copyright owner]
2645
2646 Licensed under the Apache License, Version 2.0 (the "License");
2647 you may not use this file except in compliance with the License.
2648 You may obtain a copy of the License at
2649
2650 http://www.apache.org/licenses/LICENSE-2.0
2651
2652 Unless required by applicable law or agreed to in writing, software
2653 distributed under the License is distributed on an "AS IS" BASIS,
2654 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2655 See the License for the specific language governing permissions and
2656 limitations under the License.
2657
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002658Copyright (c) 2012, Manfred Moitzi
2659
2660Permission is hereby granted, free of charge, to any person obtaining a
2661copy of this software and associated documentation files (the
2662"Software"), to deal in the Software without restriction, including
2663without limitation the rights to use, copy, modify, merge, publish,
2664distribute, sublicense, and/or sell copies of the Software, and to
2665permit persons to whom the Software is furnished to do so, subject to
2666the following conditions:
2667
2668The above copyright notice and this permission notice shall be included
2669in all copies or substantial portions of the Software.
2670
2671THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2672OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2673MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
2674IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
2675CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
2676TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
2677SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2678
2679Deutsche Übersetzung:
2680
2681Copyright (c) 2012, Manfred Moitzi
2682
2683Hiermit wird unentgeltlich, jeder Person, die eine Kopie der Software
2684und der zugehörigen Dokumentationen (die "Software") erhält, die
2685Erlaubnis erteilt, uneingeschränkt zu benutzen, inklusive und ohne
2686Ausnahme, dem Recht, sie zu verwenden, kopieren, ändern, fusionieren,
2687verlegen, verbreiten, unterlizenzieren und/oder zu verkaufen, und
2688Personen, die diese Software erhalten, diese Rechte zu geben, unter den
2689folgenden Bedingungen:
2690
2691Der obige Urheberrechtsvermerk und dieser Erlaubnisvermerk sind in allen
2692Kopien oder Teilkopien der Software beizulegen.
2693
2694DIE SOFTWARE WIRD OHNE JEDE AUSDRÜCKLICHE ODER IMPLIZIERTE GARANTIE
2695BEREITGESTELLT, EINSCHLIESSLICH DER GARANTIE ZUR BENUTZUNG FÜR DEN
2696VORGESEHENEN ODER EINEM BESTIMMTEN ZWECK SOWIE JEGLICHER
2697RECHTSVERLETZUNG, JEDOCH NICHT DARAUF BESCHRÄNKT. IN KEINEM FALL SIND
2698DIE AUTOREN ODER COPYRIGHTINHABER FÜR JEGLICHEN SCHADEN ODER SONSTIGE
2699ANSPRÜCHE HAFTBAR ZU MACHEN, OB INFOLGE DER ERFÜLLUNG EINES VERTRAGES,
2700EINES DELIKTES ODER ANDERS IM ZUSAMMENHANG MIT DER SOFTWARE ODER
2701SONSTIGER VERWENDUNG DER SOFTWARE ENTSTANDEN.
2702
2703
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002704// Copyright (c) 2010 The Chromium Authors. All rights reserved.
2705//
2706// Redistribution and use in source and binary forms, with or without
2707// modification, are permitted provided that the following conditions are
2708// met:
2709//
2710// * Redistributions of source code must retain the above copyright
2711// notice, this list of conditions and the following disclaimer.
2712// * Redistributions in binary form must reproduce the above
2713// copyright notice, this list of conditions and the following disclaimer
2714// in the documentation and/or other materials provided with the
2715// distribution.
2716// * Neither the name of Google Inc. nor the names of its
2717// contributors may be used to endorse or promote products derived from
2718// this software without specific prior written permission.
2719//
2720// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2721// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2722// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2723// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2724// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2725// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2726// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2727// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2728// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2729// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2730// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2731
2732 MOZILLA PUBLIC LICENSE
2733 Version 1.1
2734
2735 ---------------
2736
27371. Definitions.
2738
2739 1.0.1. "Commercial Use" means distribution or otherwise making the
2740 Covered Code available to a third party.
2741
2742 1.1. "Contributor" means each entity that creates or contributes to
2743 the creation of Modifications.
2744
2745 1.2. "Contributor Version" means the combination of the Original
2746 Code, prior Modifications used by a Contributor, and the Modifications
2747 made by that particular Contributor.
2748
2749 1.3. "Covered Code" means the Original Code or Modifications or the
2750 combination of the Original Code and Modifications, in each case
2751 including portions thereof.
2752
2753 1.4. "Electronic Distribution Mechanism" means a mechanism generally
2754 accepted in the software development community for the electronic
2755 transfer of data.
2756
2757 1.5. "Executable" means Covered Code in any form other than Source
2758 Code.
2759
2760 1.6. "Initial Developer" means the individual or entity identified
2761 as the Initial Developer in the Source Code notice required by Exhibit
2762 A.
2763
2764 1.7. "Larger Work" means a work which combines Covered Code or
2765 portions thereof with code not governed by the terms of this License.
2766
2767 1.8. "License" means this document.
2768
2769 1.8.1. "Licensable" means having the right to grant, to the maximum
2770 extent possible, whether at the time of the initial grant or
2771 subsequently acquired, any and all of the rights conveyed herein.
2772
2773 1.9. "Modifications" means any addition to or deletion from the
2774 substance or structure of either the Original Code or any previous
2775 Modifications. When Covered Code is released as a series of files, a
2776 Modification is:
2777 A. Any addition to or deletion from the contents of a file
2778 containing Original Code or previous Modifications.
2779
2780 B. Any new file that contains any part of the Original Code or
2781 previous Modifications.
2782
2783 1.10. "Original Code" means Source Code of computer software code
2784 which is described in the Source Code notice required by Exhibit A as
2785 Original Code, and which, at the time of its release under this
2786 License is not already Covered Code governed by this License.
2787
2788 1.10.1. "Patent Claims" means any patent claim(s), now owned or
2789 hereafter acquired, including without limitation, method, process,
2790 and apparatus claims, in any patent Licensable by grantor.
2791
2792 1.11. "Source Code" means the preferred form of the Covered Code for
2793 making modifications to it, including all modules it contains, plus
2794 any associated interface definition files, scripts used to control
2795 compilation and installation of an Executable, or source code
2796 differential comparisons against either the Original Code or another
2797 well known, available Covered Code of the Contributor's choice. The
2798 Source Code can be in a compressed or archival form, provided the
2799 appropriate decompression or de-archiving software is widely available
2800 for no charge.
2801
2802 1.12. "You" (or "Your") means an individual or a legal entity
2803 exercising rights under, and complying with all of the terms of, this
2804 License or a future version of this License issued under Section 6.1.
2805 For legal entities, "You" includes any entity which controls, is
2806 controlled by, or is under common control with You. For purposes of
2807 this definition, "control" means (a) the power, direct or indirect,
2808 to cause the direction or management of such entity, whether by
2809 contract or otherwise, or (b) ownership of more than fifty percent
2810 (50%) of the outstanding shares or beneficial ownership of such
2811 entity.
2812
28132. Source Code License.
2814
2815 2.1. The Initial Developer Grant.
2816 The Initial Developer hereby grants You a world-wide, royalty-free,
2817 non-exclusive license, subject to third party intellectual property
2818 claims:
2819 (a) under intellectual property rights (other than patent or
2820 trademark) Licensable by Initial Developer to use, reproduce,
2821 modify, display, perform, sublicense and distribute the Original
2822 Code (or portions thereof) with or without Modifications, and/or
2823 as part of a Larger Work; and
2824
2825 (b) under Patents Claims infringed by the making, using or
2826 selling of Original Code, to make, have made, use, practice,
2827 sell, and offer for sale, and/or otherwise dispose of the
2828 Original Code (or portions thereof).
2829
2830 (c) the licenses granted in this Section 2.1(a) and (b) are
2831 effective on the date Initial Developer first distributes
2832 Original Code under the terms of this License.
2833
2834 (d) Notwithstanding Section 2.1(b) above, no patent license is
2835 granted: 1) for code that You delete from the Original Code; 2)
2836 separate from the Original Code; or 3) for infringements caused
2837 by: i) the modification of the Original Code or ii) the
2838 combination of the Original Code with other software or devices.
2839
2840 2.2. Contributor Grant.
2841 Subject to third party intellectual property claims, each Contributor
2842 hereby grants You a world-wide, royalty-free, non-exclusive license
2843
2844 (a) under intellectual property rights (other than patent or
2845 trademark) Licensable by Contributor, to use, reproduce, modify,
2846 display, perform, sublicense and distribute the Modifications
2847 created by such Contributor (or portions thereof) either on an
2848 unmodified basis, with other Modifications, as Covered Code
2849 and/or as part of a Larger Work; and
2850
2851 (b) under Patent Claims infringed by the making, using, or
2852 selling of Modifications made by that Contributor either alone
2853 and/or in combination with its Contributor Version (or portions
2854 of such combination), to make, use, sell, offer for sale, have
2855 made, and/or otherwise dispose of: 1) Modifications made by that
2856 Contributor (or portions thereof); and 2) the combination of
2857 Modifications made by that Contributor with its Contributor
2858 Version (or portions of such combination).
2859
2860 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
2861 effective on the date Contributor first makes Commercial Use of
2862 the Covered Code.
2863
2864 (d) Notwithstanding Section 2.2(b) above, no patent license is
2865 granted: 1) for any code that Contributor has deleted from the
2866 Contributor Version; 2) separate from the Contributor Version;
2867 3) for infringements caused by: i) third party modifications of
2868 Contributor Version or ii) the combination of Modifications made
2869 by that Contributor with other software (except as part of the
2870 Contributor Version) or other devices; or 4) under Patent Claims
2871 infringed by Covered Code in the absence of Modifications made by
2872 that Contributor.
2873
28743. Distribution Obligations.
2875
2876 3.1. Application of License.
2877 The Modifications which You create or to which You contribute are
2878 governed by the terms of this License, including without limitation
2879 Section 2.2. The Source Code version of Covered Code may be
2880 distributed only under the terms of this License or a future version
2881 of this License released under Section 6.1, and You must include a
2882 copy of this License with every copy of the Source Code You
2883 distribute. You may not offer or impose any terms on any Source Code
2884 version that alters or restricts the applicable version of this
2885 License or the recipients' rights hereunder. However, You may include
2886 an additional document offering the additional rights described in
2887 Section 3.5.
2888
2889 3.2. Availability of Source Code.
2890 Any Modification which You create or to which You contribute must be
2891 made available in Source Code form under the terms of this License
2892 either on the same media as an Executable version or via an accepted
2893 Electronic Distribution Mechanism to anyone to whom you made an
2894 Executable version available; and if made available via Electronic
2895 Distribution Mechanism, must remain available for at least twelve (12)
2896 months after the date it initially became available, or at least six
2897 (6) months after a subsequent version of that particular Modification
2898 has been made available to such recipients. You are responsible for
2899 ensuring that the Source Code version remains available even if the
2900 Electronic Distribution Mechanism is maintained by a third party.
2901
2902 3.3. Description of Modifications.
2903 You must cause all Covered Code to which You contribute to contain a
2904 file documenting the changes You made to create that Covered Code and
2905 the date of any change. You must include a prominent statement that
2906 the Modification is derived, directly or indirectly, from Original
2907 Code provided by the Initial Developer and including the name of the
2908 Initial Developer in (a) the Source Code, and (b) in any notice in an
2909 Executable version or related documentation in which You describe the
2910 origin or ownership of the Covered Code.
2911
2912 3.4. Intellectual Property Matters
2913 (a) Third Party Claims.
2914 If Contributor has knowledge that a license under a third party's
2915 intellectual property rights is required to exercise the rights
2916 granted by such Contributor under Sections 2.1 or 2.2,
2917 Contributor must include a text file with the Source Code
2918 distribution titled "LEGAL" which describes the claim and the
2919 party making the claim in sufficient detail that a recipient will
2920 know whom to contact. If Contributor obtains such knowledge after
2921 the Modification is made available as described in Section 3.2,
2922 Contributor shall promptly modify the LEGAL file in all copies
2923 Contributor makes available thereafter and shall take other steps
2924 (such as notifying appropriate mailing lists or newsgroups)
2925 reasonably calculated to inform those who received the Covered
2926 Code that new knowledge has been obtained.
2927
2928 (b) Contributor APIs.
2929 If Contributor's Modifications include an application programming
2930 interface and Contributor has knowledge of patent licenses which
2931 are reasonably necessary to implement that API, Contributor must
2932 also include this information in the LEGAL file.
2933
2934 (c) Representations.
2935 Contributor represents that, except as disclosed pursuant to
2936 Section 3.4(a) above, Contributor believes that Contributor's
2937 Modifications are Contributor's original creation(s) and/or
2938 Contributor has sufficient rights to grant the rights conveyed by
2939 this License.
2940
2941 3.5. Required Notices.
2942 You must duplicate the notice in Exhibit A in each file of the Source
2943 Code. If it is not possible to put such notice in a particular Source
2944 Code file due to its structure, then You must include such notice in a
2945 location (such as a relevant directory) where a user would be likely
2946 to look for such a notice. If You created one or more Modification(s)
2947 You may add your name as a Contributor to the notice described in
2948 Exhibit A. You must also duplicate this License in any documentation
2949 for the Source Code where You describe recipients' rights or ownership
2950 rights relating to Covered Code. You may choose to offer, and to
2951 charge a fee for, warranty, support, indemnity or liability
2952 obligations to one or more recipients of Covered Code. However, You
2953 may do so only on Your own behalf, and not on behalf of the Initial
2954 Developer or any Contributor. You must make it absolutely clear than
2955 any such warranty, support, indemnity or liability obligation is
2956 offered by You alone, and You hereby agree to indemnify the Initial
2957 Developer and every Contributor for any liability incurred by the
2958 Initial Developer or such Contributor as a result of warranty,
2959 support, indemnity or liability terms You offer.
2960
2961 3.6. Distribution of Executable Versions.
2962 You may distribute Covered Code in Executable form only if the
2963 requirements of Section 3.1-3.5 have been met for that Covered Code,
2964 and if You include a notice stating that the Source Code version of
2965 the Covered Code is available under the terms of this License,
2966 including a description of how and where You have fulfilled the
2967 obligations of Section 3.2. The notice must be conspicuously included
2968 in any notice in an Executable version, related documentation or
2969 collateral in which You describe recipients' rights relating to the
2970 Covered Code. You may distribute the Executable version of Covered
2971 Code or ownership rights under a license of Your choice, which may
2972 contain terms different from this License, provided that You are in
2973 compliance with the terms of this License and that the license for the
2974 Executable version does not attempt to limit or alter the recipient's
2975 rights in the Source Code version from the rights set forth in this
2976 License. If You distribute the Executable version under a different
2977 license You must make it absolutely clear that any terms which differ
2978 from this License are offered by You alone, not by the Initial
2979 Developer or any Contributor. You hereby agree to indemnify the
2980 Initial Developer and every Contributor for any liability incurred by
2981 the Initial Developer or such Contributor as a result of any such
2982 terms You offer.
2983
2984 3.7. Larger Works.
2985 You may create a Larger Work by combining Covered Code with other code
2986 not governed by the terms of this License and distribute the Larger
2987 Work as a single product. In such a case, You must make sure the
2988 requirements of this License are fulfilled for the Covered Code.
2989
29904. Inability to Comply Due to Statute or Regulation.
2991
2992 If it is impossible for You to comply with any of the terms of this
2993 License with respect to some or all of the Covered Code due to
2994 statute, judicial order, or regulation then You must: (a) comply with
2995 the terms of this License to the maximum extent possible; and (b)
2996 describe the limitations and the code they affect. Such description
2997 must be included in the LEGAL file described in Section 3.4 and must
2998 be included with all distributions of the Source Code. Except to the
2999 extent prohibited by statute or regulation, such description must be
3000 sufficiently detailed for a recipient of ordinary skill to be able to
3001 understand it.
3002
30035. Application of this License.
3004
3005 This License applies to code to which the Initial Developer has
3006 attached the notice in Exhibit A and to related Covered Code.
3007
30086. Versions of the License.
3009
3010 6.1. New Versions.
3011 Netscape Communications Corporation ("Netscape") may publish revised
3012 and/or new versions of the License from time to time. Each version
3013 will be given a distinguishing version number.
3014
3015 6.2. Effect of New Versions.
3016 Once Covered Code has been published under a particular version of the
3017 License, You may always continue to use it under the terms of that
3018 version. You may also choose to use such Covered Code under the terms
3019 of any subsequent version of the License published by Netscape. No one
3020 other than Netscape has the right to modify the terms applicable to
3021 Covered Code created under this License.
3022
3023 6.3. Derivative Works.
3024 If You create or use a modified version of this License (which you may
3025 only do in order to apply it to code which is not already Covered Code
3026 governed by this License), You must (a) rename Your license so that
3027 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
3028 "MPL", "NPL" or any confusingly similar phrase do not appear in your
3029 license (except to note that your license differs from this License)
3030 and (b) otherwise make it clear that Your version of the license
3031 contains terms which differ from the Mozilla Public License and
3032 Netscape Public License. (Filling in the name of the Initial
3033 Developer, Original Code or Contributor in the notice described in
3034 Exhibit A shall not of themselves be deemed to be modifications of
3035 this License.)
3036
30377. DISCLAIMER OF WARRANTY.
3038
3039 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
3040 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
3041 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
3042 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
3043 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
3044 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
3045 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
3046 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
3047 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
3048 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
3049
30508. TERMINATION.
3051
3052 8.1. This License and the rights granted hereunder will terminate
3053 automatically if You fail to comply with terms herein and fail to cure
3054 such breach within 30 days of becoming aware of the breach. All
3055 sublicenses to the Covered Code which are properly granted shall
3056 survive any termination of this License. Provisions which, by their
3057 nature, must remain in effect beyond the termination of this License
3058 shall survive.
3059
3060 8.2. If You initiate litigation by asserting a patent infringement
3061 claim (excluding declatory judgment actions) against Initial Developer
3062 or a Contributor (the Initial Developer or Contributor against whom
3063 You file such action is referred to as "Participant") alleging that:
3064
3065 (a) such Participant's Contributor Version directly or indirectly
3066 infringes any patent, then any and all rights granted by such
3067 Participant to You under Sections 2.1 and/or 2.2 of this License
3068 shall, upon 60 days notice from Participant terminate prospectively,
3069 unless if within 60 days after receipt of notice You either: (i)
3070 agree in writing to pay Participant a mutually agreeable reasonable
3071 royalty for Your past and future use of Modifications made by such
3072 Participant, or (ii) withdraw Your litigation claim with respect to
3073 the Contributor Version against such Participant. If within 60 days
3074 of notice, a reasonable royalty and payment arrangement are not
3075 mutually agreed upon in writing by the parties or the litigation claim
3076 is not withdrawn, the rights granted by Participant to You under
3077 Sections 2.1 and/or 2.2 automatically terminate at the expiration of
3078 the 60 day notice period specified above.
3079
3080 (b) any software, hardware, or device, other than such Participant's
3081 Contributor Version, directly or indirectly infringes any patent, then
3082 any rights granted to You by such Participant under Sections 2.1(b)
3083 and 2.2(b) are revoked effective as of the date You first made, used,
3084 sold, distributed, or had made, Modifications made by that
3085 Participant.
3086
3087 8.3. If You assert a patent infringement claim against Participant
3088 alleging that such Participant's Contributor Version directly or
3089 indirectly infringes any patent where such claim is resolved (such as
3090 by license or settlement) prior to the initiation of patent
3091 infringement litigation, then the reasonable value of the licenses
3092 granted by such Participant under Sections 2.1 or 2.2 shall be taken
3093 into account in determining the amount or value of any payment or
3094 license.
3095
3096 8.4. In the event of termination under Sections 8.1 or 8.2 above,
3097 all end user license agreements (excluding distributors and resellers)
3098 which have been validly granted by You or any distributor hereunder
3099 prior to termination shall survive termination.
3100
31019. LIMITATION OF LIABILITY.
3102
3103 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
3104 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
3105 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
3106 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
3107 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
3108 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
3109 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
3110 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
3111 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
3112 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
3113 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
3114 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
3115 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
3116 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
3117
311810. U.S. GOVERNMENT END USERS.
3119
3120 The Covered Code is a "commercial item," as that term is defined in
3121 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
3122 software" and "commercial computer software documentation," as such
3123 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
3124 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
3125 all U.S. Government End Users acquire Covered Code with only those
3126 rights set forth herein.
3127
312811. MISCELLANEOUS.
3129
3130 This License represents the complete agreement concerning subject
3131 matter hereof. If any provision of this License is held to be
3132 unenforceable, such provision shall be reformed only to the extent
3133 necessary to make it enforceable. This License shall be governed by
3134 California law provisions (except to the extent applicable law, if
3135 any, provides otherwise), excluding its conflict-of-law provisions.
3136 With respect to disputes in which at least one party is a citizen of,
3137 or an entity chartered or registered to do business in the United
3138 States of America, any litigation relating to this License shall be
3139 subject to the jurisdiction of the Federal Courts of the Northern
3140 District of California, with venue lying in Santa Clara County,
3141 California, with the losing party responsible for costs, including
3142 without limitation, court costs and reasonable attorneys' fees and
3143 expenses. The application of the United Nations Convention on
3144 Contracts for the International Sale of Goods is expressly excluded.
3145 Any law or regulation which provides that the language of a contract
3146 shall be construed against the drafter shall not apply to this
3147 License.
3148
314912. RESPONSIBILITY FOR CLAIMS.
3150
3151 As between Initial Developer and the Contributors, each party is
3152 responsible for claims and damages arising, directly or indirectly,
3153 out of its utilization of rights under this License and You agree to
3154 work with Initial Developer and Contributors to distribute such
3155 responsibility on an equitable basis. Nothing herein is intended or
3156 shall be deemed to constitute any admission of liability.
3157
315813. MULTIPLE-LICENSED CODE.
3159
3160 Initial Developer may designate portions of the Covered Code as
3161 "Multiple-Licensed". "Multiple-Licensed" means that the Initial
3162 Developer permits you to utilize portions of the Covered Code under
3163 Your choice of the NPL or the alternative licenses, if any, specified
3164 by the Initial Developer in the file described in Exhibit A.
3165
3166EXHIBIT A -Mozilla Public License.
3167
3168 ``The contents of this file are subject to the Mozilla Public License
3169 Version 1.1 (the "License"); you may not use this file except in
3170 compliance with the License. You may obtain a copy of the License at
3171 http://www.mozilla.org/MPL/
3172
3173 Software distributed under the License is distributed on an "AS IS"
3174 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
3175 License for the specific language governing rights and limitations
3176 under the License.
3177
3178 The Original Code is ______________________________________.
3179
3180 The Initial Developer of the Original Code is ________________________.
3181 Portions created by ______________________ are Copyright (C) ______
3182 _______________________. All Rights Reserved.
3183
3184 Contributor(s): ______________________________________.
3185
3186 Alternatively, the contents of this file may be used under the terms
3187 of the _____ license (the "[___] License"), in which case the
3188 provisions of [______] License are applicable instead of those
3189 above. If you wish to allow use of your version of this file only
3190 under the terms of the [____] License and not to allow others to use
3191 your version of this file under the MPL, indicate your decision by
3192 deleting the provisions above and replace them with the notice and
3193 other provisions required by the [___] License. If you do not delete
3194 the provisions above, a recipient may use your version of this file
3195 under either the MPL or the [___] License."
3196
3197 [NOTE: The text of this Exhibit A may differ slightly from the text of
3198 the notices in the Source Code files of the Original Code. You should
3199 use the text of this Exhibit A rather than the text found in the
3200 Original Code Source Code for Your Modifications.]
3201
3202 ----------------------------------------------------------------------
3203
3204 AMENDMENTS
3205
3206 The Netscape Public License Version 1.1 ("NPL") consists of the
3207 Mozilla Public License Version 1.1 with the following Amendments,
3208 including Exhibit A-Netscape Public License. Files identified with
3209 "Exhibit A-Netscape Public License" are governed by the Netscape
3210 Public License Version 1.1.
3211
3212 Additional Terms applicable to the Netscape Public License.
3213 I. Effect.
3214 These additional terms described in this Netscape Public
3215 License -- Amendments shall apply to the Mozilla Communicator
3216 client code and to all Covered Code under this License.
3217
3218 II. "Netscape's Branded Code" means Covered Code that Netscape
3219 distributes and/or permits others to distribute under one or more
3220 trademark(s) which are controlled by Netscape but which are not
3221 licensed for use under this License.
3222
3223 III. Netscape and logo.
3224 This License does not grant any rights to use the trademarks
3225 "Netscape", the "Netscape N and horizon" logo or the "Netscape
3226 lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript",
3227 "Smart Browsing" even if such marks are included in the Original
3228 Code or Modifications.
3229
3230 IV. Inability to Comply Due to Contractual Obligation.
3231 Prior to licensing the Original Code under this License, Netscape
3232 has licensed third party code for use in Netscape's Branded Code.
3233 To the extent that Netscape is limited contractually from making
3234 such third party code available under this License, Netscape may
3235 choose to reintegrate such code into Covered Code without being
3236 required to distribute such code in Source Code form, even if
3237 such code would otherwise be considered "Modifications" under
3238 this License.
3239
3240 V. Use of Modifications and Covered Code by Initial Developer.
3241 V.1. In General.
3242 The obligations of Section 3 apply to Netscape, except to
3243 the extent specified in this Amendment, Section V.2 and V.3.
3244
3245 V.2. Other Products.
3246 Netscape may include Covered Code in products other than the
3247 Netscape's Branded Code which are released by Netscape
3248 during the two (2) years following the release date of the
3249 Original Code, without such additional products becoming
3250 subject to the terms of this License, and may license such
3251 additional products on different terms from those contained
3252 in this License.
3253
3254 V.3. Alternative Licensing.
3255 Netscape may license the Source Code of Netscape's Branded
3256 Code, including Modifications incorporated therein, without
3257 such Netscape Branded Code becoming subject to the terms of
3258 this License, and may license such Netscape Branded Code on
3259 different terms from those contained in this License.
3260
3261 VI. Litigation.
3262 Notwithstanding the limitations of Section 11 above, the
3263 provisions regarding litigation in Section 11(a), (b) and (c) of
3264 the License shall apply to all disputes relating to this License.
3265
3266 EXHIBIT A-Netscape Public License.
3267
3268 "The contents of this file are subject to the Netscape Public
3269 License Version 1.1 (the "License"); you may not use this file
3270 except in compliance with the License. You may obtain a copy of
3271 the License at http://www.mozilla.org/NPL/
3272
3273 Software distributed under the License is distributed on an "AS
3274 IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
3275 implied. See the License for the specific language governing
3276 rights and limitations under the License.
3277
3278 The Original Code is Mozilla Communicator client code, released
3279 March 31, 1998.
3280
3281 The Initial Developer of the Original Code is Netscape
3282 Communications Corporation. Portions created by Netscape are
3283 Copyright (C) 1998-1999 Netscape Communications Corporation. All
3284 Rights Reserved.
3285
3286 Contributor(s): ______________________________________.
3287
3288 Alternatively, the contents of this file may be used under the
3289 terms of the _____ license (the "[___] License"), in which case
3290 the provisions of [______] License are applicable instead of
3291 those above. If you wish to allow use of your version of this
3292 file only under the terms of the [____] License and not to allow
3293 others to use your version of this file under the NPL, indicate
3294 your decision by deleting the provisions above and replace them
3295 with the notice and other provisions required by the [___]
3296 License. If you do not delete the provisions above, a recipient
3297 may use your version of this file under either the NPL or the
3298 [___] License."
3299
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003300 GNU GENERAL PUBLIC LICENSE
3301 Version 2, June 1991
3302
3303 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
3304 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
3305 Everyone is permitted to copy and distribute verbatim copies
3306 of this license document, but changing it is not allowed.
3307
3308 Preamble
3309
3310 The licenses for most software are designed to take away your
3311freedom to share and change it. By contrast, the GNU General Public
3312License is intended to guarantee your freedom to share and change free
3313software--to make sure the software is free for all its users. This
3314General Public License applies to most of the Free Software
3315Foundation's software and to any other program whose authors commit to
3316using it. (Some other Free Software Foundation software is covered by
3317the GNU Library General Public License instead.) You can apply it to
3318your programs, too.
3319
3320 When we speak of free software, we are referring to freedom, not
3321price. Our General Public Licenses are designed to make sure that you
3322have the freedom to distribute copies of free software (and charge for
3323this service if you wish), that you receive source code or can get it
3324if you want it, that you can change the software or use pieces of it
3325in new free programs; and that you know you can do these things.
3326
3327 To protect your rights, we need to make restrictions that forbid
3328anyone to deny you these rights or to ask you to surrender the rights.
3329These restrictions translate to certain responsibilities for you if you
3330distribute copies of the software, or if you modify it.
3331
3332 For example, if you distribute copies of such a program, whether
3333gratis or for a fee, you must give the recipients all the rights that
3334you have. You must make sure that they, too, receive or can get the
3335source code. And you must show them these terms so they know their
3336rights.
3337
3338 We protect your rights with two steps: (1) copyright the software, and
3339(2) offer you this license which gives you legal permission to copy,
3340distribute and/or modify the software.
3341
3342 Also, for each author's protection and ours, we want to make certain
3343that everyone understands that there is no warranty for this free
3344software. If the software is modified by someone else and passed on, we
3345want its recipients to know that what they have is not the original, so
3346that any problems introduced by others will not reflect on the original
3347authors' reputations.
3348
3349 Finally, any free program is threatened constantly by software
3350patents. We wish to avoid the danger that redistributors of a free
3351program will individually obtain patent licenses, in effect making the
3352program proprietary. To prevent this, we have made it clear that any
3353patent must be licensed for everyone's free use or not licensed at all.
3354
3355 The precise terms and conditions for copying, distribution and
3356modification follow.
3357
3358 GNU GENERAL PUBLIC LICENSE
3359 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
3360
3361 0. This License applies to any program or other work which contains
3362a notice placed by the copyright holder saying it may be distributed
3363under the terms of this General Public License. The "Program", below,
3364refers to any such program or work, and a "work based on the Program"
3365means either the Program or any derivative work under copyright law:
3366that is to say, a work containing the Program or a portion of it,
3367either verbatim or with modifications and/or translated into another
3368language. (Hereinafter, translation is included without limitation in
3369the term "modification".) Each licensee is addressed as "you".
3370
3371Activities other than copying, distribution and modification are not
3372covered by this License; they are outside its scope. The act of
3373running the Program is not restricted, and the output from the Program
3374is covered only if its contents constitute a work based on the
3375Program (independent of having been made by running the Program).
3376Whether that is true depends on what the Program does.
3377
3378 1. You may copy and distribute verbatim copies of the Program's
3379source code as you receive it, in any medium, provided that you
3380conspicuously and appropriately publish on each copy an appropriate
3381copyright notice and disclaimer of warranty; keep intact all the
3382notices that refer to this License and to the absence of any warranty;
3383and give any other recipients of the Program a copy of this License
3384along with the Program.
3385
3386You may charge a fee for the physical act of transferring a copy, and
3387you may at your option offer warranty protection in exchange for a fee.
3388
3389 2. You may modify your copy or copies of the Program or any portion
3390of it, thus forming a work based on the Program, and copy and
3391distribute such modifications or work under the terms of Section 1
3392above, provided that you also meet all of these conditions:
3393
3394 a) You must cause the modified files to carry prominent notices
3395 stating that you changed the files and the date of any change.
3396
3397 b) You must cause any work that you distribute or publish, that in
3398 whole or in part contains or is derived from the Program or any
3399 part thereof, to be licensed as a whole at no charge to all third
3400 parties under the terms of this License.
3401
3402 c) If the modified program normally reads commands interactively
3403 when run, you must cause it, when started running for such
3404 interactive use in the most ordinary way, to print or display an
3405 announcement including an appropriate copyright notice and a
3406 notice that there is no warranty (or else, saying that you provide
3407 a warranty) and that users may redistribute the program under
3408 these conditions, and telling the user how to view a copy of this
3409 License. (Exception: if the Program itself is interactive but
3410 does not normally print such an announcement, your work based on
3411 the Program is not required to print an announcement.)
3412
3413These requirements apply to the modified work as a whole. If
3414identifiable sections of that work are not derived from the Program,
3415and can be reasonably considered independent and separate works in
3416themselves, then this License, and its terms, do not apply to those
3417sections when you distribute them as separate works. But when you
3418distribute the same sections as part of a whole which is a work based
3419on the Program, the distribution of the whole must be on the terms of
3420this License, whose permissions for other licensees extend to the
3421entire whole, and thus to each and every part regardless of who wrote it.
3422
3423Thus, it is not the intent of this section to claim rights or contest
3424your rights to work written entirely by you; rather, the intent is to
3425exercise the right to control the distribution of derivative or
3426collective works based on the Program.
3427
3428In addition, mere aggregation of another work not based on the Program
3429with the Program (or with a work based on the Program) on a volume of
3430a storage or distribution medium does not bring the other work under
3431the scope of this License.
3432
3433 3. You may copy and distribute the Program (or a work based on it,
3434under Section 2) in object code or executable form under the terms of
3435Sections 1 and 2 above provided that you also do one of the following:
3436
3437 a) Accompany it with the complete corresponding machine-readable
3438 source code, which must be distributed under the terms of Sections
3439 1 and 2 above on a medium customarily used for software interchange; or,
3440
3441 b) Accompany it with a written offer, valid for at least three
3442 years, to give any third party, for a charge no more than your
3443 cost of physically performing source distribution, a complete
3444 machine-readable copy of the corresponding source code, to be
3445 distributed under the terms of Sections 1 and 2 above on a medium
3446 customarily used for software interchange; or,
3447
3448 c) Accompany it with the information you received as to the offer
3449 to distribute corresponding source code. (This alternative is
3450 allowed only for noncommercial distribution and only if you
3451 received the program in object code or executable form with such
3452 an offer, in accord with Subsection b above.)
3453
3454The source code for a work means the preferred form of the work for
3455making modifications to it. For an executable work, complete source
3456code means all the source code for all modules it contains, plus any
3457associated interface definition files, plus the scripts used to
3458control compilation and installation of the executable. However, as a
3459special exception, the source code distributed need not include
3460anything that is normally distributed (in either source or binary
3461form) with the major components (compiler, kernel, and so on) of the
3462operating system on which the executable runs, unless that component
3463itself accompanies the executable.
3464
3465If distribution of executable or object code is made by offering
3466access to copy from a designated place, then offering equivalent
3467access to copy the source code from the same place counts as
3468distribution of the source code, even though third parties are not
3469compelled to copy the source along with the object code.
3470
3471 4. You may not copy, modify, sublicense, or distribute the Program
3472except as expressly provided under this License. Any attempt
3473otherwise to copy, modify, sublicense or distribute the Program is
3474void, and will automatically terminate your rights under this License.
3475However, parties who have received copies, or rights, from you under
3476this License will not have their licenses terminated so long as such
3477parties remain in full compliance.
3478
3479 5. You are not required to accept this License, since you have not
3480signed it. However, nothing else grants you permission to modify or
3481distribute the Program or its derivative works. These actions are
3482prohibited by law if you do not accept this License. Therefore, by
3483modifying or distributing the Program (or any work based on the
3484Program), you indicate your acceptance of this License to do so, and
3485all its terms and conditions for copying, distributing or modifying
3486the Program or works based on it.
3487
3488 6. Each time you redistribute the Program (or any work based on the
3489Program), the recipient automatically receives a license from the
3490original licensor to copy, distribute or modify the Program subject to
3491these terms and conditions. You may not impose any further
3492restrictions on the recipients' exercise of the rights granted herein.
3493You are not responsible for enforcing compliance by third parties to
3494this License.
3495
3496 7. If, as a consequence of a court judgment or allegation of patent
3497infringement or for any other reason (not limited to patent issues),
3498conditions are imposed on you (whether by court order, agreement or
3499otherwise) that contradict the conditions of this License, they do not
3500excuse you from the conditions of this License. If you cannot
3501distribute so as to satisfy simultaneously your obligations under this
3502License and any other pertinent obligations, then as a consequence you
3503may not distribute the Program at all. For example, if a patent
3504license would not permit royalty-free redistribution of the Program by
3505all those who receive copies directly or indirectly through you, then
3506the only way you could satisfy both it and this License would be to
3507refrain entirely from distribution of the Program.
3508
3509If any portion of this section is held invalid or unenforceable under
3510any particular circumstance, the balance of the section is intended to
3511apply and the section as a whole is intended to apply in other
3512circumstances.
3513
3514It is not the purpose of this section to induce you to infringe any
3515patents or other property right claims or to contest validity of any
3516such claims; this section has the sole purpose of protecting the
3517integrity of the free software distribution system, which is
3518implemented by public license practices. Many people have made
3519generous contributions to the wide range of software distributed
3520through that system in reliance on consistent application of that
3521system; it is up to the author/donor to decide if he or she is willing
3522to distribute software through any other system and a licensee cannot
3523impose that choice.
3524
3525This section is intended to make thoroughly clear what is believed to
3526be a consequence of the rest of this License.
3527
3528 8. If the distribution and/or use of the Program is restricted in
3529certain countries either by patents or by copyrighted interfaces, the
3530original copyright holder who places the Program under this License
3531may add an explicit geographical distribution limitation excluding
3532those countries, so that distribution is permitted only in or among
3533countries not thus excluded. In such case, this License incorporates
3534the limitation as if written in the body of this License.
3535
3536 9. The Free Software Foundation may publish revised and/or new versions
3537of the General Public License from time to time. Such new versions will
3538be similar in spirit to the present version, but may differ in detail to
3539address new problems or concerns.
3540
3541Each version is given a distinguishing version number. If the Program
3542specifies a version number of this License which applies to it and "any
3543later version", you have the option of following the terms and conditions
3544either of that version or of any later version published by the Free
3545Software Foundation. If the Program does not specify a version number of
3546this License, you may choose any version ever published by the Free Software
3547Foundation.
3548
3549 10. If you wish to incorporate parts of the Program into other free
3550programs whose distribution conditions are different, write to the author
3551to ask for permission. For software which is copyrighted by the Free
3552Software Foundation, write to the Free Software Foundation; we sometimes
3553make exceptions for this. Our decision will be guided by the two goals
3554of preserving the free status of all derivatives of our free software and
3555of promoting the sharing and reuse of software generally.
3556
3557 NO WARRANTY
3558
3559 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
3560FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
3561OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
3562PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
3563OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
3564MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
3565TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
3566PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
3567REPAIR OR CORRECTION.
3568
3569 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
3570WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
3571REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
3572INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
3573OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
3574TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
3575YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
3576PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
3577POSSIBILITY OF SUCH DAMAGES.
3578
3579 END OF TERMS AND CONDITIONS
3580
3581 How to Apply These Terms to Your New Programs
3582
3583 If you develop a new program, and you want it to be of the greatest
3584possible use to the public, the best way to achieve this is to make it
3585free software which everyone can redistribute and change under these terms.
3586
3587 To do so, attach the following notices to the program. It is safest
3588to attach them to the start of each source file to most effectively
3589convey the exclusion of warranty; and each file should have at least
3590the "copyright" line and a pointer to where the full notice is found.
3591
3592 <one line to give the program's name and a brief idea of what it does.>
3593 Copyright (C) 19yy <name of author>
3594
3595 This program is free software; you can redistribute it and/or modify
3596 it under the terms of the GNU General Public License as published by
3597 the Free Software Foundation; either version 2 of the License, or
3598 (at your option) any later version.
3599
3600 This program is distributed in the hope that it will be useful,
3601 but WITHOUT ANY WARRANTY; without even the implied warranty of
3602 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3603 GNU General Public License for more details.
3604
3605 You should have received a copy of the GNU General Public License
3606 along with this program; if not, write to the Free Software
3607 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
3608
3609
3610Also add information on how to contact you by electronic and paper mail.
3611
3612If the program is interactive, make it output a short notice like this
3613when it starts in an interactive mode:
3614
3615 Gnomovision version 69, Copyright (C) 19yy name of author
3616 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
3617 This is free software, and you are welcome to redistribute it
3618 under certain conditions; type `show c' for details.
3619
3620The hypothetical commands `show w' and `show c' should show the appropriate
3621parts of the General Public License. Of course, the commands you use may
3622be called something other than `show w' and `show c'; they could even be
3623mouse-clicks or menu items--whatever suits your program.
3624
3625You should also get your employer (if you work as a programmer) or your
3626school, if any, to sign a "copyright disclaimer" for the program, if
3627necessary. Here is a sample; alter the names:
3628
3629 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
3630 `Gnomovision' (which makes passes at compilers) written by James Hacker.
3631
3632 <signature of Ty Coon>, 1 April 1989
3633 Ty Coon, President of Vice
3634
3635This General Public License does not permit incorporating your program into
3636proprietary programs. If your program is a subroutine library, you may
3637consider it more useful to permit linking proprietary applications with the
3638library. If this is what you want to do, use the GNU Library General
3639Public License instead of this License.
3640
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003641Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
3642 and Clark Cooper
3643Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
3644
3645Permission is hereby granted, free of charge, to any person obtaining
3646a copy of this software and associated documentation files (the
3647"Software"), to deal in the Software without restriction, including
3648without limitation the rights to use, copy, modify, merge, publish,
3649distribute, sublicense, and/or sell copies of the Software, and to
3650permit persons to whom the Software is furnished to do so, subject to
3651the following conditions:
3652
3653The above copyright notice and this permission notice shall be included
3654in all copies or substantial portions of the Software.
3655
3656THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3657EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
3658MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
3659IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
3660CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
3661TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
3662SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3663
3664
3665 Apache License
3666 Version 2.0, January 2004
3667 http://www.apache.org/licenses/
3668
3669 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
3670
3671 1. Definitions.
3672
3673 "License" shall mean the terms and conditions for use, reproduction,
3674 and distribution as defined by Sections 1 through 9 of this document.
3675
3676 "Licensor" shall mean the copyright owner or entity authorized by
3677 the copyright owner that is granting the License.
3678
3679 "Legal Entity" shall mean the union of the acting entity and all
3680 other entities that control, are controlled by, or are under common
3681 control with that entity. For the purposes of this definition,
3682 "control" means (i) the power, direct or indirect, to cause the
3683 direction or management of such entity, whether by contract or
3684 otherwise, or (ii) ownership of fifty percent (50%) or more of the
3685 outstanding shares, or (iii) beneficial ownership of such entity.
3686
3687 "You" (or "Your") shall mean an individual or Legal Entity
3688 exercising permissions granted by this License.
3689
3690 "Source" form shall mean the preferred form for making modifications,
3691 including but not limited to software source code, documentation
3692 source, and configuration files.
3693
3694 "Object" form shall mean any form resulting from mechanical
3695 transformation or translation of a Source form, including but
3696 not limited to compiled object code, generated documentation,
3697 and conversions to other media types.
3698
3699 "Work" shall mean the work of authorship, whether in Source or
3700 Object form, made available under the License, as indicated by a
3701 copyright notice that is included in or attached to the work
3702 (an example is provided in the Appendix below).
3703
3704 "Derivative Works" shall mean any work, whether in Source or Object
3705 form, that is based on (or derived from) the Work and for which the
3706 editorial revisions, annotations, elaborations, or other modifications
3707 represent, as a whole, an original work of authorship. For the purposes
3708 of this License, Derivative Works shall not include works that remain
3709 separable from, or merely link (or bind by name) to the interfaces of,
3710 the Work and Derivative Works thereof.
3711
3712 "Contribution" shall mean any work of authorship, including
3713 the original version of the Work and any modifications or additions
3714 to that Work or Derivative Works thereof, that is intentionally
3715 submitted to Licensor for inclusion in the Work by the copyright owner
3716 or by an individual or Legal Entity authorized to submit on behalf of
3717 the copyright owner. For the purposes of this definition, "submitted"
3718 means any form of electronic, verbal, or written communication sent
3719 to the Licensor or its representatives, including but not limited to
3720 communication on electronic mailing lists, source code control systems,
3721 and issue tracking systems that are managed by, or on behalf of, the
3722 Licensor for the purpose of discussing and improving the Work, but
3723 excluding communication that is conspicuously marked or otherwise
3724 designated in writing by the copyright owner as "Not a Contribution."
3725
3726 "Contributor" shall mean Licensor and any individual or Legal Entity
3727 on behalf of whom a Contribution has been received by Licensor and
3728 subsequently incorporated within the Work.
3729
3730 2. Grant of Copyright License. Subject to the terms and conditions of
3731 this License, each Contributor hereby grants to You a perpetual,
3732 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3733 copyright license to reproduce, prepare Derivative Works of,
3734 publicly display, publicly perform, sublicense, and distribute the
3735 Work and such Derivative Works in Source or Object form.
3736
3737 3. Grant of Patent License. Subject to the terms and conditions of
3738 this License, each Contributor hereby grants to You a perpetual,
3739 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3740 (except as stated in this section) patent license to make, have made,
3741 use, offer to sell, sell, import, and otherwise transfer the Work,
3742 where such license applies only to those patent claims licensable
3743 by such Contributor that are necessarily infringed by their
3744 Contribution(s) alone or by combination of their Contribution(s)
3745 with the Work to which such Contribution(s) was submitted. If You
3746 institute patent litigation against any entity (including a
3747 cross-claim or counterclaim in a lawsuit) alleging that the Work
3748 or a Contribution incorporated within the Work constitutes direct
3749 or contributory patent infringement, then any patent licenses
3750 granted to You under this License for that Work shall terminate
3751 as of the date such litigation is filed.
3752
3753 4. Redistribution. You may reproduce and distribute copies of the
3754 Work or Derivative Works thereof in any medium, with or without
3755 modifications, and in Source or Object form, provided that You
3756 meet the following conditions:
3757
3758 (a) You must give any other recipients of the Work or
3759 Derivative Works a copy of this License; and
3760
3761 (b) You must cause any modified files to carry prominent notices
3762 stating that You changed the files; and
3763
3764 (c) You must retain, in the Source form of any Derivative Works
3765 that You distribute, all copyright, patent, trademark, and
3766 attribution notices from the Source form of the Work,
3767 excluding those notices that do not pertain to any part of
3768 the Derivative Works; and
3769
3770 (d) If the Work includes a "NOTICE" text file as part of its
3771 distribution, then any Derivative Works that You distribute must
3772 include a readable copy of the attribution notices contained
3773 within such NOTICE file, excluding those notices that do not
3774 pertain to any part of the Derivative Works, in at least one
3775 of the following places: within a NOTICE text file distributed
3776 as part of the Derivative Works; within the Source form or
3777 documentation, if provided along with the Derivative Works; or,
3778 within a display generated by the Derivative Works, if and
3779 wherever such third-party notices normally appear. The contents
3780 of the NOTICE file are for informational purposes only and
3781 do not modify the License. You may add Your own attribution
3782 notices within Derivative Works that You distribute, alongside
3783 or as an addendum to the NOTICE text from the Work, provided
3784 that such additional attribution notices cannot be construed
3785 as modifying the License.
3786
3787 You may add Your own copyright statement to Your modifications and
3788 may provide additional or different license terms and conditions
3789 for use, reproduction, or distribution of Your modifications, or
3790 for any such Derivative Works as a whole, provided Your use,
3791 reproduction, and distribution of the Work otherwise complies with
3792 the conditions stated in this License.
3793
3794 5. Submission of Contributions. Unless You explicitly state otherwise,
3795 any Contribution intentionally submitted for inclusion in the Work
3796 by You to the Licensor shall be under the terms and conditions of
3797 this License, without any additional terms or conditions.
3798 Notwithstanding the above, nothing herein shall supersede or modify
3799 the terms of any separate license agreement you may have executed
3800 with Licensor regarding such Contributions.
3801
3802 6. Trademarks. This License does not grant permission to use the trade
3803 names, trademarks, service marks, or product names of the Licensor,
3804 except as required for reasonable and customary use in describing the
3805 origin of the Work and reproducing the content of the NOTICE file.
3806
3807 7. Disclaimer of Warranty. Unless required by applicable law or
3808 agreed to in writing, Licensor provides the Work (and each
3809 Contributor provides its Contributions) on an "AS IS" BASIS,
3810 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
3811 implied, including, without limitation, any warranties or conditions
3812 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
3813 PARTICULAR PURPOSE. You are solely responsible for determining the
3814 appropriateness of using or redistributing the Work and assume any
3815 risks associated with Your exercise of permissions under this License.
3816
3817 8. Limitation of Liability. In no event and under no legal theory,
3818 whether in tort (including negligence), contract, or otherwise,
3819 unless required by applicable law (such as deliberate and grossly
3820 negligent acts) or agreed to in writing, shall any Contributor be
3821 liable to You for damages, including any direct, indirect, special,
3822 incidental, or consequential damages of any character arising as a
3823 result of this License or out of the use or inability to use the
3824 Work (including but not limited to damages for loss of goodwill,
3825 work stoppage, computer failure or malfunction, or any and all
3826 other commercial damages or losses), even if such Contributor
3827 has been advised of the possibility of such damages.
3828
3829 9. Accepting Warranty or Additional Liability. While redistributing
3830 the Work or Derivative Works thereof, You may choose to offer,
3831 and charge a fee for, acceptance of support, warranty, indemnity,
3832 or other liability obligations and/or rights consistent with this
3833 License. However, in accepting such obligations, You may act only
3834 on Your own behalf and on Your sole responsibility, not on behalf
3835 of any other Contributor, and only if You agree to indemnify,
3836 defend, and hold each Contributor harmless for any liability
3837 incurred by, or claims asserted against, such Contributor by reason
3838 of your accepting any such warranty or additional liability.
3839
3840 END OF TERMS AND CONDITIONS
3841
3842 APPENDIX: How to apply the Apache License to your work.
3843
3844 To apply the Apache License to your work, attach the following
3845 boilerplate notice, with the fields enclosed by brackets "[]"
3846 replaced with your own identifying information. (Don't include
3847 the brackets!) The text should be enclosed in the appropriate
3848 comment syntax for the file format. We also recommend that a
3849 file or class name and description of purpose be included on the
3850 same "printed page" as the copyright notice for easier
3851 identification within third-party archives.
3852
3853 Copyright 2011 Google Inc. All Rights Reserved.
3854
3855 Licensed under the Apache License, Version 2.0 (the "License");
3856 you may not use this file except in compliance with the License.
3857 You may obtain a copy of the License at
3858
3859 http://www.apache.org/licenses/LICENSE-2.0
3860
3861 Unless required by applicable law or agreed to in writing, software
3862 distributed under the License is distributed on an "AS IS" BASIS,
3863 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3864 See the License for the specific language governing permissions and
3865 limitations under the License.
3866
3867
3868Copyright (c) 2007-2009 IOLA and Ole Laursen
3869
3870Permission is hereby granted, free of charge, to any person
3871obtaining a copy of this software and associated documentation
3872files (the "Software"), to deal in the Software without
3873restriction, including without limitation the rights to use,
3874copy, modify, merge, publish, distribute, sublicense, and/or sell
3875copies of the Software, and to permit persons to whom the
3876Software is furnished to do so, subject to the following
3877conditions:
3878
3879The above copyright notice and this permission notice shall be
3880included in all copies or substantial portions of the Software.
3881
3882THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3883EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
3884OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
3885NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
3886HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
3887WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3888FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
3889OTHER DEALINGS IN THE SOFTWARE.
3890
3891This software is based in part on the work of the FreeType Team.
3892
3893----------------------
3894
3895 The FreeType Project LICENSE
3896 ----------------------------
3897
3898 2006-Jan-27
3899
3900 Copyright 1996-2002, 2006 by
3901 David Turner, Robert Wilhelm, and Werner Lemberg
3902
3903
3904
3905Introduction
3906============
3907
3908 The FreeType Project is distributed in several archive packages;
3909 some of them may contain, in addition to the FreeType font engine,
3910 various tools and contributions which rely on, or relate to, the
3911 FreeType Project.
3912
3913 This license applies to all files found in such packages, and
3914 which do not fall under their own explicit license. The license
3915 affects thus the FreeType font engine, the test programs,
3916 documentation and makefiles, at the very least.
3917
3918 This license was inspired by the BSD, Artistic, and IJG
3919 (Independent JPEG Group) licenses, which all encourage inclusion
3920 and use of free software in commercial and freeware products
3921 alike. As a consequence, its main points are that:
3922
3923 o We don't promise that this software works. However, we will be
3924 interested in any kind of bug reports. (`as is' distribution)
3925
3926 o You can use this software for whatever you want, in parts or
3927 full form, without having to pay us. (`royalty-free' usage)
3928
3929 o You may not pretend that you wrote this software. If you use
3930 it, or only parts of it, in a program, you must acknowledge
3931 somewhere in your documentation that you have used the
3932 FreeType code. (`credits')
3933
3934 We specifically permit and encourage the inclusion of this
3935 software, with or without modifications, in commercial products.
3936 We disclaim all warranties covering The FreeType Project and
3937 assume no liability related to The FreeType Project.
3938
3939
3940 Finally, many people asked us for a preferred form for a
3941 credit/disclaimer to use in compliance with this license. We thus
3942 encourage you to use the following text:
3943
3944 """
3945 Portions of this software are copyright © <year> The FreeType
3946 Project (www.freetype.org). All rights reserved.
3947 """
3948
3949 Please replace <year> with the value from the FreeType version you
3950 actually use.
3951
3952
3953Legal Terms
3954===========
3955
39560. Definitions
3957--------------
3958
3959 Throughout this license, the terms `package', `FreeType Project',
3960 and `FreeType archive' refer to the set of files originally
3961 distributed by the authors (David Turner, Robert Wilhelm, and
3962 Werner Lemberg) as the `FreeType Project', be they named as alpha,
3963 beta or final release.
3964
3965 `You' refers to the licensee, or person using the project, where
3966 `using' is a generic term including compiling the project's source
3967 code as well as linking it to form a `program' or `executable'.
3968 This program is referred to as `a program using the FreeType
3969 engine'.
3970
3971 This license applies to all files distributed in the original
3972 FreeType Project, including all source code, binaries and
3973 documentation, unless otherwise stated in the file in its
3974 original, unmodified form as distributed in the original archive.
3975 If you are unsure whether or not a particular file is covered by
3976 this license, you must contact us to verify this.
3977
3978 The FreeType Project is copyright (C) 1996-2000 by David Turner,
3979 Robert Wilhelm, and Werner Lemberg. All rights reserved except as
3980 specified below.
3981
39821. No Warranty
3983--------------
3984
3985 THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY
3986 KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
3987 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3988 PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS
3989 BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO
3990 USE, OF THE FREETYPE PROJECT.
3991
39922. Redistribution
3993-----------------
3994
3995 This license grants a worldwide, royalty-free, perpetual and
3996 irrevocable right and license to use, execute, perform, compile,
3997 display, copy, create derivative works of, distribute and
3998 sublicense the FreeType Project (in both source and object code
3999 forms) and derivative works thereof for any purpose; and to
4000 authorize others to exercise some or all of the rights granted
4001 herein, subject to the following conditions:
4002
4003 o Redistribution of source code must retain this license file
4004 (`FTL.TXT') unaltered; any additions, deletions or changes to
4005 the original files must be clearly indicated in accompanying
4006 documentation. The copyright notices of the unaltered,
4007 original files must be preserved in all copies of source
4008 files.
4009
4010 o Redistribution in binary form must provide a disclaimer that
4011 states that the software is based in part of the work of the
4012 FreeType Team, in the distribution documentation. We also
4013 encourage you to put an URL to the FreeType web page in your
4014 documentation, though this isn't mandatory.
4015
4016 These conditions apply to any software derived from or based on
4017 the FreeType Project, not just the unmodified files. If you use
4018 our work, you must acknowledge us. However, no fee need be paid
4019 to us.
4020
40213. Advertising
4022--------------
4023
4024 Neither the FreeType authors and contributors nor you shall use
4025 the name of the other for commercial, advertising, or promotional
4026 purposes without specific prior written permission.
4027
4028 We suggest, but do not require, that you use one or more of the
4029 following phrases to refer to this software in your documentation
4030 or advertising materials: `FreeType Project', `FreeType Engine',
4031 `FreeType library', or `FreeType Distribution'.
4032
4033 As you have not signed this license, you are not required to
4034 accept it. However, as the FreeType Project is copyrighted
4035 material, only this license, or another one contracted with the
4036 authors, grants you the right to use, distribute, and modify it.
4037 Therefore, by using, distributing, or modifying the FreeType
4038 Project, you indicate that you understand and accept all the terms
4039 of this license.
4040
40414. Contacts
4042-----------
4043
4044 There are two mailing lists related to FreeType:
4045
4046 o freetype@nongnu.org
4047
4048 Discusses general use and applications of FreeType, as well as
4049 future and wanted additions to the library and distribution.
4050 If you are looking for support, start in this list if you
4051 haven't found anything to help you in the documentation.
4052
4053 o freetype-devel@nongnu.org
4054
4055 Discusses bugs, as well as engine internals, design issues,
4056 specific licenses, porting, etc.
4057
4058 Our home page can be found at
4059
4060 http://www.freetype.org
4061
4062
4063--- end of FTL.TXT ---
4064
4065// Copyright (c) 2013 The Chromium Authors. All rights reserved.
4066//
4067// Redistribution and use in source and binary forms, with or without
4068// modification, are permitted provided that the following conditions are
4069// met:
4070//
4071// * Redistributions of source code must retain the above copyright
4072// notice, this list of conditions and the following disclaimer.
4073// * Redistributions in binary form must reproduce the above
4074// copyright notice, this list of conditions and the following disclaimer
4075// in the documentation and/or other materials provided with the
4076// distribution.
4077// * Neither the name of Google Inc. nor the names of its
4078// contributors may be used to endorse or promote products derived from
4079// this software without specific prior written permission.
4080//
4081// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4082// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
4083// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
4084// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
4085// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4086// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
4087// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
4088// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4089// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4090// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4091// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4092
4093Book: OpenGL(R) ES 2.0 Programming Guide
4094Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner
4095ISBN-10: 0321502795
4096ISBN-13: 9780321502797
4097Publisher: Addison-Wesley Professional
4098URLs: http://safari.informit.com/9780321563835
4099 http://www.opengles-book.com
4100 COPYRIGHTS
4101
4102Compilation copyright is held by the GPSD project. All rights reserved.
4103
4104GPSD project copyrights are assigned to the project lead, currently
4105Eric S. Raymond. Other portions of the GPSD code are Copyright (c)
41061997, 1998, 1999, 2000, 2001, 2002 by Remco Treffkorn, and others
4107Copyright (c) 2005 by Eric S. Raymond. For other copyrights, see
4108individual files.
4109
4110 BSD LICENSE
4111
4112Redistribution and use in source and binary forms, with or without
4113modification, are permitted provided that the following conditions
4114are met:<P>
4115
4116Redistributions of source code must retain the above copyright
4117notice, this list of conditions and the following disclaimer.<P>
4118
4119Redistributions in binary form must reproduce the above copyright
4120notice, this list of conditions and the following disclaimer in the
4121documentation and/or other materials provided with the distribution.<P>
4122
4123Neither name of the GPSD project nor the names of its contributors
4124may be used to endorse or promote products derived from this software
4125without specific prior written permission.
4126
4127THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4128``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
4129LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
4130A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
4131CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
4132EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
4133PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
4134PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
4135LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
4136NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
4137SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4138
4139 GNU LIBRARY GENERAL PUBLIC LICENSE
4140 Version 2, June 1991
4141
4142 Copyright (C) 1991 Free Software Foundation, Inc.
4143 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
4144 Everyone is permitted to copy and distribute verbatim copies
4145 of this license document, but changing it is not allowed.
4146
4147[This is the first released version of the library GPL. It is
4148 numbered 2 because it goes with version 2 of the ordinary GPL.]
4149
4150 Preamble
4151
4152 The licenses for most software are designed to take away your
4153freedom to share and change it. By contrast, the GNU General Public
4154Licenses are intended to guarantee your freedom to share and change
4155free software--to make sure the software is free for all its users.
4156
4157 This license, the Library General Public License, applies to some
4158specially designated Free Software Foundation software, and to any
4159other libraries whose authors decide to use it. You can use it for
4160your libraries, too.
4161
4162 When we speak of free software, we are referring to freedom, not
4163price. Our General Public Licenses are designed to make sure that you
4164have the freedom to distribute copies of free software (and charge for
4165this service if you wish), that you receive source code or can get it
4166if you want it, that you can change the software or use pieces of it
4167in new free programs; and that you know you can do these things.
4168
4169 To protect your rights, we need to make restrictions that forbid
4170anyone to deny you these rights or to ask you to surrender the rights.
4171These restrictions translate to certain responsibilities for you if
4172you distribute copies of the library, or if you modify it.
4173
4174 For example, if you distribute copies of the library, whether gratis
4175or for a fee, you must give the recipients all the rights that we gave
4176you. You must make sure that they, too, receive or can get the source
4177code. If you link a program with the library, you must provide
4178complete object files to the recipients so that they can relink them
4179with the library, after making changes to the library and recompiling
4180it. And you must show them these terms so they know their rights.
4181
4182 Our method of protecting your rights has two steps: (1) copyright
4183the library, and (2) offer you this license which gives you legal
4184permission to copy, distribute and/or modify the library.
4185
4186 Also, for each distributor's protection, we want to make certain
4187that everyone understands that there is no warranty for this free
4188library. If the library is modified by someone else and passed on, we
4189want its recipients to know that what they have is not the original
4190version, so that any problems introduced by others will not reflect on
4191the original authors' reputations.
4192
4193 Finally, any free program is threatened constantly by software
4194patents. We wish to avoid the danger that companies distributing free
4195software will individually obtain patent licenses, thus in effect
4196transforming the program into proprietary software. To prevent this,
4197we have made it clear that any patent must be licensed for everyone's
4198free use or not licensed at all.
4199
4200 Most GNU software, including some libraries, is covered by the ordinary
4201GNU General Public License, which was designed for utility programs. This
4202license, the GNU Library General Public License, applies to certain
4203designated libraries. This license is quite different from the ordinary
4204one; be sure to read it in full, and don't assume that anything in it is
4205the same as in the ordinary license.
4206
4207 The reason we have a separate public license for some libraries is that
4208they blur the distinction we usually make between modifying or adding to a
4209program and simply using it. Linking a program with a library, without
4210changing the library, is in some sense simply using the library, and is
4211analogous to running a utility program or application program. However, in
4212a textual and legal sense, the linked executable is a combined work, a
4213derivative of the original library, and the ordinary General Public License
4214treats it as such.
4215
4216 Because of this blurred distinction, using the ordinary General
4217Public License for libraries did not effectively promote software
4218sharing, because most developers did not use the libraries. We
4219concluded that weaker conditions might promote sharing better.
4220
4221 However, unrestricted linking of non-free programs would deprive the
4222users of those programs of all benefit from the free status of the
4223libraries themselves. This Library General Public License is intended to
4224permit developers of non-free programs to use free libraries, while
4225preserving your freedom as a user of such programs to change the free
4226libraries that are incorporated in them. (We have not seen how to achieve
4227this as regards changes in header files, but we have achieved it as regards
4228changes in the actual functions of the Library.) The hope is that this
4229will lead to faster development of free libraries.
4230
4231 The precise terms and conditions for copying, distribution and
4232modification follow. Pay close attention to the difference between a
4233"work based on the library" and a "work that uses the library". The
4234former contains code derived from the library, while the latter only
4235works together with the library.
4236
4237 Note that it is possible for a library to be covered by the ordinary
4238General Public License rather than by this special one.
4239
4240 GNU LIBRARY GENERAL PUBLIC LICENSE
4241 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
4242
4243 0. This License Agreement applies to any software library which
4244contains a notice placed by the copyright holder or other authorized
4245party saying it may be distributed under the terms of this Library
4246General Public License (also called "this License"). Each licensee is
4247addressed as "you".
4248
4249 A "library" means a collection of software functions and/or data
4250prepared so as to be conveniently linked with application programs
4251(which use some of those functions and data) to form executables.
4252
4253 The "Library", below, refers to any such software library or work
4254which has been distributed under these terms. A "work based on the
4255Library" means either the Library or any derivative work under
4256copyright law: that is to say, a work containing the Library or a
4257portion of it, either verbatim or with modifications and/or translated
4258straightforwardly into another language. (Hereinafter, translation is
4259included without limitation in the term "modification".)
4260
4261 "Source code" for a work means the preferred form of the work for
4262making modifications to it. For a library, complete source code means
4263all the source code for all modules it contains, plus any associated
4264interface definition files, plus the scripts used to control compilation
4265and installation of the library.
4266
4267 Activities other than copying, distribution and modification are not
4268covered by this License; they are outside its scope. The act of
4269running a program using the Library is not restricted, and output from
4270such a program is covered only if its contents constitute a work based
4271on the Library (independent of the use of the Library in a tool for
4272writing it). Whether that is true depends on what the Library does
4273and what the program that uses the Library does.
4274
4275 1. You may copy and distribute verbatim copies of the Library's
4276complete source code as you receive it, in any medium, provided that
4277you conspicuously and appropriately publish on each copy an
4278appropriate copyright notice and disclaimer of warranty; keep intact
4279all the notices that refer to this License and to the absence of any
4280warranty; and distribute a copy of this License along with the
4281Library.
4282
4283 You may charge a fee for the physical act of transferring a copy,
4284and you may at your option offer warranty protection in exchange for a
4285fee.
4286
4287 2. You may modify your copy or copies of the Library or any portion
4288of it, thus forming a work based on the Library, and copy and
4289distribute such modifications or work under the terms of Section 1
4290above, provided that you also meet all of these conditions:
4291
4292 a) The modified work must itself be a software library.
4293
4294 b) You must cause the files modified to carry prominent notices
4295 stating that you changed the files and the date of any change.
4296
4297 c) You must cause the whole of the work to be licensed at no
4298 charge to all third parties under the terms of this License.
4299
4300 d) If a facility in the modified Library refers to a function or a
4301 table of data to be supplied by an application program that uses
4302 the facility, other than as an argument passed when the facility
4303 is invoked, then you must make a good faith effort to ensure that,
4304 in the event an application does not supply such function or
4305 table, the facility still operates, and performs whatever part of
4306 its purpose remains meaningful.
4307
4308 (For example, a function in a library to compute square roots has
4309 a purpose that is entirely well-defined independent of the
4310 application. Therefore, Subsection 2d requires that any
4311 application-supplied function or table used by this function must
4312 be optional: if the application does not supply it, the square
4313 root function must still compute square roots.)
4314
4315These requirements apply to the modified work as a whole. If
4316identifiable sections of that work are not derived from the Library,
4317and can be reasonably considered independent and separate works in
4318themselves, then this License, and its terms, do not apply to those
4319sections when you distribute them as separate works. But when you
4320distribute the same sections as part of a whole which is a work based
4321on the Library, the distribution of the whole must be on the terms of
4322this License, whose permissions for other licensees extend to the
4323entire whole, and thus to each and every part regardless of who wrote
4324it.
4325
4326Thus, it is not the intent of this section to claim rights or contest
4327your rights to work written entirely by you; rather, the intent is to
4328exercise the right to control the distribution of derivative or
4329collective works based on the Library.
4330
4331In addition, mere aggregation of another work not based on the Library
4332with the Library (or with a work based on the Library) on a volume of
4333a storage or distribution medium does not bring the other work under
4334the scope of this License.
4335
4336 3. You may opt to apply the terms of the ordinary GNU General Public
4337License instead of this License to a given copy of the Library. To do
4338this, you must alter all the notices that refer to this License, so
4339that they refer to the ordinary GNU General Public License, version 2,
4340instead of to this License. (If a newer version than version 2 of the
4341ordinary GNU General Public License has appeared, then you can specify
4342that version instead if you wish.) Do not make any other change in
4343these notices.
4344
4345 Once this change is made in a given copy, it is irreversible for
4346that copy, so the ordinary GNU General Public License applies to all
4347subsequent copies and derivative works made from that copy.
4348
4349 This option is useful when you wish to copy part of the code of
4350the Library into a program that is not a library.
4351
4352 4. You may copy and distribute the Library (or a portion or
4353derivative of it, under Section 2) in object code or executable form
4354under the terms of Sections 1 and 2 above provided that you accompany
4355it with the complete corresponding machine-readable source code, which
4356must be distributed under the terms of Sections 1 and 2 above on a
4357medium customarily used for software interchange.
4358
4359 If distribution of object code is made by offering access to copy
4360from a designated place, then offering equivalent access to copy the
4361source code from the same place satisfies the requirement to
4362distribute the source code, even though third parties are not
4363compelled to copy the source along with the object code.
4364
4365 5. A program that contains no derivative of any portion of the
4366Library, but is designed to work with the Library by being compiled or
4367linked with it, is called a "work that uses the Library". Such a
4368work, in isolation, is not a derivative work of the Library, and
4369therefore falls outside the scope of this License.
4370
4371 However, linking a "work that uses the Library" with the Library
4372creates an executable that is a derivative of the Library (because it
4373contains portions of the Library), rather than a "work that uses the
4374library". The executable is therefore covered by this License.
4375Section 6 states terms for distribution of such executables.
4376
4377 When a "work that uses the Library" uses material from a header file
4378that is part of the Library, the object code for the work may be a
4379derivative work of the Library even though the source code is not.
4380Whether this is true is especially significant if the work can be
4381linked without the Library, or if the work is itself a library. The
4382threshold for this to be true is not precisely defined by law.
4383
4384 If such an object file uses only numerical parameters, data
4385structure layouts and accessors, and small macros and small inline
4386functions (ten lines or less in length), then the use of the object
4387file is unrestricted, regardless of whether it is legally a derivative
4388work. (Executables containing this object code plus portions of the
4389Library will still fall under Section 6.)
4390
4391 Otherwise, if the work is a derivative of the Library, you may
4392distribute the object code for the work under the terms of Section 6.
4393Any executables containing that work also fall under Section 6,
4394whether or not they are linked directly with the Library itself.
4395
4396 6. As an exception to the Sections above, you may also compile or
4397link a "work that uses the Library" with the Library to produce a
4398work containing portions of the Library, and distribute that work
4399under terms of your choice, provided that the terms permit
4400modification of the work for the customer's own use and reverse
4401engineering for debugging such modifications.
4402
4403 You must give prominent notice with each copy of the work that the
4404Library is used in it and that the Library and its use are covered by
4405this License. You must supply a copy of this License. If the work
4406during execution displays copyright notices, you must include the
4407copyright notice for the Library among them, as well as a reference
4408directing the user to the copy of this License. Also, you must do one
4409of these things:
4410
4411 a) Accompany the work with the complete corresponding
4412 machine-readable source code for the Library including whatever
4413 changes were used in the work (which must be distributed under
4414 Sections 1 and 2 above); and, if the work is an executable linked
4415 with the Library, with the complete machine-readable "work that
4416 uses the Library", as object code and/or source code, so that the
4417 user can modify the Library and then relink to produce a modified
4418 executable containing the modified Library. (It is understood
4419 that the user who changes the contents of definitions files in the
4420 Library will not necessarily be able to recompile the application
4421 to use the modified definitions.)
4422
4423 b) Accompany the work with a written offer, valid for at
4424 least three years, to give the same user the materials
4425 specified in Subsection 6a, above, for a charge no more
4426 than the cost of performing this distribution.
4427
4428 c) If distribution of the work is made by offering access to copy
4429 from a designated place, offer equivalent access to copy the above
4430 specified materials from the same place.
4431
4432 d) Verify that the user has already received a copy of these
4433 materials or that you have already sent this user a copy.
4434
4435 For an executable, the required form of the "work that uses the
4436Library" must include any data and utility programs needed for
4437reproducing the executable from it. However, as a special exception,
4438the source code distributed need not include anything that is normally
4439distributed (in either source or binary form) with the major
4440components (compiler, kernel, and so on) of the operating system on
4441which the executable runs, unless that component itself accompanies
4442the executable.
4443
4444 It may happen that this requirement contradicts the license
4445restrictions of other proprietary libraries that do not normally
4446accompany the operating system. Such a contradiction means you cannot
4447use both them and the Library together in an executable that you
4448distribute.
4449
4450 7. You may place library facilities that are a work based on the
4451Library side-by-side in a single library together with other library
4452facilities not covered by this License, and distribute such a combined
4453library, provided that the separate distribution of the work based on
4454the Library and of the other library facilities is otherwise
4455permitted, and provided that you do these two things:
4456
4457 a) Accompany the combined library with a copy of the same work
4458 based on the Library, uncombined with any other library
4459 facilities. This must be distributed under the terms of the
4460 Sections above.
4461
4462 b) Give prominent notice with the combined library of the fact
4463 that part of it is a work based on the Library, and explaining
4464 where to find the accompanying uncombined form of the same work.
4465
4466 8. You may not copy, modify, sublicense, link with, or distribute
4467the Library except as expressly provided under this License. Any
4468attempt otherwise to copy, modify, sublicense, link with, or
4469distribute the Library is void, and will automatically terminate your
4470rights under this License. However, parties who have received copies,
4471or rights, from you under this License will not have their licenses
4472terminated so long as such parties remain in full compliance.
4473
4474 9. You are not required to accept this License, since you have not
4475signed it. However, nothing else grants you permission to modify or
4476distribute the Library or its derivative works. These actions are
4477prohibited by law if you do not accept this License. Therefore, by
4478modifying or distributing the Library (or any work based on the
4479Library), you indicate your acceptance of this License to do so, and
4480all its terms and conditions for copying, distributing or modifying
4481the Library or works based on it.
4482
4483 10. Each time you redistribute the Library (or any work based on the
4484Library), the recipient automatically receives a license from the
4485original licensor to copy, distribute, link with or modify the Library
4486subject to these terms and conditions. You may not impose any further
4487restrictions on the recipients' exercise of the rights granted herein.
4488You are not responsible for enforcing compliance by third parties to
4489this License.
4490
4491 11. If, as a consequence of a court judgment or allegation of patent
4492infringement or for any other reason (not limited to patent issues),
4493conditions are imposed on you (whether by court order, agreement or
4494otherwise) that contradict the conditions of this License, they do not
4495excuse you from the conditions of this License. If you cannot
4496distribute so as to satisfy simultaneously your obligations under this
4497License and any other pertinent obligations, then as a consequence you
4498may not distribute the Library at all. For example, if a patent
4499license would not permit royalty-free redistribution of the Library by
4500all those who receive copies directly or indirectly through you, then
4501the only way you could satisfy both it and this License would be to
4502refrain entirely from distribution of the Library.
4503
4504If any portion of this section is held invalid or unenforceable under any
4505particular circumstance, the balance of the section is intended to apply,
4506and the section as a whole is intended to apply in other circumstances.
4507
4508It is not the purpose of this section to induce you to infringe any
4509patents or other property right claims or to contest validity of any
4510such claims; this section has the sole purpose of protecting the
4511integrity of the free software distribution system which is
4512implemented by public license practices. Many people have made
4513generous contributions to the wide range of software distributed
4514through that system in reliance on consistent application of that
4515system; it is up to the author/donor to decide if he or she is willing
4516to distribute software through any other system and a licensee cannot
4517impose that choice.
4518
4519This section is intended to make thoroughly clear what is believed to
4520be a consequence of the rest of this License.
4521
4522 12. If the distribution and/or use of the Library is restricted in
4523certain countries either by patents or by copyrighted interfaces, the
4524original copyright holder who places the Library under this License may add
4525an explicit geographical distribution limitation excluding those countries,
4526so that distribution is permitted only in or among countries not thus
4527excluded. In such case, this License incorporates the limitation as if
4528written in the body of this License.
4529
4530 13. The Free Software Foundation may publish revised and/or new
4531versions of the Library General Public License from time to time.
4532Such new versions will be similar in spirit to the present version,
4533but may differ in detail to address new problems or concerns.
4534
4535Each version is given a distinguishing version number. If the Library
4536specifies a version number of this License which applies to it and
4537"any later version", you have the option of following the terms and
4538conditions either of that version or of any later version published by
4539the Free Software Foundation. If the Library does not specify a
4540license version number, you may choose any version ever published by
4541the Free Software Foundation.
4542
4543 14. If you wish to incorporate parts of the Library into other free
4544programs whose distribution conditions are incompatible with these,
4545write to the author to ask for permission. For software which is
4546copyrighted by the Free Software Foundation, write to the Free
4547Software Foundation; we sometimes make exceptions for this. Our
4548decision will be guided by the two goals of preserving the free status
4549of all derivatives of our free software and of promoting the sharing
4550and reuse of software generally.
4551
4552 NO WARRANTY
4553
4554 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
4555WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
4556EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
4557OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
4558KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
4559IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4560PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
4561LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
4562THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
4563
4564 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
4565WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
4566AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
4567FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
4568CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
4569LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
4570RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
4571FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
4572SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
4573DAMAGES.
4574
4575 END OF TERMS AND CONDITIONS
4576
4577 How to Apply These Terms to Your New Libraries
4578
4579 If you develop a new library, and you want it to be of the greatest
4580possible use to the public, we recommend making it free software that
4581everyone can redistribute and change. You can do so by permitting
4582redistribution under these terms (or, alternatively, under the terms of the
4583ordinary General Public License).
4584
4585 To apply these terms, attach the following notices to the library. It is
4586safest to attach them to the start of each source file to most effectively
4587convey the exclusion of warranty; and each file should have at least the
4588"copyright" line and a pointer to where the full notice is found.
4589
4590 <one line to give the library's name and a brief idea of what it does.>
4591 Copyright (C) <year> <name of author>
4592
4593 This library is free software; you can redistribute it and/or
4594 modify it under the terms of the GNU Library General Public
4595 License as published by the Free Software Foundation; either
4596 version 2 of the License, or (at your option) any later version.
4597
4598 This library is distributed in the hope that it will be useful,
4599 but WITHOUT ANY WARRANTY; without even the implied warranty of
4600 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4601 Library General Public License for more details.
4602
4603 You should have received a copy of the GNU Library General Public
4604 License along with this library; if not, write to the
4605 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4606 Boston, MA 02111-1307 USA.
4607
4608Also add information on how to contact you by electronic and paper mail.
4609
4610You should also get your employer (if you work as a programmer) or your
4611school, if any, to sign a "copyright disclaimer" for the library, if
4612necessary. Here is a sample; alter the names:
4613
4614 Yoyodyne, Inc., hereby disclaims all copyright interest in the
4615 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
4616
4617 <signature of Ty Coon>, 1 April 1990
4618 Ty Coon, President of Vice
4619
4620That's all there is to it!
4621
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01004622HarfBuzz is licensed under the so-called "Old MIT" license. Details follow.
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +01004623For parts of HarfBuzz that are licensed under different licenses see individual
4624files names COPYING in subdirectories where applicable.
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01004625
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +01004626Copyright © 2010,2011,2012 Google, Inc.
4627Copyright © 2012 Mozilla Foundation
4628Copyright © 2011 Codethink Limited
4629Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies)
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01004630Copyright © 2009 Keith Stribley
4631Copyright © 2009 Martin Hosken and SIL International
4632Copyright © 2007 Chris Wilson
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +01004633Copyright © 2006 Behdad Esfahbod
4634Copyright © 2005 David Turner
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01004635Copyright © 2004,2007,2008,2009,2010 Red Hat, Inc.
4636Copyright © 1998-2004 David Turner and Werner Lemberg
4637
4638For full copyright notices consult the individual files in the package.
4639
4640
4641Permission is hereby granted, without written agreement and without
4642license or royalty fees, to use, copy, modify, and distribute this
4643software and its documentation for any purpose, provided that the
4644above copyright notice and the following two paragraphs appear in
4645all copies of this software.
4646
4647IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
4648DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
4649ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
4650IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
4651DAMAGE.
4652
4653THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
4654BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
4655FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
4656ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
4657PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
4658
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004659GPL 2.0/LGPL 2.1/MPL 1.1 tri-license
4660
4661The contents of this software may be used under the terms of
4662the GNU General Public License Version 2 or later (the "GPL"), or
4663the GNU Lesser General Public License Version 2.1 or later (the "LGPL",
4664see COPYING.LGPL) or the Mozilla Public License Version 1.1 or later
4665(the "MPL", see COPYING.MPL).
4666
4667The Plain TeX hyphenation tables "hyphen.tex" by Donald E. Knuth
4668has a non MPL/LGPL compatible license, but freely redistributable:
4669"Unlimited copying and redistribution of this file are permitted as long
4670as this file is not modified. Modifications are permitted, but only if
4671the resulting file is not named hyphen.tex."
4672
4673Software distributed under these licenses is distributed on an "AS IS" basis,
4674WITHOUT WARRANTY OF ANY KIND, either express or implied. See the licences
4675for the specific language governing rights and limitations under the licenses.
4676
4677/*************************************************************************
4678 *
4679 * IAccessible2 IDL Specification
4680 *
4681 * Copyright (c) 2007, 2010 Linux Foundation
4682 * Copyright (c) 2006 IBM Corporation
4683 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
4684 * All rights reserved.
4685 *
4686 *
4687 * Redistribution and use in source and binary forms, with or without
4688 * modification, are permitted provided that the following conditions
4689 * are met:
4690 *
4691 * 1. Redistributions of source code must retain the above copyright
4692 * notice, this list of conditions and the following disclaimer.
4693 *
4694 * 2. Redistributions in binary form must reproduce the above
4695 * copyright notice, this list of conditions and the following
4696 * disclaimer in the documentation and/or other materials
4697 * provided with the distribution.
4698 *
4699 * 3. Neither the name of the Linux Foundation nor the names of its
4700 * contributors may be used to endorse or promote products
4701 * derived from this software without specific prior written
4702 * permission.
4703 *
4704 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
4705 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
4706 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
4707 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4708 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4709 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4710 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4711 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
4712 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4713 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
4714 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
4715 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4716 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4717 *
4718 * This BSD License conforms to the Open Source Initiative "Simplified
4719 * BSD License" as published at:
4720 * http://www.opensource.org/licenses/bsd-license.php
4721 *
4722 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
4723 * mark may be used in accordance with the Linux Foundation Trademark
4724 * Policy to indicate compliance with the IAccessible2 specification.
4725 *
4726 ************************************************************************/
4727
4728LICENSE extracted from IJG's jpeg distribution:
4729-----------------------------------------------
4730
4731In plain English:
4732
47331. We don't promise that this software works. (But if you find any bugs,
4734 please let us know!)
47352. You can use this software for whatever you want. You don't have to pay us.
47363. You may not pretend that you wrote this software. If you use it in a
4737 program, you must acknowledge somewhere in your documentation that
4738 you've used the IJG code.
4739
4740In legalese:
4741
4742The authors make NO WARRANTY or representation, either express or implied,
4743with respect to this software, its quality, accuracy, merchantability, or
4744fitness for a particular purpose. This software is provided "AS IS", and you,
4745its user, assume the entire risk as to its quality and accuracy.
4746
4747This software is copyright (C) 1991-1998, Thomas G. Lane.
4748All Rights Reserved except as specified below.
4749
4750Permission is hereby granted to use, copy, modify, and distribute this
4751software (or portions thereof) for any purpose, without fee, subject to these
4752conditions:
4753(1) If any part of the source code for this software is distributed, then this
4754README file must be included, with this copyright and no-warranty notice
4755unaltered; and any additions, deletions, or changes to the original files
4756must be clearly indicated in accompanying documentation.
4757(2) If only executable code is distributed, then the accompanying
4758documentation must state that "this software is based in part on the work of
4759the Independent JPEG Group".
4760(3) Permission for use of this software is granted only if the user accepts
4761full responsibility for any undesirable consequences; the authors accept
4762NO LIABILITY for damages of any kind.
4763
4764These conditions apply to any software derived from or based on the IJG code,
4765not just to the unmodified library. If you use our work, you ought to
4766acknowledge us.
4767
4768Permission is NOT granted for the use of any IJG author's name or company name
4769in advertising or publicity relating to this software or products derived from
4770it. This software may be referred to only as "the Independent JPEG Group's
4771software".
4772
4773We specifically permit and encourage the use of this software as the basis of
4774commercial products, provided that all warranty or liability claims are
4775assumed by the product vendor.
4776
4777
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004778ICU License - ICU 1.8.1 and later
4779
4780COPYRIGHT AND PERMISSION NOTICE
4781
4782Copyright (c) 1995-2010 International Business Machines Corporation and others
4783
4784All rights reserved.
4785
4786Permission is hereby granted, free of charge, to any person obtaining a copy
4787of this software and associated documentation files (the "Software"),
4788to deal in the Software without restriction, including without limitation
4789the rights to use, copy, modify, merge, publish, distribute, and/or sell
4790copies of the Software, and to permit persons
4791to whom the Software is furnished to do so, provided that the above
4792copyright notice(s) and this permission notice appear in all copies
4793of the Software and that both the above copyright notice(s) and this
4794permission notice appear in supporting documentation.
4795
4796THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
4797INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
4798PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL
4799THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM,
4800OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
4801RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4802NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
4803USE OR PERFORMANCE OF THIS SOFTWARE.
4804
4805Except as contained in this notice, the name of a copyright holder shall not be
4806used in advertising or otherwise to promote the sale, use or other dealings in
4807this Software without prior written authorization of the copyright holder.
4808
4809All trademarks and registered trademarks mentioned herein are the property of their respective owners.
4810
4811/* ***** BEGIN LICENSE BLOCK *****
4812 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4813 *
4814 * The contents of this file are subject to the Mozilla Public License Version
4815 * 1.1 (the "License"); you may not use this file except in compliance with
4816 * the License. You may obtain a copy of the License at
4817 * http://www.mozilla.org/MPL/
4818 *
4819 * Software distributed under the License is distributed on an "AS IS" basis,
4820 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
4821 * for the specific language governing rights and limitations under the
4822 * License.
4823 *
4824 * The Original Code is mozilla.org code.
4825 *
4826 * The Initial Developer of the Original Code is
4827 * Netscape Communications Corporation.
4828 * Portions created by the Initial Developer are Copyright (C) 2002
4829 * the Initial Developer. All Rights Reserved.
4830 *
4831 * Contributor(s):
4832 *
4833 * Alternatively, the contents of this file may be used under the terms of
4834 * either the GNU General Public License Version 2 or later (the "GPL"), or
4835 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
4836 * in which case the provisions of the GPL or the LGPL are applicable instead
4837 * of those above. If you wish to allow use of your version of this file only
4838 * under the terms of either the GPL or the LGPL, and not to allow others to
4839 * use your version of this file under the terms of the MPL, indicate your
4840 * decision by deleting the provisions above and replace them with the notice
4841 * and other provisions required by the GPL or the LGPL. If you do not delete
4842 * the provisions above, a recipient may use your version of this file under
4843 * the terms of any one of the MPL, the GPL or the LGPL.
4844 *
4845 * ***** END LICENSE BLOCK ***** */
4846
4847The following is the license for the jemalloc source code, as provided
4848in the initial section of the source files.
4849
4850Copyright (C) 2006-2008 Jason Evans <jasone@FreeBSD.org>.
4851All rights reserved.
4852
4853Redistribution and use in source and binary forms, with or without
4854modification, are permitted provided that the following conditions
4855are met:
48561. Redistributions of source code must retain the above copyright
4857 notice(s), this list of conditions and the following disclaimer as
4858 the first lines of this file unmodified other than the possible
4859 addition of one or more copyright notices.
48602. Redistributions in binary form must reproduce the above copyright
4861 notice(s), this list of conditions and the following disclaimer in
4862 the documentation and/or other materials provided with the
4863 distribution.
4864
4865THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
4866EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4867IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4868PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE
4869LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
4870CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
4871SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
4872BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
4873WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
4874OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4875EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4876
4877
4878The JsonCpp library's source code, including accompanying documentation,
4879tests and demonstration applications, are licensed under the following
4880conditions...
4881
4882The author (Baptiste Lepilleur) explicitly disclaims copyright in all
4883jurisdictions which recognize such a disclaimer. In such jurisdictions,
4884this software is released into the Public Domain.
4885
4886In jurisdictions which do not recognize Public Domain property (e.g. Germany as of
48872010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is
4888released under the terms of the MIT License (see below).
4889
4890In jurisdictions which recognize Public Domain property, the user of this
4891software may choose to accept it either as 1) Public Domain, 2) under the
4892conditions of the MIT License (see below), or 3) under the terms of dual
4893Public Domain/MIT License conditions described here, as they choose.
4894
4895The MIT License is about as close to Public Domain as a license can get, and is
4896described in clear, concise terms at:
4897
4898 http://en.wikipedia.org/wiki/MIT_License
4899
4900The full text of the MIT License follows:
4901
4902========================================================================
4903Copyright (c) 2007-2010 Baptiste Lepilleur
4904
4905Permission is hereby granted, free of charge, to any person
4906obtaining a copy of this software and associated documentation
4907files (the "Software"), to deal in the Software without
4908restriction, including without limitation the rights to use, copy,
4909modify, merge, publish, distribute, sublicense, and/or sell copies
4910of the Software, and to permit persons to whom the Software is
4911furnished to do so, subject to the following conditions:
4912
4913The above copyright notice and this permission notice shall be
4914included in all copies or substantial portions of the Software.
4915
4916THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
4917EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4918MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4919NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
4920BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
4921ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
4922CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4923SOFTWARE.
4924========================================================================
4925(END LICENSE TEXT)
4926
4927The MIT license is compatible with both the GPL and commercial
4928software, affording one all of the rights of Public Domain with the
4929minor nuisance of being required to keep the above copyright notice
4930and license text in the source code. Note also that by accepting the
4931Public Domain "license" you can re-license your copy using whatever
4932license you like.
4933
Torne (Richard Coles)58218062012-11-14 11:43:16 +00004934
4935 Apache License
4936 Version 2.0, January 2004
4937 http://www.apache.org/licenses/
4938
4939 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
4940
4941 1. Definitions.
4942
4943 "License" shall mean the terms and conditions for use, reproduction,
4944 and distribution as defined by Sections 1 through 9 of this document.
4945
4946 "Licensor" shall mean the copyright owner or entity authorized by
4947 the copyright owner that is granting the License.
4948
4949 "Legal Entity" shall mean the union of the acting entity and all
4950 other entities that control, are controlled by, or are under common
4951 control with that entity. For the purposes of this definition,
4952 "control" means (i) the power, direct or indirect, to cause the
4953 direction or management of such entity, whether by contract or
4954 otherwise, or (ii) ownership of fifty percent (50%) or more of the
4955 outstanding shares, or (iii) beneficial ownership of such entity.
4956
4957 "You" (or "Your") shall mean an individual or Legal Entity
4958 exercising permissions granted by this License.
4959
4960 "Source" form shall mean the preferred form for making modifications,
4961 including but not limited to software source code, documentation
4962 source, and configuration files.
4963
4964 "Object" form shall mean any form resulting from mechanical
4965 transformation or translation of a Source form, including but
4966 not limited to compiled object code, generated documentation,
4967 and conversions to other media types.
4968
4969 "Work" shall mean the work of authorship, whether in Source or
4970 Object form, made available under the License, as indicated by a
4971 copyright notice that is included in or attached to the work
4972 (an example is provided in the Appendix below).
4973
4974 "Derivative Works" shall mean any work, whether in Source or Object
4975 form, that is based on (or derived from) the Work and for which the
4976 editorial revisions, annotations, elaborations, or other modifications
4977 represent, as a whole, an original work of authorship. For the purposes
4978 of this License, Derivative Works shall not include works that remain
4979 separable from, or merely link (or bind by name) to the interfaces of,
4980 the Work and Derivative Works thereof.
4981
4982 "Contribution" shall mean any work of authorship, including
4983 the original version of the Work and any modifications or additions
4984 to that Work or Derivative Works thereof, that is intentionally
4985 submitted to Licensor for inclusion in the Work by the copyright owner
4986 or by an individual or Legal Entity authorized to submit on behalf of
4987 the copyright owner. For the purposes of this definition, "submitted"
4988 means any form of electronic, verbal, or written communication sent
4989 to the Licensor or its representatives, including but not limited to
4990 communication on electronic mailing lists, source code control systems,
4991 and issue tracking systems that are managed by, or on behalf of, the
4992 Licensor for the purpose of discussing and improving the Work, but
4993 excluding communication that is conspicuously marked or otherwise
4994 designated in writing by the copyright owner as "Not a Contribution."
4995
4996 "Contributor" shall mean Licensor and any individual or Legal Entity
4997 on behalf of whom a Contribution has been received by Licensor and
4998 subsequently incorporated within the Work.
4999
5000 2. Grant of Copyright License. Subject to the terms and conditions of
5001 this License, each Contributor hereby grants to You a perpetual,
5002 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
5003 copyright license to reproduce, prepare Derivative Works of,
5004 publicly display, publicly perform, sublicense, and distribute the
5005 Work and such Derivative Works in Source or Object form.
5006
5007 3. Grant of Patent License. Subject to the terms and conditions of
5008 this License, each Contributor hereby grants to You a perpetual,
5009 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
5010 (except as stated in this section) patent license to make, have made,
5011 use, offer to sell, sell, import, and otherwise transfer the Work,
5012 where such license applies only to those patent claims licensable
5013 by such Contributor that are necessarily infringed by their
5014 Contribution(s) alone or by combination of their Contribution(s)
5015 with the Work to which such Contribution(s) was submitted. If You
5016 institute patent litigation against any entity (including a
5017 cross-claim or counterclaim in a lawsuit) alleging that the Work
5018 or a Contribution incorporated within the Work constitutes direct
5019 or contributory patent infringement, then any patent licenses
5020 granted to You under this License for that Work shall terminate
5021 as of the date such litigation is filed.
5022
5023 4. Redistribution. You may reproduce and distribute copies of the
5024 Work or Derivative Works thereof in any medium, with or without
5025 modifications, and in Source or Object form, provided that You
5026 meet the following conditions:
5027
5028 (a) You must give any other recipients of the Work or
5029 Derivative Works a copy of this License; and
5030
5031 (b) You must cause any modified files to carry prominent notices
5032 stating that You changed the files; and
5033
5034 (c) You must retain, in the Source form of any Derivative Works
5035 that You distribute, all copyright, patent, trademark, and
5036 attribution notices from the Source form of the Work,
5037 excluding those notices that do not pertain to any part of
5038 the Derivative Works; and
5039
5040 (d) If the Work includes a "NOTICE" text file as part of its
5041 distribution, then any Derivative Works that You distribute must
5042 include a readable copy of the attribution notices contained
5043 within such NOTICE file, excluding those notices that do not
5044 pertain to any part of the Derivative Works, in at least one
5045 of the following places: within a NOTICE text file distributed
5046 as part of the Derivative Works; within the Source form or
5047 documentation, if provided along with the Derivative Works; or,
5048 within a display generated by the Derivative Works, if and
5049 wherever such third-party notices normally appear. The contents
5050 of the NOTICE file are for informational purposes only and
5051 do not modify the License. You may add Your own attribution
5052 notices within Derivative Works that You distribute, alongside
5053 or as an addendum to the NOTICE text from the Work, provided
5054 that such additional attribution notices cannot be construed
5055 as modifying the License.
5056
5057 You may add Your own copyright statement to Your modifications and
5058 may provide additional or different license terms and conditions
5059 for use, reproduction, or distribution of Your modifications, or
5060 for any such Derivative Works as a whole, provided Your use,
5061 reproduction, and distribution of the Work otherwise complies with
5062 the conditions stated in this License.
5063
5064 5. Submission of Contributions. Unless You explicitly state otherwise,
5065 any Contribution intentionally submitted for inclusion in the Work
5066 by You to the Licensor shall be under the terms and conditions of
5067 this License, without any additional terms or conditions.
5068 Notwithstanding the above, nothing herein shall supersede or modify
5069 the terms of any separate license agreement you may have executed
5070 with Licensor regarding such Contributions.
5071
5072 6. Trademarks. This License does not grant permission to use the trade
5073 names, trademarks, service marks, or product names of the Licensor,
5074 except as required for reasonable and customary use in describing the
5075 origin of the Work and reproducing the content of the NOTICE file.
5076
5077 7. Disclaimer of Warranty. Unless required by applicable law or
5078 agreed to in writing, Licensor provides the Work (and each
5079 Contributor provides its Contributions) on an "AS IS" BASIS,
5080 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
5081 implied, including, without limitation, any warranties or conditions
5082 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
5083 PARTICULAR PURPOSE. You are solely responsible for determining the
5084 appropriateness of using or redistributing the Work and assume any
5085 risks associated with Your exercise of permissions under this License.
5086
5087 8. Limitation of Liability. In no event and under no legal theory,
5088 whether in tort (including negligence), contract, or otherwise,
5089 unless required by applicable law (such as deliberate and grossly
5090 negligent acts) or agreed to in writing, shall any Contributor be
5091 liable to You for damages, including any direct, indirect, special,
5092 incidental, or consequential damages of any character arising as a
5093 result of this License or out of the use or inability to use the
5094 Work (including but not limited to damages for loss of goodwill,
5095 work stoppage, computer failure or malfunction, or any and all
5096 other commercial damages or losses), even if such Contributor
5097 has been advised of the possibility of such damages.
5098
5099 9. Accepting Warranty or Additional Liability. While redistributing
5100 the Work or Derivative Works thereof, You may choose to offer,
5101 and charge a fee for, acceptance of support, warranty, indemnity,
5102 or other liability obligations and/or rights consistent with this
5103 License. However, in accepting such obligations, You may act only
5104 on Your own behalf and on Your sole responsibility, not on behalf
5105 of any other Contributor, and only if You agree to indemnify,
5106 defend, and hold each Contributor harmless for any liability
5107 incurred by, or claims asserted against, such Contributor by reason
5108 of your accepting any such warranty or additional liability.
5109
5110 END OF TERMS AND CONDITIONS
5111
5112 APPENDIX: How to apply the Apache License to your work.
5113
5114 To apply the Apache License to your work, attach the following
5115 boilerplate notice, with the fields enclosed by brackets "[]"
5116 replaced with your own identifying information. (Don't include
5117 the brackets!) The text should be enclosed in the appropriate
5118 comment syntax for the file format. We also recommend that a
5119 file or class name and description of purpose be included on the
5120 same "printed page" as the copyright notice for easier
5121 identification within third-party archives.
5122
5123 Copyright [yyyy] [name of copyright owner]
5124
5125 Licensed under the Apache License, Version 2.0 (the "License");
5126 you may not use this file except in compliance with the License.
5127 You may obtain a copy of the License at
5128
5129 http://www.apache.org/licenses/LICENSE-2.0
5130
5131 Unless required by applicable law or agreed to in writing, software
5132 distributed under the License is distributed on an "AS IS" BASIS,
5133 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5134 See the License for the specific language governing permissions and
5135 limitations under the License.
5136
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005137Copyright (c) 2007-2010 The Khronos Group Inc.
5138
5139Permission is hereby granted, free of charge, to any person obtaining a
5140copy of this software and/or associated documentation files (the
5141"Materials"), to deal in the Materials without restriction, including
5142without limitation the rights to use, copy, modify, merge, publish,
5143distribute, sublicense, and/or sell copies of the Materials, and to
5144permit persons to whom the Materials are furnished to do so, subject to
5145the following conditions:
5146
5147The above copyright notice and this permission notice shall be included
5148in all copies or substantial portions of the Materials.
5149
5150THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
5151EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
5152MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
5153IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
5154CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
5155TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
5156MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
5157
5158
5159SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
5160
5161Copyright (C) 1992 Silicon Graphics, Inc. All Rights Reserved.
5162
5163Permission is hereby granted, free of charge, to any person obtaining a copy of
5164this software and associated documentation files (the "Software"), to deal in
5165the Software without restriction, including without limitation the rights to
5166use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
5167of the Software, and to permit persons to whom the Software is furnished to do
5168so, subject to the following conditions:
5169
5170The above copyright notice including the dates of first publication and either
5171this permission notice or a reference to http://oss.sgi.com/projects/FreeB/
5172shall be included in all copies or substantial portions of the Software.
5173
5174THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5175IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5176FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SILICON
5177GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
5178AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
5179WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5180
5181Except as contained in this notice, the name of Silicon Graphics, Inc. shall
5182not be used in advertising or otherwise to promote the sale, use or other
5183dealings in this Software without prior written authorization from Silicon
5184Graphics, Inc.
5185
5186Redistribution and use in source and binary forms, with or without
5187modification, are permitted provided that the following conditions are
5188met:
5189
5190 * Redistributions of source code must retain the above copyright
5191 notice, this list of conditions and the following disclaimer.
5192
5193 * Redistributions in binary form must reproduce the above
5194 copyright notice, this list of conditions and the following
5195 disclaimer in the documentation and/or other materials provided
5196 with the distribution.
5197
5198 * Neither the name of the copyright holders nor the names of its
5199 contributors may be used to endorse or promote products derived
5200 from this software without specific prior written permission.
5201
5202THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
5203"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5204LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
5205A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
5206HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5207SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
5208LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5209DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5210THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5211(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5212OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5213
5214License copied from bin/lcov:
5215
5216#
5217# Copyright (c) International Business Machines Corp., 2002,2007
5218#
5219# This program is free software; you can redistribute it and/or modify
5220# it under the terms of the GNU General Public License as published by
5221# the Free Software Foundation; either version 2 of the License, or (at
5222# your option) any later version.
5223#
5224# This program is distributed in the hope that it will be useful, but
5225# WITHOUT ANY WARRANTY; without even the implied warranty of
5226# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5227# General Public License for more details.
5228#
5229# You should have received a copy of the GNU General Public License
5230# along with this program; if not, write to the Free Software
5231# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
5232
5233 GNU GENERAL PUBLIC LICENSE
5234 Version 2, June 1991
5235
5236 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5237 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5238 Everyone is permitted to copy and distribute verbatim copies
5239 of this license document, but changing it is not allowed.
5240
5241 Preamble
5242
5243 The licenses for most software are designed to take away your
5244freedom to share and change it. By contrast, the GNU General Public
5245License is intended to guarantee your freedom to share and change free
5246software--to make sure the software is free for all its users. This
5247General Public License applies to most of the Free Software
5248Foundation's software and to any other program whose authors commit to
5249using it. (Some other Free Software Foundation software is covered by
5250the GNU Lesser General Public License instead.) You can apply it to
5251your programs, too.
5252
5253 When we speak of free software, we are referring to freedom, not
5254price. Our General Public Licenses are designed to make sure that you
5255have the freedom to distribute copies of free software (and charge for
5256this service if you wish), that you receive source code or can get it
5257if you want it, that you can change the software or use pieces of it
5258in new free programs; and that you know you can do these things.
5259
5260 To protect your rights, we need to make restrictions that forbid
5261anyone to deny you these rights or to ask you to surrender the rights.
5262These restrictions translate to certain responsibilities for you if you
5263distribute copies of the software, or if you modify it.
5264
5265 For example, if you distribute copies of such a program, whether
5266gratis or for a fee, you must give the recipients all the rights that
5267you have. You must make sure that they, too, receive or can get the
5268source code. And you must show them these terms so they know their
5269rights.
5270
5271 We protect your rights with two steps: (1) copyright the software, and
5272(2) offer you this license which gives you legal permission to copy,
5273distribute and/or modify the software.
5274
5275 Also, for each author's protection and ours, we want to make certain
5276that everyone understands that there is no warranty for this free
5277software. If the software is modified by someone else and passed on, we
5278want its recipients to know that what they have is not the original, so
5279that any problems introduced by others will not reflect on the original
5280authors' reputations.
5281
5282 Finally, any free program is threatened constantly by software
5283patents. We wish to avoid the danger that redistributors of a free
5284program will individually obtain patent licenses, in effect making the
5285program proprietary. To prevent this, we have made it clear that any
5286patent must be licensed for everyone's free use or not licensed at all.
5287
5288 The precise terms and conditions for copying, distribution and
5289modification follow.
5290
5291 GNU GENERAL PUBLIC LICENSE
5292 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
5293
5294 0. This License applies to any program or other work which contains
5295a notice placed by the copyright holder saying it may be distributed
5296under the terms of this General Public License. The "Program", below,
5297refers to any such program or work, and a "work based on the Program"
5298means either the Program or any derivative work under copyright law:
5299that is to say, a work containing the Program or a portion of it,
5300either verbatim or with modifications and/or translated into another
5301language. (Hereinafter, translation is included without limitation in
5302the term "modification".) Each licensee is addressed as "you".
5303
5304Activities other than copying, distribution and modification are not
5305covered by this License; they are outside its scope. The act of
5306running the Program is not restricted, and the output from the Program
5307is covered only if its contents constitute a work based on the
5308Program (independent of having been made by running the Program).
5309Whether that is true depends on what the Program does.
5310
5311 1. You may copy and distribute verbatim copies of the Program's
5312source code as you receive it, in any medium, provided that you
5313conspicuously and appropriately publish on each copy an appropriate
5314copyright notice and disclaimer of warranty; keep intact all the
5315notices that refer to this License and to the absence of any warranty;
5316and give any other recipients of the Program a copy of this License
5317along with the Program.
5318
5319You may charge a fee for the physical act of transferring a copy, and
5320you may at your option offer warranty protection in exchange for a fee.
5321
5322 2. You may modify your copy or copies of the Program or any portion
5323of it, thus forming a work based on the Program, and copy and
5324distribute such modifications or work under the terms of Section 1
5325above, provided that you also meet all of these conditions:
5326
5327 a) You must cause the modified files to carry prominent notices
5328 stating that you changed the files and the date of any change.
5329
5330 b) You must cause any work that you distribute or publish, that in
5331 whole or in part contains or is derived from the Program or any
5332 part thereof, to be licensed as a whole at no charge to all third
5333 parties under the terms of this License.
5334
5335 c) If the modified program normally reads commands interactively
5336 when run, you must cause it, when started running for such
5337 interactive use in the most ordinary way, to print or display an
5338 announcement including an appropriate copyright notice and a
5339 notice that there is no warranty (or else, saying that you provide
5340 a warranty) and that users may redistribute the program under
5341 these conditions, and telling the user how to view a copy of this
5342 License. (Exception: if the Program itself is interactive but
5343 does not normally print such an announcement, your work based on
5344 the Program is not required to print an announcement.)
5345
5346These requirements apply to the modified work as a whole. If
5347identifiable sections of that work are not derived from the Program,
5348and can be reasonably considered independent and separate works in
5349themselves, then this License, and its terms, do not apply to those
5350sections when you distribute them as separate works. But when you
5351distribute the same sections as part of a whole which is a work based
5352on the Program, the distribution of the whole must be on the terms of
5353this License, whose permissions for other licensees extend to the
5354entire whole, and thus to each and every part regardless of who wrote it.
5355
5356Thus, it is not the intent of this section to claim rights or contest
5357your rights to work written entirely by you; rather, the intent is to
5358exercise the right to control the distribution of derivative or
5359collective works based on the Program.
5360
5361In addition, mere aggregation of another work not based on the Program
5362with the Program (or with a work based on the Program) on a volume of
5363a storage or distribution medium does not bring the other work under
5364the scope of this License.
5365
5366 3. You may copy and distribute the Program (or a work based on it,
5367under Section 2) in object code or executable form under the terms of
5368Sections 1 and 2 above provided that you also do one of the following:
5369
5370 a) Accompany it with the complete corresponding machine-readable
5371 source code, which must be distributed under the terms of Sections
5372 1 and 2 above on a medium customarily used for software interchange; or,
5373
5374 b) Accompany it with a written offer, valid for at least three
5375 years, to give any third party, for a charge no more than your
5376 cost of physically performing source distribution, a complete
5377 machine-readable copy of the corresponding source code, to be
5378 distributed under the terms of Sections 1 and 2 above on a medium
5379 customarily used for software interchange; or,
5380
5381 c) Accompany it with the information you received as to the offer
5382 to distribute corresponding source code. (This alternative is
5383 allowed only for noncommercial distribution and only if you
5384 received the program in object code or executable form with such
5385 an offer, in accord with Subsection b above.)
5386
5387The source code for a work means the preferred form of the work for
5388making modifications to it. For an executable work, complete source
5389code means all the source code for all modules it contains, plus any
5390associated interface definition files, plus the scripts used to
5391control compilation and installation of the executable. However, as a
5392special exception, the source code distributed need not include
5393anything that is normally distributed (in either source or binary
5394form) with the major components (compiler, kernel, and so on) of the
5395operating system on which the executable runs, unless that component
5396itself accompanies the executable.
5397
5398If distribution of executable or object code is made by offering
5399access to copy from a designated place, then offering equivalent
5400access to copy the source code from the same place counts as
5401distribution of the source code, even though third parties are not
5402compelled to copy the source along with the object code.
5403
5404 4. You may not copy, modify, sublicense, or distribute the Program
5405except as expressly provided under this License. Any attempt
5406otherwise to copy, modify, sublicense or distribute the Program is
5407void, and will automatically terminate your rights under this License.
5408However, parties who have received copies, or rights, from you under
5409this License will not have their licenses terminated so long as such
5410parties remain in full compliance.
5411
5412 5. You are not required to accept this License, since you have not
5413signed it. However, nothing else grants you permission to modify or
5414distribute the Program or its derivative works. These actions are
5415prohibited by law if you do not accept this License. Therefore, by
5416modifying or distributing the Program (or any work based on the
5417Program), you indicate your acceptance of this License to do so, and
5418all its terms and conditions for copying, distributing or modifying
5419the Program or works based on it.
5420
5421 6. Each time you redistribute the Program (or any work based on the
5422Program), the recipient automatically receives a license from the
5423original licensor to copy, distribute or modify the Program subject to
5424these terms and conditions. You may not impose any further
5425restrictions on the recipients' exercise of the rights granted herein.
5426You are not responsible for enforcing compliance by third parties to
5427this License.
5428
5429 7. If, as a consequence of a court judgment or allegation of patent
5430infringement or for any other reason (not limited to patent issues),
5431conditions are imposed on you (whether by court order, agreement or
5432otherwise) that contradict the conditions of this License, they do not
5433excuse you from the conditions of this License. If you cannot
5434distribute so as to satisfy simultaneously your obligations under this
5435License and any other pertinent obligations, then as a consequence you
5436may not distribute the Program at all. For example, if a patent
5437license would not permit royalty-free redistribution of the Program by
5438all those who receive copies directly or indirectly through you, then
5439the only way you could satisfy both it and this License would be to
5440refrain entirely from distribution of the Program.
5441
5442If any portion of this section is held invalid or unenforceable under
5443any particular circumstance, the balance of the section is intended to
5444apply and the section as a whole is intended to apply in other
5445circumstances.
5446
5447It is not the purpose of this section to induce you to infringe any
5448patents or other property right claims or to contest validity of any
5449such claims; this section has the sole purpose of protecting the
5450integrity of the free software distribution system, which is
5451implemented by public license practices. Many people have made
5452generous contributions to the wide range of software distributed
5453through that system in reliance on consistent application of that
5454system; it is up to the author/donor to decide if he or she is willing
5455to distribute software through any other system and a licensee cannot
5456impose that choice.
5457
5458This section is intended to make thoroughly clear what is believed to
5459be a consequence of the rest of this License.
5460
5461 8. If the distribution and/or use of the Program is restricted in
5462certain countries either by patents or by copyrighted interfaces, the
5463original copyright holder who places the Program under this License
5464may add an explicit geographical distribution limitation excluding
5465those countries, so that distribution is permitted only in or among
5466countries not thus excluded. In such case, this License incorporates
5467the limitation as if written in the body of this License.
5468
5469 9. The Free Software Foundation may publish revised and/or new versions
5470of the General Public License from time to time. Such new versions will
5471be similar in spirit to the present version, but may differ in detail to
5472address new problems or concerns.
5473
5474Each version is given a distinguishing version number. If the Program
5475specifies a version number of this License which applies to it and "any
5476later version", you have the option of following the terms and conditions
5477either of that version or of any later version published by the Free
5478Software Foundation. If the Program does not specify a version number of
5479this License, you may choose any version ever published by the Free Software
5480Foundation.
5481
5482 10. If you wish to incorporate parts of the Program into other free
5483programs whose distribution conditions are different, write to the author
5484to ask for permission. For software which is copyrighted by the Free
5485Software Foundation, write to the Free Software Foundation; we sometimes
5486make exceptions for this. Our decision will be guided by the two goals
5487of preserving the free status of all derivatives of our free software and
5488of promoting the sharing and reuse of software generally.
5489
5490 NO WARRANTY
5491
5492 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
5493FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
5494OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
5495PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
5496OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
5497MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
5498TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
5499PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
5500REPAIR OR CORRECTION.
5501
5502 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
5503WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
5504REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
5505INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
5506OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
5507TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
5508YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
5509PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
5510POSSIBILITY OF SUCH DAMAGES.
5511
5512 END OF TERMS AND CONDITIONS
5513
5514 How to Apply These Terms to Your New Programs
5515
5516 If you develop a new program, and you want it to be of the greatest
5517possible use to the public, the best way to achieve this is to make it
5518free software which everyone can redistribute and change under these terms.
5519
5520 To do so, attach the following notices to the program. It is safest
5521to attach them to the start of each source file to most effectively
5522convey the exclusion of warranty; and each file should have at least
5523the "copyright" line and a pointer to where the full notice is found.
5524
5525 <one line to give the program's name and a brief idea of what it does.>
5526 Copyright (C) <year> <name of author>
5527
5528 This program is free software; you can redistribute it and/or modify
5529 it under the terms of the GNU General Public License as published by
5530 the Free Software Foundation; either version 2 of the License, or
5531 (at your option) any later version.
5532
5533 This program is distributed in the hope that it will be useful,
5534 but WITHOUT ANY WARRANTY; without even the implied warranty of
5535 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5536 GNU General Public License for more details.
5537
5538 You should have received a copy of the GNU General Public License along
5539 with this program; if not, write to the Free Software Foundation, Inc.,
5540 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5541
5542Also add information on how to contact you by electronic and paper mail.
5543
5544If the program is interactive, make it output a short notice like this
5545when it starts in an interactive mode:
5546
5547 Gnomovision version 69, Copyright (C) year name of author
5548 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
5549 This is free software, and you are welcome to redistribute it
5550 under certain conditions; type `show c' for details.
5551
5552The hypothetical commands `show w' and `show c' should show the appropriate
5553parts of the General Public License. Of course, the commands you use may
5554be called something other than `show w' and `show c'; they could even be
5555mouse-clicks or menu items--whatever suits your program.
5556
5557You should also get your employer (if you work as a programmer) or your
5558school, if any, to sign a "copyright disclaimer" for the program, if
5559necessary. Here is a sample; alter the names:
5560
5561 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
5562 `Gnomovision' (which makes passes at compilers) written by James Hacker.
5563
5564 <signature of Ty Coon>, 1 April 1989
5565 Ty Coon, President of Vice
5566
5567This General Public License does not permit incorporating your program into
5568proprietary programs. If your program is a subroutine library, you may
5569consider it more useful to permit linking proprietary applications with the
5570library. If this is what you want to do, use the GNU Lesser General
5571Public License instead of this License.
5572
5573Copyright (c) 2011 The LevelDB Authors. All rights reserved.
5574
5575Redistribution and use in source and binary forms, with or without
5576modification, are permitted provided that the following conditions are
5577met:
5578
5579 * Redistributions of source code must retain the above copyright
5580notice, this list of conditions and the following disclaimer.
5581 * Redistributions in binary form must reproduce the above
5582copyright notice, this list of conditions and the following disclaimer
5583in the documentation and/or other materials provided with the
5584distribution.
5585 * Neither the name of Google Inc. nor the names of its
5586contributors may be used to endorse or promote products derived from
5587this software without specific prior written permission.
5588
5589THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
5590"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5591LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
5592A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
5593OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5594SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
5595LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5596DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5597THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5598(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5599OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5600
5601/*
5602 * Copyright (c) 2008 NVIDIA, Corporation
5603 *
5604 * Permission is hereby granted, free of charge, to any person obtaining a copy
5605 * of this software and associated documentation files (the "Software"), to deal
5606 * in the Software without restriction, including without limitation the rights
5607 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5608 * copies of the Software, and to permit persons to whom the Software is
5609 * furnished to do so, subject to the following conditions:
5610 *
5611 * The above copyright notice and this permission notice (including the next
5612 * paragraph) shall be included in all copies or substantial portions of the
5613 * Software.
5614 *
5615 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5616 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5617 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5618 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5619 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5620 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5621 * SOFTWARE.
5622 */
5623Copyright 2000-2007 Niels Provos <provos@citi.umich.edu>
5624Copyright 2007-2009 Niels Provos and Nick Mathewson
5625
5626Redistribution and use in source and binary forms, with or without
5627modification, are permitted provided that the following conditions
5628are met:
56291. Redistributions of source code must retain the above copyright
5630 notice, this list of conditions and the following disclaimer.
56312. Redistributions in binary form must reproduce the above copyright
5632 notice, this list of conditions and the following disclaimer in the
5633 documentation and/or other materials provided with the distribution.
56343. The name of the author may not be used to endorse or promote products
5635 derived from this software without specific prior written permission.
5636
5637THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
5638IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
5639OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
5640IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
5641INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
5642NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5643DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5644THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5645(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
5646THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5647
5648Copyright (c) 2004--2005, Google Inc.
5649All rights reserved.
5650
5651Redistribution and use in source and binary forms, with or without modification,
5652are permitted provided that the following conditions are met:
5653
5654 * Redistributions of source code must retain the above copyright notice,
5655 this list of conditions and the following disclaimer.
5656 * Redistributions in binary form must reproduce the above copyright notice,
5657 this list of conditions and the following disclaimer in the documentation
5658 and/or other materials provided with the distribution.
5659 * The name of the author may not be used to endorse or promote products
5660 derived from this software without specific prior written permission.
5661
5662THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
5663AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5664IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
5665ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
5666LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
5667CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
5668GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5669HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
5670STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
5671WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
5672SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005673(Copied from the README.)
5674
5675--------------------------------------------------------------------------------
5676
5677The authors make NO WARRANTY or representation, either express or implied,
5678with respect to this software, its quality, accuracy, merchantability, or
5679fitness for a particular purpose. This software is provided "AS IS", and you,
5680its user, assume the entire risk as to its quality and accuracy.
5681
5682This software is copyright (C) 1991-1998, Thomas G. Lane.
5683All Rights Reserved except as specified below.
5684
5685Permission is hereby granted to use, copy, modify, and distribute this
5686software (or portions thereof) for any purpose, without fee, subject to these
5687conditions:
5688(1) If any part of the source code for this software is distributed, then this
5689README file must be included, with this copyright and no-warranty notice
5690unaltered; and any additions, deletions, or changes to the original files
5691must be clearly indicated in accompanying documentation.
5692(2) If only executable code is distributed, then the accompanying
5693documentation must state that "this software is based in part on the work of
5694the Independent JPEG Group".
5695(3) Permission for use of this software is granted only if the user accepts
5696full responsibility for any undesirable consequences; the authors accept
5697NO LIABILITY for damages of any kind.
5698
5699These conditions apply to any software derived from or based on the IJG code,
5700not just to the unmodified library. If you use our work, you ought to
5701acknowledge us.
5702
5703Permission is NOT granted for the use of any IJG author's name or company name
5704in advertising or publicity relating to this software or products derived from
5705it. This software may be referred to only as "the Independent JPEG Group's
5706software".
5707
5708We specifically permit and encourage the use of this software as the basis of
5709commercial products, provided that all warranty or liability claims are
5710assumed by the product vendor.
5711
5712
5713ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
5714sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
5715ansi2knr.c is NOT covered by the above copyright and conditions, but instead
5716by the usual distribution terms of the Free Software Foundation; principally,
5717that you must include source code if you redistribute it. (See the file
5718ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part
5719of any program generated from the IJG code, this does not limit you more than
5720the foregoing paragraphs do.
5721
5722The Unix configuration script "configure" was produced with GNU Autoconf.
5723It is copyright by the Free Software Foundation but is freely distributable.
5724The same holds for its supporting scripts (config.guess, config.sub,
5725ltconfig, ltmain.sh). Another support script, install-sh, is copyright
5726by M.I.T. but is also freely distributable.
5727
5728It appears that the arithmetic coding option of the JPEG spec is covered by
5729patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot
5730legally be used without obtaining one or more licenses. For this reason,
5731support for arithmetic coding has been removed from the free JPEG software.
5732(Since arithmetic coding provides only a marginal gain over the unpatented
5733Huffman mode, it is unlikely that very many implementations will support it.)
5734So far as we are aware, there are no patent restrictions on the remaining
5735code.
5736
5737The IJG distribution formerly included code to read and write GIF files.
5738To avoid entanglement with the Unisys LZW patent, GIF reading support has
5739been removed altogether, and the GIF writer has been simplified to produce
5740"uncompressed GIFs". This technique does not use the LZW algorithm; the
5741resulting GIF files are larger than usual, but are readable by all standard
5742GIF decoders.
5743
5744We are required to state that
5745 "The Graphics Interchange Format(c) is the Copyright property of
5746 CompuServe Incorporated. GIF(sm) is a Service Mark property of
5747 CompuServe Incorporated."
5748
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005749Copyright (C) 2011 Google Inc.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005750
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005751Licensed under the Apache License, Version 2.0 (the "License");
5752you may not use this file except in compliance with the License.
5753You may obtain a copy of the License at
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005754
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005755http://www.apache.org/licenses/LICENSE-2.0
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005756
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005757Unless required by applicable law or agreed to in writing, software
5758distributed under the License is distributed on an "AS IS" BASIS,
5759WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5760See the License for the specific language governing permissions and
5761limitations under the License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005762
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005763
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005764This copy of the libpng notices is provided for your convenience. In case of
5765any discrepancy between this copy and the notices in the file png.h that is
5766included in the libpng distribution, the latter shall prevail.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005767
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005768COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005769
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005770If you modify libpng you may insert additional notices immediately following
5771this sentence.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005772
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005773This code is released under the libpng license.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005774
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005775libpng versions 1.2.6, August 15, 2004, through 1.2.45, July 7, 2011, are
5776Copyright (c) 2004, 2006-2009 Glenn Randers-Pehrson, and are
5777distributed according to the same disclaimer and license as libpng-1.2.5
5778with the following individual added to the list of Contributing Authors
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005779
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005780 Cosmin Truta
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005781
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005782libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are
5783Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are
5784distributed according to the same disclaimer and license as libpng-1.0.6
5785with the following individuals added to the list of Contributing Authors
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005786
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005787 Simon-Pierre Cadieux
5788 Eric S. Raymond
5789 Gilles Vollant
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005790
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005791and with the following additions to the disclaimer:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005792
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005793 There is no warranty against interference with your enjoyment of the
5794 library or against infringement. There is no warranty that our
5795 efforts or the library will fulfill any of your particular purposes
5796 or needs. This library is provided with all faults, and the entire
5797 risk of satisfactory quality, performance, accuracy, and effort is with
5798 the user.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005799
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005800libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
5801Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are
5802distributed according to the same disclaimer and license as libpng-0.96,
5803with the following individuals added to the list of Contributing Authors:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005804
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005805 Tom Lane
5806 Glenn Randers-Pehrson
5807 Willem van Schaik
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005808
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005809libpng versions 0.89, June 1996, through 0.96, May 1997, are
5810Copyright (c) 1996, 1997 Andreas Dilger
5811Distributed according to the same disclaimer and license as libpng-0.88,
5812with the following individuals added to the list of Contributing Authors:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005813
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005814 John Bowler
5815 Kevin Bracey
5816 Sam Bushell
5817 Magnus Holmgren
5818 Greg Roelofs
5819 Tom Tanner
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005820
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005821libpng versions 0.5, May 1995, through 0.88, January 1996, are
5822Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005823
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005824For the purposes of this copyright and license, "Contributing Authors"
5825is defined as the following set of individuals:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005826
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005827 Andreas Dilger
5828 Dave Martindale
5829 Guy Eric Schalnat
5830 Paul Schmidt
5831 Tim Wegner
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005832
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005833The PNG Reference Library is supplied "AS IS". The Contributing Authors
5834and Group 42, Inc. disclaim all warranties, expressed or implied,
5835including, without limitation, the warranties of merchantability and of
5836fitness for any purpose. The Contributing Authors and Group 42, Inc.
5837assume no liability for direct, indirect, incidental, special, exemplary,
5838or consequential damages, which may result from the use of the PNG
5839Reference Library, even if advised of the possibility of such damage.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005840
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005841Permission is hereby granted to use, copy, modify, and distribute this
5842source code, or portions hereof, for any purpose, without fee, subject
5843to the following restrictions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005844
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000058451. The origin of this source code must not be misrepresented.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005846
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000058472. Altered versions must be plainly marked as such and must not
5848 be misrepresented as being the original source.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005849
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000058503. This Copyright notice may not be removed or altered from any
5851 source or altered source distribution.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005852
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005853The Contributing Authors and Group 42, Inc. specifically permit, without
5854fee, and encourage the use of this source code as a component to
5855supporting the PNG file format in commercial products. If you use this
5856source code in a product, acknowledgment is not required but would be
5857appreciated.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005858
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005859
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005860A "png_get_copyright" function is available, for convenient use in "about"
5861boxes and the like:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005862
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005863 printf("%s",png_get_copyright(NULL));
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005864
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005865Also, the PNG logo (in PNG format, of course) is supplied in the
5866files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31).
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005867
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005868Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a
5869certification mark of the Open Source Initiative.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005870
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005871Glenn Randers-Pehrson
5872glennrp at users.sourceforge.net
5873July 7, 2011
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005874
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005875 GNU LESSER GENERAL PUBLIC LICENSE
5876 Version 2.1, February 1999
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005877
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005878 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5879 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5880 Everyone is permitted to copy and distribute verbatim copies
5881 of this license document, but changing it is not allowed.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005882
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005883[This is the first released version of the Lesser GPL. It also counts
5884 as the successor of the GNU Library Public License, version 2, hence
5885 the version number 2.1.]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005886
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005887 Preamble
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005888
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005889 The licenses for most software are designed to take away your
5890freedom to share and change it. By contrast, the GNU General Public
5891Licenses are intended to guarantee your freedom to share and change
5892free software--to make sure the software is free for all its users.
5893
5894 This license, the Lesser General Public License, applies to some
5895specially designated software packages--typically libraries--of the
5896Free Software Foundation and other authors who decide to use it. You
5897can use it too, but we suggest you first think carefully about whether
5898this license or the ordinary General Public License is the better
5899strategy to use in any particular case, based on the explanations below.
5900
5901 When we speak of free software, we are referring to freedom of use,
5902not price. Our General Public Licenses are designed to make sure that
5903you have the freedom to distribute copies of free software (and charge
5904for this service if you wish); that you receive source code or can get
5905it if you want it; that you can change the software and use pieces of
5906it in new free programs; and that you are informed that you can do
5907these things.
5908
5909 To protect your rights, we need to make restrictions that forbid
5910distributors to deny you these rights or to ask you to surrender these
5911rights. These restrictions translate to certain responsibilities for
5912you if you distribute copies of the library or if you modify it.
5913
5914 For example, if you distribute copies of the library, whether gratis
5915or for a fee, you must give the recipients all the rights that we gave
5916you. You must make sure that they, too, receive or can get the source
5917code. If you link other code with the library, you must provide
5918complete object files to the recipients, so that they can relink them
5919with the library after making changes to the library and recompiling
5920it. And you must show them these terms so they know their rights.
5921
5922 We protect your rights with a two-step method: (1) we copyright the
5923library, and (2) we offer you this license, which gives you legal
5924permission to copy, distribute and/or modify the library.
5925
5926 To protect each distributor, we want to make it very clear that
5927there is no warranty for the free library. Also, if the library is
5928modified by someone else and passed on, the recipients should know
5929that what they have is not the original version, so that the original
5930author's reputation will not be affected by problems that might be
5931introduced by others.
5932
5933 Finally, software patents pose a constant threat to the existence of
5934any free program. We wish to make sure that a company cannot
5935effectively restrict the users of a free program by obtaining a
5936restrictive license from a patent holder. Therefore, we insist that
5937any patent license obtained for a version of the library must be
5938consistent with the full freedom of use specified in this license.
5939
5940 Most GNU software, including some libraries, is covered by the
5941ordinary GNU General Public License. This license, the GNU Lesser
5942General Public License, applies to certain designated libraries, and
5943is quite different from the ordinary General Public License. We use
5944this license for certain libraries in order to permit linking those
5945libraries into non-free programs.
5946
5947 When a program is linked with a library, whether statically or using
5948a shared library, the combination of the two is legally speaking a
5949combined work, a derivative of the original library. The ordinary
5950General Public License therefore permits such linking only if the
5951entire combination fits its criteria of freedom. The Lesser General
5952Public License permits more lax criteria for linking other code with
5953the library.
5954
5955 We call this license the "Lesser" General Public License because it
5956does Less to protect the user's freedom than the ordinary General
5957Public License. It also provides other free software developers Less
5958of an advantage over competing non-free programs. These disadvantages
5959are the reason we use the ordinary General Public License for many
5960libraries. However, the Lesser license provides advantages in certain
5961special circumstances.
5962
5963 For example, on rare occasions, there may be a special need to
5964encourage the widest possible use of a certain library, so that it becomes
5965a de-facto standard. To achieve this, non-free programs must be
5966allowed to use the library. A more frequent case is that a free
5967library does the same job as widely used non-free libraries. In this
5968case, there is little to gain by limiting the free library to free
5969software only, so we use the Lesser General Public License.
5970
5971 In other cases, permission to use a particular library in non-free
5972programs enables a greater number of people to use a large body of
5973free software. For example, permission to use the GNU C Library in
5974non-free programs enables many more people to use the whole GNU
5975operating system, as well as its variant, the GNU/Linux operating
5976system.
5977
5978 Although the Lesser General Public License is Less protective of the
5979users' freedom, it does ensure that the user of a program that is
5980linked with the Library has the freedom and the wherewithal to run
5981that program using a modified version of the Library.
5982
5983 The precise terms and conditions for copying, distribution and
5984modification follow. Pay close attention to the difference between a
5985"work based on the library" and a "work that uses the library". The
5986former contains code derived from the library, whereas the latter must
5987be combined with the library in order to run.
5988
5989 GNU LESSER GENERAL PUBLIC LICENSE
5990 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
5991
5992 0. This License Agreement applies to any software library or other
5993program which contains a notice placed by the copyright holder or
5994other authorized party saying it may be distributed under the terms of
5995this Lesser General Public License (also called "this License").
5996Each licensee is addressed as "you".
5997
5998 A "library" means a collection of software functions and/or data
5999prepared so as to be conveniently linked with application programs
6000(which use some of those functions and data) to form executables.
6001
6002 The "Library", below, refers to any such software library or work
6003which has been distributed under these terms. A "work based on the
6004Library" means either the Library or any derivative work under
6005copyright law: that is to say, a work containing the Library or a
6006portion of it, either verbatim or with modifications and/or translated
6007straightforwardly into another language. (Hereinafter, translation is
6008included without limitation in the term "modification".)
6009
6010 "Source code" for a work means the preferred form of the work for
6011making modifications to it. For a library, complete source code means
6012all the source code for all modules it contains, plus any associated
6013interface definition files, plus the scripts used to control compilation
6014and installation of the library.
6015
6016 Activities other than copying, distribution and modification are not
6017covered by this License; they are outside its scope. The act of
6018running a program using the Library is not restricted, and output from
6019such a program is covered only if its contents constitute a work based
6020on the Library (independent of the use of the Library in a tool for
6021writing it). Whether that is true depends on what the Library does
6022and what the program that uses the Library does.
6023
6024 1. You may copy and distribute verbatim copies of the Library's
6025complete source code as you receive it, in any medium, provided that
6026you conspicuously and appropriately publish on each copy an
6027appropriate copyright notice and disclaimer of warranty; keep intact
6028all the notices that refer to this License and to the absence of any
6029warranty; and distribute a copy of this License along with the
6030Library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006031
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006032 You may charge a fee for the physical act of transferring a copy,
6033and you may at your option offer warranty protection in exchange for a
6034fee.
6035
6036 2. You may modify your copy or copies of the Library or any portion
6037of it, thus forming a work based on the Library, and copy and
6038distribute such modifications or work under the terms of Section 1
6039above, provided that you also meet all of these conditions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006040
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006041 a) The modified work must itself be a software library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006042
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006043 b) You must cause the files modified to carry prominent notices
6044 stating that you changed the files and the date of any change.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006045
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006046 c) You must cause the whole of the work to be licensed at no
6047 charge to all third parties under the terms of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006048
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006049 d) If a facility in the modified Library refers to a function or a
6050 table of data to be supplied by an application program that uses
6051 the facility, other than as an argument passed when the facility
6052 is invoked, then you must make a good faith effort to ensure that,
6053 in the event an application does not supply such function or
6054 table, the facility still operates, and performs whatever part of
6055 its purpose remains meaningful.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006056
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006057 (For example, a function in a library to compute square roots has
6058 a purpose that is entirely well-defined independent of the
6059 application. Therefore, Subsection 2d requires that any
6060 application-supplied function or table used by this function must
6061 be optional: if the application does not supply it, the square
6062 root function must still compute square roots.)
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006063
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006064These requirements apply to the modified work as a whole. If
6065identifiable sections of that work are not derived from the Library,
6066and can be reasonably considered independent and separate works in
6067themselves, then this License, and its terms, do not apply to those
6068sections when you distribute them as separate works. But when you
6069distribute the same sections as part of a whole which is a work based
6070on the Library, the distribution of the whole must be on the terms of
6071this License, whose permissions for other licensees extend to the
6072entire whole, and thus to each and every part regardless of who wrote
6073it.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006074
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006075Thus, it is not the intent of this section to claim rights or contest
6076your rights to work written entirely by you; rather, the intent is to
6077exercise the right to control the distribution of derivative or
6078collective works based on the Library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006079
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006080In addition, mere aggregation of another work not based on the Library
6081with the Library (or with a work based on the Library) on a volume of
6082a storage or distribution medium does not bring the other work under
6083the scope of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006084
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006085 3. You may opt to apply the terms of the ordinary GNU General Public
6086License instead of this License to a given copy of the Library. To do
6087this, you must alter all the notices that refer to this License, so
6088that they refer to the ordinary GNU General Public License, version 2,
6089instead of to this License. (If a newer version than version 2 of the
6090ordinary GNU General Public License has appeared, then you can specify
6091that version instead if you wish.) Do not make any other change in
6092these notices.
6093
6094 Once this change is made in a given copy, it is irreversible for
6095that copy, so the ordinary GNU General Public License applies to all
6096subsequent copies and derivative works made from that copy.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006097
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006098 This option is useful when you wish to copy part of the code of
6099the Library into a program that is not a library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006100
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006101 4. You may copy and distribute the Library (or a portion or
6102derivative of it, under Section 2) in object code or executable form
6103under the terms of Sections 1 and 2 above provided that you accompany
6104it with the complete corresponding machine-readable source code, which
6105must be distributed under the terms of Sections 1 and 2 above on a
6106medium customarily used for software interchange.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006107
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006108 If distribution of object code is made by offering access to copy
6109from a designated place, then offering equivalent access to copy the
6110source code from the same place satisfies the requirement to
6111distribute the source code, even though third parties are not
6112compelled to copy the source along with the object code.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006113
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006114 5. A program that contains no derivative of any portion of the
6115Library, but is designed to work with the Library by being compiled or
6116linked with it, is called a "work that uses the Library". Such a
6117work, in isolation, is not a derivative work of the Library, and
6118therefore falls outside the scope of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006119
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006120 However, linking a "work that uses the Library" with the Library
6121creates an executable that is a derivative of the Library (because it
6122contains portions of the Library), rather than a "work that uses the
6123library". The executable is therefore covered by this License.
6124Section 6 states terms for distribution of such executables.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006125
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006126 When a "work that uses the Library" uses material from a header file
6127that is part of the Library, the object code for the work may be a
6128derivative work of the Library even though the source code is not.
6129Whether this is true is especially significant if the work can be
6130linked without the Library, or if the work is itself a library. The
6131threshold for this to be true is not precisely defined by law.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006132
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006133 If such an object file uses only numerical parameters, data
6134structure layouts and accessors, and small macros and small inline
6135functions (ten lines or less in length), then the use of the object
6136file is unrestricted, regardless of whether it is legally a derivative
6137work. (Executables containing this object code plus portions of the
6138Library will still fall under Section 6.)
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006139
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006140 Otherwise, if the work is a derivative of the Library, you may
6141distribute the object code for the work under the terms of Section 6.
6142Any executables containing that work also fall under Section 6,
6143whether or not they are linked directly with the Library itself.
6144
6145 6. As an exception to the Sections above, you may also combine or
6146link a "work that uses the Library" with the Library to produce a
6147work containing portions of the Library, and distribute that work
6148under terms of your choice, provided that the terms permit
6149modification of the work for the customer's own use and reverse
6150engineering for debugging such modifications.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006151
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006152 You must give prominent notice with each copy of the work that the
6153Library is used in it and that the Library and its use are covered by
6154this License. You must supply a copy of this License. If the work
6155during execution displays copyright notices, you must include the
6156copyright notice for the Library among them, as well as a reference
6157directing the user to the copy of this License. Also, you must do one
6158of these things:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006159
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006160 a) Accompany the work with the complete corresponding
6161 machine-readable source code for the Library including whatever
6162 changes were used in the work (which must be distributed under
6163 Sections 1 and 2 above); and, if the work is an executable linked
6164 with the Library, with the complete machine-readable "work that
6165 uses the Library", as object code and/or source code, so that the
6166 user can modify the Library and then relink to produce a modified
6167 executable containing the modified Library. (It is understood
6168 that the user who changes the contents of definitions files in the
6169 Library will not necessarily be able to recompile the application
6170 to use the modified definitions.)
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006171
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006172 b) Use a suitable shared library mechanism for linking with the
6173 Library. A suitable mechanism is one that (1) uses at run time a
6174 copy of the library already present on the user's computer system,
6175 rather than copying library functions into the executable, and (2)
6176 will operate properly with a modified version of the library, if
6177 the user installs one, as long as the modified version is
6178 interface-compatible with the version that the work was made with.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006179
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006180 c) Accompany the work with a written offer, valid for at
6181 least three years, to give the same user the materials
6182 specified in Subsection 6a, above, for a charge no more
6183 than the cost of performing this distribution.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006184
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006185 d) If distribution of the work is made by offering access to copy
6186 from a designated place, offer equivalent access to copy the above
6187 specified materials from the same place.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006188
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006189 e) Verify that the user has already received a copy of these
6190 materials or that you have already sent this user a copy.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006191
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006192 For an executable, the required form of the "work that uses the
6193Library" must include any data and utility programs needed for
6194reproducing the executable from it. However, as a special exception,
6195the materials to be distributed need not include anything that is
6196normally distributed (in either source or binary form) with the major
6197components (compiler, kernel, and so on) of the operating system on
6198which the executable runs, unless that component itself accompanies
6199the executable.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006200
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006201 It may happen that this requirement contradicts the license
6202restrictions of other proprietary libraries that do not normally
6203accompany the operating system. Such a contradiction means you cannot
6204use both them and the Library together in an executable that you
6205distribute.
6206
6207 7. You may place library facilities that are a work based on the
6208Library side-by-side in a single library together with other library
6209facilities not covered by this License, and distribute such a combined
6210library, provided that the separate distribution of the work based on
6211the Library and of the other library facilities is otherwise
6212permitted, and provided that you do these two things:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006213
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006214 a) Accompany the combined library with a copy of the same work
6215 based on the Library, uncombined with any other library
6216 facilities. This must be distributed under the terms of the
6217 Sections above.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006218
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006219 b) Give prominent notice with the combined library of the fact
6220 that part of it is a work based on the Library, and explaining
6221 where to find the accompanying uncombined form of the same work.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006222
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006223 8. You may not copy, modify, sublicense, link with, or distribute
6224the Library except as expressly provided under this License. Any
6225attempt otherwise to copy, modify, sublicense, link with, or
6226distribute the Library is void, and will automatically terminate your
6227rights under this License. However, parties who have received copies,
6228or rights, from you under this License will not have their licenses
6229terminated so long as such parties remain in full compliance.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006230
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006231 9. You are not required to accept this License, since you have not
6232signed it. However, nothing else grants you permission to modify or
6233distribute the Library or its derivative works. These actions are
6234prohibited by law if you do not accept this License. Therefore, by
6235modifying or distributing the Library (or any work based on the
6236Library), you indicate your acceptance of this License to do so, and
6237all its terms and conditions for copying, distributing or modifying
6238the Library or works based on it.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006239
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006240 10. Each time you redistribute the Library (or any work based on the
6241Library), the recipient automatically receives a license from the
6242original licensor to copy, distribute, link with or modify the Library
6243subject to these terms and conditions. You may not impose any further
6244restrictions on the recipients' exercise of the rights granted herein.
6245You are not responsible for enforcing compliance by third parties with
6246this License.
6247
6248 11. If, as a consequence of a court judgment or allegation of patent
6249infringement or for any other reason (not limited to patent issues),
6250conditions are imposed on you (whether by court order, agreement or
6251otherwise) that contradict the conditions of this License, they do not
6252excuse you from the conditions of this License. If you cannot
6253distribute so as to satisfy simultaneously your obligations under this
6254License and any other pertinent obligations, then as a consequence you
6255may not distribute the Library at all. For example, if a patent
6256license would not permit royalty-free redistribution of the Library by
6257all those who receive copies directly or indirectly through you, then
6258the only way you could satisfy both it and this License would be to
6259refrain entirely from distribution of the Library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006260
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006261If any portion of this section is held invalid or unenforceable under any
6262particular circumstance, the balance of the section is intended to apply,
6263and the section as a whole is intended to apply in other circumstances.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006264
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006265It is not the purpose of this section to induce you to infringe any
6266patents or other property right claims or to contest validity of any
6267such claims; this section has the sole purpose of protecting the
6268integrity of the free software distribution system which is
6269implemented by public license practices. Many people have made
6270generous contributions to the wide range of software distributed
6271through that system in reliance on consistent application of that
6272system; it is up to the author/donor to decide if he or she is willing
6273to distribute software through any other system and a licensee cannot
6274impose that choice.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006275
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006276This section is intended to make thoroughly clear what is believed to
6277be a consequence of the rest of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006278
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006279 12. If the distribution and/or use of the Library is restricted in
6280certain countries either by patents or by copyrighted interfaces, the
6281original copyright holder who places the Library under this License may add
6282an explicit geographical distribution limitation excluding those countries,
6283so that distribution is permitted only in or among countries not thus
6284excluded. In such case, this License incorporates the limitation as if
6285written in the body of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006286
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006287 13. The Free Software Foundation may publish revised and/or new
6288versions of the Lesser General Public License from time to time.
6289Such new versions will be similar in spirit to the present version,
6290but may differ in detail to address new problems or concerns.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006291
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006292Each version is given a distinguishing version number. If the Library
6293specifies a version number of this License which applies to it and
6294"any later version", you have the option of following the terms and
6295conditions either of that version or of any later version published by
6296the Free Software Foundation. If the Library does not specify a
6297license version number, you may choose any version ever published by
6298the Free Software Foundation.
6299
6300 14. If you wish to incorporate parts of the Library into other free
6301programs whose distribution conditions are incompatible with these,
6302write to the author to ask for permission. For software which is
6303copyrighted by the Free Software Foundation, write to the Free
6304Software Foundation; we sometimes make exceptions for this. Our
6305decision will be guided by the two goals of preserving the free status
6306of all derivatives of our free software and of promoting the sharing
6307and reuse of software generally.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006308
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006309 NO WARRANTY
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006310
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006311 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
6312WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
6313EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
6314OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
6315KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
6316IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
6317PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
6318LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
6319THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006320
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006321 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
6322WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
6323AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
6324FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
6325CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
6326LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
6327RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
6328FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
6329SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
6330DAMAGES.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006331
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006332 END OF TERMS AND CONDITIONS
6333
6334 How to Apply These Terms to Your New Libraries
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006335
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006336 If you develop a new library, and you want it to be of the greatest
6337possible use to the public, we recommend making it free software that
6338everyone can redistribute and change. You can do so by permitting
6339redistribution under these terms (or, alternatively, under the terms of the
6340ordinary General Public License).
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006341
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006342 To apply these terms, attach the following notices to the library. It is
6343safest to attach them to the start of each source file to most effectively
6344convey the exclusion of warranty; and each file should have at least the
6345"copyright" line and a pointer to where the full notice is found.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006346
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006347 <one line to give the library's name and a brief idea of what it does.>
6348 Copyright (C) <year> <name of author>
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006349
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006350 This library is free software; you can redistribute it and/or
6351 modify it under the terms of the GNU Lesser General Public
6352 License as published by the Free Software Foundation; either
6353 version 2.1 of the License, or (at your option) any later version.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006354
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006355 This library is distributed in the hope that it will be useful,
6356 but WITHOUT ANY WARRANTY; without even the implied warranty of
6357 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6358 Lesser General Public License for more details.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006359
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006360 You should have received a copy of the GNU Lesser General Public
6361 License along with this library; if not, write to the Free Software
6362 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006363
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006364Also add information on how to contact you by electronic and paper mail.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006365
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006366You should also get your employer (if you work as a programmer) or your
6367school, if any, to sign a "copyright disclaimer" for the library, if
6368necessary. Here is a sample; alter the names:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006369
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006370 Yoyodyne, Inc., hereby disclaims all copyright interest in the
6371 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006372
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006373 <signature of Ty Coon>, 1 April 1990
6374 Ty Coon, President of Vice
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006375
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006376That's all there is to it!
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006377
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006378
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006379
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006380 Permission is hereby granted, free of charge, to any person obtaining a
6381 copy of this software and associated documentation files (the
6382 "Software"), to deal in the Software without restriction, including
6383 without limitation the rights to use, copy, modify, merge, publish,
6384 distribute, sub license, and/or sell copies of the Software, and to
6385 permit persons to whom the Software is furnished to do so, subject to
6386 the following conditions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006387
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006388 The above copyright notice and this permission notice (including the
6389 next paragraph) shall be included in all copies or substantial portions
6390 of the Software.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006391
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006392 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
6393 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
6394 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
6395 IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
6396 ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
6397 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
6398 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006399
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006400Copyright (c) 2010, Google Inc. All rights reserved.
6401
6402Redistribution and use in source and binary forms, with or without
6403modification, are permitted provided that the following conditions are
6404met:
6405
6406 * Redistributions of source code must retain the above copyright
6407 notice, this list of conditions and the following disclaimer.
6408
6409 * Redistributions in binary form must reproduce the above copyright
6410 notice, this list of conditions and the following disclaimer in
6411 the documentation and/or other materials provided with the
6412 distribution.
6413
6414 * Neither the name of Google nor the names of its contributors may
6415 be used to endorse or promote products derived from this software
6416 without specific prior written permission.
6417
6418THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6419"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6420LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6421A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
6422HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
6423SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
6424LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
6425DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
6426THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6427(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
6428OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6429
6430Additional IP Rights Grant (Patents)
6431
6432"This implementation" means the copyrightable works distributed by
6433Google as part of the WebM Project.
6434
6435Google hereby grants to you a perpetual, worldwide, non-exclusive,
6436no-charge, royalty-free, irrevocable (except as stated in this section)
6437patent license to make, have made, use, offer to sell, sell, import,
6438transfer, and otherwise run, modify and propagate the contents of this
6439implementation of VP8, where such license applies only to those patent
6440claims, both currently owned by Google and acquired in the future,
6441licensable by Google that are necessarily infringed by this
6442implementation of VP8. This grant does not include claims that would be
6443infringed only as a consequence of further modification of this
6444implementation. If you or your agent or exclusive licensee institute or
6445order or agree to the institution of patent litigation against any
6446entity (including a cross-claim or counterclaim in a lawsuit) alleging
6447that this implementation of VP8 or any code incorporated within this
6448implementation of VP8 constitutes direct or contributory patent
6449infringement, or inducement of patent infringement, then any patent
6450rights granted to you under this License for this implementation of VP8
6451shall terminate as of the date such litigation is filed.
6452
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006453Except where otherwise noted in the source code (e.g. the files hash.c,
6454list.c and the trio files, which are covered by a similar licence but
6455with different Copyright notices) all the files are:
6456
6457 Copyright (C) 1998-2003 Daniel Veillard. All Rights Reserved.
6458
6459Permission is hereby granted, free of charge, to any person obtaining a copy
6460of this software and associated documentation files (the "Software"), to deal
6461in the Software without restriction, including without limitation the rights
6462to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6463copies of the Software, and to permit persons to whom the Software is fur-
6464nished to do so, subject to the following conditions:
6465
6466The above copyright notice and this permission notice shall be included in
6467all copies or substantial portions of the Software.
6468
6469THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6470IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
6471NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6472DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
6473IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
6474NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6475
6476Except as contained in this notice, the name of Daniel Veillard shall not
6477be used in advertising or otherwise to promote the sale, use or other deal-
6478ings in this Software without prior written authorization from him.
6479
6480
6481Licence for libxslt except libexslt
6482----------------------------------------------------------------------
6483 Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved.
6484
6485Permission is hereby granted, free of charge, to any person obtaining a copy
6486of this software and associated documentation files (the "Software"), to deal
6487in the Software without restriction, including without limitation the rights
6488to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6489copies of the Software, and to permit persons to whom the Software is fur-
6490nished to do so, subject to the following conditions:
6491
6492The above copyright notice and this permission notice shall be included in
6493all copies or substantial portions of the Software.
6494
6495THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6496IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
6497NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6498DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
6499IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
6500NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6501
6502Except as contained in this notice, the name of Daniel Veillard shall not
6503be used in advertising or otherwise to promote the sale, use or other deal-
6504ings in this Software without prior written authorization from him.
6505
6506----------------------------------------------------------------------
6507
6508Licence for libexslt
6509----------------------------------------------------------------------
6510 Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
6511 All Rights Reserved.
6512
6513Permission is hereby granted, free of charge, to any person obtaining a copy
6514of this software and associated documentation files (the "Software"), to deal
6515in the Software without restriction, including without limitation the rights
6516to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6517copies of the Software, and to permit persons to whom the Software is fur-
6518nished to do so, subject to the following conditions:
6519
6520The above copyright notice and this permission notice shall be included in
6521all copies or substantial portions of the Software.
6522
6523THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6524IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
6525NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6526AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
6527IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
6528NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6529
6530Except as contained in this notice, the name of the authors shall not
6531be used in advertising or otherwise to promote the sale, use or other deal-
6532ings in this Software without prior written authorization from him.
6533----------------------------------------------------------------------
6534
6535LZMA SDK is placed in the public domain.
6536
6537Copyright (c) 2003-2009 Jonathan 'Wolf' Rentzsch: <http://rentzsch.com>
6538Some rights reserved: <http://opensource.org/licenses/mit-license.php>
6539
6540The default Mesa license is as follows:
6541
6542Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
6543
6544Permission is hereby granted, free of charge, to any person obtaining a
6545copy of this software and associated documentation files (the "Software"),
6546to deal in the Software without restriction, including without limitation
6547the rights to use, copy, modify, merge, publish, distribute, sublicense,
6548and/or sell copies of the Software, and to permit persons to whom the
6549Software is furnished to do so, subject to the following conditions:
6550
6551The above copyright notice and this permission notice shall be included
6552in all copies or substantial portions of the Software.
6553
6554THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
6555OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6556FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
6557BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
6558AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
6559CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6560
6561
6562
6563Some parts of Mesa are copyrighted under the GNU LGPL. See the
6564Mesa/docs/COPYRIGHT file for details.
6565
6566The following is the standard GNU copyright file.
6567----------------------------------------------------------------------
6568
6569
6570 GNU LIBRARY GENERAL PUBLIC LICENSE
6571 Version 2, June 1991
6572
6573 Copyright (C) 1991 Free Software Foundation, Inc.
6574 675 Mass Ave, Cambridge, MA 02139, USA
6575 Everyone is permitted to copy and distribute verbatim copies
6576 of this license document, but changing it is not allowed.
6577
6578[This is the first released version of the library GPL. It is
6579 numbered 2 because it goes with version 2 of the ordinary GPL.]
6580
6581 Preamble
6582
6583 The licenses for most software are designed to take away your
6584freedom to share and change it. By contrast, the GNU General Public
6585Licenses are intended to guarantee your freedom to share and change
6586free software--to make sure the software is free for all its users.
6587
6588 This license, the Library General Public License, applies to some
6589specially designated Free Software Foundation software, and to any
6590other libraries whose authors decide to use it. You can use it for
6591your libraries, too.
6592
6593 When we speak of free software, we are referring to freedom, not
6594price. Our General Public Licenses are designed to make sure that you
6595have the freedom to distribute copies of free software (and charge for
6596this service if you wish), that you receive source code or can get it
6597if you want it, that you can change the software or use pieces of it
6598in new free programs; and that you know you can do these things.
6599
6600 To protect your rights, we need to make restrictions that forbid
6601anyone to deny you these rights or to ask you to surrender the rights.
6602These restrictions translate to certain responsibilities for you if
6603you distribute copies of the library, or if you modify it.
6604
6605 For example, if you distribute copies of the library, whether gratis
6606or for a fee, you must give the recipients all the rights that we gave
6607you. You must make sure that they, too, receive or can get the source
6608code. If you link a program with the library, you must provide
6609complete object files to the recipients so that they can relink them
6610with the library, after making changes to the library and recompiling
6611it. And you must show them these terms so they know their rights.
6612
6613 Our method of protecting your rights has two steps: (1) copyright
6614the library, and (2) offer you this license which gives you legal
6615permission to copy, distribute and/or modify the library.
6616
6617 Also, for each distributor's protection, we want to make certain
6618that everyone understands that there is no warranty for this free
6619library. If the library is modified by someone else and passed on, we
6620want its recipients to know that what they have is not the original
6621version, so that any problems introduced by others will not reflect on
6622the original authors' reputations.
6623
6624 Finally, any free program is threatened constantly by software
6625patents. We wish to avoid the danger that companies distributing free
6626software will individually obtain patent licenses, thus in effect
6627transforming the program into proprietary software. To prevent this,
6628we have made it clear that any patent must be licensed for everyone's
6629free use or not licensed at all.
6630
6631 Most GNU software, including some libraries, is covered by the ordinary
6632GNU General Public License, which was designed for utility programs. This
6633license, the GNU Library General Public License, applies to certain
6634designated libraries. This license is quite different from the ordinary
6635one; be sure to read it in full, and don't assume that anything in it is
6636the same as in the ordinary license.
6637
6638 The reason we have a separate public license for some libraries is that
6639they blur the distinction we usually make between modifying or adding to a
6640program and simply using it. Linking a program with a library, without
6641changing the library, is in some sense simply using the library, and is
6642analogous to running a utility program or application program. However, in
6643a textual and legal sense, the linked executable is a combined work, a
6644derivative of the original library, and the ordinary General Public License
6645treats it as such.
6646
6647 Because of this blurred distinction, using the ordinary General
6648Public License for libraries did not effectively promote software
6649sharing, because most developers did not use the libraries. We
6650concluded that weaker conditions might promote sharing better.
6651
6652 However, unrestricted linking of non-free programs would deprive the
6653users of those programs of all benefit from the free status of the
6654libraries themselves. This Library General Public License is intended to
6655permit developers of non-free programs to use free libraries, while
6656preserving your freedom as a user of such programs to change the free
6657libraries that are incorporated in them. (We have not seen how to achieve
6658this as regards changes in header files, but we have achieved it as regards
6659changes in the actual functions of the Library.) The hope is that this
6660will lead to faster development of free libraries.
6661
6662 The precise terms and conditions for copying, distribution and
6663modification follow. Pay close attention to the difference between a
6664"work based on the library" and a "work that uses the library". The
6665former contains code derived from the library, while the latter only
6666works together with the library.
6667
6668 Note that it is possible for a library to be covered by the ordinary
6669General Public License rather than by this special one.
6670
6671 GNU LIBRARY GENERAL PUBLIC LICENSE
6672 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6673
6674 0. This License Agreement applies to any software library which
6675contains a notice placed by the copyright holder or other authorized
6676party saying it may be distributed under the terms of this Library
6677General Public License (also called "this License"). Each licensee is
6678addressed as "you".
6679
6680 A "library" means a collection of software functions and/or data
6681prepared so as to be conveniently linked with application programs
6682(which use some of those functions and data) to form executables.
6683
6684 The "Library", below, refers to any such software library or work
6685which has been distributed under these terms. A "work based on the
6686Library" means either the Library or any derivative work under
6687copyright law: that is to say, a work containing the Library or a
6688portion of it, either verbatim or with modifications and/or translated
6689straightforwardly into another language. (Hereinafter, translation is
6690included without limitation in the term "modification".)
6691
6692 "Source code" for a work means the preferred form of the work for
6693making modifications to it. For a library, complete source code means
6694all the source code for all modules it contains, plus any associated
6695interface definition files, plus the scripts used to control compilation
6696and installation of the library.
6697
6698 Activities other than copying, distribution and modification are not
6699covered by this License; they are outside its scope. The act of
6700running a program using the Library is not restricted, and output from
6701such a program is covered only if its contents constitute a work based
6702on the Library (independent of the use of the Library in a tool for
6703writing it). Whether that is true depends on what the Library does
6704and what the program that uses the Library does.
6705
6706 1. You may copy and distribute verbatim copies of the Library's
6707complete source code as you receive it, in any medium, provided that
6708you conspicuously and appropriately publish on each copy an
6709appropriate copyright notice and disclaimer of warranty; keep intact
6710all the notices that refer to this License and to the absence of any
6711warranty; and distribute a copy of this License along with the
6712Library.
6713
6714 You may charge a fee for the physical act of transferring a copy,
6715and you may at your option offer warranty protection in exchange for a
6716fee.
6717
6718 2. You may modify your copy or copies of the Library or any portion
6719of it, thus forming a work based on the Library, and copy and
6720distribute such modifications or work under the terms of Section 1
6721above, provided that you also meet all of these conditions:
6722
6723 a) The modified work must itself be a software library.
6724
6725 b) You must cause the files modified to carry prominent notices
6726 stating that you changed the files and the date of any change.
6727
6728 c) You must cause the whole of the work to be licensed at no
6729 charge to all third parties under the terms of this License.
6730
6731 d) If a facility in the modified Library refers to a function or a
6732 table of data to be supplied by an application program that uses
6733 the facility, other than as an argument passed when the facility
6734 is invoked, then you must make a good faith effort to ensure that,
6735 in the event an application does not supply such function or
6736 table, the facility still operates, and performs whatever part of
6737 its purpose remains meaningful.
6738
6739 (For example, a function in a library to compute square roots has
6740 a purpose that is entirely well-defined independent of the
6741 application. Therefore, Subsection 2d requires that any
6742 application-supplied function or table used by this function must
6743 be optional: if the application does not supply it, the square
6744 root function must still compute square roots.)
6745
6746These requirements apply to the modified work as a whole. If
6747identifiable sections of that work are not derived from the Library,
6748and can be reasonably considered independent and separate works in
6749themselves, then this License, and its terms, do not apply to those
6750sections when you distribute them as separate works. But when you
6751distribute the same sections as part of a whole which is a work based
6752on the Library, the distribution of the whole must be on the terms of
6753this License, whose permissions for other licensees extend to the
6754entire whole, and thus to each and every part regardless of who wrote
6755it.
6756
6757Thus, it is not the intent of this section to claim rights or contest
6758your rights to work written entirely by you; rather, the intent is to
6759exercise the right to control the distribution of derivative or
6760collective works based on the Library.
6761
6762In addition, mere aggregation of another work not based on the Library
6763with the Library (or with a work based on the Library) on a volume of
6764a storage or distribution medium does not bring the other work under
6765the scope of this License.
6766
6767 3. You may opt to apply the terms of the ordinary GNU General Public
6768License instead of this License to a given copy of the Library. To do
6769this, you must alter all the notices that refer to this License, so
6770that they refer to the ordinary GNU General Public License, version 2,
6771instead of to this License. (If a newer version than version 2 of the
6772ordinary GNU General Public License has appeared, then you can specify
6773that version instead if you wish.) Do not make any other change in
6774these notices.
6775
6776 Once this change is made in a given copy, it is irreversible for
6777that copy, so the ordinary GNU General Public License applies to all
6778subsequent copies and derivative works made from that copy.
6779
6780 This option is useful when you wish to copy part of the code of
6781the Library into a program that is not a library.
6782
6783 4. You may copy and distribute the Library (or a portion or
6784derivative of it, under Section 2) in object code or executable form
6785under the terms of Sections 1 and 2 above provided that you accompany
6786it with the complete corresponding machine-readable source code, which
6787must be distributed under the terms of Sections 1 and 2 above on a
6788medium customarily used for software interchange.
6789
6790 If distribution of object code is made by offering access to copy
6791from a designated place, then offering equivalent access to copy the
6792source code from the same place satisfies the requirement to
6793distribute the source code, even though third parties are not
6794compelled to copy the source along with the object code.
6795
6796 5. A program that contains no derivative of any portion of the
6797Library, but is designed to work with the Library by being compiled or
6798linked with it, is called a "work that uses the Library". Such a
6799work, in isolation, is not a derivative work of the Library, and
6800therefore falls outside the scope of this License.
6801
6802 However, linking a "work that uses the Library" with the Library
6803creates an executable that is a derivative of the Library (because it
6804contains portions of the Library), rather than a "work that uses the
6805library". The executable is therefore covered by this License.
6806Section 6 states terms for distribution of such executables.
6807
6808 When a "work that uses the Library" uses material from a header file
6809that is part of the Library, the object code for the work may be a
6810derivative work of the Library even though the source code is not.
6811Whether this is true is especially significant if the work can be
6812linked without the Library, or if the work is itself a library. The
6813threshold for this to be true is not precisely defined by law.
6814
6815 If such an object file uses only numerical parameters, data
6816structure layouts and accessors, and small macros and small inline
6817functions (ten lines or less in length), then the use of the object
6818file is unrestricted, regardless of whether it is legally a derivative
6819work. (Executables containing this object code plus portions of the
6820Library will still fall under Section 6.)
6821
6822 Otherwise, if the work is a derivative of the Library, you may
6823distribute the object code for the work under the terms of Section 6.
6824Any executables containing that work also fall under Section 6,
6825whether or not they are linked directly with the Library itself.
6826
6827 6. As an exception to the Sections above, you may also compile or
6828link a "work that uses the Library" with the Library to produce a
6829work containing portions of the Library, and distribute that work
6830under terms of your choice, provided that the terms permit
6831modification of the work for the customer's own use and reverse
6832engineering for debugging such modifications.
6833
6834 You must give prominent notice with each copy of the work that the
6835Library is used in it and that the Library and its use are covered by
6836this License. You must supply a copy of this License. If the work
6837during execution displays copyright notices, you must include the
6838copyright notice for the Library among them, as well as a reference
6839directing the user to the copy of this License. Also, you must do one
6840of these things:
6841
6842 a) Accompany the work with the complete corresponding
6843 machine-readable source code for the Library including whatever
6844 changes were used in the work (which must be distributed under
6845 Sections 1 and 2 above); and, if the work is an executable linked
6846 with the Library, with the complete machine-readable "work that
6847 uses the Library", as object code and/or source code, so that the
6848 user can modify the Library and then relink to produce a modified
6849 executable containing the modified Library. (It is understood
6850 that the user who changes the contents of definitions files in the
6851 Library will not necessarily be able to recompile the application
6852 to use the modified definitions.)
6853
6854 b) Accompany the work with a written offer, valid for at
6855 least three years, to give the same user the materials
6856 specified in Subsection 6a, above, for a charge no more
6857 than the cost of performing this distribution.
6858
6859 c) If distribution of the work is made by offering access to copy
6860 from a designated place, offer equivalent access to copy the above
6861 specified materials from the same place.
6862
6863 d) Verify that the user has already received a copy of these
6864 materials or that you have already sent this user a copy.
6865
6866 For an executable, the required form of the "work that uses the
6867Library" must include any data and utility programs needed for
6868reproducing the executable from it. However, as a special exception,
6869the source code distributed need not include anything that is normally
6870distributed (in either source or binary form) with the major
6871components (compiler, kernel, and so on) of the operating system on
6872which the executable runs, unless that component itself accompanies
6873the executable.
6874
6875 It may happen that this requirement contradicts the license
6876restrictions of other proprietary libraries that do not normally
6877accompany the operating system. Such a contradiction means you cannot
6878use both them and the Library together in an executable that you
6879distribute.
6880
6881 7. You may place library facilities that are a work based on the
6882Library side-by-side in a single library together with other library
6883facilities not covered by this License, and distribute such a combined
6884library, provided that the separate distribution of the work based on
6885the Library and of the other library facilities is otherwise
6886permitted, and provided that you do these two things:
6887
6888 a) Accompany the combined library with a copy of the same work
6889 based on the Library, uncombined with any other library
6890 facilities. This must be distributed under the terms of the
6891 Sections above.
6892
6893 b) Give prominent notice with the combined library of the fact
6894 that part of it is a work based on the Library, and explaining
6895 where to find the accompanying uncombined form of the same work.
6896
6897 8. You may not copy, modify, sublicense, link with, or distribute
6898the Library except as expressly provided under this License. Any
6899attempt otherwise to copy, modify, sublicense, link with, or
6900distribute the Library is void, and will automatically terminate your
6901rights under this License. However, parties who have received copies,
6902or rights, from you under this License will not have their licenses
6903terminated so long as such parties remain in full compliance.
6904
6905 9. You are not required to accept this License, since you have not
6906signed it. However, nothing else grants you permission to modify or
6907distribute the Library or its derivative works. These actions are
6908prohibited by law if you do not accept this License. Therefore, by
6909modifying or distributing the Library (or any work based on the
6910Library), you indicate your acceptance of this License to do so, and
6911all its terms and conditions for copying, distributing or modifying
6912the Library or works based on it.
6913
6914 10. Each time you redistribute the Library (or any work based on the
6915Library), the recipient automatically receives a license from the
6916original licensor to copy, distribute, link with or modify the Library
6917subject to these terms and conditions. You may not impose any further
6918restrictions on the recipients' exercise of the rights granted herein.
6919You are not responsible for enforcing compliance by third parties to
6920this License.
6921
6922 11. If, as a consequence of a court judgment or allegation of patent
6923infringement or for any other reason (not limited to patent issues),
6924conditions are imposed on you (whether by court order, agreement or
6925otherwise) that contradict the conditions of this License, they do not
6926excuse you from the conditions of this License. If you cannot
6927distribute so as to satisfy simultaneously your obligations under this
6928License and any other pertinent obligations, then as a consequence you
6929may not distribute the Library at all. For example, if a patent
6930license would not permit royalty-free redistribution of the Library by
6931all those who receive copies directly or indirectly through you, then
6932the only way you could satisfy both it and this License would be to
6933refrain entirely from distribution of the Library.
6934
6935If any portion of this section is held invalid or unenforceable under any
6936particular circumstance, the balance of the section is intended to apply,
6937and the section as a whole is intended to apply in other circumstances.
6938
6939It is not the purpose of this section to induce you to infringe any
6940patents or other property right claims or to contest validity of any
6941such claims; this section has the sole purpose of protecting the
6942integrity of the free software distribution system which is
6943implemented by public license practices. Many people have made
6944generous contributions to the wide range of software distributed
6945through that system in reliance on consistent application of that
6946system; it is up to the author/donor to decide if he or she is willing
6947to distribute software through any other system and a licensee cannot
6948impose that choice.
6949
6950This section is intended to make thoroughly clear what is believed to
6951be a consequence of the rest of this License.
6952
6953 12. If the distribution and/or use of the Library is restricted in
6954certain countries either by patents or by copyrighted interfaces, the
6955original copyright holder who places the Library under this License may add
6956an explicit geographical distribution limitation excluding those countries,
6957so that distribution is permitted only in or among countries not thus
6958excluded. In such case, this License incorporates the limitation as if
6959written in the body of this License.
6960
6961 13. The Free Software Foundation may publish revised and/or new
6962versions of the Library General Public License from time to time.
6963Such new versions will be similar in spirit to the present version,
6964but may differ in detail to address new problems or concerns.
6965
6966Each version is given a distinguishing version number. If the Library
6967specifies a version number of this License which applies to it and
6968"any later version", you have the option of following the terms and
6969conditions either of that version or of any later version published by
6970the Free Software Foundation. If the Library does not specify a
6971license version number, you may choose any version ever published by
6972the Free Software Foundation.
6973
6974 14. If you wish to incorporate parts of the Library into other free
6975programs whose distribution conditions are incompatible with these,
6976write to the author to ask for permission. For software which is
6977copyrighted by the Free Software Foundation, write to the Free
6978Software Foundation; we sometimes make exceptions for this. Our
6979decision will be guided by the two goals of preserving the free status
6980of all derivatives of our free software and of promoting the sharing
6981and reuse of software generally.
6982
6983 NO WARRANTY
6984
6985 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
6986WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
6987EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
6988OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
6989KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
6990IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
6991PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
6992LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
6993THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
6994
6995 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
6996WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
6997AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
6998FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
6999CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
7000LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
7001RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
7002FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
7003SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
7004DAMAGES.
7005
7006 END OF TERMS AND CONDITIONS
7007
7008 Appendix: How to Apply These Terms to Your New Libraries
7009
7010 If you develop a new library, and you want it to be of the greatest
7011possible use to the public, we recommend making it free software that
7012everyone can redistribute and change. You can do so by permitting
7013redistribution under these terms (or, alternatively, under the terms of the
7014ordinary General Public License).
7015
7016 To apply these terms, attach the following notices to the library. It is
7017safest to attach them to the start of each source file to most effectively
7018convey the exclusion of warranty; and each file should have at least the
7019"copyright" line and a pointer to where the full notice is found.
7020
7021 <one line to give the library's name and a brief idea of what it does.>
7022 Copyright (C) <year> <name of author>
7023
7024 This library is free software; you can redistribute it and/or
7025 modify it under the terms of the GNU Library General Public
7026 License as published by the Free Software Foundation; either
7027 version 2 of the License, or (at your option) any later version.
7028
7029 This library is distributed in the hope that it will be useful,
7030 but WITHOUT ANY WARRANTY; without even the implied warranty of
7031 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7032 Library General Public License for more details.
7033
7034 You should have received a copy of the GNU Library General Public
7035 License along with this library; if not, write to the Free
7036 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
7037
7038Also add information on how to contact you by electronic and paper mail.
7039
7040You should also get your employer (if you work as a programmer) or your
7041school, if any, to sign a "copyright disclaimer" for the library, if
7042necessary. Here is a sample; alter the names:
7043
7044 Yoyodyne, Inc., hereby disclaims all copyright interest in the
7045 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
7046
7047 <signature of Ty Coon>, 1 April 1990
7048 Ty Coon, President of Vice
7049
7050That's all there is to it!
7051
7052
7053 * MODP_B64 - High performance base64 encoder/decoder
7054 * Version 1.3 -- 17-Mar-2006
7055 * http://modp.com/release/base64
7056 *
7057 * Copyright (c) 2005, 2006 Nick Galbreath -- nickg [at] modp [dot] com
7058 * All rights reserved.
7059 *
7060 * Redistribution and use in source and binary forms, with or without
7061 * modification, are permitted provided that the following conditions are
7062 * met:
7063 *
7064 * Redistributions of source code must retain the above copyright
7065 * notice, this list of conditions and the following disclaimer.
7066 *
7067 * Redistributions in binary form must reproduce the above copyright
7068 * notice, this list of conditions and the following disclaimer in the
7069 * documentation and/or other materials provided with the distribution.
7070 *
7071 * Neither the name of the modp.com nor the names of its
7072 * contributors may be used to endorse or promote products derived from
7073 * this software without specific prior written permission.
7074 *
7075 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7076 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7077 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7078 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7079 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7080 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7081 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7082 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7083 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7084 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7085 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7086
7087Copyright 2008 MolokoCacao
7088All rights reserved
7089
7090Redistribution and use in source and binary forms, with or without
7091modification, are permitted providing that the following conditions
7092are met:
70931. Redistributions of source code must retain the above copyright
7094 notice, this list of conditions and the following disclaimer.
70952. Redistributions in binary form must reproduce the above copyright
7096 notice, this list of conditions and the following disclaimer in the
7097 documentation and/or other materials provided with the distribution.
7098
7099THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
7100IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
7101WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
7102ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
7103DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
7104DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
7105OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7106HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
7107STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
7108IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
7109POSSIBILITY OF SUCH DAMAGE.
7110
7111Copyright (c) 2004-2009 Sergey Lyubka
7112Portions Copyright (c) 2009 Gilbert Wellisch
7113
7114Permission is hereby granted, free of charge, to any person obtaining a copy
7115of this software and associated documentation files (the "Software"), to deal
7116in the Software without restriction, including without limitation the rights
7117to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7118copies of the Software, and to permit persons to whom the Software is
7119furnished to do so, subject to the following conditions:
7120
7121The above copyright notice and this permission notice shall be included in
7122all copies or substantial portions of the Software.
7123
7124THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7125IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7126FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7127AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7128LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7129OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
7130THE SOFTWARE.
7131
7132
7133Copyright 2010-2011, Google Inc.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007134All rights reserved.
7135
7136Redistribution and use in source and binary forms, with or without
7137modification, are permitted provided that the following conditions are
7138met:
7139
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007140* Redistributions of source code must retain the above copyright
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007141notice, this list of conditions and the following disclaimer.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007142* Redistributions in binary form must reproduce the above
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007143copyright notice, this list of conditions and the following disclaimer
7144in the documentation and/or other materials provided with the
7145distribution.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007146* Neither the name of Google Inc. nor the names of its
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007147contributors may be used to endorse or promote products derived from
7148this software without specific prior written permission.
7149
7150THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7151"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7152LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7153A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7154OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7155SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7156LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7157DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7158THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7159(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7160OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7161
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007162
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007163/* ***** BEGIN LICENSE BLOCK *****
7164 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007165 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007166 * The contents of this file are subject to the Mozilla Public License Version
7167 * 1.1 (the "License"); you may not use this file except in compliance with
7168 * the License. You may obtain a copy of the License at
7169 * http://www.mozilla.org/MPL/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007170 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007171 * Software distributed under the License is distributed on an "AS IS" basis,
7172 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
7173 * for the specific language governing rights and limitations under the
7174 * License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007175 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007176 * The Original Code is mozilla.org code.
7177 *
7178 * The Initial Developer of the Original Code is
7179 * Netscape Communications Corporation.
7180 * Portions created by the Initial Developer are Copyright (C) 2002
7181 * the Initial Developer. All Rights Reserved.
7182 *
7183 * Contributor(s):
7184 *
7185 * Alternatively, the contents of this file may be used under the terms of
7186 * either the GNU General Public License Version 2 or later (the "GPL"), or
7187 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
7188 * in which case the provisions of the GPL or the LGPL are applicable instead
7189 * of those above. If you wish to allow use of your version of this file only
7190 * under the terms of either the GPL or the LGPL, and not to allow others to
7191 * use your version of this file under the terms of the MPL, indicate your
7192 * decision by deleting the provisions above and replace them with the notice
7193 * and other provisions required by the GPL or the LGPL. If you do not delete
7194 * the provisions above, a recipient may use your version of this file under
7195 * the terms of any one of the MPL, the GPL or the LGPL.
7196 *
7197 * ***** END LICENSE BLOCK ***** */
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007198
7199 A C-program for MT19937, with initialization improved 2002/1/26.
7200 Coded by Takuji Nishimura and Makoto Matsumoto.
7201
7202 Before using, initialize the state by using init_genrand(seed)
7203 or init_by_array(init_key, key_length).
7204
7205 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
7206 All rights reserved.
7207
7208 Redistribution and use in source and binary forms, with or without
7209 modification, are permitted provided that the following conditions
7210 are met:
7211
7212 1. Redistributions of source code must retain the above copyright
7213 notice, this list of conditions and the following disclaimer.
7214
7215 2. Redistributions in binary form must reproduce the above copyright
7216 notice, this list of conditions and the following disclaimer in the
7217 documentation and/or other materials provided with the distribution.
7218
7219 3. The names of its contributors may not be used to endorse or promote
7220 products derived from this software without specific prior written
7221 permission.
7222
7223 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7224 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7225 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7226 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
7227 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
7228 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
7229 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
7230 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
7231 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
7232 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
7233 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7234
7235// Copyright (c) 2006-2009 The Chromium OS Authors. All rights reserved.
7236//
7237// Redistribution and use in source and binary forms, with or without
7238// modification, are permitted provided that the following conditions are
7239// met:
7240//
7241// * Redistributions of source code must retain the above copyright
7242// notice, this list of conditions and the following disclaimer.
7243// * Redistributions in binary form must reproduce the above
7244// copyright notice, this list of conditions and the following disclaimer
7245// in the documentation and/or other materials provided with the
7246// distribution.
7247// * Neither the name of Google Inc. nor the names of its
7248// contributors may be used to endorse or promote products derived from
7249// this software without specific prior written permission.
7250//
7251// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7252// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7253// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7254// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7255// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7256// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7257// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7258// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7259// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7260// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7261// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7262
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007263Version: MPL 1.1/GPL 2.0/LGPL 2.1
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007264
7265The contents of this file are subject to the Mozilla Public License Version
72661.1 (the "License"); you may not use this file except in compliance with
7267the License. You may obtain a copy of the License at
7268http://www.mozilla.org/MPL/
7269
7270Software distributed under the License is distributed on an "AS IS" basis,
7271WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
7272for the specific language governing rights and limitations under the
7273License.
7274
7275The Original Code is mozilla.org code.
7276
7277The Initial Developer of the Original Code is
7278Netscape Communications Corporation.
7279Portions created by the Initial Developer are Copyright (C) 1998
7280the Initial Developer. All Rights Reserved.
7281
7282Contributor(s):
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007283
7284Alternatively, the contents of this file may be used under the terms of
7285either the GNU General Public License Version 2 or later (the "GPL"), or
7286the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
7287in which case the provisions of the GPL or the LGPL are applicable instead
7288of those above. If you wish to allow use of your version of this file only
7289under the terms of either the GPL or the LGPL, and not to allow others to
7290use your version of this file under the terms of the MPL, indicate your
7291decision by deleting the provisions above and replace them with the notice
7292and other provisions required by the GPL or the LGPL. If you do not delete
7293the provisions above, a recipient may use your version of this file under
7294the terms of any one of the MPL, the GPL or the LGPL.
7295
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007296
7297 Copyright (c) 2004-2012 by Mulle Kybernetik. All rights reserved.
7298
7299 Permission to use, copy, modify and distribute this software and its documentation
7300 is hereby granted, provided that both the copyright notice and this permission
7301 notice appear in all copies of the software, derivative works or modified versions,
7302 and any portions thereof, and that both notices appear in supporting documentation,
7303 and that credit is given to Mulle Kybernetik in all documents and publicity
7304 pertaining to direct or indirect use of this code or its derivatives.
7305
7306 THIS IS EXPERIMENTAL SOFTWARE AND IT IS KNOWN TO HAVE BUGS, SOME OF WHICH MAY HAVE
7307 SERIOUS CONSEQUENCES. THE COPYRIGHT HOLDER ALLOWS FREE USE OF THIS SOFTWARE IN ITS
7308 "AS IS" CONDITION. THE COPYRIGHT HOLDER DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY
7309 DAMAGES WHATSOEVER RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE
7310 OR OF ANY DERIVATIVE WORK.
7311Copyright (c) 2008 The Khronos Group Inc.
7312
7313Permission is hereby granted, free of charge, to any person obtaining
7314a copy of this software and associated documentation files (the
7315"Software"), to deal in the Software without restriction, including
7316without limitation the rights to use, copy, modify, merge, publish,
7317distribute, sublicense, and/or sell copies of the Software, and to
7318permit persons to whom the Software is furnished to do so, subject
7319to the following conditions:
7320The above copyright notice and this permission notice shall be included
7321in all copies or substantial portions of the Software.
7322
7323THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
7324OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
7325MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
7326IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
7327CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
7328TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
7329SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7330
7331
7332 LICENSE ISSUES
7333 ==============
7334
7335 The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
7336 the OpenSSL License and the original SSLeay license apply to the toolkit.
7337 See below for the actual license texts. Actually both licenses are BSD-style
7338 Open Source licenses. In case of any license issues related to OpenSSL
7339 please contact openssl-core@openssl.org.
7340
7341 OpenSSL License
7342 ---------------
7343
7344/* ====================================================================
7345 * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
7346 *
7347 * Redistribution and use in source and binary forms, with or without
7348 * modification, are permitted provided that the following conditions
7349 * are met:
7350 *
7351 * 1. Redistributions of source code must retain the above copyright
7352 * notice, this list of conditions and the following disclaimer.
7353 *
7354 * 2. Redistributions in binary form must reproduce the above copyright
7355 * notice, this list of conditions and the following disclaimer in
7356 * the documentation and/or other materials provided with the
7357 * distribution.
7358 *
7359 * 3. All advertising materials mentioning features or use of this
7360 * software must display the following acknowledgment:
7361 * "This product includes software developed by the OpenSSL Project
7362 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
7363 *
7364 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
7365 * endorse or promote products derived from this software without
7366 * prior written permission. For written permission, please contact
7367 * openssl-core@openssl.org.
7368 *
7369 * 5. Products derived from this software may not be called "OpenSSL"
7370 * nor may "OpenSSL" appear in their names without prior written
7371 * permission of the OpenSSL Project.
7372 *
7373 * 6. Redistributions of any form whatsoever must retain the following
7374 * acknowledgment:
7375 * "This product includes software developed by the OpenSSL Project
7376 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
7377 *
7378 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
7379 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7380 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
7381 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
7382 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7383 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
7384 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
7385 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7386 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
7387 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
7388 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
7389 * OF THE POSSIBILITY OF SUCH DAMAGE.
7390 * ====================================================================
7391 *
7392 * This product includes cryptographic software written by Eric Young
7393 * (eay@cryptsoft.com). This product includes software written by Tim
7394 * Hudson (tjh@cryptsoft.com).
7395 *
7396 */
7397
7398 Original SSLeay License
7399 -----------------------
7400
7401/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
7402 * All rights reserved.
7403 *
7404 * This package is an SSL implementation written
7405 * by Eric Young (eay@cryptsoft.com).
7406 * The implementation was written so as to conform with Netscapes SSL.
7407 *
7408 * This library is free for commercial and non-commercial use as long as
7409 * the following conditions are aheared to. The following conditions
7410 * apply to all code found in this distribution, be it the RC4, RSA,
7411 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
7412 * included with this distribution is covered by the same copyright terms
7413 * except that the holder is Tim Hudson (tjh@cryptsoft.com).
7414 *
7415 * Copyright remains Eric Young's, and as such any Copyright notices in
7416 * the code are not to be removed.
7417 * If this package is used in a product, Eric Young should be given attribution
7418 * as the author of the parts of the library used.
7419 * This can be in the form of a textual message at program startup or
7420 * in documentation (online or textual) provided with the package.
7421 *
7422 * Redistribution and use in source and binary forms, with or without
7423 * modification, are permitted provided that the following conditions
7424 * are met:
7425 * 1. Redistributions of source code must retain the copyright
7426 * notice, this list of conditions and the following disclaimer.
7427 * 2. Redistributions in binary form must reproduce the above copyright
7428 * notice, this list of conditions and the following disclaimer in the
7429 * documentation and/or other materials provided with the distribution.
7430 * 3. All advertising materials mentioning features or use of this software
7431 * must display the following acknowledgement:
7432 * "This product includes cryptographic software written by
7433 * Eric Young (eay@cryptsoft.com)"
7434 * The word 'cryptographic' can be left out if the rouines from the library
7435 * being used are not cryptographic related :-).
7436 * 4. If you include any Windows specific code (or a derivative thereof) from
7437 * the apps directory (application code) you must include an acknowledgement:
7438 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
7439 *
7440 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
7441 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7442 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
7443 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
7444 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
7445 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
7446 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7447 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
7448 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
7449 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
7450 * SUCH DAMAGE.
7451 *
7452 * The licence and distribution terms for any publically available version or
7453 * derivative of this code cannot be changed. i.e. this code cannot simply be
7454 * copied and put under another distribution licence
7455 * [including the GNU Public Licence.]
7456 */
7457
7458
7459Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic,
7460 Jean-Marc Valin, Timothy B. Terriberry,
7461 CSIRO, Gregory Maxwell, Mark Borgerding,
7462 Erik de Castro Lopo
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007463
7464Redistribution and use in source and binary forms, with or without
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007465modification, are permitted provided that the following conditions
7466are met:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007467
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007468- Redistributions of source code must retain the above copyright
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007469notice, this list of conditions and the following disclaimer.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007470
7471- Redistributions in binary form must reproduce the above copyright
7472notice, this list of conditions and the following disclaimer in the
7473documentation and/or other materials provided with the distribution.
7474
7475- Neither the name of Internet Society, IETF or IETF Trust, nor the
7476names of specific contributors, may be used to endorse or promote
7477products derived from this software without specific prior written
7478permission.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007479
7480THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007481``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007482LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007483A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
7484OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
7485EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
7486PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
7487PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
7488LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
7489NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
7490SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007491
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007492Opus is subject to the royalty-free patent licenses which are
7493specified at:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007494
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007495Xiph.Org Foundation:
7496https://datatracker.ietf.org/ipr/1524/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007497
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007498Microsoft Corporation:
7499https://datatracker.ietf.org/ipr/1914/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007500
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007501Broadcom Corporation:
7502https://datatracker.ietf.org/ipr/1526/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007503
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007504// Copyright (c) 2009 The Chromium Authors. All rights reserved.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007505//
7506// Redistribution and use in source and binary forms, with or without
7507// modification, are permitted provided that the following conditions are
7508// met:
7509//
7510// * Redistributions of source code must retain the above copyright
7511// notice, this list of conditions and the following disclaimer.
7512// * Redistributions in binary form must reproduce the above
7513// copyright notice, this list of conditions and the following disclaimer
7514// in the documentation and/or other materials provided with the
7515// distribution.
7516// * Neither the name of Google Inc. nor the names of its
7517// contributors may be used to endorse or promote products derived from
7518// this software without specific prior written permission.
7519//
7520// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7521// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7522// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7523// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7524// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7525// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7526// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7527// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7528// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7529// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7530// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7531
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007532PLY (Python Lex-Yacc) Version 3.4
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007533
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007534Copyright (C) 2001-2011,
7535David M. Beazley (Dabeaz LLC)
7536All rights reserved.
7537
7538Redistribution and use in source and binary forms, with or without
7539modification, are permitted provided that the following conditions are
7540met:
7541
7542* Redistributions of source code must retain the above copyright notice,
7543 this list of conditions and the following disclaimer.
7544* Redistributions in binary form must reproduce the above copyright notice,
7545 this list of conditions and the following disclaimer in the documentation
7546 and/or other materials provided with the distribution.
7547* Neither the name of the David Beazley or Dabeaz LLC may be used to
7548 endorse or promote products derived from this software without
7549 specific prior written permission.
7550
7551THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7552"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7553LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7554A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7555OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7556SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7557LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7558DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7559THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7560(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7561OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7562Copyright 2008, Google Inc.
7563All rights reserved.
7564
7565Redistribution and use in source and binary forms, with or without
7566modification, are permitted provided that the following conditions are
7567met:
7568
7569 * Redistributions of source code must retain the above copyright
7570notice, this list of conditions and the following disclaimer.
7571 * Redistributions in binary form must reproduce the above
7572copyright notice, this list of conditions and the following disclaimer
7573in the documentation and/or other materials provided with the
7574distribution.
7575 * Neither the name of Google Inc. nor the names of its
7576contributors may be used to endorse or promote products derived from
7577this software without specific prior written permission.
7578
7579THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7580"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7581LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7582A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7583OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7584SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7585LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7586DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7587THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7588(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7589OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7590
7591Code generated by the Protocol Buffer compiler is owned by the owner
7592of the input file used when generating it. This code is not
7593standalone and requires a support library to be linked with it. This
7594support library is itself covered by the above license.
7595
7596Copyright (c) 2003-2012, Michael Foord
7597All rights reserved.
7598
7599Redistribution and use in source and binary forms, with or without
7600modification, are permitted provided that the following conditions are
7601met:
7602
7603 * Redistributions of source code must retain the above copyright
7604 notice, this list of conditions and the following disclaimer.
7605
7606 * Redistributions in binary form must reproduce the above
7607 copyright notice, this list of conditions and the following
7608 disclaimer in the documentation and/or other materials provided
7609 with the distribution.
7610
7611THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7612"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7613LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7614A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7615OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7616SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7617LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7618DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7619THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7620(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7621OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7622
7623qcms
7624Copyright (C) 2009 Mozilla Corporation
7625Copyright (C) 1998-2007 Marti Maria
7626
7627Permission is hereby granted, free of charge, to any person obtaining
7628a copy of this software and associated documentation files (the "Software"),
7629to deal in the Software without restriction, including without limitation
7630the rights to use, copy, modify, merge, publish, distribute, sublicense,
7631and/or sell copies of the Software, and to permit persons to whom the Software
7632is furnished to do so, subject to the following conditions:
7633
7634The above copyright notice and this permission notice shall be included in
7635all copies or substantial portions of the Software.
7636
7637THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
7638EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
7639THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
7640NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
7641LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
7642OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
7643WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7644
7645// Copyright (c) 2009 The RE2 Authors. All rights reserved.
7646//
7647// Redistribution and use in source and binary forms, with or without
7648// modification, are permitted provided that the following conditions are
7649// met:
7650//
7651// * Redistributions of source code must retain the above copyright
7652// notice, this list of conditions and the following disclaimer.
7653// * Redistributions in binary form must reproduce the above
7654// copyright notice, this list of conditions and the following disclaimer
7655// in the documentation and/or other materials provided with the
7656// distribution.
7657// * Neither the name of Google Inc. nor the names of its
7658// contributors may be used to endorse or promote products derived from
7659// this software without specific prior written permission.
7660//
7661// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7662// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7663// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7664// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7665// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7666// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7667// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7668// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7669// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7670// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7671// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007672
7673
7674 Apache License
7675 Version 2.0, January 2004
7676 http://www.apache.org/licenses/
7677
7678 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7679
7680 1. Definitions.
7681
7682 "License" shall mean the terms and conditions for use, reproduction,
7683 and distribution as defined by Sections 1 through 9 of this document.
7684
7685 "Licensor" shall mean the copyright owner or entity authorized by
7686 the copyright owner that is granting the License.
7687
7688 "Legal Entity" shall mean the union of the acting entity and all
7689 other entities that control, are controlled by, or are under common
7690 control with that entity. For the purposes of this definition,
7691 "control" means (i) the power, direct or indirect, to cause the
7692 direction or management of such entity, whether by contract or
7693 otherwise, or (ii) ownership of fifty percent (50%) or more of the
7694 outstanding shares, or (iii) beneficial ownership of such entity.
7695
7696 "You" (or "Your") shall mean an individual or Legal Entity
7697 exercising permissions granted by this License.
7698
7699 "Source" form shall mean the preferred form for making modifications,
7700 including but not limited to software source code, documentation
7701 source, and configuration files.
7702
7703 "Object" form shall mean any form resulting from mechanical
7704 transformation or translation of a Source form, including but
7705 not limited to compiled object code, generated documentation,
7706 and conversions to other media types.
7707
7708 "Work" shall mean the work of authorship, whether in Source or
7709 Object form, made available under the License, as indicated by a
7710 copyright notice that is included in or attached to the work
7711 (an example is provided in the Appendix below).
7712
7713 "Derivative Works" shall mean any work, whether in Source or Object
7714 form, that is based on (or derived from) the Work and for which the
7715 editorial revisions, annotations, elaborations, or other modifications
7716 represent, as a whole, an original work of authorship. For the purposes
7717 of this License, Derivative Works shall not include works that remain
7718 separable from, or merely link (or bind by name) to the interfaces of,
7719 the Work and Derivative Works thereof.
7720
7721 "Contribution" shall mean any work of authorship, including
7722 the original version of the Work and any modifications or additions
7723 to that Work or Derivative Works thereof, that is intentionally
7724 submitted to Licensor for inclusion in the Work by the copyright owner
7725 or by an individual or Legal Entity authorized to submit on behalf of
7726 the copyright owner. For the purposes of this definition, "submitted"
7727 means any form of electronic, verbal, or written communication sent
7728 to the Licensor or its representatives, including but not limited to
7729 communication on electronic mailing lists, source code control systems,
7730 and issue tracking systems that are managed by, or on behalf of, the
7731 Licensor for the purpose of discussing and improving the Work, but
7732 excluding communication that is conspicuously marked or otherwise
7733 designated in writing by the copyright owner as "Not a Contribution."
7734
7735 "Contributor" shall mean Licensor and any individual or Legal Entity
7736 on behalf of whom a Contribution has been received by Licensor and
7737 subsequently incorporated within the Work.
7738
7739 2. Grant of Copyright License. Subject to the terms and conditions of
7740 this License, each Contributor hereby grants to You a perpetual,
7741 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7742 copyright license to reproduce, prepare Derivative Works of,
7743 publicly display, publicly perform, sublicense, and distribute the
7744 Work and such Derivative Works in Source or Object form.
7745
7746 3. Grant of Patent License. Subject to the terms and conditions of
7747 this License, each Contributor hereby grants to You a perpetual,
7748 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7749 (except as stated in this section) patent license to make, have made,
7750 use, offer to sell, sell, import, and otherwise transfer the Work,
7751 where such license applies only to those patent claims licensable
7752 by such Contributor that are necessarily infringed by their
7753 Contribution(s) alone or by combination of their Contribution(s)
7754 with the Work to which such Contribution(s) was submitted. If You
7755 institute patent litigation against any entity (including a
7756 cross-claim or counterclaim in a lawsuit) alleging that the Work
7757 or a Contribution incorporated within the Work constitutes direct
7758 or contributory patent infringement, then any patent licenses
7759 granted to You under this License for that Work shall terminate
7760 as of the date such litigation is filed.
7761
7762 4. Redistribution. You may reproduce and distribute copies of the
7763 Work or Derivative Works thereof in any medium, with or without
7764 modifications, and in Source or Object form, provided that You
7765 meet the following conditions:
7766
7767 (a) You must give any other recipients of the Work or
7768 Derivative Works a copy of this License; and
7769
7770 (b) You must cause any modified files to carry prominent notices
7771 stating that You changed the files; and
7772
7773 (c) You must retain, in the Source form of any Derivative Works
7774 that You distribute, all copyright, patent, trademark, and
7775 attribution notices from the Source form of the Work,
7776 excluding those notices that do not pertain to any part of
7777 the Derivative Works; and
7778
7779 (d) If the Work includes a "NOTICE" text file as part of its
7780 distribution, then any Derivative Works that You distribute must
7781 include a readable copy of the attribution notices contained
7782 within such NOTICE file, excluding those notices that do not
7783 pertain to any part of the Derivative Works, in at least one
7784 of the following places: within a NOTICE text file distributed
7785 as part of the Derivative Works; within the Source form or
7786 documentation, if provided along with the Derivative Works; or,
7787 within a display generated by the Derivative Works, if and
7788 wherever such third-party notices normally appear. The contents
7789 of the NOTICE file are for informational purposes only and
7790 do not modify the License. You may add Your own attribution
7791 notices within Derivative Works that You distribute, alongside
7792 or as an addendum to the NOTICE text from the Work, provided
7793 that such additional attribution notices cannot be construed
7794 as modifying the License.
7795
7796 You may add Your own copyright statement to Your modifications and
7797 may provide additional or different license terms and conditions
7798 for use, reproduction, or distribution of Your modifications, or
7799 for any such Derivative Works as a whole, provided Your use,
7800 reproduction, and distribution of the Work otherwise complies with
7801 the conditions stated in this License.
7802
7803 5. Submission of Contributions. Unless You explicitly state otherwise,
7804 any Contribution intentionally submitted for inclusion in the Work
7805 by You to the Licensor shall be under the terms and conditions of
7806 this License, without any additional terms or conditions.
7807 Notwithstanding the above, nothing herein shall supersede or modify
7808 the terms of any separate license agreement you may have executed
7809 with Licensor regarding such Contributions.
7810
7811 6. Trademarks. This License does not grant permission to use the trade
7812 names, trademarks, service marks, or product names of the Licensor,
7813 except as required for reasonable and customary use in describing the
7814 origin of the Work and reproducing the content of the NOTICE file.
7815
7816 7. Disclaimer of Warranty. Unless required by applicable law or
7817 agreed to in writing, Licensor provides the Work (and each
7818 Contributor provides its Contributions) on an "AS IS" BASIS,
7819 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
7820 implied, including, without limitation, any warranties or conditions
7821 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
7822 PARTICULAR PURPOSE. You are solely responsible for determining the
7823 appropriateness of using or redistributing the Work and assume any
7824 risks associated with Your exercise of permissions under this License.
7825
7826 8. Limitation of Liability. In no event and under no legal theory,
7827 whether in tort (including negligence), contract, or otherwise,
7828 unless required by applicable law (such as deliberate and grossly
7829 negligent acts) or agreed to in writing, shall any Contributor be
7830 liable to You for damages, including any direct, indirect, special,
7831 incidental, or consequential damages of any character arising as a
7832 result of this License or out of the use or inability to use the
7833 Work (including but not limited to damages for loss of goodwill,
7834 work stoppage, computer failure or malfunction, or any and all
7835 other commercial damages or losses), even if such Contributor
7836 has been advised of the possibility of such damages.
7837
7838 9. Accepting Warranty or Additional Liability. While redistributing
7839 the Work or Derivative Works thereof, You may choose to offer,
7840 and charge a fee for, acceptance of support, warranty, indemnity,
7841 or other liability obligations and/or rights consistent with this
7842 License. However, in accepting such obligations, You may act only
7843 on Your own behalf and on Your sole responsibility, not on behalf
7844 of any other Contributor, and only if You agree to indemnify,
7845 defend, and hold each Contributor harmless for any liability
7846 incurred by, or claims asserted against, such Contributor by reason
7847 of your accepting any such warranty or additional liability.
7848
7849 END OF TERMS AND CONDITIONS
7850
7851 APPENDIX: How to apply the Apache License to your work.
7852
7853 To apply the Apache License to your work, attach the following
7854 boilerplate notice, with the fields enclosed by brackets "[]"
7855 replaced with your own identifying information. (Don't include
7856 the brackets!) The text should be enclosed in the appropriate
7857 comment syntax for the file format. We also recommend that a
7858 file or class name and description of purpose be included on the
7859 same "printed page" as the copyright notice for easier
7860 identification within third-party archives.
7861
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007862 Copyright 2011 Google Inc. All Rights Reserved.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007863
7864 Licensed under the Apache License, Version 2.0 (the "License");
7865 you may not use this file except in compliance with the License.
7866 You may obtain a copy of the License at
7867
7868 http://www.apache.org/licenses/LICENSE-2.0
7869
7870 Unless required by applicable law or agreed to in writing, software
7871 distributed under the License is distributed on an "AS IS" BASIS,
7872 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7873 See the License for the specific language governing permissions and
7874 limitations under the License.
7875
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007876
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007877Copyright (c) 2006 Bob Ippolito
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007878
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007879Permission is hereby granted, free of charge, to any person obtaining a copy of
7880this software and associated documentation files (the "Software"), to deal in
7881the Software without restriction, including without limitation the rights to
7882use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7883of the Software, and to permit persons to whom the Software is furnished to do
7884so, subject to the following conditions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007885
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007886The above copyright notice and this permission notice shall be included in all
7887copies or substantial portions of the Software.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007888
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007889THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7890IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7891FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7892AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7893LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7894OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7895SOFTWARE.
7896
7897// Copyright (c) 2011 Google Inc. All rights reserved.
7898//
7899// Redistribution and use in source and binary forms, with or without
7900// modification, are permitted provided that the following conditions are
7901// met:
7902//
7903// * Redistributions of source code must retain the above copyright
7904// notice, this list of conditions and the following disclaimer.
7905// * Redistributions in binary form must reproduce the above
7906// copyright notice, this list of conditions and the following disclaimer
7907// in the documentation and/or other materials provided with the
7908// distribution.
7909// * Neither the name of Google Inc. nor the names of its
7910// contributors may be used to endorse or promote products derived from
7911// this software without specific prior written permission.
7912//
7913// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7914// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7915// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7916// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7917// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7918// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7919// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7920// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7921// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7922// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7923// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7924
7925All MurmurHash source files are placed in the public domain.
7926
7927The license below applies to all other code in SMHasher:
7928
7929Copyright (c) 2011 Google, Inc.
7930
7931Permission is hereby granted, free of charge, to any person obtaining a copy
7932of this software and associated documentation files (the "Software"), to deal
7933in the Software without restriction, including without limitation the rights
7934to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7935copies of the Software, and to permit persons to whom the Software is
7936furnished to do so, subject to the following conditions:
7937
7938The above copyright notice and this permission notice shall be included in
7939all copies or substantial portions of the Software.
7940
7941THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7942IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7943FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7944AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7945LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7946OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
7947THE SOFTWARE.
7948
7949The author disclaims copyright to this source code. In place of
7950a legal notice, here is a blessing:
7951
7952 May you do good and not evil.
7953 May you find forgiveness for yourself and forgive others.
7954 May you share freely, never taking more than you give.
7955
7956SWIG is distributed under the following terms:
7957
7958I.
7959
7960Copyright (c) 1995-1998
7961The University of Utah and the Regents of the University of California
7962All Rights Reserved
7963
7964Permission is hereby granted, without written agreement and without
7965license or royalty fees, to use, copy, modify, and distribute this
7966software and its documentation for any purpose, provided that
7967(1) The above copyright notice and the following two paragraphs
7968appear in all copies of the source code and (2) redistributions
7969including binaries reproduces these notices in the supporting
7970documentation. Substantial modifications to this software may be
7971copyrighted by their authors and need not follow the licensing terms
7972described here, provided that the new terms are clearly indicated in
7973all files where they apply.
7974
7975IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE
7976UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY
7977PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
7978DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
7979EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF
7980THE POSSIBILITY OF SUCH DAMAGE.
7981
7982THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH
7983SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO,
7984THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
7985PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND
7986THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE,
7987SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
7988
7989
7990II.
7991
7992This software includes contributions that are Copyright (c) 1998-2005
7993University of Chicago.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007994All rights reserved.
7995
7996Redistribution and use in source and binary forms, with or without
7997modification, are permitted provided that the following conditions are
7998met:
7999
8000Redistributions of source code must retain the above copyright notice,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008001this list of conditions and the following disclaimer. Redistributions
8002in binary form must reproduce the above copyright notice, this list of
8003conditions and the following disclaimer in the documentation and/or
8004other materials provided with the distribution. Neither the name of
8005the University of Chicago nor the names of its contributors may be
8006used to endorse or promote products derived from this software without
8007specific prior written permission.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008008
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008009THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF CHICAGO AND CONTRIBUTORS
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008010"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008011LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
8012PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF
8013CHICAGO OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8014SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
8015TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
8016PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
8017LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
8018NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
8019SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008020
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008021
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008022III.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008023
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008024This software includes contributions that are Copyright (c) 2005-2006
8025Arizona Board of Regents (University of Arizona).
8026All Rights Reserved
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008027
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008028Permission is hereby granted, without written agreement and without
8029license or royalty fees, to use, copy, modify, and distribute this
8030software and its documentation for any purpose, provided that
8031(1) The above copyright notice and the following two paragraphs
8032appear in all copies of the source code and (2) redistributions
8033including binaries reproduces these notices in the supporting
8034documentation. Substantial modifications to this software may be
8035copyrighted by their authors and need not follow the licensing terms
8036described here, provided that the new terms are clearly indicated in
8037all files where they apply.
8038
8039THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA AND CONTRIBUTORS
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008040"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008041LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
8042PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF
8043ARIZONA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8044SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
8045TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
8046PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
8047LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
8048NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
8049SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8050
8051
8052// Copyright (c) 2005, Google Inc.
8053// All rights reserved.
8054//
8055// Redistribution and use in source and binary forms, with or without
8056// modification, are permitted provided that the following conditions are
8057// met:
8058//
8059// * Redistributions of source code must retain the above copyright
8060// notice, this list of conditions and the following disclaimer.
8061// * Redistributions in binary form must reproduce the above
8062// copyright notice, this list of conditions and the following disclaimer
8063// in the documentation and/or other materials provided with the
8064// distribution.
8065// * Neither the name of Google Inc. nor the names of its
8066// contributors may be used to endorse or promote products derived from
8067// this software without specific prior written permission.
8068//
8069// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
8070// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
8071// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8072// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
8073// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8074// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
8075// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8076// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8077// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8078// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8079// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8080
8081All code here is public domain.
8082
8083Copyright (c) 2012, Linux USB Project
8084All rights reserved.
8085
8086Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
8087
8088o Redistributions of source code must retain the above copyright notice,
8089 this list of conditions and the following disclaimer.
8090
8091o Redistributions in binary form must reproduce the above copyright
8092 notice, this list of conditions and the following disclaimer in the
8093 documentation and/or other materials provided with the distribution.
8094
8095o Neither the name of the Linux USB Project nor the names of its
8096 contributors may be used to endorse or promote products derived from
8097 this software without specific prior written permission.
8098
8099THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8100
Torne (Richard Coles)b2df76e2013-05-13 16:52:09 +01008101(Copied from the COPYRIGHT file of
8102https://code.google.com/p/sctp-refimpl/source/browse/trunk/COPYRIGHT)
8103--------------------------------------------------------------------------------
8104
8105Copyright (c) 2001, 2002 Cisco Systems, Inc.
8106Copyright (c) 2002-12 Randall R. Stewart
8107Copyright (c) 2002-12 Michael Tuexen
8108All rights reserved.
8109
8110Redistribution and use in source and binary forms, with or without
8111modification, are permitted provided that the following conditions
8112are met:
8113
81141. Redistributions of source code must retain the above copyright
8115 notice, this list of conditions and the following disclaimer.
81162. Redistributions in binary form must reproduce the above copyright
8117 notice, this list of conditions and the following disclaimer in the
8118 documentation and/or other materials provided with the distribution.
8119
8120THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
8121ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
8122IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
8123ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
8124FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
8125DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
8126OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
8127HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
8128LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
8129OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
8130SUCH DAMAGE.
8131
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008132Copyright 2012 the v8-i18n authors.
8133
8134Licensed under the Apache License, Version 2.0 (the "License");
8135you may not use this file except in compliance with the License.
8136You may obtain a copy of the License at
8137
8138 http://www.apache.org/licenses/LICENSE-2.0
8139
8140Unless required by applicable law or agreed to in writing, software
8141distributed under the License is distributed on an "AS IS" BASIS,
8142WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8143See the License for the specific language governing permissions and
8144limitations under the License.
8145
8146;*****************************************************************************
8147;* x86inc.asm
8148;*****************************************************************************
8149;* Copyright (C) 2005-2011 x264 project
8150;*
8151;* Authors: Loren Merritt <lorenm@u.washington.edu>
8152;* Anton Mitrofanov <BugMaster@narod.ru>
8153;* Jason Garrett-Glaser <darkshikari@gmail.com>
8154;*
8155;* Permission to use, copy, modify, and/or distribute this software for any
8156;* purpose with or without fee is hereby granted, provided that the above
8157;* copyright notice and this permission notice appear in all copies.
8158;*
8159;* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8160;* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
8161;* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
8162;* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
8163;* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
8164;* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
8165;* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
8166;*****************************************************************************
8167
8168; This is a header file for the x264ASM assembly language, which uses
8169; NASM/YASM syntax combined with a large number of macros to provide easy
8170; abstraction between different calling conventions (x86_32, win64, linux64).
8171; It also has various other useful features to simplify writing the kind of
8172; DSP functions that are most often used in x264.
8173
8174; Unlike the rest of x264, this file is available under an ISC license, as it
8175; has significant usefulness outside of x264 and we want it to be available
8176; to the largest audience possible. Of course, if you modify it for your own
8177; purposes to add a new feature, we strongly encourage contributing a patch
8178; as this feature might be useful for others as well. Send patches or ideas
8179; to x264-devel@videolan.org .
8180
8181Yasm is Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
8182
8183Yasm developers and/or contributors include:
8184 Peter Johnson
8185 Michael Urman
8186 Brian Gladman (Visual Studio build files, other fixes)
8187 Stanislav Karchebny (options parser)
8188 Mathieu Monnier (SSE4 instruction patches, NASM preprocessor additions)
8189 Anonymous "NASM64" developer (NASM preprocessor fixes)
8190 Stephen Polkowski (x86 instruction patches)
8191 Henryk Richter (Mach-O object format)
8192 Ben Skeggs (patches, bug reports)
8193 Alexei Svitkine (GAS preprocessor)
8194 Samuel Thibault (TASM parser and frontend)
8195
8196-----------------------------------
8197Yasm licensing overview and summary
8198-----------------------------------
8199
8200Note: This document does not provide legal advice nor is it the actual
8201license of any part of Yasm. See the individual licenses for complete
8202details. Consult a lawyer for legal advice.
8203
8204The primary license of Yasm is the 2-clause BSD license. Please use this
8205license if you plan on submitting code to the project.
8206
8207Yasm has absolutely no warranty; not even for merchantibility or fitness
8208for a particular purpose.
8209
8210-------
8211Libyasm
8212-------
8213Libyasm is 2-clause or 3-clause BSD licensed, with the exception of
8214bitvect, which is triple-licensed under the Artistic license, GPL, and
8215LGPL. Libyasm is thus GPL and LGPL compatible. In addition, this also
8216means that libyasm is free for binary-only distribution as long as the
8217terms of the 3-clause BSD license and Artistic license (as it applies to
8218bitvect) are fulfilled.
8219
8220-------
8221Modules
8222-------
8223The modules are 2-clause or 3-clause BSD licensed.
8224
8225---------
8226Frontends
8227---------
8228The frontends are 2-clause BSD licensed.
8229
8230-------------
8231License Texts
8232-------------
8233The full text of all licenses are provided in separate files in the source
8234distribution. Each source file may include the entire license (in the case
8235of the BSD and Artistic licenses), or may reference the GPL or LGPL license
8236file.
8237
8238BSD.txt - 2-clause and 3-clause BSD licenses
8239Artistic.txt - Artistic license
8240GNU_GPL-2.0 - GNU General Public License
8241GNU_LGPL-2.0 - GNU Library General Public License
8242
8243/* zlib.h -- interface of the 'zlib' general purpose compression library
8244 version 1.2.4, March 14th, 2010
8245
8246 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
8247
8248 This software is provided 'as-is', without any express or implied
8249 warranty. In no event will the authors be held liable for any damages
8250 arising from the use of this software.
8251
8252 Permission is granted to anyone to use this software for any purpose,
8253 including commercial applications, and to alter it and redistribute it
8254 freely, subject to the following restrictions:
8255
8256 1. The origin of this software must not be misrepresented; you must not
8257 claim that you wrote the original software. If you use this software
8258 in a product, an acknowledgment in the product documentation would be
8259 appreciated but is not required.
8260 2. Altered source versions must be plainly marked as such, and must not be
8261 misrepresented as being the original software.
8262 3. This notice may not be removed or altered from any source distribution.
8263
8264 Jean-loup Gailly
8265 Mark Adler
8266
8267*/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008268
8269This license applies to all parts of V8 that are not externally
8270maintained libraries. The externally maintained libraries used by V8
8271are:
8272
8273 - PCRE test suite, located in
8274 test/mjsunit/third_party/regexp-pcre.js. This is based on the
8275 test suite from PCRE-7.3, which is copyrighted by the University
8276 of Cambridge and Google, Inc. The copyright notice and license
8277 are embedded in regexp-pcre.js.
8278
8279 - Layout tests, located in test/mjsunit/third_party. These are
8280 based on layout tests from webkit.org which are copyrighted by
8281 Apple Computer, Inc. and released under a 3-clause BSD license.
8282
8283 - Strongtalk assembler, the basis of the files assembler-arm-inl.h,
8284 assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h,
8285 assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h,
8286 assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h,
8287 assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h.
8288 This code is copyrighted by Sun Microsystems Inc. and released
8289 under a 3-clause BSD license.
8290
8291 - Valgrind client API header, located at third_party/valgrind/valgrind.h
8292 This is release under the BSD license.
8293
8294These libraries have their own licenses; we recommend you read them,
8295as their terms may differ from the terms below.
8296
8297Copyright 2006-2012, the V8 project authors. All rights reserved.
8298Redistribution and use in source and binary forms, with or without
8299modification, are permitted provided that the following conditions are
8300met:
8301
8302 * Redistributions of source code must retain the above copyright
8303 notice, this list of conditions and the following disclaimer.
8304 * Redistributions in binary form must reproduce the above
8305 copyright notice, this list of conditions and the following
8306 disclaimer in the documentation and/or other materials provided
8307 with the distribution.
8308 * Neither the name of Google Inc. nor the names of its
8309 contributors may be used to endorse or promote products derived
8310 from this software without specific prior written permission.
8311
8312THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
8313"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
8314LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8315A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
8316OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8317SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
8318LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8319DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8320THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8321(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8322OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.