blob: 5cb7e227fb20620a408bc1d39d0ba2526a686d0f [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)58218062012-11-14 11:43:16 +00002422
2423 Apache License
2424 Version 2.0, January 2004
2425 http://www.apache.org/licenses/
2426
2427 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
2428
2429 1. Definitions.
2430
2431 "License" shall mean the terms and conditions for use, reproduction,
2432 and distribution as defined by Sections 1 through 9 of this document.
2433
2434 "Licensor" shall mean the copyright owner or entity authorized by
2435 the copyright owner that is granting the License.
2436
2437 "Legal Entity" shall mean the union of the acting entity and all
2438 other entities that control, are controlled by, or are under common
2439 control with that entity. For the purposes of this definition,
2440 "control" means (i) the power, direct or indirect, to cause the
2441 direction or management of such entity, whether by contract or
2442 otherwise, or (ii) ownership of fifty percent (50%) or more of the
2443 outstanding shares, or (iii) beneficial ownership of such entity.
2444
2445 "You" (or "Your") shall mean an individual or Legal Entity
2446 exercising permissions granted by this License.
2447
2448 "Source" form shall mean the preferred form for making modifications,
2449 including but not limited to software source code, documentation
2450 source, and configuration files.
2451
2452 "Object" form shall mean any form resulting from mechanical
2453 transformation or translation of a Source form, including but
2454 not limited to compiled object code, generated documentation,
2455 and conversions to other media types.
2456
2457 "Work" shall mean the work of authorship, whether in Source or
2458 Object form, made available under the License, as indicated by a
2459 copyright notice that is included in or attached to the work
2460 (an example is provided in the Appendix below).
2461
2462 "Derivative Works" shall mean any work, whether in Source or Object
2463 form, that is based on (or derived from) the Work and for which the
2464 editorial revisions, annotations, elaborations, or other modifications
2465 represent, as a whole, an original work of authorship. For the purposes
2466 of this License, Derivative Works shall not include works that remain
2467 separable from, or merely link (or bind by name) to the interfaces of,
2468 the Work and Derivative Works thereof.
2469
2470 "Contribution" shall mean any work of authorship, including
2471 the original version of the Work and any modifications or additions
2472 to that Work or Derivative Works thereof, that is intentionally
2473 submitted to Licensor for inclusion in the Work by the copyright owner
2474 or by an individual or Legal Entity authorized to submit on behalf of
2475 the copyright owner. For the purposes of this definition, "submitted"
2476 means any form of electronic, verbal, or written communication sent
2477 to the Licensor or its representatives, including but not limited to
2478 communication on electronic mailing lists, source code control systems,
2479 and issue tracking systems that are managed by, or on behalf of, the
2480 Licensor for the purpose of discussing and improving the Work, but
2481 excluding communication that is conspicuously marked or otherwise
2482 designated in writing by the copyright owner as "Not a Contribution."
2483
2484 "Contributor" shall mean Licensor and any individual or Legal Entity
2485 on behalf of whom a Contribution has been received by Licensor and
2486 subsequently incorporated within the Work.
2487
2488 2. Grant of Copyright License. Subject to the terms and conditions of
2489 this License, each Contributor hereby grants to You a perpetual,
2490 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2491 copyright license to reproduce, prepare Derivative Works of,
2492 publicly display, publicly perform, sublicense, and distribute the
2493 Work and such Derivative Works in Source or Object form.
2494
2495 3. Grant of Patent License. Subject to the terms and conditions of
2496 this License, each Contributor hereby grants to You a perpetual,
2497 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2498 (except as stated in this section) patent license to make, have made,
2499 use, offer to sell, sell, import, and otherwise transfer the Work,
2500 where such license applies only to those patent claims licensable
2501 by such Contributor that are necessarily infringed by their
2502 Contribution(s) alone or by combination of their Contribution(s)
2503 with the Work to which such Contribution(s) was submitted. If You
2504 institute patent litigation against any entity (including a
2505 cross-claim or counterclaim in a lawsuit) alleging that the Work
2506 or a Contribution incorporated within the Work constitutes direct
2507 or contributory patent infringement, then any patent licenses
2508 granted to You under this License for that Work shall terminate
2509 as of the date such litigation is filed.
2510
2511 4. Redistribution. You may reproduce and distribute copies of the
2512 Work or Derivative Works thereof in any medium, with or without
2513 modifications, and in Source or Object form, provided that You
2514 meet the following conditions:
2515
2516 (a) You must give any other recipients of the Work or
2517 Derivative Works a copy of this License; and
2518
2519 (b) You must cause any modified files to carry prominent notices
2520 stating that You changed the files; and
2521
2522 (c) You must retain, in the Source form of any Derivative Works
2523 that You distribute, all copyright, patent, trademark, and
2524 attribution notices from the Source form of the Work,
2525 excluding those notices that do not pertain to any part of
2526 the Derivative Works; and
2527
2528 (d) If the Work includes a "NOTICE" text file as part of its
2529 distribution, then any Derivative Works that You distribute must
2530 include a readable copy of the attribution notices contained
2531 within such NOTICE file, excluding those notices that do not
2532 pertain to any part of the Derivative Works, in at least one
2533 of the following places: within a NOTICE text file distributed
2534 as part of the Derivative Works; within the Source form or
2535 documentation, if provided along with the Derivative Works; or,
2536 within a display generated by the Derivative Works, if and
2537 wherever such third-party notices normally appear. The contents
2538 of the NOTICE file are for informational purposes only and
2539 do not modify the License. You may add Your own attribution
2540 notices within Derivative Works that You distribute, alongside
2541 or as an addendum to the NOTICE text from the Work, provided
2542 that such additional attribution notices cannot be construed
2543 as modifying the License.
2544
2545 You may add Your own copyright statement to Your modifications and
2546 may provide additional or different license terms and conditions
2547 for use, reproduction, or distribution of Your modifications, or
2548 for any such Derivative Works as a whole, provided Your use,
2549 reproduction, and distribution of the Work otherwise complies with
2550 the conditions stated in this License.
2551
2552 5. Submission of Contributions. Unless You explicitly state otherwise,
2553 any Contribution intentionally submitted for inclusion in the Work
2554 by You to the Licensor shall be under the terms and conditions of
2555 this License, without any additional terms or conditions.
2556 Notwithstanding the above, nothing herein shall supersede or modify
2557 the terms of any separate license agreement you may have executed
2558 with Licensor regarding such Contributions.
2559
2560 6. Trademarks. This License does not grant permission to use the trade
2561 names, trademarks, service marks, or product names of the Licensor,
2562 except as required for reasonable and customary use in describing the
2563 origin of the Work and reproducing the content of the NOTICE file.
2564
2565 7. Disclaimer of Warranty. Unless required by applicable law or
2566 agreed to in writing, Licensor provides the Work (and each
2567 Contributor provides its Contributions) on an "AS IS" BASIS,
2568 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2569 implied, including, without limitation, any warranties or conditions
2570 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2571 PARTICULAR PURPOSE. You are solely responsible for determining the
2572 appropriateness of using or redistributing the Work and assume any
2573 risks associated with Your exercise of permissions under this License.
2574
2575 8. Limitation of Liability. In no event and under no legal theory,
2576 whether in tort (including negligence), contract, or otherwise,
2577 unless required by applicable law (such as deliberate and grossly
2578 negligent acts) or agreed to in writing, shall any Contributor be
2579 liable to You for damages, including any direct, indirect, special,
2580 incidental, or consequential damages of any character arising as a
2581 result of this License or out of the use or inability to use the
2582 Work (including but not limited to damages for loss of goodwill,
2583 work stoppage, computer failure or malfunction, or any and all
2584 other commercial damages or losses), even if such Contributor
2585 has been advised of the possibility of such damages.
2586
2587 9. Accepting Warranty or Additional Liability. While redistributing
2588 the Work or Derivative Works thereof, You may choose to offer,
2589 and charge a fee for, acceptance of support, warranty, indemnity,
2590 or other liability obligations and/or rights consistent with this
2591 License. However, in accepting such obligations, You may act only
2592 on Your own behalf and on Your sole responsibility, not on behalf
2593 of any other Contributor, and only if You agree to indemnify,
2594 defend, and hold each Contributor harmless for any liability
2595 incurred by, or claims asserted against, such Contributor by reason
2596 of your accepting any such warranty or additional liability.
2597
2598 END OF TERMS AND CONDITIONS
2599
2600 APPENDIX: How to apply the Apache License to your work.
2601
2602 To apply the Apache License to your work, attach the following
2603 boilerplate notice, with the fields enclosed by brackets "[]"
2604 replaced with your own identifying information. (Don't include
2605 the brackets!) The text should be enclosed in the appropriate
2606 comment syntax for the file format. We also recommend that a
2607 file or class name and description of purpose be included on the
2608 same "printed page" as the copyright notice for easier
2609 identification within third-party archives.
2610
2611 Copyright [yyyy] [name of copyright owner]
2612
2613 Licensed under the Apache License, Version 2.0 (the "License");
2614 you may not use this file except in compliance with the License.
2615 You may obtain a copy of the License at
2616
2617 http://www.apache.org/licenses/LICENSE-2.0
2618
2619 Unless required by applicable law or agreed to in writing, software
2620 distributed under the License is distributed on an "AS IS" BASIS,
2621 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2622 See the License for the specific language governing permissions and
2623 limitations under the License.
2624
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002625Copyright (c) 2012, Manfred Moitzi
2626
2627Permission is hereby granted, free of charge, to any person obtaining a
2628copy of this software and associated documentation files (the
2629"Software"), to deal in the Software without restriction, including
2630without limitation the rights to use, copy, modify, merge, publish,
2631distribute, sublicense, and/or sell copies of the Software, and to
2632permit persons to whom the Software is furnished to do so, subject to
2633the following conditions:
2634
2635The above copyright notice and this permission notice shall be included
2636in all copies or substantial portions of the Software.
2637
2638THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2639OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2640MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
2641IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
2642CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
2643TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
2644SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2645
2646Deutsche Übersetzung:
2647
2648Copyright (c) 2012, Manfred Moitzi
2649
2650Hiermit wird unentgeltlich, jeder Person, die eine Kopie der Software
2651und der zugehörigen Dokumentationen (die "Software") erhält, die
2652Erlaubnis erteilt, uneingeschränkt zu benutzen, inklusive und ohne
2653Ausnahme, dem Recht, sie zu verwenden, kopieren, ändern, fusionieren,
2654verlegen, verbreiten, unterlizenzieren und/oder zu verkaufen, und
2655Personen, die diese Software erhalten, diese Rechte zu geben, unter den
2656folgenden Bedingungen:
2657
2658Der obige Urheberrechtsvermerk und dieser Erlaubnisvermerk sind in allen
2659Kopien oder Teilkopien der Software beizulegen.
2660
2661DIE SOFTWARE WIRD OHNE JEDE AUSDRÜCKLICHE ODER IMPLIZIERTE GARANTIE
2662BEREITGESTELLT, EINSCHLIESSLICH DER GARANTIE ZUR BENUTZUNG FÜR DEN
2663VORGESEHENEN ODER EINEM BESTIMMTEN ZWECK SOWIE JEGLICHER
2664RECHTSVERLETZUNG, JEDOCH NICHT DARAUF BESCHRÄNKT. IN KEINEM FALL SIND
2665DIE AUTOREN ODER COPYRIGHTINHABER FÜR JEGLICHEN SCHADEN ODER SONSTIGE
2666ANSPRÜCHE HAFTBAR ZU MACHEN, OB INFOLGE DER ERFÜLLUNG EINES VERTRAGES,
2667EINES DELIKTES ODER ANDERS IM ZUSAMMENHANG MIT DER SOFTWARE ODER
2668SONSTIGER VERWENDUNG DER SOFTWARE ENTSTANDEN.
2669
2670
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002671
2672--------------------------------------------------------------------------
2673
2674This program, "bzip2", the associated library "libbzip2", and all
2675documentation, are copyright (C) 1996-2010 Julian R Seward. All
2676rights reserved.
2677
2678Redistribution and use in source and binary forms, with or without
2679modification, are permitted provided that the following conditions
2680are met:
2681
26821. Redistributions of source code must retain the above copyright
2683 notice, this list of conditions and the following disclaimer.
2684
26852. The origin of this software must not be misrepresented; you must
2686 not claim that you wrote the original software. If you use this
2687 software in a product, an acknowledgment in the product
2688 documentation would be appreciated but is not required.
2689
26903. Altered source versions must be plainly marked as such, and must
2691 not be misrepresented as being the original software.
2692
26934. The name of the author may not be used to endorse or promote
2694 products derived from this software without specific prior written
2695 permission.
2696
2697THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
2698OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2699WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2700ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
2701DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2702DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
2703GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2704INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2705WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
2706NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2707SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2708
2709Julian Seward, jseward@bzip.org
2710bzip2/libbzip2 version 1.0.6 of 6 September 2010
2711
2712--------------------------------------------------------------------------
2713
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002714// Copyright (c) 2010 The Chromium Authors. All rights reserved.
2715//
2716// Redistribution and use in source and binary forms, with or without
2717// modification, are permitted provided that the following conditions are
2718// met:
2719//
2720// * Redistributions of source code must retain the above copyright
2721// notice, this list of conditions and the following disclaimer.
2722// * Redistributions in binary form must reproduce the above
2723// copyright notice, this list of conditions and the following disclaimer
2724// in the documentation and/or other materials provided with the
2725// distribution.
2726// * Neither the name of Google Inc. nor the names of its
2727// contributors may be used to endorse or promote products derived from
2728// this software without specific prior written permission.
2729//
2730// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2731// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2732// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2733// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2734// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2735// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2736// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2737// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2738// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2739// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2740// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2741
2742 MOZILLA PUBLIC LICENSE
2743 Version 1.1
2744
2745 ---------------
2746
27471. Definitions.
2748
2749 1.0.1. "Commercial Use" means distribution or otherwise making the
2750 Covered Code available to a third party.
2751
2752 1.1. "Contributor" means each entity that creates or contributes to
2753 the creation of Modifications.
2754
2755 1.2. "Contributor Version" means the combination of the Original
2756 Code, prior Modifications used by a Contributor, and the Modifications
2757 made by that particular Contributor.
2758
2759 1.3. "Covered Code" means the Original Code or Modifications or the
2760 combination of the Original Code and Modifications, in each case
2761 including portions thereof.
2762
2763 1.4. "Electronic Distribution Mechanism" means a mechanism generally
2764 accepted in the software development community for the electronic
2765 transfer of data.
2766
2767 1.5. "Executable" means Covered Code in any form other than Source
2768 Code.
2769
2770 1.6. "Initial Developer" means the individual or entity identified
2771 as the Initial Developer in the Source Code notice required by Exhibit
2772 A.
2773
2774 1.7. "Larger Work" means a work which combines Covered Code or
2775 portions thereof with code not governed by the terms of this License.
2776
2777 1.8. "License" means this document.
2778
2779 1.8.1. "Licensable" means having the right to grant, to the maximum
2780 extent possible, whether at the time of the initial grant or
2781 subsequently acquired, any and all of the rights conveyed herein.
2782
2783 1.9. "Modifications" means any addition to or deletion from the
2784 substance or structure of either the Original Code or any previous
2785 Modifications. When Covered Code is released as a series of files, a
2786 Modification is:
2787 A. Any addition to or deletion from the contents of a file
2788 containing Original Code or previous Modifications.
2789
2790 B. Any new file that contains any part of the Original Code or
2791 previous Modifications.
2792
2793 1.10. "Original Code" means Source Code of computer software code
2794 which is described in the Source Code notice required by Exhibit A as
2795 Original Code, and which, at the time of its release under this
2796 License is not already Covered Code governed by this License.
2797
2798 1.10.1. "Patent Claims" means any patent claim(s), now owned or
2799 hereafter acquired, including without limitation, method, process,
2800 and apparatus claims, in any patent Licensable by grantor.
2801
2802 1.11. "Source Code" means the preferred form of the Covered Code for
2803 making modifications to it, including all modules it contains, plus
2804 any associated interface definition files, scripts used to control
2805 compilation and installation of an Executable, or source code
2806 differential comparisons against either the Original Code or another
2807 well known, available Covered Code of the Contributor's choice. The
2808 Source Code can be in a compressed or archival form, provided the
2809 appropriate decompression or de-archiving software is widely available
2810 for no charge.
2811
2812 1.12. "You" (or "Your") means an individual or a legal entity
2813 exercising rights under, and complying with all of the terms of, this
2814 License or a future version of this License issued under Section 6.1.
2815 For legal entities, "You" includes any entity which controls, is
2816 controlled by, or is under common control with You. For purposes of
2817 this definition, "control" means (a) the power, direct or indirect,
2818 to cause the direction or management of such entity, whether by
2819 contract or otherwise, or (b) ownership of more than fifty percent
2820 (50%) of the outstanding shares or beneficial ownership of such
2821 entity.
2822
28232. Source Code License.
2824
2825 2.1. The Initial Developer Grant.
2826 The Initial Developer hereby grants You a world-wide, royalty-free,
2827 non-exclusive license, subject to third party intellectual property
2828 claims:
2829 (a) under intellectual property rights (other than patent or
2830 trademark) Licensable by Initial Developer to use, reproduce,
2831 modify, display, perform, sublicense and distribute the Original
2832 Code (or portions thereof) with or without Modifications, and/or
2833 as part of a Larger Work; and
2834
2835 (b) under Patents Claims infringed by the making, using or
2836 selling of Original Code, to make, have made, use, practice,
2837 sell, and offer for sale, and/or otherwise dispose of the
2838 Original Code (or portions thereof).
2839
2840 (c) the licenses granted in this Section 2.1(a) and (b) are
2841 effective on the date Initial Developer first distributes
2842 Original Code under the terms of this License.
2843
2844 (d) Notwithstanding Section 2.1(b) above, no patent license is
2845 granted: 1) for code that You delete from the Original Code; 2)
2846 separate from the Original Code; or 3) for infringements caused
2847 by: i) the modification of the Original Code or ii) the
2848 combination of the Original Code with other software or devices.
2849
2850 2.2. Contributor Grant.
2851 Subject to third party intellectual property claims, each Contributor
2852 hereby grants You a world-wide, royalty-free, non-exclusive license
2853
2854 (a) under intellectual property rights (other than patent or
2855 trademark) Licensable by Contributor, to use, reproduce, modify,
2856 display, perform, sublicense and distribute the Modifications
2857 created by such Contributor (or portions thereof) either on an
2858 unmodified basis, with other Modifications, as Covered Code
2859 and/or as part of a Larger Work; and
2860
2861 (b) under Patent Claims infringed by the making, using, or
2862 selling of Modifications made by that Contributor either alone
2863 and/or in combination with its Contributor Version (or portions
2864 of such combination), to make, use, sell, offer for sale, have
2865 made, and/or otherwise dispose of: 1) Modifications made by that
2866 Contributor (or portions thereof); and 2) the combination of
2867 Modifications made by that Contributor with its Contributor
2868 Version (or portions of such combination).
2869
2870 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
2871 effective on the date Contributor first makes Commercial Use of
2872 the Covered Code.
2873
2874 (d) Notwithstanding Section 2.2(b) above, no patent license is
2875 granted: 1) for any code that Contributor has deleted from the
2876 Contributor Version; 2) separate from the Contributor Version;
2877 3) for infringements caused by: i) third party modifications of
2878 Contributor Version or ii) the combination of Modifications made
2879 by that Contributor with other software (except as part of the
2880 Contributor Version) or other devices; or 4) under Patent Claims
2881 infringed by Covered Code in the absence of Modifications made by
2882 that Contributor.
2883
28843. Distribution Obligations.
2885
2886 3.1. Application of License.
2887 The Modifications which You create or to which You contribute are
2888 governed by the terms of this License, including without limitation
2889 Section 2.2. The Source Code version of Covered Code may be
2890 distributed only under the terms of this License or a future version
2891 of this License released under Section 6.1, and You must include a
2892 copy of this License with every copy of the Source Code You
2893 distribute. You may not offer or impose any terms on any Source Code
2894 version that alters or restricts the applicable version of this
2895 License or the recipients' rights hereunder. However, You may include
2896 an additional document offering the additional rights described in
2897 Section 3.5.
2898
2899 3.2. Availability of Source Code.
2900 Any Modification which You create or to which You contribute must be
2901 made available in Source Code form under the terms of this License
2902 either on the same media as an Executable version or via an accepted
2903 Electronic Distribution Mechanism to anyone to whom you made an
2904 Executable version available; and if made available via Electronic
2905 Distribution Mechanism, must remain available for at least twelve (12)
2906 months after the date it initially became available, or at least six
2907 (6) months after a subsequent version of that particular Modification
2908 has been made available to such recipients. You are responsible for
2909 ensuring that the Source Code version remains available even if the
2910 Electronic Distribution Mechanism is maintained by a third party.
2911
2912 3.3. Description of Modifications.
2913 You must cause all Covered Code to which You contribute to contain a
2914 file documenting the changes You made to create that Covered Code and
2915 the date of any change. You must include a prominent statement that
2916 the Modification is derived, directly or indirectly, from Original
2917 Code provided by the Initial Developer and including the name of the
2918 Initial Developer in (a) the Source Code, and (b) in any notice in an
2919 Executable version or related documentation in which You describe the
2920 origin or ownership of the Covered Code.
2921
2922 3.4. Intellectual Property Matters
2923 (a) Third Party Claims.
2924 If Contributor has knowledge that a license under a third party's
2925 intellectual property rights is required to exercise the rights
2926 granted by such Contributor under Sections 2.1 or 2.2,
2927 Contributor must include a text file with the Source Code
2928 distribution titled "LEGAL" which describes the claim and the
2929 party making the claim in sufficient detail that a recipient will
2930 know whom to contact. If Contributor obtains such knowledge after
2931 the Modification is made available as described in Section 3.2,
2932 Contributor shall promptly modify the LEGAL file in all copies
2933 Contributor makes available thereafter and shall take other steps
2934 (such as notifying appropriate mailing lists or newsgroups)
2935 reasonably calculated to inform those who received the Covered
2936 Code that new knowledge has been obtained.
2937
2938 (b) Contributor APIs.
2939 If Contributor's Modifications include an application programming
2940 interface and Contributor has knowledge of patent licenses which
2941 are reasonably necessary to implement that API, Contributor must
2942 also include this information in the LEGAL file.
2943
2944 (c) Representations.
2945 Contributor represents that, except as disclosed pursuant to
2946 Section 3.4(a) above, Contributor believes that Contributor's
2947 Modifications are Contributor's original creation(s) and/or
2948 Contributor has sufficient rights to grant the rights conveyed by
2949 this License.
2950
2951 3.5. Required Notices.
2952 You must duplicate the notice in Exhibit A in each file of the Source
2953 Code. If it is not possible to put such notice in a particular Source
2954 Code file due to its structure, then You must include such notice in a
2955 location (such as a relevant directory) where a user would be likely
2956 to look for such a notice. If You created one or more Modification(s)
2957 You may add your name as a Contributor to the notice described in
2958 Exhibit A. You must also duplicate this License in any documentation
2959 for the Source Code where You describe recipients' rights or ownership
2960 rights relating to Covered Code. You may choose to offer, and to
2961 charge a fee for, warranty, support, indemnity or liability
2962 obligations to one or more recipients of Covered Code. However, You
2963 may do so only on Your own behalf, and not on behalf of the Initial
2964 Developer or any Contributor. You must make it absolutely clear than
2965 any such warranty, support, indemnity or liability obligation is
2966 offered by You alone, and You hereby agree to indemnify the Initial
2967 Developer and every Contributor for any liability incurred by the
2968 Initial Developer or such Contributor as a result of warranty,
2969 support, indemnity or liability terms You offer.
2970
2971 3.6. Distribution of Executable Versions.
2972 You may distribute Covered Code in Executable form only if the
2973 requirements of Section 3.1-3.5 have been met for that Covered Code,
2974 and if You include a notice stating that the Source Code version of
2975 the Covered Code is available under the terms of this License,
2976 including a description of how and where You have fulfilled the
2977 obligations of Section 3.2. The notice must be conspicuously included
2978 in any notice in an Executable version, related documentation or
2979 collateral in which You describe recipients' rights relating to the
2980 Covered Code. You may distribute the Executable version of Covered
2981 Code or ownership rights under a license of Your choice, which may
2982 contain terms different from this License, provided that You are in
2983 compliance with the terms of this License and that the license for the
2984 Executable version does not attempt to limit or alter the recipient's
2985 rights in the Source Code version from the rights set forth in this
2986 License. If You distribute the Executable version under a different
2987 license You must make it absolutely clear that any terms which differ
2988 from this License are offered by You alone, not by the Initial
2989 Developer or any Contributor. You hereby agree to indemnify the
2990 Initial Developer and every Contributor for any liability incurred by
2991 the Initial Developer or such Contributor as a result of any such
2992 terms You offer.
2993
2994 3.7. Larger Works.
2995 You may create a Larger Work by combining Covered Code with other code
2996 not governed by the terms of this License and distribute the Larger
2997 Work as a single product. In such a case, You must make sure the
2998 requirements of this License are fulfilled for the Covered Code.
2999
30004. Inability to Comply Due to Statute or Regulation.
3001
3002 If it is impossible for You to comply with any of the terms of this
3003 License with respect to some or all of the Covered Code due to
3004 statute, judicial order, or regulation then You must: (a) comply with
3005 the terms of this License to the maximum extent possible; and (b)
3006 describe the limitations and the code they affect. Such description
3007 must be included in the LEGAL file described in Section 3.4 and must
3008 be included with all distributions of the Source Code. Except to the
3009 extent prohibited by statute or regulation, such description must be
3010 sufficiently detailed for a recipient of ordinary skill to be able to
3011 understand it.
3012
30135. Application of this License.
3014
3015 This License applies to code to which the Initial Developer has
3016 attached the notice in Exhibit A and to related Covered Code.
3017
30186. Versions of the License.
3019
3020 6.1. New Versions.
3021 Netscape Communications Corporation ("Netscape") may publish revised
3022 and/or new versions of the License from time to time. Each version
3023 will be given a distinguishing version number.
3024
3025 6.2. Effect of New Versions.
3026 Once Covered Code has been published under a particular version of the
3027 License, You may always continue to use it under the terms of that
3028 version. You may also choose to use such Covered Code under the terms
3029 of any subsequent version of the License published by Netscape. No one
3030 other than Netscape has the right to modify the terms applicable to
3031 Covered Code created under this License.
3032
3033 6.3. Derivative Works.
3034 If You create or use a modified version of this License (which you may
3035 only do in order to apply it to code which is not already Covered Code
3036 governed by this License), You must (a) rename Your license so that
3037 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
3038 "MPL", "NPL" or any confusingly similar phrase do not appear in your
3039 license (except to note that your license differs from this License)
3040 and (b) otherwise make it clear that Your version of the license
3041 contains terms which differ from the Mozilla Public License and
3042 Netscape Public License. (Filling in the name of the Initial
3043 Developer, Original Code or Contributor in the notice described in
3044 Exhibit A shall not of themselves be deemed to be modifications of
3045 this License.)
3046
30477. DISCLAIMER OF WARRANTY.
3048
3049 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
3050 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
3051 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
3052 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
3053 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
3054 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
3055 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
3056 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
3057 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
3058 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
3059
30608. TERMINATION.
3061
3062 8.1. This License and the rights granted hereunder will terminate
3063 automatically if You fail to comply with terms herein and fail to cure
3064 such breach within 30 days of becoming aware of the breach. All
3065 sublicenses to the Covered Code which are properly granted shall
3066 survive any termination of this License. Provisions which, by their
3067 nature, must remain in effect beyond the termination of this License
3068 shall survive.
3069
3070 8.2. If You initiate litigation by asserting a patent infringement
3071 claim (excluding declatory judgment actions) against Initial Developer
3072 or a Contributor (the Initial Developer or Contributor against whom
3073 You file such action is referred to as "Participant") alleging that:
3074
3075 (a) such Participant's Contributor Version directly or indirectly
3076 infringes any patent, then any and all rights granted by such
3077 Participant to You under Sections 2.1 and/or 2.2 of this License
3078 shall, upon 60 days notice from Participant terminate prospectively,
3079 unless if within 60 days after receipt of notice You either: (i)
3080 agree in writing to pay Participant a mutually agreeable reasonable
3081 royalty for Your past and future use of Modifications made by such
3082 Participant, or (ii) withdraw Your litigation claim with respect to
3083 the Contributor Version against such Participant. If within 60 days
3084 of notice, a reasonable royalty and payment arrangement are not
3085 mutually agreed upon in writing by the parties or the litigation claim
3086 is not withdrawn, the rights granted by Participant to You under
3087 Sections 2.1 and/or 2.2 automatically terminate at the expiration of
3088 the 60 day notice period specified above.
3089
3090 (b) any software, hardware, or device, other than such Participant's
3091 Contributor Version, directly or indirectly infringes any patent, then
3092 any rights granted to You by such Participant under Sections 2.1(b)
3093 and 2.2(b) are revoked effective as of the date You first made, used,
3094 sold, distributed, or had made, Modifications made by that
3095 Participant.
3096
3097 8.3. If You assert a patent infringement claim against Participant
3098 alleging that such Participant's Contributor Version directly or
3099 indirectly infringes any patent where such claim is resolved (such as
3100 by license or settlement) prior to the initiation of patent
3101 infringement litigation, then the reasonable value of the licenses
3102 granted by such Participant under Sections 2.1 or 2.2 shall be taken
3103 into account in determining the amount or value of any payment or
3104 license.
3105
3106 8.4. In the event of termination under Sections 8.1 or 8.2 above,
3107 all end user license agreements (excluding distributors and resellers)
3108 which have been validly granted by You or any distributor hereunder
3109 prior to termination shall survive termination.
3110
31119. LIMITATION OF LIABILITY.
3112
3113 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
3114 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
3115 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
3116 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
3117 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
3118 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
3119 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
3120 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
3121 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
3122 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
3123 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
3124 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
3125 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
3126 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
3127
312810. U.S. GOVERNMENT END USERS.
3129
3130 The Covered Code is a "commercial item," as that term is defined in
3131 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
3132 software" and "commercial computer software documentation," as such
3133 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
3134 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
3135 all U.S. Government End Users acquire Covered Code with only those
3136 rights set forth herein.
3137
313811. MISCELLANEOUS.
3139
3140 This License represents the complete agreement concerning subject
3141 matter hereof. If any provision of this License is held to be
3142 unenforceable, such provision shall be reformed only to the extent
3143 necessary to make it enforceable. This License shall be governed by
3144 California law provisions (except to the extent applicable law, if
3145 any, provides otherwise), excluding its conflict-of-law provisions.
3146 With respect to disputes in which at least one party is a citizen of,
3147 or an entity chartered or registered to do business in the United
3148 States of America, any litigation relating to this License shall be
3149 subject to the jurisdiction of the Federal Courts of the Northern
3150 District of California, with venue lying in Santa Clara County,
3151 California, with the losing party responsible for costs, including
3152 without limitation, court costs and reasonable attorneys' fees and
3153 expenses. The application of the United Nations Convention on
3154 Contracts for the International Sale of Goods is expressly excluded.
3155 Any law or regulation which provides that the language of a contract
3156 shall be construed against the drafter shall not apply to this
3157 License.
3158
315912. RESPONSIBILITY FOR CLAIMS.
3160
3161 As between Initial Developer and the Contributors, each party is
3162 responsible for claims and damages arising, directly or indirectly,
3163 out of its utilization of rights under this License and You agree to
3164 work with Initial Developer and Contributors to distribute such
3165 responsibility on an equitable basis. Nothing herein is intended or
3166 shall be deemed to constitute any admission of liability.
3167
316813. MULTIPLE-LICENSED CODE.
3169
3170 Initial Developer may designate portions of the Covered Code as
3171 "Multiple-Licensed". "Multiple-Licensed" means that the Initial
3172 Developer permits you to utilize portions of the Covered Code under
3173 Your choice of the NPL or the alternative licenses, if any, specified
3174 by the Initial Developer in the file described in Exhibit A.
3175
3176EXHIBIT A -Mozilla Public License.
3177
3178 ``The contents of this file are subject to the Mozilla Public License
3179 Version 1.1 (the "License"); you may not use this file except in
3180 compliance with the License. You may obtain a copy of the License at
3181 http://www.mozilla.org/MPL/
3182
3183 Software distributed under the License is distributed on an "AS IS"
3184 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
3185 License for the specific language governing rights and limitations
3186 under the License.
3187
3188 The Original Code is ______________________________________.
3189
3190 The Initial Developer of the Original Code is ________________________.
3191 Portions created by ______________________ are Copyright (C) ______
3192 _______________________. All Rights Reserved.
3193
3194 Contributor(s): ______________________________________.
3195
3196 Alternatively, the contents of this file may be used under the terms
3197 of the _____ license (the "[___] License"), in which case the
3198 provisions of [______] License are applicable instead of those
3199 above. If you wish to allow use of your version of this file only
3200 under the terms of the [____] License and not to allow others to use
3201 your version of this file under the MPL, indicate your decision by
3202 deleting the provisions above and replace them with the notice and
3203 other provisions required by the [___] License. If you do not delete
3204 the provisions above, a recipient may use your version of this file
3205 under either the MPL or the [___] License."
3206
3207 [NOTE: The text of this Exhibit A may differ slightly from the text of
3208 the notices in the Source Code files of the Original Code. You should
3209 use the text of this Exhibit A rather than the text found in the
3210 Original Code Source Code for Your Modifications.]
3211
3212 ----------------------------------------------------------------------
3213
3214 AMENDMENTS
3215
3216 The Netscape Public License Version 1.1 ("NPL") consists of the
3217 Mozilla Public License Version 1.1 with the following Amendments,
3218 including Exhibit A-Netscape Public License. Files identified with
3219 "Exhibit A-Netscape Public License" are governed by the Netscape
3220 Public License Version 1.1.
3221
3222 Additional Terms applicable to the Netscape Public License.
3223 I. Effect.
3224 These additional terms described in this Netscape Public
3225 License -- Amendments shall apply to the Mozilla Communicator
3226 client code and to all Covered Code under this License.
3227
3228 II. "Netscape's Branded Code" means Covered Code that Netscape
3229 distributes and/or permits others to distribute under one or more
3230 trademark(s) which are controlled by Netscape but which are not
3231 licensed for use under this License.
3232
3233 III. Netscape and logo.
3234 This License does not grant any rights to use the trademarks
3235 "Netscape", the "Netscape N and horizon" logo or the "Netscape
3236 lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript",
3237 "Smart Browsing" even if such marks are included in the Original
3238 Code or Modifications.
3239
3240 IV. Inability to Comply Due to Contractual Obligation.
3241 Prior to licensing the Original Code under this License, Netscape
3242 has licensed third party code for use in Netscape's Branded Code.
3243 To the extent that Netscape is limited contractually from making
3244 such third party code available under this License, Netscape may
3245 choose to reintegrate such code into Covered Code without being
3246 required to distribute such code in Source Code form, even if
3247 such code would otherwise be considered "Modifications" under
3248 this License.
3249
3250 V. Use of Modifications and Covered Code by Initial Developer.
3251 V.1. In General.
3252 The obligations of Section 3 apply to Netscape, except to
3253 the extent specified in this Amendment, Section V.2 and V.3.
3254
3255 V.2. Other Products.
3256 Netscape may include Covered Code in products other than the
3257 Netscape's Branded Code which are released by Netscape
3258 during the two (2) years following the release date of the
3259 Original Code, without such additional products becoming
3260 subject to the terms of this License, and may license such
3261 additional products on different terms from those contained
3262 in this License.
3263
3264 V.3. Alternative Licensing.
3265 Netscape may license the Source Code of Netscape's Branded
3266 Code, including Modifications incorporated therein, without
3267 such Netscape Branded Code becoming subject to the terms of
3268 this License, and may license such Netscape Branded Code on
3269 different terms from those contained in this License.
3270
3271 VI. Litigation.
3272 Notwithstanding the limitations of Section 11 above, the
3273 provisions regarding litigation in Section 11(a), (b) and (c) of
3274 the License shall apply to all disputes relating to this License.
3275
3276 EXHIBIT A-Netscape Public License.
3277
3278 "The contents of this file are subject to the Netscape Public
3279 License Version 1.1 (the "License"); you may not use this file
3280 except in compliance with the License. You may obtain a copy of
3281 the License at http://www.mozilla.org/NPL/
3282
3283 Software distributed under the License is distributed on an "AS
3284 IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
3285 implied. See the License for the specific language governing
3286 rights and limitations under the License.
3287
3288 The Original Code is Mozilla Communicator client code, released
3289 March 31, 1998.
3290
3291 The Initial Developer of the Original Code is Netscape
3292 Communications Corporation. Portions created by Netscape are
3293 Copyright (C) 1998-1999 Netscape Communications Corporation. All
3294 Rights Reserved.
3295
3296 Contributor(s): ______________________________________.
3297
3298 Alternatively, the contents of this file may be used under the
3299 terms of the _____ license (the "[___] License"), in which case
3300 the provisions of [______] License are applicable instead of
3301 those above. If you wish to allow use of your version of this
3302 file only under the terms of the [____] License and not to allow
3303 others to use your version of this file under the NPL, indicate
3304 your decision by deleting the provisions above and replace them
3305 with the notice and other provisions required by the [___]
3306 License. If you do not delete the provisions above, a recipient
3307 may use your version of this file under either the NPL or the
3308 [___] License."
3309
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003310 GNU GENERAL PUBLIC LICENSE
3311 Version 2, June 1991
3312
3313 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
3314 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
3315 Everyone is permitted to copy and distribute verbatim copies
3316 of this license document, but changing it is not allowed.
3317
3318 Preamble
3319
3320 The licenses for most software are designed to take away your
3321freedom to share and change it. By contrast, the GNU General Public
3322License is intended to guarantee your freedom to share and change free
3323software--to make sure the software is free for all its users. This
3324General Public License applies to most of the Free Software
3325Foundation's software and to any other program whose authors commit to
3326using it. (Some other Free Software Foundation software is covered by
3327the GNU Library General Public License instead.) You can apply it to
3328your programs, too.
3329
3330 When we speak of free software, we are referring to freedom, not
3331price. Our General Public Licenses are designed to make sure that you
3332have the freedom to distribute copies of free software (and charge for
3333this service if you wish), that you receive source code or can get it
3334if you want it, that you can change the software or use pieces of it
3335in new free programs; and that you know you can do these things.
3336
3337 To protect your rights, we need to make restrictions that forbid
3338anyone to deny you these rights or to ask you to surrender the rights.
3339These restrictions translate to certain responsibilities for you if you
3340distribute copies of the software, or if you modify it.
3341
3342 For example, if you distribute copies of such a program, whether
3343gratis or for a fee, you must give the recipients all the rights that
3344you have. You must make sure that they, too, receive or can get the
3345source code. And you must show them these terms so they know their
3346rights.
3347
3348 We protect your rights with two steps: (1) copyright the software, and
3349(2) offer you this license which gives you legal permission to copy,
3350distribute and/or modify the software.
3351
3352 Also, for each author's protection and ours, we want to make certain
3353that everyone understands that there is no warranty for this free
3354software. If the software is modified by someone else and passed on, we
3355want its recipients to know that what they have is not the original, so
3356that any problems introduced by others will not reflect on the original
3357authors' reputations.
3358
3359 Finally, any free program is threatened constantly by software
3360patents. We wish to avoid the danger that redistributors of a free
3361program will individually obtain patent licenses, in effect making the
3362program proprietary. To prevent this, we have made it clear that any
3363patent must be licensed for everyone's free use or not licensed at all.
3364
3365 The precise terms and conditions for copying, distribution and
3366modification follow.
3367
3368 GNU GENERAL PUBLIC LICENSE
3369 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
3370
3371 0. This License applies to any program or other work which contains
3372a notice placed by the copyright holder saying it may be distributed
3373under the terms of this General Public License. The "Program", below,
3374refers to any such program or work, and a "work based on the Program"
3375means either the Program or any derivative work under copyright law:
3376that is to say, a work containing the Program or a portion of it,
3377either verbatim or with modifications and/or translated into another
3378language. (Hereinafter, translation is included without limitation in
3379the term "modification".) Each licensee is addressed as "you".
3380
3381Activities other than copying, distribution and modification are not
3382covered by this License; they are outside its scope. The act of
3383running the Program is not restricted, and the output from the Program
3384is covered only if its contents constitute a work based on the
3385Program (independent of having been made by running the Program).
3386Whether that is true depends on what the Program does.
3387
3388 1. You may copy and distribute verbatim copies of the Program's
3389source code as you receive it, in any medium, provided that you
3390conspicuously and appropriately publish on each copy an appropriate
3391copyright notice and disclaimer of warranty; keep intact all the
3392notices that refer to this License and to the absence of any warranty;
3393and give any other recipients of the Program a copy of this License
3394along with the Program.
3395
3396You may charge a fee for the physical act of transferring a copy, and
3397you may at your option offer warranty protection in exchange for a fee.
3398
3399 2. You may modify your copy or copies of the Program or any portion
3400of it, thus forming a work based on the Program, and copy and
3401distribute such modifications or work under the terms of Section 1
3402above, provided that you also meet all of these conditions:
3403
3404 a) You must cause the modified files to carry prominent notices
3405 stating that you changed the files and the date of any change.
3406
3407 b) You must cause any work that you distribute or publish, that in
3408 whole or in part contains or is derived from the Program or any
3409 part thereof, to be licensed as a whole at no charge to all third
3410 parties under the terms of this License.
3411
3412 c) If the modified program normally reads commands interactively
3413 when run, you must cause it, when started running for such
3414 interactive use in the most ordinary way, to print or display an
3415 announcement including an appropriate copyright notice and a
3416 notice that there is no warranty (or else, saying that you provide
3417 a warranty) and that users may redistribute the program under
3418 these conditions, and telling the user how to view a copy of this
3419 License. (Exception: if the Program itself is interactive but
3420 does not normally print such an announcement, your work based on
3421 the Program is not required to print an announcement.)
3422
3423These requirements apply to the modified work as a whole. If
3424identifiable sections of that work are not derived from the Program,
3425and can be reasonably considered independent and separate works in
3426themselves, then this License, and its terms, do not apply to those
3427sections when you distribute them as separate works. But when you
3428distribute the same sections as part of a whole which is a work based
3429on the Program, the distribution of the whole must be on the terms of
3430this License, whose permissions for other licensees extend to the
3431entire whole, and thus to each and every part regardless of who wrote it.
3432
3433Thus, it is not the intent of this section to claim rights or contest
3434your rights to work written entirely by you; rather, the intent is to
3435exercise the right to control the distribution of derivative or
3436collective works based on the Program.
3437
3438In addition, mere aggregation of another work not based on the Program
3439with the Program (or with a work based on the Program) on a volume of
3440a storage or distribution medium does not bring the other work under
3441the scope of this License.
3442
3443 3. You may copy and distribute the Program (or a work based on it,
3444under Section 2) in object code or executable form under the terms of
3445Sections 1 and 2 above provided that you also do one of the following:
3446
3447 a) Accompany it with the complete corresponding machine-readable
3448 source code, which must be distributed under the terms of Sections
3449 1 and 2 above on a medium customarily used for software interchange; or,
3450
3451 b) Accompany it with a written offer, valid for at least three
3452 years, to give any third party, for a charge no more than your
3453 cost of physically performing source distribution, a complete
3454 machine-readable copy of the corresponding source code, to be
3455 distributed under the terms of Sections 1 and 2 above on a medium
3456 customarily used for software interchange; or,
3457
3458 c) Accompany it with the information you received as to the offer
3459 to distribute corresponding source code. (This alternative is
3460 allowed only for noncommercial distribution and only if you
3461 received the program in object code or executable form with such
3462 an offer, in accord with Subsection b above.)
3463
3464The source code for a work means the preferred form of the work for
3465making modifications to it. For an executable work, complete source
3466code means all the source code for all modules it contains, plus any
3467associated interface definition files, plus the scripts used to
3468control compilation and installation of the executable. However, as a
3469special exception, the source code distributed need not include
3470anything that is normally distributed (in either source or binary
3471form) with the major components (compiler, kernel, and so on) of the
3472operating system on which the executable runs, unless that component
3473itself accompanies the executable.
3474
3475If distribution of executable or object code is made by offering
3476access to copy from a designated place, then offering equivalent
3477access to copy the source code from the same place counts as
3478distribution of the source code, even though third parties are not
3479compelled to copy the source along with the object code.
3480
3481 4. You may not copy, modify, sublicense, or distribute the Program
3482except as expressly provided under this License. Any attempt
3483otherwise to copy, modify, sublicense or distribute the Program is
3484void, and will automatically terminate your rights under this License.
3485However, parties who have received copies, or rights, from you under
3486this License will not have their licenses terminated so long as such
3487parties remain in full compliance.
3488
3489 5. You are not required to accept this License, since you have not
3490signed it. However, nothing else grants you permission to modify or
3491distribute the Program or its derivative works. These actions are
3492prohibited by law if you do not accept this License. Therefore, by
3493modifying or distributing the Program (or any work based on the
3494Program), you indicate your acceptance of this License to do so, and
3495all its terms and conditions for copying, distributing or modifying
3496the Program or works based on it.
3497
3498 6. Each time you redistribute the Program (or any work based on the
3499Program), the recipient automatically receives a license from the
3500original licensor to copy, distribute or modify the Program subject to
3501these terms and conditions. You may not impose any further
3502restrictions on the recipients' exercise of the rights granted herein.
3503You are not responsible for enforcing compliance by third parties to
3504this License.
3505
3506 7. If, as a consequence of a court judgment or allegation of patent
3507infringement or for any other reason (not limited to patent issues),
3508conditions are imposed on you (whether by court order, agreement or
3509otherwise) that contradict the conditions of this License, they do not
3510excuse you from the conditions of this License. If you cannot
3511distribute so as to satisfy simultaneously your obligations under this
3512License and any other pertinent obligations, then as a consequence you
3513may not distribute the Program at all. For example, if a patent
3514license would not permit royalty-free redistribution of the Program by
3515all those who receive copies directly or indirectly through you, then
3516the only way you could satisfy both it and this License would be to
3517refrain entirely from distribution of the Program.
3518
3519If any portion of this section is held invalid or unenforceable under
3520any particular circumstance, the balance of the section is intended to
3521apply and the section as a whole is intended to apply in other
3522circumstances.
3523
3524It is not the purpose of this section to induce you to infringe any
3525patents or other property right claims or to contest validity of any
3526such claims; this section has the sole purpose of protecting the
3527integrity of the free software distribution system, which is
3528implemented by public license practices. Many people have made
3529generous contributions to the wide range of software distributed
3530through that system in reliance on consistent application of that
3531system; it is up to the author/donor to decide if he or she is willing
3532to distribute software through any other system and a licensee cannot
3533impose that choice.
3534
3535This section is intended to make thoroughly clear what is believed to
3536be a consequence of the rest of this License.
3537
3538 8. If the distribution and/or use of the Program is restricted in
3539certain countries either by patents or by copyrighted interfaces, the
3540original copyright holder who places the Program under this License
3541may add an explicit geographical distribution limitation excluding
3542those countries, so that distribution is permitted only in or among
3543countries not thus excluded. In such case, this License incorporates
3544the limitation as if written in the body of this License.
3545
3546 9. The Free Software Foundation may publish revised and/or new versions
3547of the General Public License from time to time. Such new versions will
3548be similar in spirit to the present version, but may differ in detail to
3549address new problems or concerns.
3550
3551Each version is given a distinguishing version number. If the Program
3552specifies a version number of this License which applies to it and "any
3553later version", you have the option of following the terms and conditions
3554either of that version or of any later version published by the Free
3555Software Foundation. If the Program does not specify a version number of
3556this License, you may choose any version ever published by the Free Software
3557Foundation.
3558
3559 10. If you wish to incorporate parts of the Program into other free
3560programs whose distribution conditions are different, write to the author
3561to ask for permission. For software which is copyrighted by the Free
3562Software Foundation, write to the Free Software Foundation; we sometimes
3563make exceptions for this. Our decision will be guided by the two goals
3564of preserving the free status of all derivatives of our free software and
3565of promoting the sharing and reuse of software generally.
3566
3567 NO WARRANTY
3568
3569 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
3570FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
3571OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
3572PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
3573OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
3574MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
3575TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
3576PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
3577REPAIR OR CORRECTION.
3578
3579 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
3580WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
3581REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
3582INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
3583OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
3584TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
3585YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
3586PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
3587POSSIBILITY OF SUCH DAMAGES.
3588
3589 END OF TERMS AND CONDITIONS
3590
3591 How to Apply These Terms to Your New Programs
3592
3593 If you develop a new program, and you want it to be of the greatest
3594possible use to the public, the best way to achieve this is to make it
3595free software which everyone can redistribute and change under these terms.
3596
3597 To do so, attach the following notices to the program. It is safest
3598to attach them to the start of each source file to most effectively
3599convey the exclusion of warranty; and each file should have at least
3600the "copyright" line and a pointer to where the full notice is found.
3601
3602 <one line to give the program's name and a brief idea of what it does.>
3603 Copyright (C) 19yy <name of author>
3604
3605 This program is free software; you can redistribute it and/or modify
3606 it under the terms of the GNU General Public License as published by
3607 the Free Software Foundation; either version 2 of the License, or
3608 (at your option) any later version.
3609
3610 This program is distributed in the hope that it will be useful,
3611 but WITHOUT ANY WARRANTY; without even the implied warranty of
3612 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3613 GNU General Public License for more details.
3614
3615 You should have received a copy of the GNU General Public License
3616 along with this program; if not, write to the Free Software
3617 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
3618
3619
3620Also add information on how to contact you by electronic and paper mail.
3621
3622If the program is interactive, make it output a short notice like this
3623when it starts in an interactive mode:
3624
3625 Gnomovision version 69, Copyright (C) 19yy name of author
3626 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
3627 This is free software, and you are welcome to redistribute it
3628 under certain conditions; type `show c' for details.
3629
3630The hypothetical commands `show w' and `show c' should show the appropriate
3631parts of the General Public License. Of course, the commands you use may
3632be called something other than `show w' and `show c'; they could even be
3633mouse-clicks or menu items--whatever suits your program.
3634
3635You should also get your employer (if you work as a programmer) or your
3636school, if any, to sign a "copyright disclaimer" for the program, if
3637necessary. Here is a sample; alter the names:
3638
3639 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
3640 `Gnomovision' (which makes passes at compilers) written by James Hacker.
3641
3642 <signature of Ty Coon>, 1 April 1989
3643 Ty Coon, President of Vice
3644
3645This General Public License does not permit incorporating your program into
3646proprietary programs. If your program is a subroutine library, you may
3647consider it more useful to permit linking proprietary applications with the
3648library. If this is what you want to do, use the GNU Library General
3649Public License instead of this License.
3650
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003651Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
3652 and Clark Cooper
3653Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
3654
3655Permission is hereby granted, free of charge, to any person obtaining
3656a copy of this software and associated documentation files (the
3657"Software"), to deal in the Software without restriction, including
3658without limitation the rights to use, copy, modify, merge, publish,
3659distribute, sublicense, and/or sell copies of the Software, and to
3660permit persons to whom the Software is furnished to do so, subject to
3661the following conditions:
3662
3663The above copyright notice and this permission notice shall be included
3664in all copies or substantial portions of the Software.
3665
3666THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3667EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
3668MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
3669IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
3670CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
3671TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
3672SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3673
3674
3675 Apache License
3676 Version 2.0, January 2004
3677 http://www.apache.org/licenses/
3678
3679 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
3680
3681 1. Definitions.
3682
3683 "License" shall mean the terms and conditions for use, reproduction,
3684 and distribution as defined by Sections 1 through 9 of this document.
3685
3686 "Licensor" shall mean the copyright owner or entity authorized by
3687 the copyright owner that is granting the License.
3688
3689 "Legal Entity" shall mean the union of the acting entity and all
3690 other entities that control, are controlled by, or are under common
3691 control with that entity. For the purposes of this definition,
3692 "control" means (i) the power, direct or indirect, to cause the
3693 direction or management of such entity, whether by contract or
3694 otherwise, or (ii) ownership of fifty percent (50%) or more of the
3695 outstanding shares, or (iii) beneficial ownership of such entity.
3696
3697 "You" (or "Your") shall mean an individual or Legal Entity
3698 exercising permissions granted by this License.
3699
3700 "Source" form shall mean the preferred form for making modifications,
3701 including but not limited to software source code, documentation
3702 source, and configuration files.
3703
3704 "Object" form shall mean any form resulting from mechanical
3705 transformation or translation of a Source form, including but
3706 not limited to compiled object code, generated documentation,
3707 and conversions to other media types.
3708
3709 "Work" shall mean the work of authorship, whether in Source or
3710 Object form, made available under the License, as indicated by a
3711 copyright notice that is included in or attached to the work
3712 (an example is provided in the Appendix below).
3713
3714 "Derivative Works" shall mean any work, whether in Source or Object
3715 form, that is based on (or derived from) the Work and for which the
3716 editorial revisions, annotations, elaborations, or other modifications
3717 represent, as a whole, an original work of authorship. For the purposes
3718 of this License, Derivative Works shall not include works that remain
3719 separable from, or merely link (or bind by name) to the interfaces of,
3720 the Work and Derivative Works thereof.
3721
3722 "Contribution" shall mean any work of authorship, including
3723 the original version of the Work and any modifications or additions
3724 to that Work or Derivative Works thereof, that is intentionally
3725 submitted to Licensor for inclusion in the Work by the copyright owner
3726 or by an individual or Legal Entity authorized to submit on behalf of
3727 the copyright owner. For the purposes of this definition, "submitted"
3728 means any form of electronic, verbal, or written communication sent
3729 to the Licensor or its representatives, including but not limited to
3730 communication on electronic mailing lists, source code control systems,
3731 and issue tracking systems that are managed by, or on behalf of, the
3732 Licensor for the purpose of discussing and improving the Work, but
3733 excluding communication that is conspicuously marked or otherwise
3734 designated in writing by the copyright owner as "Not a Contribution."
3735
3736 "Contributor" shall mean Licensor and any individual or Legal Entity
3737 on behalf of whom a Contribution has been received by Licensor and
3738 subsequently incorporated within the Work.
3739
3740 2. Grant of Copyright License. Subject to the terms and conditions of
3741 this License, each Contributor hereby grants to You a perpetual,
3742 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3743 copyright license to reproduce, prepare Derivative Works of,
3744 publicly display, publicly perform, sublicense, and distribute the
3745 Work and such Derivative Works in Source or Object form.
3746
3747 3. Grant of Patent License. Subject to the terms and conditions of
3748 this License, each Contributor hereby grants to You a perpetual,
3749 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3750 (except as stated in this section) patent license to make, have made,
3751 use, offer to sell, sell, import, and otherwise transfer the Work,
3752 where such license applies only to those patent claims licensable
3753 by such Contributor that are necessarily infringed by their
3754 Contribution(s) alone or by combination of their Contribution(s)
3755 with the Work to which such Contribution(s) was submitted. If You
3756 institute patent litigation against any entity (including a
3757 cross-claim or counterclaim in a lawsuit) alleging that the Work
3758 or a Contribution incorporated within the Work constitutes direct
3759 or contributory patent infringement, then any patent licenses
3760 granted to You under this License for that Work shall terminate
3761 as of the date such litigation is filed.
3762
3763 4. Redistribution. You may reproduce and distribute copies of the
3764 Work or Derivative Works thereof in any medium, with or without
3765 modifications, and in Source or Object form, provided that You
3766 meet the following conditions:
3767
3768 (a) You must give any other recipients of the Work or
3769 Derivative Works a copy of this License; and
3770
3771 (b) You must cause any modified files to carry prominent notices
3772 stating that You changed the files; and
3773
3774 (c) You must retain, in the Source form of any Derivative Works
3775 that You distribute, all copyright, patent, trademark, and
3776 attribution notices from the Source form of the Work,
3777 excluding those notices that do not pertain to any part of
3778 the Derivative Works; and
3779
3780 (d) If the Work includes a "NOTICE" text file as part of its
3781 distribution, then any Derivative Works that You distribute must
3782 include a readable copy of the attribution notices contained
3783 within such NOTICE file, excluding those notices that do not
3784 pertain to any part of the Derivative Works, in at least one
3785 of the following places: within a NOTICE text file distributed
3786 as part of the Derivative Works; within the Source form or
3787 documentation, if provided along with the Derivative Works; or,
3788 within a display generated by the Derivative Works, if and
3789 wherever such third-party notices normally appear. The contents
3790 of the NOTICE file are for informational purposes only and
3791 do not modify the License. You may add Your own attribution
3792 notices within Derivative Works that You distribute, alongside
3793 or as an addendum to the NOTICE text from the Work, provided
3794 that such additional attribution notices cannot be construed
3795 as modifying the License.
3796
3797 You may add Your own copyright statement to Your modifications and
3798 may provide additional or different license terms and conditions
3799 for use, reproduction, or distribution of Your modifications, or
3800 for any such Derivative Works as a whole, provided Your use,
3801 reproduction, and distribution of the Work otherwise complies with
3802 the conditions stated in this License.
3803
3804 5. Submission of Contributions. Unless You explicitly state otherwise,
3805 any Contribution intentionally submitted for inclusion in the Work
3806 by You to the Licensor shall be under the terms and conditions of
3807 this License, without any additional terms or conditions.
3808 Notwithstanding the above, nothing herein shall supersede or modify
3809 the terms of any separate license agreement you may have executed
3810 with Licensor regarding such Contributions.
3811
3812 6. Trademarks. This License does not grant permission to use the trade
3813 names, trademarks, service marks, or product names of the Licensor,
3814 except as required for reasonable and customary use in describing the
3815 origin of the Work and reproducing the content of the NOTICE file.
3816
3817 7. Disclaimer of Warranty. Unless required by applicable law or
3818 agreed to in writing, Licensor provides the Work (and each
3819 Contributor provides its Contributions) on an "AS IS" BASIS,
3820 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
3821 implied, including, without limitation, any warranties or conditions
3822 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
3823 PARTICULAR PURPOSE. You are solely responsible for determining the
3824 appropriateness of using or redistributing the Work and assume any
3825 risks associated with Your exercise of permissions under this License.
3826
3827 8. Limitation of Liability. In no event and under no legal theory,
3828 whether in tort (including negligence), contract, or otherwise,
3829 unless required by applicable law (such as deliberate and grossly
3830 negligent acts) or agreed to in writing, shall any Contributor be
3831 liable to You for damages, including any direct, indirect, special,
3832 incidental, or consequential damages of any character arising as a
3833 result of this License or out of the use or inability to use the
3834 Work (including but not limited to damages for loss of goodwill,
3835 work stoppage, computer failure or malfunction, or any and all
3836 other commercial damages or losses), even if such Contributor
3837 has been advised of the possibility of such damages.
3838
3839 9. Accepting Warranty or Additional Liability. While redistributing
3840 the Work or Derivative Works thereof, You may choose to offer,
3841 and charge a fee for, acceptance of support, warranty, indemnity,
3842 or other liability obligations and/or rights consistent with this
3843 License. However, in accepting such obligations, You may act only
3844 on Your own behalf and on Your sole responsibility, not on behalf
3845 of any other Contributor, and only if You agree to indemnify,
3846 defend, and hold each Contributor harmless for any liability
3847 incurred by, or claims asserted against, such Contributor by reason
3848 of your accepting any such warranty or additional liability.
3849
3850 END OF TERMS AND CONDITIONS
3851
3852 APPENDIX: How to apply the Apache License to your work.
3853
3854 To apply the Apache License to your work, attach the following
3855 boilerplate notice, with the fields enclosed by brackets "[]"
3856 replaced with your own identifying information. (Don't include
3857 the brackets!) The text should be enclosed in the appropriate
3858 comment syntax for the file format. We also recommend that a
3859 file or class name and description of purpose be included on the
3860 same "printed page" as the copyright notice for easier
3861 identification within third-party archives.
3862
3863 Copyright 2011 Google Inc. All Rights Reserved.
3864
3865 Licensed under the Apache License, Version 2.0 (the "License");
3866 you may not use this file except in compliance with the License.
3867 You may obtain a copy of the License at
3868
3869 http://www.apache.org/licenses/LICENSE-2.0
3870
3871 Unless required by applicable law or agreed to in writing, software
3872 distributed under the License is distributed on an "AS IS" BASIS,
3873 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3874 See the License for the specific language governing permissions and
3875 limitations under the License.
3876
3877
3878Copyright (c) 2007-2009 IOLA and Ole Laursen
3879
3880Permission is hereby granted, free of charge, to any person
3881obtaining a copy of this software and associated documentation
3882files (the "Software"), to deal in the Software without
3883restriction, including without limitation the rights to use,
3884copy, modify, merge, publish, distribute, sublicense, and/or sell
3885copies of the Software, and to permit persons to whom the
3886Software is furnished to do so, subject to the following
3887conditions:
3888
3889The above copyright notice and this permission notice shall be
3890included in all copies or substantial portions of the Software.
3891
3892THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3893EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
3894OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
3895NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
3896HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
3897WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3898FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
3899OTHER DEALINGS IN THE SOFTWARE.
3900
3901This software is based in part on the work of the FreeType Team.
3902
3903----------------------
3904
3905 The FreeType Project LICENSE
3906 ----------------------------
3907
3908 2006-Jan-27
3909
3910 Copyright 1996-2002, 2006 by
3911 David Turner, Robert Wilhelm, and Werner Lemberg
3912
3913
3914
3915Introduction
3916============
3917
3918 The FreeType Project is distributed in several archive packages;
3919 some of them may contain, in addition to the FreeType font engine,
3920 various tools and contributions which rely on, or relate to, the
3921 FreeType Project.
3922
3923 This license applies to all files found in such packages, and
3924 which do not fall under their own explicit license. The license
3925 affects thus the FreeType font engine, the test programs,
3926 documentation and makefiles, at the very least.
3927
3928 This license was inspired by the BSD, Artistic, and IJG
3929 (Independent JPEG Group) licenses, which all encourage inclusion
3930 and use of free software in commercial and freeware products
3931 alike. As a consequence, its main points are that:
3932
3933 o We don't promise that this software works. However, we will be
3934 interested in any kind of bug reports. (`as is' distribution)
3935
3936 o You can use this software for whatever you want, in parts or
3937 full form, without having to pay us. (`royalty-free' usage)
3938
3939 o You may not pretend that you wrote this software. If you use
3940 it, or only parts of it, in a program, you must acknowledge
3941 somewhere in your documentation that you have used the
3942 FreeType code. (`credits')
3943
3944 We specifically permit and encourage the inclusion of this
3945 software, with or without modifications, in commercial products.
3946 We disclaim all warranties covering The FreeType Project and
3947 assume no liability related to The FreeType Project.
3948
3949
3950 Finally, many people asked us for a preferred form for a
3951 credit/disclaimer to use in compliance with this license. We thus
3952 encourage you to use the following text:
3953
3954 """
3955 Portions of this software are copyright © <year> The FreeType
3956 Project (www.freetype.org). All rights reserved.
3957 """
3958
3959 Please replace <year> with the value from the FreeType version you
3960 actually use.
3961
3962
3963Legal Terms
3964===========
3965
39660. Definitions
3967--------------
3968
3969 Throughout this license, the terms `package', `FreeType Project',
3970 and `FreeType archive' refer to the set of files originally
3971 distributed by the authors (David Turner, Robert Wilhelm, and
3972 Werner Lemberg) as the `FreeType Project', be they named as alpha,
3973 beta or final release.
3974
3975 `You' refers to the licensee, or person using the project, where
3976 `using' is a generic term including compiling the project's source
3977 code as well as linking it to form a `program' or `executable'.
3978 This program is referred to as `a program using the FreeType
3979 engine'.
3980
3981 This license applies to all files distributed in the original
3982 FreeType Project, including all source code, binaries and
3983 documentation, unless otherwise stated in the file in its
3984 original, unmodified form as distributed in the original archive.
3985 If you are unsure whether or not a particular file is covered by
3986 this license, you must contact us to verify this.
3987
3988 The FreeType Project is copyright (C) 1996-2000 by David Turner,
3989 Robert Wilhelm, and Werner Lemberg. All rights reserved except as
3990 specified below.
3991
39921. No Warranty
3993--------------
3994
3995 THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY
3996 KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
3997 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3998 PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS
3999 BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO
4000 USE, OF THE FREETYPE PROJECT.
4001
40022. Redistribution
4003-----------------
4004
4005 This license grants a worldwide, royalty-free, perpetual and
4006 irrevocable right and license to use, execute, perform, compile,
4007 display, copy, create derivative works of, distribute and
4008 sublicense the FreeType Project (in both source and object code
4009 forms) and derivative works thereof for any purpose; and to
4010 authorize others to exercise some or all of the rights granted
4011 herein, subject to the following conditions:
4012
4013 o Redistribution of source code must retain this license file
4014 (`FTL.TXT') unaltered; any additions, deletions or changes to
4015 the original files must be clearly indicated in accompanying
4016 documentation. The copyright notices of the unaltered,
4017 original files must be preserved in all copies of source
4018 files.
4019
4020 o Redistribution in binary form must provide a disclaimer that
4021 states that the software is based in part of the work of the
4022 FreeType Team, in the distribution documentation. We also
4023 encourage you to put an URL to the FreeType web page in your
4024 documentation, though this isn't mandatory.
4025
4026 These conditions apply to any software derived from or based on
4027 the FreeType Project, not just the unmodified files. If you use
4028 our work, you must acknowledge us. However, no fee need be paid
4029 to us.
4030
40313. Advertising
4032--------------
4033
4034 Neither the FreeType authors and contributors nor you shall use
4035 the name of the other for commercial, advertising, or promotional
4036 purposes without specific prior written permission.
4037
4038 We suggest, but do not require, that you use one or more of the
4039 following phrases to refer to this software in your documentation
4040 or advertising materials: `FreeType Project', `FreeType Engine',
4041 `FreeType library', or `FreeType Distribution'.
4042
4043 As you have not signed this license, you are not required to
4044 accept it. However, as the FreeType Project is copyrighted
4045 material, only this license, or another one contracted with the
4046 authors, grants you the right to use, distribute, and modify it.
4047 Therefore, by using, distributing, or modifying the FreeType
4048 Project, you indicate that you understand and accept all the terms
4049 of this license.
4050
40514. Contacts
4052-----------
4053
4054 There are two mailing lists related to FreeType:
4055
4056 o freetype@nongnu.org
4057
4058 Discusses general use and applications of FreeType, as well as
4059 future and wanted additions to the library and distribution.
4060 If you are looking for support, start in this list if you
4061 haven't found anything to help you in the documentation.
4062
4063 o freetype-devel@nongnu.org
4064
4065 Discusses bugs, as well as engine internals, design issues,
4066 specific licenses, porting, etc.
4067
4068 Our home page can be found at
4069
4070 http://www.freetype.org
4071
4072
4073--- end of FTL.TXT ---
4074
4075// Copyright (c) 2013 The Chromium Authors. All rights reserved.
4076//
4077// Redistribution and use in source and binary forms, with or without
4078// modification, are permitted provided that the following conditions are
4079// met:
4080//
4081// * Redistributions of source code must retain the above copyright
4082// notice, this list of conditions and the following disclaimer.
4083// * Redistributions in binary form must reproduce the above
4084// copyright notice, this list of conditions and the following disclaimer
4085// in the documentation and/or other materials provided with the
4086// distribution.
4087// * Neither the name of Google Inc. nor the names of its
4088// contributors may be used to endorse or promote products derived from
4089// this software without specific prior written permission.
4090//
4091// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4092// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
4093// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
4094// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
4095// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4096// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
4097// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
4098// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4099// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4100// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4101// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4102
4103Book: OpenGL(R) ES 2.0 Programming Guide
4104Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner
4105ISBN-10: 0321502795
4106ISBN-13: 9780321502797
4107Publisher: Addison-Wesley Professional
4108URLs: http://safari.informit.com/9780321563835
4109 http://www.opengles-book.com
4110 COPYRIGHTS
4111
4112Compilation copyright is held by the GPSD project. All rights reserved.
4113
4114GPSD project copyrights are assigned to the project lead, currently
4115Eric S. Raymond. Other portions of the GPSD code are Copyright (c)
41161997, 1998, 1999, 2000, 2001, 2002 by Remco Treffkorn, and others
4117Copyright (c) 2005 by Eric S. Raymond. For other copyrights, see
4118individual files.
4119
4120 BSD LICENSE
4121
4122Redistribution and use in source and binary forms, with or without
4123modification, are permitted provided that the following conditions
4124are met:<P>
4125
4126Redistributions of source code must retain the above copyright
4127notice, this list of conditions and the following disclaimer.<P>
4128
4129Redistributions in binary form must reproduce the above copyright
4130notice, this list of conditions and the following disclaimer in the
4131documentation and/or other materials provided with the distribution.<P>
4132
4133Neither name of the GPSD project nor the names of its contributors
4134may be used to endorse or promote products derived from this software
4135without specific prior written permission.
4136
4137THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4138``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
4139LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
4140A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
4141CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
4142EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
4143PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
4144PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
4145LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
4146NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
4147SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4148
4149 GNU LIBRARY GENERAL PUBLIC LICENSE
4150 Version 2, June 1991
4151
4152 Copyright (C) 1991 Free Software Foundation, Inc.
4153 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
4154 Everyone is permitted to copy and distribute verbatim copies
4155 of this license document, but changing it is not allowed.
4156
4157[This is the first released version of the library GPL. It is
4158 numbered 2 because it goes with version 2 of the ordinary GPL.]
4159
4160 Preamble
4161
4162 The licenses for most software are designed to take away your
4163freedom to share and change it. By contrast, the GNU General Public
4164Licenses are intended to guarantee your freedom to share and change
4165free software--to make sure the software is free for all its users.
4166
4167 This license, the Library General Public License, applies to some
4168specially designated Free Software Foundation software, and to any
4169other libraries whose authors decide to use it. You can use it for
4170your libraries, too.
4171
4172 When we speak of free software, we are referring to freedom, not
4173price. Our General Public Licenses are designed to make sure that you
4174have the freedom to distribute copies of free software (and charge for
4175this service if you wish), that you receive source code or can get it
4176if you want it, that you can change the software or use pieces of it
4177in new free programs; and that you know you can do these things.
4178
4179 To protect your rights, we need to make restrictions that forbid
4180anyone to deny you these rights or to ask you to surrender the rights.
4181These restrictions translate to certain responsibilities for you if
4182you distribute copies of the library, or if you modify it.
4183
4184 For example, if you distribute copies of the library, whether gratis
4185or for a fee, you must give the recipients all the rights that we gave
4186you. You must make sure that they, too, receive or can get the source
4187code. If you link a program with the library, you must provide
4188complete object files to the recipients so that they can relink them
4189with the library, after making changes to the library and recompiling
4190it. And you must show them these terms so they know their rights.
4191
4192 Our method of protecting your rights has two steps: (1) copyright
4193the library, and (2) offer you this license which gives you legal
4194permission to copy, distribute and/or modify the library.
4195
4196 Also, for each distributor's protection, we want to make certain
4197that everyone understands that there is no warranty for this free
4198library. If the library is modified by someone else and passed on, we
4199want its recipients to know that what they have is not the original
4200version, so that any problems introduced by others will not reflect on
4201the original authors' reputations.
4202
4203 Finally, any free program is threatened constantly by software
4204patents. We wish to avoid the danger that companies distributing free
4205software will individually obtain patent licenses, thus in effect
4206transforming the program into proprietary software. To prevent this,
4207we have made it clear that any patent must be licensed for everyone's
4208free use or not licensed at all.
4209
4210 Most GNU software, including some libraries, is covered by the ordinary
4211GNU General Public License, which was designed for utility programs. This
4212license, the GNU Library General Public License, applies to certain
4213designated libraries. This license is quite different from the ordinary
4214one; be sure to read it in full, and don't assume that anything in it is
4215the same as in the ordinary license.
4216
4217 The reason we have a separate public license for some libraries is that
4218they blur the distinction we usually make between modifying or adding to a
4219program and simply using it. Linking a program with a library, without
4220changing the library, is in some sense simply using the library, and is
4221analogous to running a utility program or application program. However, in
4222a textual and legal sense, the linked executable is a combined work, a
4223derivative of the original library, and the ordinary General Public License
4224treats it as such.
4225
4226 Because of this blurred distinction, using the ordinary General
4227Public License for libraries did not effectively promote software
4228sharing, because most developers did not use the libraries. We
4229concluded that weaker conditions might promote sharing better.
4230
4231 However, unrestricted linking of non-free programs would deprive the
4232users of those programs of all benefit from the free status of the
4233libraries themselves. This Library General Public License is intended to
4234permit developers of non-free programs to use free libraries, while
4235preserving your freedom as a user of such programs to change the free
4236libraries that are incorporated in them. (We have not seen how to achieve
4237this as regards changes in header files, but we have achieved it as regards
4238changes in the actual functions of the Library.) The hope is that this
4239will lead to faster development of free libraries.
4240
4241 The precise terms and conditions for copying, distribution and
4242modification follow. Pay close attention to the difference between a
4243"work based on the library" and a "work that uses the library". The
4244former contains code derived from the library, while the latter only
4245works together with the library.
4246
4247 Note that it is possible for a library to be covered by the ordinary
4248General Public License rather than by this special one.
4249
4250 GNU LIBRARY GENERAL PUBLIC LICENSE
4251 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
4252
4253 0. This License Agreement applies to any software library which
4254contains a notice placed by the copyright holder or other authorized
4255party saying it may be distributed under the terms of this Library
4256General Public License (also called "this License"). Each licensee is
4257addressed as "you".
4258
4259 A "library" means a collection of software functions and/or data
4260prepared so as to be conveniently linked with application programs
4261(which use some of those functions and data) to form executables.
4262
4263 The "Library", below, refers to any such software library or work
4264which has been distributed under these terms. A "work based on the
4265Library" means either the Library or any derivative work under
4266copyright law: that is to say, a work containing the Library or a
4267portion of it, either verbatim or with modifications and/or translated
4268straightforwardly into another language. (Hereinafter, translation is
4269included without limitation in the term "modification".)
4270
4271 "Source code" for a work means the preferred form of the work for
4272making modifications to it. For a library, complete source code means
4273all the source code for all modules it contains, plus any associated
4274interface definition files, plus the scripts used to control compilation
4275and installation of the library.
4276
4277 Activities other than copying, distribution and modification are not
4278covered by this License; they are outside its scope. The act of
4279running a program using the Library is not restricted, and output from
4280such a program is covered only if its contents constitute a work based
4281on the Library (independent of the use of the Library in a tool for
4282writing it). Whether that is true depends on what the Library does
4283and what the program that uses the Library does.
4284
4285 1. You may copy and distribute verbatim copies of the Library's
4286complete source code as you receive it, in any medium, provided that
4287you conspicuously and appropriately publish on each copy an
4288appropriate copyright notice and disclaimer of warranty; keep intact
4289all the notices that refer to this License and to the absence of any
4290warranty; and distribute a copy of this License along with the
4291Library.
4292
4293 You may charge a fee for the physical act of transferring a copy,
4294and you may at your option offer warranty protection in exchange for a
4295fee.
4296
4297 2. You may modify your copy or copies of the Library or any portion
4298of it, thus forming a work based on the Library, and copy and
4299distribute such modifications or work under the terms of Section 1
4300above, provided that you also meet all of these conditions:
4301
4302 a) The modified work must itself be a software library.
4303
4304 b) You must cause the files modified to carry prominent notices
4305 stating that you changed the files and the date of any change.
4306
4307 c) You must cause the whole of the work to be licensed at no
4308 charge to all third parties under the terms of this License.
4309
4310 d) If a facility in the modified Library refers to a function or a
4311 table of data to be supplied by an application program that uses
4312 the facility, other than as an argument passed when the facility
4313 is invoked, then you must make a good faith effort to ensure that,
4314 in the event an application does not supply such function or
4315 table, the facility still operates, and performs whatever part of
4316 its purpose remains meaningful.
4317
4318 (For example, a function in a library to compute square roots has
4319 a purpose that is entirely well-defined independent of the
4320 application. Therefore, Subsection 2d requires that any
4321 application-supplied function or table used by this function must
4322 be optional: if the application does not supply it, the square
4323 root function must still compute square roots.)
4324
4325These requirements apply to the modified work as a whole. If
4326identifiable sections of that work are not derived from the Library,
4327and can be reasonably considered independent and separate works in
4328themselves, then this License, and its terms, do not apply to those
4329sections when you distribute them as separate works. But when you
4330distribute the same sections as part of a whole which is a work based
4331on the Library, the distribution of the whole must be on the terms of
4332this License, whose permissions for other licensees extend to the
4333entire whole, and thus to each and every part regardless of who wrote
4334it.
4335
4336Thus, it is not the intent of this section to claim rights or contest
4337your rights to work written entirely by you; rather, the intent is to
4338exercise the right to control the distribution of derivative or
4339collective works based on the Library.
4340
4341In addition, mere aggregation of another work not based on the Library
4342with the Library (or with a work based on the Library) on a volume of
4343a storage or distribution medium does not bring the other work under
4344the scope of this License.
4345
4346 3. You may opt to apply the terms of the ordinary GNU General Public
4347License instead of this License to a given copy of the Library. To do
4348this, you must alter all the notices that refer to this License, so
4349that they refer to the ordinary GNU General Public License, version 2,
4350instead of to this License. (If a newer version than version 2 of the
4351ordinary GNU General Public License has appeared, then you can specify
4352that version instead if you wish.) Do not make any other change in
4353these notices.
4354
4355 Once this change is made in a given copy, it is irreversible for
4356that copy, so the ordinary GNU General Public License applies to all
4357subsequent copies and derivative works made from that copy.
4358
4359 This option is useful when you wish to copy part of the code of
4360the Library into a program that is not a library.
4361
4362 4. You may copy and distribute the Library (or a portion or
4363derivative of it, under Section 2) in object code or executable form
4364under the terms of Sections 1 and 2 above provided that you accompany
4365it with the complete corresponding machine-readable source code, which
4366must be distributed under the terms of Sections 1 and 2 above on a
4367medium customarily used for software interchange.
4368
4369 If distribution of object code is made by offering access to copy
4370from a designated place, then offering equivalent access to copy the
4371source code from the same place satisfies the requirement to
4372distribute the source code, even though third parties are not
4373compelled to copy the source along with the object code.
4374
4375 5. A program that contains no derivative of any portion of the
4376Library, but is designed to work with the Library by being compiled or
4377linked with it, is called a "work that uses the Library". Such a
4378work, in isolation, is not a derivative work of the Library, and
4379therefore falls outside the scope of this License.
4380
4381 However, linking a "work that uses the Library" with the Library
4382creates an executable that is a derivative of the Library (because it
4383contains portions of the Library), rather than a "work that uses the
4384library". The executable is therefore covered by this License.
4385Section 6 states terms for distribution of such executables.
4386
4387 When a "work that uses the Library" uses material from a header file
4388that is part of the Library, the object code for the work may be a
4389derivative work of the Library even though the source code is not.
4390Whether this is true is especially significant if the work can be
4391linked without the Library, or if the work is itself a library. The
4392threshold for this to be true is not precisely defined by law.
4393
4394 If such an object file uses only numerical parameters, data
4395structure layouts and accessors, and small macros and small inline
4396functions (ten lines or less in length), then the use of the object
4397file is unrestricted, regardless of whether it is legally a derivative
4398work. (Executables containing this object code plus portions of the
4399Library will still fall under Section 6.)
4400
4401 Otherwise, if the work is a derivative of the Library, you may
4402distribute the object code for the work under the terms of Section 6.
4403Any executables containing that work also fall under Section 6,
4404whether or not they are linked directly with the Library itself.
4405
4406 6. As an exception to the Sections above, you may also compile or
4407link a "work that uses the Library" with the Library to produce a
4408work containing portions of the Library, and distribute that work
4409under terms of your choice, provided that the terms permit
4410modification of the work for the customer's own use and reverse
4411engineering for debugging such modifications.
4412
4413 You must give prominent notice with each copy of the work that the
4414Library is used in it and that the Library and its use are covered by
4415this License. You must supply a copy of this License. If the work
4416during execution displays copyright notices, you must include the
4417copyright notice for the Library among them, as well as a reference
4418directing the user to the copy of this License. Also, you must do one
4419of these things:
4420
4421 a) Accompany the work with the complete corresponding
4422 machine-readable source code for the Library including whatever
4423 changes were used in the work (which must be distributed under
4424 Sections 1 and 2 above); and, if the work is an executable linked
4425 with the Library, with the complete machine-readable "work that
4426 uses the Library", as object code and/or source code, so that the
4427 user can modify the Library and then relink to produce a modified
4428 executable containing the modified Library. (It is understood
4429 that the user who changes the contents of definitions files in the
4430 Library will not necessarily be able to recompile the application
4431 to use the modified definitions.)
4432
4433 b) Accompany the work with a written offer, valid for at
4434 least three years, to give the same user the materials
4435 specified in Subsection 6a, above, for a charge no more
4436 than the cost of performing this distribution.
4437
4438 c) If distribution of the work is made by offering access to copy
4439 from a designated place, offer equivalent access to copy the above
4440 specified materials from the same place.
4441
4442 d) Verify that the user has already received a copy of these
4443 materials or that you have already sent this user a copy.
4444
4445 For an executable, the required form of the "work that uses the
4446Library" must include any data and utility programs needed for
4447reproducing the executable from it. However, as a special exception,
4448the source code distributed need not include anything that is normally
4449distributed (in either source or binary form) with the major
4450components (compiler, kernel, and so on) of the operating system on
4451which the executable runs, unless that component itself accompanies
4452the executable.
4453
4454 It may happen that this requirement contradicts the license
4455restrictions of other proprietary libraries that do not normally
4456accompany the operating system. Such a contradiction means you cannot
4457use both them and the Library together in an executable that you
4458distribute.
4459
4460 7. You may place library facilities that are a work based on the
4461Library side-by-side in a single library together with other library
4462facilities not covered by this License, and distribute such a combined
4463library, provided that the separate distribution of the work based on
4464the Library and of the other library facilities is otherwise
4465permitted, and provided that you do these two things:
4466
4467 a) Accompany the combined library with a copy of the same work
4468 based on the Library, uncombined with any other library
4469 facilities. This must be distributed under the terms of the
4470 Sections above.
4471
4472 b) Give prominent notice with the combined library of the fact
4473 that part of it is a work based on the Library, and explaining
4474 where to find the accompanying uncombined form of the same work.
4475
4476 8. You may not copy, modify, sublicense, link with, or distribute
4477the Library except as expressly provided under this License. Any
4478attempt otherwise to copy, modify, sublicense, link with, or
4479distribute the Library is void, and will automatically terminate your
4480rights under this License. However, parties who have received copies,
4481or rights, from you under this License will not have their licenses
4482terminated so long as such parties remain in full compliance.
4483
4484 9. You are not required to accept this License, since you have not
4485signed it. However, nothing else grants you permission to modify or
4486distribute the Library or its derivative works. These actions are
4487prohibited by law if you do not accept this License. Therefore, by
4488modifying or distributing the Library (or any work based on the
4489Library), you indicate your acceptance of this License to do so, and
4490all its terms and conditions for copying, distributing or modifying
4491the Library or works based on it.
4492
4493 10. Each time you redistribute the Library (or any work based on the
4494Library), the recipient automatically receives a license from the
4495original licensor to copy, distribute, link with or modify the Library
4496subject to these terms and conditions. You may not impose any further
4497restrictions on the recipients' exercise of the rights granted herein.
4498You are not responsible for enforcing compliance by third parties to
4499this License.
4500
4501 11. If, as a consequence of a court judgment or allegation of patent
4502infringement or for any other reason (not limited to patent issues),
4503conditions are imposed on you (whether by court order, agreement or
4504otherwise) that contradict the conditions of this License, they do not
4505excuse you from the conditions of this License. If you cannot
4506distribute so as to satisfy simultaneously your obligations under this
4507License and any other pertinent obligations, then as a consequence you
4508may not distribute the Library at all. For example, if a patent
4509license would not permit royalty-free redistribution of the Library by
4510all those who receive copies directly or indirectly through you, then
4511the only way you could satisfy both it and this License would be to
4512refrain entirely from distribution of the Library.
4513
4514If any portion of this section is held invalid or unenforceable under any
4515particular circumstance, the balance of the section is intended to apply,
4516and the section as a whole is intended to apply in other circumstances.
4517
4518It is not the purpose of this section to induce you to infringe any
4519patents or other property right claims or to contest validity of any
4520such claims; this section has the sole purpose of protecting the
4521integrity of the free software distribution system which is
4522implemented by public license practices. Many people have made
4523generous contributions to the wide range of software distributed
4524through that system in reliance on consistent application of that
4525system; it is up to the author/donor to decide if he or she is willing
4526to distribute software through any other system and a licensee cannot
4527impose that choice.
4528
4529This section is intended to make thoroughly clear what is believed to
4530be a consequence of the rest of this License.
4531
4532 12. If the distribution and/or use of the Library is restricted in
4533certain countries either by patents or by copyrighted interfaces, the
4534original copyright holder who places the Library under this License may add
4535an explicit geographical distribution limitation excluding those countries,
4536so that distribution is permitted only in or among countries not thus
4537excluded. In such case, this License incorporates the limitation as if
4538written in the body of this License.
4539
4540 13. The Free Software Foundation may publish revised and/or new
4541versions of the Library General Public License from time to time.
4542Such new versions will be similar in spirit to the present version,
4543but may differ in detail to address new problems or concerns.
4544
4545Each version is given a distinguishing version number. If the Library
4546specifies a version number of this License which applies to it and
4547"any later version", you have the option of following the terms and
4548conditions either of that version or of any later version published by
4549the Free Software Foundation. If the Library does not specify a
4550license version number, you may choose any version ever published by
4551the Free Software Foundation.
4552
4553 14. If you wish to incorporate parts of the Library into other free
4554programs whose distribution conditions are incompatible with these,
4555write to the author to ask for permission. For software which is
4556copyrighted by the Free Software Foundation, write to the Free
4557Software Foundation; we sometimes make exceptions for this. Our
4558decision will be guided by the two goals of preserving the free status
4559of all derivatives of our free software and of promoting the sharing
4560and reuse of software generally.
4561
4562 NO WARRANTY
4563
4564 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
4565WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
4566EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
4567OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
4568KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
4569IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4570PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
4571LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
4572THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
4573
4574 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
4575WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
4576AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
4577FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
4578CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
4579LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
4580RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
4581FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
4582SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
4583DAMAGES.
4584
4585 END OF TERMS AND CONDITIONS
4586
4587 How to Apply These Terms to Your New Libraries
4588
4589 If you develop a new library, and you want it to be of the greatest
4590possible use to the public, we recommend making it free software that
4591everyone can redistribute and change. You can do so by permitting
4592redistribution under these terms (or, alternatively, under the terms of the
4593ordinary General Public License).
4594
4595 To apply these terms, attach the following notices to the library. It is
4596safest to attach them to the start of each source file to most effectively
4597convey the exclusion of warranty; and each file should have at least the
4598"copyright" line and a pointer to where the full notice is found.
4599
4600 <one line to give the library's name and a brief idea of what it does.>
4601 Copyright (C) <year> <name of author>
4602
4603 This library is free software; you can redistribute it and/or
4604 modify it under the terms of the GNU Library General Public
4605 License as published by the Free Software Foundation; either
4606 version 2 of the License, or (at your option) any later version.
4607
4608 This library is distributed in the hope that it will be useful,
4609 but WITHOUT ANY WARRANTY; without even the implied warranty of
4610 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4611 Library General Public License for more details.
4612
4613 You should have received a copy of the GNU Library General Public
4614 License along with this library; if not, write to the
4615 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4616 Boston, MA 02111-1307 USA.
4617
4618Also add information on how to contact you by electronic and paper mail.
4619
4620You should also get your employer (if you work as a programmer) or your
4621school, if any, to sign a "copyright disclaimer" for the library, if
4622necessary. Here is a sample; alter the names:
4623
4624 Yoyodyne, Inc., hereby disclaims all copyright interest in the
4625 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
4626
4627 <signature of Ty Coon>, 1 April 1990
4628 Ty Coon, President of Vice
4629
4630That's all there is to it!
4631
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01004632HarfBuzz is licensed under the so-called "Old MIT" license. Details follow.
4633
4634Copyright © 2011 Codethink Limited
4635Copyright © 2010,2011 Google, Inc.
4636Copyright © 2006 Behdad Esfahbod
4637Copyright © 2009 Keith Stribley
4638Copyright © 2009 Martin Hosken and SIL International
4639Copyright © 2007 Chris Wilson
4640Copyright © 2004,2007,2008,2009,2010 Red Hat, Inc.
4641Copyright © 1998-2004 David Turner and Werner Lemberg
4642
4643For full copyright notices consult the individual files in the package.
4644
4645
4646Permission is hereby granted, without written agreement and without
4647license or royalty fees, to use, copy, modify, and distribute this
4648software and its documentation for any purpose, provided that the
4649above copyright notice and the following two paragraphs appear in
4650all copies of this software.
4651
4652IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
4653DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
4654ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
4655IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
4656DAMAGE.
4657
4658THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
4659BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
4660FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
4661ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
4662PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
4663
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004664GPL 2.0/LGPL 2.1/MPL 1.1 tri-license
4665
4666The contents of this software may be used under the terms of
4667the GNU General Public License Version 2 or later (the "GPL"), or
4668the GNU Lesser General Public License Version 2.1 or later (the "LGPL",
4669see COPYING.LGPL) or the Mozilla Public License Version 1.1 or later
4670(the "MPL", see COPYING.MPL).
4671
4672The Plain TeX hyphenation tables "hyphen.tex" by Donald E. Knuth
4673has a non MPL/LGPL compatible license, but freely redistributable:
4674"Unlimited copying and redistribution of this file are permitted as long
4675as this file is not modified. Modifications are permitted, but only if
4676the resulting file is not named hyphen.tex."
4677
4678Software distributed under these licenses is distributed on an "AS IS" basis,
4679WITHOUT WARRANTY OF ANY KIND, either express or implied. See the licences
4680for the specific language governing rights and limitations under the licenses.
4681
4682/*************************************************************************
4683 *
4684 * IAccessible2 IDL Specification
4685 *
4686 * Copyright (c) 2007, 2010 Linux Foundation
4687 * Copyright (c) 2006 IBM Corporation
4688 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
4689 * All rights reserved.
4690 *
4691 *
4692 * Redistribution and use in source and binary forms, with or without
4693 * modification, are permitted provided that the following conditions
4694 * are met:
4695 *
4696 * 1. Redistributions of source code must retain the above copyright
4697 * notice, this list of conditions and the following disclaimer.
4698 *
4699 * 2. Redistributions in binary form must reproduce the above
4700 * copyright notice, this list of conditions and the following
4701 * disclaimer in the documentation and/or other materials
4702 * provided with the distribution.
4703 *
4704 * 3. Neither the name of the Linux Foundation nor the names of its
4705 * contributors may be used to endorse or promote products
4706 * derived from this software without specific prior written
4707 * permission.
4708 *
4709 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
4710 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
4711 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
4712 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4713 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4714 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4715 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4716 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
4717 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4718 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
4719 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
4720 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4721 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4722 *
4723 * This BSD License conforms to the Open Source Initiative "Simplified
4724 * BSD License" as published at:
4725 * http://www.opensource.org/licenses/bsd-license.php
4726 *
4727 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
4728 * mark may be used in accordance with the Linux Foundation Trademark
4729 * Policy to indicate compliance with the IAccessible2 specification.
4730 *
4731 ************************************************************************/
4732
4733LICENSE extracted from IJG's jpeg distribution:
4734-----------------------------------------------
4735
4736In plain English:
4737
47381. We don't promise that this software works. (But if you find any bugs,
4739 please let us know!)
47402. You can use this software for whatever you want. You don't have to pay us.
47413. You may not pretend that you wrote this software. If you use it in a
4742 program, you must acknowledge somewhere in your documentation that
4743 you've used the IJG code.
4744
4745In legalese:
4746
4747The authors make NO WARRANTY or representation, either express or implied,
4748with respect to this software, its quality, accuracy, merchantability, or
4749fitness for a particular purpose. This software is provided "AS IS", and you,
4750its user, assume the entire risk as to its quality and accuracy.
4751
4752This software is copyright (C) 1991-1998, Thomas G. Lane.
4753All Rights Reserved except as specified below.
4754
4755Permission is hereby granted to use, copy, modify, and distribute this
4756software (or portions thereof) for any purpose, without fee, subject to these
4757conditions:
4758(1) If any part of the source code for this software is distributed, then this
4759README file must be included, with this copyright and no-warranty notice
4760unaltered; and any additions, deletions, or changes to the original files
4761must be clearly indicated in accompanying documentation.
4762(2) If only executable code is distributed, then the accompanying
4763documentation must state that "this software is based in part on the work of
4764the Independent JPEG Group".
4765(3) Permission for use of this software is granted only if the user accepts
4766full responsibility for any undesirable consequences; the authors accept
4767NO LIABILITY for damages of any kind.
4768
4769These conditions apply to any software derived from or based on the IJG code,
4770not just to the unmodified library. If you use our work, you ought to
4771acknowledge us.
4772
4773Permission is NOT granted for the use of any IJG author's name or company name
4774in advertising or publicity relating to this software or products derived from
4775it. This software may be referred to only as "the Independent JPEG Group's
4776software".
4777
4778We specifically permit and encourage the use of this software as the basis of
4779commercial products, provided that all warranty or liability claims are
4780assumed by the product vendor.
4781
4782
4783Copyright (c) 2001-2010 Troy N. Stephens
4784Portions Copyright (c) 2007 Google Inc.
4785
4786Use and distribution of this source code is governed by the MIT License, whose terms are as follows.
4787
4788Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4789
4790The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
4791
4792THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4793
4794ICU License - ICU 1.8.1 and later
4795
4796COPYRIGHT AND PERMISSION NOTICE
4797
4798Copyright (c) 1995-2010 International Business Machines Corporation and others
4799
4800All rights reserved.
4801
4802Permission is hereby granted, free of charge, to any person obtaining a copy
4803of this software and associated documentation files (the "Software"),
4804to deal in the Software without restriction, including without limitation
4805the rights to use, copy, modify, merge, publish, distribute, and/or sell
4806copies of the Software, and to permit persons
4807to whom the Software is furnished to do so, provided that the above
4808copyright notice(s) and this permission notice appear in all copies
4809of the Software and that both the above copyright notice(s) and this
4810permission notice appear in supporting documentation.
4811
4812THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
4813INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
4814PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL
4815THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM,
4816OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
4817RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4818NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
4819USE OR PERFORMANCE OF THIS SOFTWARE.
4820
4821Except as contained in this notice, the name of a copyright holder shall not be
4822used in advertising or otherwise to promote the sale, use or other dealings in
4823this Software without prior written authorization of the copyright holder.
4824
4825All trademarks and registered trademarks mentioned herein are the property of their respective owners.
4826
4827/* ***** BEGIN LICENSE BLOCK *****
4828 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4829 *
4830 * The contents of this file are subject to the Mozilla Public License Version
4831 * 1.1 (the "License"); you may not use this file except in compliance with
4832 * the License. You may obtain a copy of the License at
4833 * http://www.mozilla.org/MPL/
4834 *
4835 * Software distributed under the License is distributed on an "AS IS" basis,
4836 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
4837 * for the specific language governing rights and limitations under the
4838 * License.
4839 *
4840 * The Original Code is mozilla.org code.
4841 *
4842 * The Initial Developer of the Original Code is
4843 * Netscape Communications Corporation.
4844 * Portions created by the Initial Developer are Copyright (C) 2002
4845 * the Initial Developer. All Rights Reserved.
4846 *
4847 * Contributor(s):
4848 *
4849 * Alternatively, the contents of this file may be used under the terms of
4850 * either the GNU General Public License Version 2 or later (the "GPL"), or
4851 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
4852 * in which case the provisions of the GPL or the LGPL are applicable instead
4853 * of those above. If you wish to allow use of your version of this file only
4854 * under the terms of either the GPL or the LGPL, and not to allow others to
4855 * use your version of this file under the terms of the MPL, indicate your
4856 * decision by deleting the provisions above and replace them with the notice
4857 * and other provisions required by the GPL or the LGPL. If you do not delete
4858 * the provisions above, a recipient may use your version of this file under
4859 * the terms of any one of the MPL, the GPL or the LGPL.
4860 *
4861 * ***** END LICENSE BLOCK ***** */
4862
4863The following is the license for the jemalloc source code, as provided
4864in the initial section of the source files.
4865
4866Copyright (C) 2006-2008 Jason Evans <jasone@FreeBSD.org>.
4867All rights reserved.
4868
4869Redistribution and use in source and binary forms, with or without
4870modification, are permitted provided that the following conditions
4871are met:
48721. Redistributions of source code must retain the above copyright
4873 notice(s), this list of conditions and the following disclaimer as
4874 the first lines of this file unmodified other than the possible
4875 addition of one or more copyright notices.
48762. Redistributions in binary form must reproduce the above copyright
4877 notice(s), this list of conditions and the following disclaimer in
4878 the documentation and/or other materials provided with the
4879 distribution.
4880
4881THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
4882EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4883IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4884PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE
4885LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
4886CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
4887SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
4888BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
4889WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
4890OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4891EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4892
4893
4894The JsonCpp library's source code, including accompanying documentation,
4895tests and demonstration applications, are licensed under the following
4896conditions...
4897
4898The author (Baptiste Lepilleur) explicitly disclaims copyright in all
4899jurisdictions which recognize such a disclaimer. In such jurisdictions,
4900this software is released into the Public Domain.
4901
4902In jurisdictions which do not recognize Public Domain property (e.g. Germany as of
49032010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is
4904released under the terms of the MIT License (see below).
4905
4906In jurisdictions which recognize Public Domain property, the user of this
4907software may choose to accept it either as 1) Public Domain, 2) under the
4908conditions of the MIT License (see below), or 3) under the terms of dual
4909Public Domain/MIT License conditions described here, as they choose.
4910
4911The MIT License is about as close to Public Domain as a license can get, and is
4912described in clear, concise terms at:
4913
4914 http://en.wikipedia.org/wiki/MIT_License
4915
4916The full text of the MIT License follows:
4917
4918========================================================================
4919Copyright (c) 2007-2010 Baptiste Lepilleur
4920
4921Permission is hereby granted, free of charge, to any person
4922obtaining a copy of this software and associated documentation
4923files (the "Software"), to deal in the Software without
4924restriction, including without limitation the rights to use, copy,
4925modify, merge, publish, distribute, sublicense, and/or sell copies
4926of the Software, and to permit persons to whom the Software is
4927furnished to do so, subject to the following conditions:
4928
4929The above copyright notice and this permission notice shall be
4930included in all copies or substantial portions of the Software.
4931
4932THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
4933EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4934MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4935NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
4936BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
4937ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
4938CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4939SOFTWARE.
4940========================================================================
4941(END LICENSE TEXT)
4942
4943The MIT license is compatible with both the GPL and commercial
4944software, affording one all of the rights of Public Domain with the
4945minor nuisance of being required to keep the above copyright notice
4946and license text in the source code. Note also that by accepting the
4947Public Domain "license" you can re-license your copy using whatever
4948license you like.
4949
Torne (Richard Coles)58218062012-11-14 11:43:16 +00004950
4951 Apache License
4952 Version 2.0, January 2004
4953 http://www.apache.org/licenses/
4954
4955 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
4956
4957 1. Definitions.
4958
4959 "License" shall mean the terms and conditions for use, reproduction,
4960 and distribution as defined by Sections 1 through 9 of this document.
4961
4962 "Licensor" shall mean the copyright owner or entity authorized by
4963 the copyright owner that is granting the License.
4964
4965 "Legal Entity" shall mean the union of the acting entity and all
4966 other entities that control, are controlled by, or are under common
4967 control with that entity. For the purposes of this definition,
4968 "control" means (i) the power, direct or indirect, to cause the
4969 direction or management of such entity, whether by contract or
4970 otherwise, or (ii) ownership of fifty percent (50%) or more of the
4971 outstanding shares, or (iii) beneficial ownership of such entity.
4972
4973 "You" (or "Your") shall mean an individual or Legal Entity
4974 exercising permissions granted by this License.
4975
4976 "Source" form shall mean the preferred form for making modifications,
4977 including but not limited to software source code, documentation
4978 source, and configuration files.
4979
4980 "Object" form shall mean any form resulting from mechanical
4981 transformation or translation of a Source form, including but
4982 not limited to compiled object code, generated documentation,
4983 and conversions to other media types.
4984
4985 "Work" shall mean the work of authorship, whether in Source or
4986 Object form, made available under the License, as indicated by a
4987 copyright notice that is included in or attached to the work
4988 (an example is provided in the Appendix below).
4989
4990 "Derivative Works" shall mean any work, whether in Source or Object
4991 form, that is based on (or derived from) the Work and for which the
4992 editorial revisions, annotations, elaborations, or other modifications
4993 represent, as a whole, an original work of authorship. For the purposes
4994 of this License, Derivative Works shall not include works that remain
4995 separable from, or merely link (or bind by name) to the interfaces of,
4996 the Work and Derivative Works thereof.
4997
4998 "Contribution" shall mean any work of authorship, including
4999 the original version of the Work and any modifications or additions
5000 to that Work or Derivative Works thereof, that is intentionally
5001 submitted to Licensor for inclusion in the Work by the copyright owner
5002 or by an individual or Legal Entity authorized to submit on behalf of
5003 the copyright owner. For the purposes of this definition, "submitted"
5004 means any form of electronic, verbal, or written communication sent
5005 to the Licensor or its representatives, including but not limited to
5006 communication on electronic mailing lists, source code control systems,
5007 and issue tracking systems that are managed by, or on behalf of, the
5008 Licensor for the purpose of discussing and improving the Work, but
5009 excluding communication that is conspicuously marked or otherwise
5010 designated in writing by the copyright owner as "Not a Contribution."
5011
5012 "Contributor" shall mean Licensor and any individual or Legal Entity
5013 on behalf of whom a Contribution has been received by Licensor and
5014 subsequently incorporated within the Work.
5015
5016 2. Grant of Copyright License. Subject to the terms and conditions of
5017 this License, each Contributor hereby grants to You a perpetual,
5018 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
5019 copyright license to reproduce, prepare Derivative Works of,
5020 publicly display, publicly perform, sublicense, and distribute the
5021 Work and such Derivative Works in Source or Object form.
5022
5023 3. Grant of Patent License. Subject to the terms and conditions of
5024 this License, each Contributor hereby grants to You a perpetual,
5025 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
5026 (except as stated in this section) patent license to make, have made,
5027 use, offer to sell, sell, import, and otherwise transfer the Work,
5028 where such license applies only to those patent claims licensable
5029 by such Contributor that are necessarily infringed by their
5030 Contribution(s) alone or by combination of their Contribution(s)
5031 with the Work to which such Contribution(s) was submitted. If You
5032 institute patent litigation against any entity (including a
5033 cross-claim or counterclaim in a lawsuit) alleging that the Work
5034 or a Contribution incorporated within the Work constitutes direct
5035 or contributory patent infringement, then any patent licenses
5036 granted to You under this License for that Work shall terminate
5037 as of the date such litigation is filed.
5038
5039 4. Redistribution. You may reproduce and distribute copies of the
5040 Work or Derivative Works thereof in any medium, with or without
5041 modifications, and in Source or Object form, provided that You
5042 meet the following conditions:
5043
5044 (a) You must give any other recipients of the Work or
5045 Derivative Works a copy of this License; and
5046
5047 (b) You must cause any modified files to carry prominent notices
5048 stating that You changed the files; and
5049
5050 (c) You must retain, in the Source form of any Derivative Works
5051 that You distribute, all copyright, patent, trademark, and
5052 attribution notices from the Source form of the Work,
5053 excluding those notices that do not pertain to any part of
5054 the Derivative Works; and
5055
5056 (d) If the Work includes a "NOTICE" text file as part of its
5057 distribution, then any Derivative Works that You distribute must
5058 include a readable copy of the attribution notices contained
5059 within such NOTICE file, excluding those notices that do not
5060 pertain to any part of the Derivative Works, in at least one
5061 of the following places: within a NOTICE text file distributed
5062 as part of the Derivative Works; within the Source form or
5063 documentation, if provided along with the Derivative Works; or,
5064 within a display generated by the Derivative Works, if and
5065 wherever such third-party notices normally appear. The contents
5066 of the NOTICE file are for informational purposes only and
5067 do not modify the License. You may add Your own attribution
5068 notices within Derivative Works that You distribute, alongside
5069 or as an addendum to the NOTICE text from the Work, provided
5070 that such additional attribution notices cannot be construed
5071 as modifying the License.
5072
5073 You may add Your own copyright statement to Your modifications and
5074 may provide additional or different license terms and conditions
5075 for use, reproduction, or distribution of Your modifications, or
5076 for any such Derivative Works as a whole, provided Your use,
5077 reproduction, and distribution of the Work otherwise complies with
5078 the conditions stated in this License.
5079
5080 5. Submission of Contributions. Unless You explicitly state otherwise,
5081 any Contribution intentionally submitted for inclusion in the Work
5082 by You to the Licensor shall be under the terms and conditions of
5083 this License, without any additional terms or conditions.
5084 Notwithstanding the above, nothing herein shall supersede or modify
5085 the terms of any separate license agreement you may have executed
5086 with Licensor regarding such Contributions.
5087
5088 6. Trademarks. This License does not grant permission to use the trade
5089 names, trademarks, service marks, or product names of the Licensor,
5090 except as required for reasonable and customary use in describing the
5091 origin of the Work and reproducing the content of the NOTICE file.
5092
5093 7. Disclaimer of Warranty. Unless required by applicable law or
5094 agreed to in writing, Licensor provides the Work (and each
5095 Contributor provides its Contributions) on an "AS IS" BASIS,
5096 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
5097 implied, including, without limitation, any warranties or conditions
5098 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
5099 PARTICULAR PURPOSE. You are solely responsible for determining the
5100 appropriateness of using or redistributing the Work and assume any
5101 risks associated with Your exercise of permissions under this License.
5102
5103 8. Limitation of Liability. In no event and under no legal theory,
5104 whether in tort (including negligence), contract, or otherwise,
5105 unless required by applicable law (such as deliberate and grossly
5106 negligent acts) or agreed to in writing, shall any Contributor be
5107 liable to You for damages, including any direct, indirect, special,
5108 incidental, or consequential damages of any character arising as a
5109 result of this License or out of the use or inability to use the
5110 Work (including but not limited to damages for loss of goodwill,
5111 work stoppage, computer failure or malfunction, or any and all
5112 other commercial damages or losses), even if such Contributor
5113 has been advised of the possibility of such damages.
5114
5115 9. Accepting Warranty or Additional Liability. While redistributing
5116 the Work or Derivative Works thereof, You may choose to offer,
5117 and charge a fee for, acceptance of support, warranty, indemnity,
5118 or other liability obligations and/or rights consistent with this
5119 License. However, in accepting such obligations, You may act only
5120 on Your own behalf and on Your sole responsibility, not on behalf
5121 of any other Contributor, and only if You agree to indemnify,
5122 defend, and hold each Contributor harmless for any liability
5123 incurred by, or claims asserted against, such Contributor by reason
5124 of your accepting any such warranty or additional liability.
5125
5126 END OF TERMS AND CONDITIONS
5127
5128 APPENDIX: How to apply the Apache License to your work.
5129
5130 To apply the Apache License to your work, attach the following
5131 boilerplate notice, with the fields enclosed by brackets "[]"
5132 replaced with your own identifying information. (Don't include
5133 the brackets!) The text should be enclosed in the appropriate
5134 comment syntax for the file format. We also recommend that a
5135 file or class name and description of purpose be included on the
5136 same "printed page" as the copyright notice for easier
5137 identification within third-party archives.
5138
5139 Copyright [yyyy] [name of copyright owner]
5140
5141 Licensed under the Apache License, Version 2.0 (the "License");
5142 you may not use this file except in compliance with the License.
5143 You may obtain a copy of the License at
5144
5145 http://www.apache.org/licenses/LICENSE-2.0
5146
5147 Unless required by applicable law or agreed to in writing, software
5148 distributed under the License is distributed on an "AS IS" BASIS,
5149 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5150 See the License for the specific language governing permissions and
5151 limitations under the License.
5152
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005153Copyright (c) 2007-2010 The Khronos Group Inc.
5154
5155Permission is hereby granted, free of charge, to any person obtaining a
5156copy of this software and/or associated documentation files (the
5157"Materials"), to deal in the Materials without restriction, including
5158without limitation the rights to use, copy, modify, merge, publish,
5159distribute, sublicense, and/or sell copies of the Materials, and to
5160permit persons to whom the Materials are furnished to do so, subject to
5161the following conditions:
5162
5163The above copyright notice and this permission notice shall be included
5164in all copies or substantial portions of the Materials.
5165
5166THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
5167EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
5168MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
5169IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
5170CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
5171TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
5172MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
5173
5174
5175SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
5176
5177Copyright (C) 1992 Silicon Graphics, Inc. All Rights Reserved.
5178
5179Permission is hereby granted, free of charge, to any person obtaining a copy of
5180this software and associated documentation files (the "Software"), to deal in
5181the Software without restriction, including without limitation the rights to
5182use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
5183of the Software, and to permit persons to whom the Software is furnished to do
5184so, subject to the following conditions:
5185
5186The above copyright notice including the dates of first publication and either
5187this permission notice or a reference to http://oss.sgi.com/projects/FreeB/
5188shall be included in all copies or substantial portions of the Software.
5189
5190THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5191IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5192FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SILICON
5193GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
5194AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
5195WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5196
5197Except as contained in this notice, the name of Silicon Graphics, Inc. shall
5198not be used in advertising or otherwise to promote the sale, use or other
5199dealings in this Software without prior written authorization from Silicon
5200Graphics, Inc.
5201
5202Redistribution and use in source and binary forms, with or without
5203modification, are permitted provided that the following conditions are
5204met:
5205
5206 * Redistributions of source code must retain the above copyright
5207 notice, this list of conditions and the following disclaimer.
5208
5209 * Redistributions in binary form must reproduce the above
5210 copyright notice, this list of conditions and the following
5211 disclaimer in the documentation and/or other materials provided
5212 with the distribution.
5213
5214 * Neither the name of the copyright holders nor the names of its
5215 contributors may be used to endorse or promote products derived
5216 from this software without specific prior written permission.
5217
5218THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
5219"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5220LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
5221A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
5222HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5223SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
5224LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5225DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5226THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5227(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5228OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5229
5230License copied from bin/lcov:
5231
5232#
5233# Copyright (c) International Business Machines Corp., 2002,2007
5234#
5235# This program is free software; you can redistribute it and/or modify
5236# it under the terms of the GNU General Public License as published by
5237# the Free Software Foundation; either version 2 of the License, or (at
5238# your option) any later version.
5239#
5240# This program is distributed in the hope that it will be useful, but
5241# WITHOUT ANY WARRANTY; without even the implied warranty of
5242# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5243# General Public License for more details.
5244#
5245# You should have received a copy of the GNU General Public License
5246# along with this program; if not, write to the Free Software
5247# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
5248
5249 GNU GENERAL PUBLIC LICENSE
5250 Version 2, June 1991
5251
5252 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5253 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5254 Everyone is permitted to copy and distribute verbatim copies
5255 of this license document, but changing it is not allowed.
5256
5257 Preamble
5258
5259 The licenses for most software are designed to take away your
5260freedom to share and change it. By contrast, the GNU General Public
5261License is intended to guarantee your freedom to share and change free
5262software--to make sure the software is free for all its users. This
5263General Public License applies to most of the Free Software
5264Foundation's software and to any other program whose authors commit to
5265using it. (Some other Free Software Foundation software is covered by
5266the GNU Lesser General Public License instead.) You can apply it to
5267your programs, too.
5268
5269 When we speak of free software, we are referring to freedom, not
5270price. Our General Public Licenses are designed to make sure that you
5271have the freedom to distribute copies of free software (and charge for
5272this service if you wish), that you receive source code or can get it
5273if you want it, that you can change the software or use pieces of it
5274in new free programs; and that you know you can do these things.
5275
5276 To protect your rights, we need to make restrictions that forbid
5277anyone to deny you these rights or to ask you to surrender the rights.
5278These restrictions translate to certain responsibilities for you if you
5279distribute copies of the software, or if you modify it.
5280
5281 For example, if you distribute copies of such a program, whether
5282gratis or for a fee, you must give the recipients all the rights that
5283you have. You must make sure that they, too, receive or can get the
5284source code. And you must show them these terms so they know their
5285rights.
5286
5287 We protect your rights with two steps: (1) copyright the software, and
5288(2) offer you this license which gives you legal permission to copy,
5289distribute and/or modify the software.
5290
5291 Also, for each author's protection and ours, we want to make certain
5292that everyone understands that there is no warranty for this free
5293software. If the software is modified by someone else and passed on, we
5294want its recipients to know that what they have is not the original, so
5295that any problems introduced by others will not reflect on the original
5296authors' reputations.
5297
5298 Finally, any free program is threatened constantly by software
5299patents. We wish to avoid the danger that redistributors of a free
5300program will individually obtain patent licenses, in effect making the
5301program proprietary. To prevent this, we have made it clear that any
5302patent must be licensed for everyone's free use or not licensed at all.
5303
5304 The precise terms and conditions for copying, distribution and
5305modification follow.
5306
5307 GNU GENERAL PUBLIC LICENSE
5308 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
5309
5310 0. This License applies to any program or other work which contains
5311a notice placed by the copyright holder saying it may be distributed
5312under the terms of this General Public License. The "Program", below,
5313refers to any such program or work, and a "work based on the Program"
5314means either the Program or any derivative work under copyright law:
5315that is to say, a work containing the Program or a portion of it,
5316either verbatim or with modifications and/or translated into another
5317language. (Hereinafter, translation is included without limitation in
5318the term "modification".) Each licensee is addressed as "you".
5319
5320Activities other than copying, distribution and modification are not
5321covered by this License; they are outside its scope. The act of
5322running the Program is not restricted, and the output from the Program
5323is covered only if its contents constitute a work based on the
5324Program (independent of having been made by running the Program).
5325Whether that is true depends on what the Program does.
5326
5327 1. You may copy and distribute verbatim copies of the Program's
5328source code as you receive it, in any medium, provided that you
5329conspicuously and appropriately publish on each copy an appropriate
5330copyright notice and disclaimer of warranty; keep intact all the
5331notices that refer to this License and to the absence of any warranty;
5332and give any other recipients of the Program a copy of this License
5333along with the Program.
5334
5335You may charge a fee for the physical act of transferring a copy, and
5336you may at your option offer warranty protection in exchange for a fee.
5337
5338 2. You may modify your copy or copies of the Program or any portion
5339of it, thus forming a work based on the Program, and copy and
5340distribute such modifications or work under the terms of Section 1
5341above, provided that you also meet all of these conditions:
5342
5343 a) You must cause the modified files to carry prominent notices
5344 stating that you changed the files and the date of any change.
5345
5346 b) You must cause any work that you distribute or publish, that in
5347 whole or in part contains or is derived from the Program or any
5348 part thereof, to be licensed as a whole at no charge to all third
5349 parties under the terms of this License.
5350
5351 c) If the modified program normally reads commands interactively
5352 when run, you must cause it, when started running for such
5353 interactive use in the most ordinary way, to print or display an
5354 announcement including an appropriate copyright notice and a
5355 notice that there is no warranty (or else, saying that you provide
5356 a warranty) and that users may redistribute the program under
5357 these conditions, and telling the user how to view a copy of this
5358 License. (Exception: if the Program itself is interactive but
5359 does not normally print such an announcement, your work based on
5360 the Program is not required to print an announcement.)
5361
5362These requirements apply to the modified work as a whole. If
5363identifiable sections of that work are not derived from the Program,
5364and can be reasonably considered independent and separate works in
5365themselves, then this License, and its terms, do not apply to those
5366sections when you distribute them as separate works. But when you
5367distribute the same sections as part of a whole which is a work based
5368on the Program, the distribution of the whole must be on the terms of
5369this License, whose permissions for other licensees extend to the
5370entire whole, and thus to each and every part regardless of who wrote it.
5371
5372Thus, it is not the intent of this section to claim rights or contest
5373your rights to work written entirely by you; rather, the intent is to
5374exercise the right to control the distribution of derivative or
5375collective works based on the Program.
5376
5377In addition, mere aggregation of another work not based on the Program
5378with the Program (or with a work based on the Program) on a volume of
5379a storage or distribution medium does not bring the other work under
5380the scope of this License.
5381
5382 3. You may copy and distribute the Program (or a work based on it,
5383under Section 2) in object code or executable form under the terms of
5384Sections 1 and 2 above provided that you also do one of the following:
5385
5386 a) Accompany it with the complete corresponding machine-readable
5387 source code, which must be distributed under the terms of Sections
5388 1 and 2 above on a medium customarily used for software interchange; or,
5389
5390 b) Accompany it with a written offer, valid for at least three
5391 years, to give any third party, for a charge no more than your
5392 cost of physically performing source distribution, a complete
5393 machine-readable copy of the corresponding source code, to be
5394 distributed under the terms of Sections 1 and 2 above on a medium
5395 customarily used for software interchange; or,
5396
5397 c) Accompany it with the information you received as to the offer
5398 to distribute corresponding source code. (This alternative is
5399 allowed only for noncommercial distribution and only if you
5400 received the program in object code or executable form with such
5401 an offer, in accord with Subsection b above.)
5402
5403The source code for a work means the preferred form of the work for
5404making modifications to it. For an executable work, complete source
5405code means all the source code for all modules it contains, plus any
5406associated interface definition files, plus the scripts used to
5407control compilation and installation of the executable. However, as a
5408special exception, the source code distributed need not include
5409anything that is normally distributed (in either source or binary
5410form) with the major components (compiler, kernel, and so on) of the
5411operating system on which the executable runs, unless that component
5412itself accompanies the executable.
5413
5414If distribution of executable or object code is made by offering
5415access to copy from a designated place, then offering equivalent
5416access to copy the source code from the same place counts as
5417distribution of the source code, even though third parties are not
5418compelled to copy the source along with the object code.
5419
5420 4. You may not copy, modify, sublicense, or distribute the Program
5421except as expressly provided under this License. Any attempt
5422otherwise to copy, modify, sublicense or distribute the Program is
5423void, and will automatically terminate your rights under this License.
5424However, parties who have received copies, or rights, from you under
5425this License will not have their licenses terminated so long as such
5426parties remain in full compliance.
5427
5428 5. You are not required to accept this License, since you have not
5429signed it. However, nothing else grants you permission to modify or
5430distribute the Program or its derivative works. These actions are
5431prohibited by law if you do not accept this License. Therefore, by
5432modifying or distributing the Program (or any work based on the
5433Program), you indicate your acceptance of this License to do so, and
5434all its terms and conditions for copying, distributing or modifying
5435the Program or works based on it.
5436
5437 6. Each time you redistribute the Program (or any work based on the
5438Program), the recipient automatically receives a license from the
5439original licensor to copy, distribute or modify the Program subject to
5440these terms and conditions. You may not impose any further
5441restrictions on the recipients' exercise of the rights granted herein.
5442You are not responsible for enforcing compliance by third parties to
5443this License.
5444
5445 7. If, as a consequence of a court judgment or allegation of patent
5446infringement or for any other reason (not limited to patent issues),
5447conditions are imposed on you (whether by court order, agreement or
5448otherwise) that contradict the conditions of this License, they do not
5449excuse you from the conditions of this License. If you cannot
5450distribute so as to satisfy simultaneously your obligations under this
5451License and any other pertinent obligations, then as a consequence you
5452may not distribute the Program at all. For example, if a patent
5453license would not permit royalty-free redistribution of the Program by
5454all those who receive copies directly or indirectly through you, then
5455the only way you could satisfy both it and this License would be to
5456refrain entirely from distribution of the Program.
5457
5458If any portion of this section is held invalid or unenforceable under
5459any particular circumstance, the balance of the section is intended to
5460apply and the section as a whole is intended to apply in other
5461circumstances.
5462
5463It is not the purpose of this section to induce you to infringe any
5464patents or other property right claims or to contest validity of any
5465such claims; this section has the sole purpose of protecting the
5466integrity of the free software distribution system, which is
5467implemented by public license practices. Many people have made
5468generous contributions to the wide range of software distributed
5469through that system in reliance on consistent application of that
5470system; it is up to the author/donor to decide if he or she is willing
5471to distribute software through any other system and a licensee cannot
5472impose that choice.
5473
5474This section is intended to make thoroughly clear what is believed to
5475be a consequence of the rest of this License.
5476
5477 8. If the distribution and/or use of the Program is restricted in
5478certain countries either by patents or by copyrighted interfaces, the
5479original copyright holder who places the Program under this License
5480may add an explicit geographical distribution limitation excluding
5481those countries, so that distribution is permitted only in or among
5482countries not thus excluded. In such case, this License incorporates
5483the limitation as if written in the body of this License.
5484
5485 9. The Free Software Foundation may publish revised and/or new versions
5486of the General Public License from time to time. Such new versions will
5487be similar in spirit to the present version, but may differ in detail to
5488address new problems or concerns.
5489
5490Each version is given a distinguishing version number. If the Program
5491specifies a version number of this License which applies to it and "any
5492later version", you have the option of following the terms and conditions
5493either of that version or of any later version published by the Free
5494Software Foundation. If the Program does not specify a version number of
5495this License, you may choose any version ever published by the Free Software
5496Foundation.
5497
5498 10. If you wish to incorporate parts of the Program into other free
5499programs whose distribution conditions are different, write to the author
5500to ask for permission. For software which is copyrighted by the Free
5501Software Foundation, write to the Free Software Foundation; we sometimes
5502make exceptions for this. Our decision will be guided by the two goals
5503of preserving the free status of all derivatives of our free software and
5504of promoting the sharing and reuse of software generally.
5505
5506 NO WARRANTY
5507
5508 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
5509FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
5510OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
5511PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
5512OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
5513MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
5514TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
5515PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
5516REPAIR OR CORRECTION.
5517
5518 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
5519WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
5520REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
5521INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
5522OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
5523TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
5524YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
5525PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
5526POSSIBILITY OF SUCH DAMAGES.
5527
5528 END OF TERMS AND CONDITIONS
5529
5530 How to Apply These Terms to Your New Programs
5531
5532 If you develop a new program, and you want it to be of the greatest
5533possible use to the public, the best way to achieve this is to make it
5534free software which everyone can redistribute and change under these terms.
5535
5536 To do so, attach the following notices to the program. It is safest
5537to attach them to the start of each source file to most effectively
5538convey the exclusion of warranty; and each file should have at least
5539the "copyright" line and a pointer to where the full notice is found.
5540
5541 <one line to give the program's name and a brief idea of what it does.>
5542 Copyright (C) <year> <name of author>
5543
5544 This program is free software; you can redistribute it and/or modify
5545 it under the terms of the GNU General Public License as published by
5546 the Free Software Foundation; either version 2 of the License, or
5547 (at your option) any later version.
5548
5549 This program is distributed in the hope that it will be useful,
5550 but WITHOUT ANY WARRANTY; without even the implied warranty of
5551 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5552 GNU General Public License for more details.
5553
5554 You should have received a copy of the GNU General Public License along
5555 with this program; if not, write to the Free Software Foundation, Inc.,
5556 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5557
5558Also add information on how to contact you by electronic and paper mail.
5559
5560If the program is interactive, make it output a short notice like this
5561when it starts in an interactive mode:
5562
5563 Gnomovision version 69, Copyright (C) year name of author
5564 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
5565 This is free software, and you are welcome to redistribute it
5566 under certain conditions; type `show c' for details.
5567
5568The hypothetical commands `show w' and `show c' should show the appropriate
5569parts of the General Public License. Of course, the commands you use may
5570be called something other than `show w' and `show c'; they could even be
5571mouse-clicks or menu items--whatever suits your program.
5572
5573You should also get your employer (if you work as a programmer) or your
5574school, if any, to sign a "copyright disclaimer" for the program, if
5575necessary. Here is a sample; alter the names:
5576
5577 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
5578 `Gnomovision' (which makes passes at compilers) written by James Hacker.
5579
5580 <signature of Ty Coon>, 1 April 1989
5581 Ty Coon, President of Vice
5582
5583This General Public License does not permit incorporating your program into
5584proprietary programs. If your program is a subroutine library, you may
5585consider it more useful to permit linking proprietary applications with the
5586library. If this is what you want to do, use the GNU Lesser General
5587Public License instead of this License.
5588
5589Copyright (c) 2011 The LevelDB Authors. All rights reserved.
5590
5591Redistribution and use in source and binary forms, with or without
5592modification, are permitted provided that the following conditions are
5593met:
5594
5595 * Redistributions of source code must retain the above copyright
5596notice, this list of conditions and the following disclaimer.
5597 * Redistributions in binary form must reproduce the above
5598copyright notice, this list of conditions and the following disclaimer
5599in the documentation and/or other materials provided with the
5600distribution.
5601 * Neither the name of Google Inc. nor the names of its
5602contributors may be used to endorse or promote products derived from
5603this software without specific prior written permission.
5604
5605THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
5606"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5607LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
5608A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
5609OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5610SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
5611LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5612DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5613THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5614(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5615OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5616
5617/*
5618 * Copyright (c) 2008 NVIDIA, Corporation
5619 *
5620 * Permission is hereby granted, free of charge, to any person obtaining a copy
5621 * of this software and associated documentation files (the "Software"), to deal
5622 * in the Software without restriction, including without limitation the rights
5623 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5624 * copies of the Software, and to permit persons to whom the Software is
5625 * furnished to do so, subject to the following conditions:
5626 *
5627 * The above copyright notice and this permission notice (including the next
5628 * paragraph) shall be included in all copies or substantial portions of the
5629 * Software.
5630 *
5631 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5632 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5633 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5634 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5635 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5636 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5637 * SOFTWARE.
5638 */
5639Copyright 2000-2007 Niels Provos <provos@citi.umich.edu>
5640Copyright 2007-2009 Niels Provos and Nick Mathewson
5641
5642Redistribution and use in source and binary forms, with or without
5643modification, are permitted provided that the following conditions
5644are met:
56451. Redistributions of source code must retain the above copyright
5646 notice, this list of conditions and the following disclaimer.
56472. Redistributions in binary form must reproduce the above copyright
5648 notice, this list of conditions and the following disclaimer in the
5649 documentation and/or other materials provided with the distribution.
56503. The name of the author may not be used to endorse or promote products
5651 derived from this software without specific prior written permission.
5652
5653THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
5654IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
5655OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
5656IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
5657INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
5658NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5659DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5660THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5661(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
5662THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5663
5664Copyright (c) 2004--2005, Google Inc.
5665All rights reserved.
5666
5667Redistribution and use in source and binary forms, with or without modification,
5668are permitted provided that the following conditions are met:
5669
5670 * Redistributions of source code must retain the above copyright notice,
5671 this list of conditions and the following disclaimer.
5672 * Redistributions in binary form must reproduce the above copyright notice,
5673 this list of conditions and the following disclaimer in the documentation
5674 and/or other materials provided with the distribution.
5675 * The name of the author may not be used to endorse or promote products
5676 derived from this software without specific prior written permission.
5677
5678THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
5679AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5680IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
5681ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
5682LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
5683CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
5684GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5685HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
5686STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
5687WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
5688SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005689(Copied from the README.)
5690
5691--------------------------------------------------------------------------------
5692
5693The authors make NO WARRANTY or representation, either express or implied,
5694with respect to this software, its quality, accuracy, merchantability, or
5695fitness for a particular purpose. This software is provided "AS IS", and you,
5696its user, assume the entire risk as to its quality and accuracy.
5697
5698This software is copyright (C) 1991-1998, Thomas G. Lane.
5699All Rights Reserved except as specified below.
5700
5701Permission is hereby granted to use, copy, modify, and distribute this
5702software (or portions thereof) for any purpose, without fee, subject to these
5703conditions:
5704(1) If any part of the source code for this software is distributed, then this
5705README file must be included, with this copyright and no-warranty notice
5706unaltered; and any additions, deletions, or changes to the original files
5707must be clearly indicated in accompanying documentation.
5708(2) If only executable code is distributed, then the accompanying
5709documentation must state that "this software is based in part on the work of
5710the Independent JPEG Group".
5711(3) Permission for use of this software is granted only if the user accepts
5712full responsibility for any undesirable consequences; the authors accept
5713NO LIABILITY for damages of any kind.
5714
5715These conditions apply to any software derived from or based on the IJG code,
5716not just to the unmodified library. If you use our work, you ought to
5717acknowledge us.
5718
5719Permission is NOT granted for the use of any IJG author's name or company name
5720in advertising or publicity relating to this software or products derived from
5721it. This software may be referred to only as "the Independent JPEG Group's
5722software".
5723
5724We specifically permit and encourage the use of this software as the basis of
5725commercial products, provided that all warranty or liability claims are
5726assumed by the product vendor.
5727
5728
5729ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
5730sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
5731ansi2knr.c is NOT covered by the above copyright and conditions, but instead
5732by the usual distribution terms of the Free Software Foundation; principally,
5733that you must include source code if you redistribute it. (See the file
5734ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part
5735of any program generated from the IJG code, this does not limit you more than
5736the foregoing paragraphs do.
5737
5738The Unix configuration script "configure" was produced with GNU Autoconf.
5739It is copyright by the Free Software Foundation but is freely distributable.
5740The same holds for its supporting scripts (config.guess, config.sub,
5741ltconfig, ltmain.sh). Another support script, install-sh, is copyright
5742by M.I.T. but is also freely distributable.
5743
5744It appears that the arithmetic coding option of the JPEG spec is covered by
5745patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot
5746legally be used without obtaining one or more licenses. For this reason,
5747support for arithmetic coding has been removed from the free JPEG software.
5748(Since arithmetic coding provides only a marginal gain over the unpatented
5749Huffman mode, it is unlikely that very many implementations will support it.)
5750So far as we are aware, there are no patent restrictions on the remaining
5751code.
5752
5753The IJG distribution formerly included code to read and write GIF files.
5754To avoid entanglement with the Unisys LZW patent, GIF reading support has
5755been removed altogether, and the GIF writer has been simplified to produce
5756"uncompressed GIFs". This technique does not use the LZW algorithm; the
5757resulting GIF files are larger than usual, but are readable by all standard
5758GIF decoders.
5759
5760We are required to state that
5761 "The Graphics Interchange Format(c) is the Copyright property of
5762 CompuServe Incorporated. GIF(sm) is a Service Mark property of
5763 CompuServe Incorporated."
5764
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005765Copyright (C) 2011 Google Inc.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005766
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005767Licensed under the Apache License, Version 2.0 (the "License");
5768you may not use this file except in compliance with the License.
5769You may obtain a copy of the License at
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005770
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005771http://www.apache.org/licenses/LICENSE-2.0
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005772
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005773Unless required by applicable law or agreed to in writing, software
5774distributed under the License is distributed on an "AS IS" BASIS,
5775WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5776See the License for the specific language governing permissions and
5777limitations under the License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005778
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005779
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005780This copy of the libpng notices is provided for your convenience. In case of
5781any discrepancy between this copy and the notices in the file png.h that is
5782included in the libpng distribution, the latter shall prevail.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005783
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005784COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005785
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005786If you modify libpng you may insert additional notices immediately following
5787this sentence.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005788
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005789This code is released under the libpng license.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005790
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005791libpng versions 1.2.6, August 15, 2004, through 1.2.45, July 7, 2011, are
5792Copyright (c) 2004, 2006-2009 Glenn Randers-Pehrson, and are
5793distributed according to the same disclaimer and license as libpng-1.2.5
5794with the following individual added to the list of Contributing Authors
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005795
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005796 Cosmin Truta
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005797
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005798libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are
5799Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are
5800distributed according to the same disclaimer and license as libpng-1.0.6
5801with the following individuals added to the list of Contributing Authors
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005802
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005803 Simon-Pierre Cadieux
5804 Eric S. Raymond
5805 Gilles Vollant
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005806
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005807and with the following additions to the disclaimer:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005808
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005809 There is no warranty against interference with your enjoyment of the
5810 library or against infringement. There is no warranty that our
5811 efforts or the library will fulfill any of your particular purposes
5812 or needs. This library is provided with all faults, and the entire
5813 risk of satisfactory quality, performance, accuracy, and effort is with
5814 the user.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005815
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005816libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
5817Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are
5818distributed according to the same disclaimer and license as libpng-0.96,
5819with the following individuals added to the list of Contributing Authors:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005820
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005821 Tom Lane
5822 Glenn Randers-Pehrson
5823 Willem van Schaik
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005824
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005825libpng versions 0.89, June 1996, through 0.96, May 1997, are
5826Copyright (c) 1996, 1997 Andreas Dilger
5827Distributed according to the same disclaimer and license as libpng-0.88,
5828with the following individuals added to the list of Contributing Authors:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005829
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005830 John Bowler
5831 Kevin Bracey
5832 Sam Bushell
5833 Magnus Holmgren
5834 Greg Roelofs
5835 Tom Tanner
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005836
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005837libpng versions 0.5, May 1995, through 0.88, January 1996, are
5838Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005839
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005840For the purposes of this copyright and license, "Contributing Authors"
5841is defined as the following set of individuals:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005842
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005843 Andreas Dilger
5844 Dave Martindale
5845 Guy Eric Schalnat
5846 Paul Schmidt
5847 Tim Wegner
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005848
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005849The PNG Reference Library is supplied "AS IS". The Contributing Authors
5850and Group 42, Inc. disclaim all warranties, expressed or implied,
5851including, without limitation, the warranties of merchantability and of
5852fitness for any purpose. The Contributing Authors and Group 42, Inc.
5853assume no liability for direct, indirect, incidental, special, exemplary,
5854or consequential damages, which may result from the use of the PNG
5855Reference Library, even if advised of the possibility of such damage.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005856
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005857Permission is hereby granted to use, copy, modify, and distribute this
5858source code, or portions hereof, for any purpose, without fee, subject
5859to the following restrictions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005860
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000058611. The origin of this source code must not be misrepresented.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005862
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000058632. Altered versions must be plainly marked as such and must not
5864 be misrepresented as being the original source.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005865
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000058663. This Copyright notice may not be removed or altered from any
5867 source or altered source distribution.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005868
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005869The Contributing Authors and Group 42, Inc. specifically permit, without
5870fee, and encourage the use of this source code as a component to
5871supporting the PNG file format in commercial products. If you use this
5872source code in a product, acknowledgment is not required but would be
5873appreciated.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005874
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005875
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005876A "png_get_copyright" function is available, for convenient use in "about"
5877boxes and the like:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005878
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005879 printf("%s",png_get_copyright(NULL));
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005880
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005881Also, the PNG logo (in PNG format, of course) is supplied in the
5882files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31).
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005883
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005884Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a
5885certification mark of the Open Source Initiative.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005886
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005887Glenn Randers-Pehrson
5888glennrp at users.sourceforge.net
5889July 7, 2011
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005890
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005891 GNU LESSER GENERAL PUBLIC LICENSE
5892 Version 2.1, February 1999
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005893
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005894 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5895 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5896 Everyone is permitted to copy and distribute verbatim copies
5897 of this license document, but changing it is not allowed.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005898
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005899[This is the first released version of the Lesser GPL. It also counts
5900 as the successor of the GNU Library Public License, version 2, hence
5901 the version number 2.1.]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005902
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005903 Preamble
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005904
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005905 The licenses for most software are designed to take away your
5906freedom to share and change it. By contrast, the GNU General Public
5907Licenses are intended to guarantee your freedom to share and change
5908free software--to make sure the software is free for all its users.
5909
5910 This license, the Lesser General Public License, applies to some
5911specially designated software packages--typically libraries--of the
5912Free Software Foundation and other authors who decide to use it. You
5913can use it too, but we suggest you first think carefully about whether
5914this license or the ordinary General Public License is the better
5915strategy to use in any particular case, based on the explanations below.
5916
5917 When we speak of free software, we are referring to freedom of use,
5918not price. Our General Public Licenses are designed to make sure that
5919you have the freedom to distribute copies of free software (and charge
5920for this service if you wish); that you receive source code or can get
5921it if you want it; that you can change the software and use pieces of
5922it in new free programs; and that you are informed that you can do
5923these things.
5924
5925 To protect your rights, we need to make restrictions that forbid
5926distributors to deny you these rights or to ask you to surrender these
5927rights. These restrictions translate to certain responsibilities for
5928you if you distribute copies of the library or if you modify it.
5929
5930 For example, if you distribute copies of the library, whether gratis
5931or for a fee, you must give the recipients all the rights that we gave
5932you. You must make sure that they, too, receive or can get the source
5933code. If you link other code with the library, you must provide
5934complete object files to the recipients, so that they can relink them
5935with the library after making changes to the library and recompiling
5936it. And you must show them these terms so they know their rights.
5937
5938 We protect your rights with a two-step method: (1) we copyright the
5939library, and (2) we offer you this license, which gives you legal
5940permission to copy, distribute and/or modify the library.
5941
5942 To protect each distributor, we want to make it very clear that
5943there is no warranty for the free library. Also, if the library is
5944modified by someone else and passed on, the recipients should know
5945that what they have is not the original version, so that the original
5946author's reputation will not be affected by problems that might be
5947introduced by others.
5948
5949 Finally, software patents pose a constant threat to the existence of
5950any free program. We wish to make sure that a company cannot
5951effectively restrict the users of a free program by obtaining a
5952restrictive license from a patent holder. Therefore, we insist that
5953any patent license obtained for a version of the library must be
5954consistent with the full freedom of use specified in this license.
5955
5956 Most GNU software, including some libraries, is covered by the
5957ordinary GNU General Public License. This license, the GNU Lesser
5958General Public License, applies to certain designated libraries, and
5959is quite different from the ordinary General Public License. We use
5960this license for certain libraries in order to permit linking those
5961libraries into non-free programs.
5962
5963 When a program is linked with a library, whether statically or using
5964a shared library, the combination of the two is legally speaking a
5965combined work, a derivative of the original library. The ordinary
5966General Public License therefore permits such linking only if the
5967entire combination fits its criteria of freedom. The Lesser General
5968Public License permits more lax criteria for linking other code with
5969the library.
5970
5971 We call this license the "Lesser" General Public License because it
5972does Less to protect the user's freedom than the ordinary General
5973Public License. It also provides other free software developers Less
5974of an advantage over competing non-free programs. These disadvantages
5975are the reason we use the ordinary General Public License for many
5976libraries. However, the Lesser license provides advantages in certain
5977special circumstances.
5978
5979 For example, on rare occasions, there may be a special need to
5980encourage the widest possible use of a certain library, so that it becomes
5981a de-facto standard. To achieve this, non-free programs must be
5982allowed to use the library. A more frequent case is that a free
5983library does the same job as widely used non-free libraries. In this
5984case, there is little to gain by limiting the free library to free
5985software only, so we use the Lesser General Public License.
5986
5987 In other cases, permission to use a particular library in non-free
5988programs enables a greater number of people to use a large body of
5989free software. For example, permission to use the GNU C Library in
5990non-free programs enables many more people to use the whole GNU
5991operating system, as well as its variant, the GNU/Linux operating
5992system.
5993
5994 Although the Lesser General Public License is Less protective of the
5995users' freedom, it does ensure that the user of a program that is
5996linked with the Library has the freedom and the wherewithal to run
5997that program using a modified version of the Library.
5998
5999 The precise terms and conditions for copying, distribution and
6000modification follow. Pay close attention to the difference between a
6001"work based on the library" and a "work that uses the library". The
6002former contains code derived from the library, whereas the latter must
6003be combined with the library in order to run.
6004
6005 GNU LESSER GENERAL PUBLIC LICENSE
6006 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6007
6008 0. This License Agreement applies to any software library or other
6009program which contains a notice placed by the copyright holder or
6010other authorized party saying it may be distributed under the terms of
6011this Lesser General Public License (also called "this License").
6012Each licensee is addressed as "you".
6013
6014 A "library" means a collection of software functions and/or data
6015prepared so as to be conveniently linked with application programs
6016(which use some of those functions and data) to form executables.
6017
6018 The "Library", below, refers to any such software library or work
6019which has been distributed under these terms. A "work based on the
6020Library" means either the Library or any derivative work under
6021copyright law: that is to say, a work containing the Library or a
6022portion of it, either verbatim or with modifications and/or translated
6023straightforwardly into another language. (Hereinafter, translation is
6024included without limitation in the term "modification".)
6025
6026 "Source code" for a work means the preferred form of the work for
6027making modifications to it. For a library, complete source code means
6028all the source code for all modules it contains, plus any associated
6029interface definition files, plus the scripts used to control compilation
6030and installation of the library.
6031
6032 Activities other than copying, distribution and modification are not
6033covered by this License; they are outside its scope. The act of
6034running a program using the Library is not restricted, and output from
6035such a program is covered only if its contents constitute a work based
6036on the Library (independent of the use of the Library in a tool for
6037writing it). Whether that is true depends on what the Library does
6038and what the program that uses the Library does.
6039
6040 1. You may copy and distribute verbatim copies of the Library's
6041complete source code as you receive it, in any medium, provided that
6042you conspicuously and appropriately publish on each copy an
6043appropriate copyright notice and disclaimer of warranty; keep intact
6044all the notices that refer to this License and to the absence of any
6045warranty; and distribute a copy of this License along with the
6046Library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006047
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006048 You may charge a fee for the physical act of transferring a copy,
6049and you may at your option offer warranty protection in exchange for a
6050fee.
6051
6052 2. You may modify your copy or copies of the Library or any portion
6053of it, thus forming a work based on the Library, and copy and
6054distribute such modifications or work under the terms of Section 1
6055above, provided that you also meet all of these conditions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006056
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006057 a) The modified work must itself be a software library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006058
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006059 b) You must cause the files modified to carry prominent notices
6060 stating that you changed the files and the date of any change.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006061
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006062 c) You must cause the whole of the work to be licensed at no
6063 charge to all third parties under the terms of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006064
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006065 d) If a facility in the modified Library refers to a function or a
6066 table of data to be supplied by an application program that uses
6067 the facility, other than as an argument passed when the facility
6068 is invoked, then you must make a good faith effort to ensure that,
6069 in the event an application does not supply such function or
6070 table, the facility still operates, and performs whatever part of
6071 its purpose remains meaningful.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006072
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006073 (For example, a function in a library to compute square roots has
6074 a purpose that is entirely well-defined independent of the
6075 application. Therefore, Subsection 2d requires that any
6076 application-supplied function or table used by this function must
6077 be optional: if the application does not supply it, the square
6078 root function must still compute square roots.)
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006079
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006080These requirements apply to the modified work as a whole. If
6081identifiable sections of that work are not derived from the Library,
6082and can be reasonably considered independent and separate works in
6083themselves, then this License, and its terms, do not apply to those
6084sections when you distribute them as separate works. But when you
6085distribute the same sections as part of a whole which is a work based
6086on the Library, the distribution of the whole must be on the terms of
6087this License, whose permissions for other licensees extend to the
6088entire whole, and thus to each and every part regardless of who wrote
6089it.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006090
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006091Thus, it is not the intent of this section to claim rights or contest
6092your rights to work written entirely by you; rather, the intent is to
6093exercise the right to control the distribution of derivative or
6094collective works based on the Library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006095
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006096In addition, mere aggregation of another work not based on the Library
6097with the Library (or with a work based on the Library) on a volume of
6098a storage or distribution medium does not bring the other work under
6099the scope of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006100
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006101 3. You may opt to apply the terms of the ordinary GNU General Public
6102License instead of this License to a given copy of the Library. To do
6103this, you must alter all the notices that refer to this License, so
6104that they refer to the ordinary GNU General Public License, version 2,
6105instead of to this License. (If a newer version than version 2 of the
6106ordinary GNU General Public License has appeared, then you can specify
6107that version instead if you wish.) Do not make any other change in
6108these notices.
6109
6110 Once this change is made in a given copy, it is irreversible for
6111that copy, so the ordinary GNU General Public License applies to all
6112subsequent copies and derivative works made from that copy.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006113
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006114 This option is useful when you wish to copy part of the code of
6115the Library into a program that is not a library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006116
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006117 4. You may copy and distribute the Library (or a portion or
6118derivative of it, under Section 2) in object code or executable form
6119under the terms of Sections 1 and 2 above provided that you accompany
6120it with the complete corresponding machine-readable source code, which
6121must be distributed under the terms of Sections 1 and 2 above on a
6122medium customarily used for software interchange.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006123
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006124 If distribution of object code is made by offering access to copy
6125from a designated place, then offering equivalent access to copy the
6126source code from the same place satisfies the requirement to
6127distribute the source code, even though third parties are not
6128compelled to copy the source along with the object code.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006129
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006130 5. A program that contains no derivative of any portion of the
6131Library, but is designed to work with the Library by being compiled or
6132linked with it, is called a "work that uses the Library". Such a
6133work, in isolation, is not a derivative work of the Library, and
6134therefore falls outside the scope of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006135
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006136 However, linking a "work that uses the Library" with the Library
6137creates an executable that is a derivative of the Library (because it
6138contains portions of the Library), rather than a "work that uses the
6139library". The executable is therefore covered by this License.
6140Section 6 states terms for distribution of such executables.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006141
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006142 When a "work that uses the Library" uses material from a header file
6143that is part of the Library, the object code for the work may be a
6144derivative work of the Library even though the source code is not.
6145Whether this is true is especially significant if the work can be
6146linked without the Library, or if the work is itself a library. The
6147threshold for this to be true is not precisely defined by law.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006148
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006149 If such an object file uses only numerical parameters, data
6150structure layouts and accessors, and small macros and small inline
6151functions (ten lines or less in length), then the use of the object
6152file is unrestricted, regardless of whether it is legally a derivative
6153work. (Executables containing this object code plus portions of the
6154Library will still fall under Section 6.)
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006155
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006156 Otherwise, if the work is a derivative of the Library, you may
6157distribute the object code for the work under the terms of Section 6.
6158Any executables containing that work also fall under Section 6,
6159whether or not they are linked directly with the Library itself.
6160
6161 6. As an exception to the Sections above, you may also combine or
6162link a "work that uses the Library" with the Library to produce a
6163work containing portions of the Library, and distribute that work
6164under terms of your choice, provided that the terms permit
6165modification of the work for the customer's own use and reverse
6166engineering for debugging such modifications.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006167
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006168 You must give prominent notice with each copy of the work that the
6169Library is used in it and that the Library and its use are covered by
6170this License. You must supply a copy of this License. If the work
6171during execution displays copyright notices, you must include the
6172copyright notice for the Library among them, as well as a reference
6173directing the user to the copy of this License. Also, you must do one
6174of these things:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006175
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006176 a) Accompany the work with the complete corresponding
6177 machine-readable source code for the Library including whatever
6178 changes were used in the work (which must be distributed under
6179 Sections 1 and 2 above); and, if the work is an executable linked
6180 with the Library, with the complete machine-readable "work that
6181 uses the Library", as object code and/or source code, so that the
6182 user can modify the Library and then relink to produce a modified
6183 executable containing the modified Library. (It is understood
6184 that the user who changes the contents of definitions files in the
6185 Library will not necessarily be able to recompile the application
6186 to use the modified definitions.)
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006187
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006188 b) Use a suitable shared library mechanism for linking with the
6189 Library. A suitable mechanism is one that (1) uses at run time a
6190 copy of the library already present on the user's computer system,
6191 rather than copying library functions into the executable, and (2)
6192 will operate properly with a modified version of the library, if
6193 the user installs one, as long as the modified version is
6194 interface-compatible with the version that the work was made with.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006195
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006196 c) Accompany the work with a written offer, valid for at
6197 least three years, to give the same user the materials
6198 specified in Subsection 6a, above, for a charge no more
6199 than the cost of performing this distribution.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006200
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006201 d) If distribution of the work is made by offering access to copy
6202 from a designated place, offer equivalent access to copy the above
6203 specified materials from the same place.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006204
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006205 e) Verify that the user has already received a copy of these
6206 materials or that you have already sent this user a copy.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006207
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006208 For an executable, the required form of the "work that uses the
6209Library" must include any data and utility programs needed for
6210reproducing the executable from it. However, as a special exception,
6211the materials to be distributed need not include anything that is
6212normally distributed (in either source or binary form) with the major
6213components (compiler, kernel, and so on) of the operating system on
6214which the executable runs, unless that component itself accompanies
6215the executable.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006216
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006217 It may happen that this requirement contradicts the license
6218restrictions of other proprietary libraries that do not normally
6219accompany the operating system. Such a contradiction means you cannot
6220use both them and the Library together in an executable that you
6221distribute.
6222
6223 7. You may place library facilities that are a work based on the
6224Library side-by-side in a single library together with other library
6225facilities not covered by this License, and distribute such a combined
6226library, provided that the separate distribution of the work based on
6227the Library and of the other library facilities is otherwise
6228permitted, and provided that you do these two things:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006229
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006230 a) Accompany the combined library with a copy of the same work
6231 based on the Library, uncombined with any other library
6232 facilities. This must be distributed under the terms of the
6233 Sections above.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006234
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006235 b) Give prominent notice with the combined library of the fact
6236 that part of it is a work based on the Library, and explaining
6237 where to find the accompanying uncombined form of the same work.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006238
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006239 8. You may not copy, modify, sublicense, link with, or distribute
6240the Library except as expressly provided under this License. Any
6241attempt otherwise to copy, modify, sublicense, link with, or
6242distribute the Library is void, and will automatically terminate your
6243rights under this License. However, parties who have received copies,
6244or rights, from you under this License will not have their licenses
6245terminated so long as such parties remain in full compliance.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006246
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006247 9. You are not required to accept this License, since you have not
6248signed it. However, nothing else grants you permission to modify or
6249distribute the Library or its derivative works. These actions are
6250prohibited by law if you do not accept this License. Therefore, by
6251modifying or distributing the Library (or any work based on the
6252Library), you indicate your acceptance of this License to do so, and
6253all its terms and conditions for copying, distributing or modifying
6254the Library or works based on it.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006255
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006256 10. Each time you redistribute the Library (or any work based on the
6257Library), the recipient automatically receives a license from the
6258original licensor to copy, distribute, link with or modify the Library
6259subject to these terms and conditions. You may not impose any further
6260restrictions on the recipients' exercise of the rights granted herein.
6261You are not responsible for enforcing compliance by third parties with
6262this License.
6263
6264 11. If, as a consequence of a court judgment or allegation of patent
6265infringement or for any other reason (not limited to patent issues),
6266conditions are imposed on you (whether by court order, agreement or
6267otherwise) that contradict the conditions of this License, they do not
6268excuse you from the conditions of this License. If you cannot
6269distribute so as to satisfy simultaneously your obligations under this
6270License and any other pertinent obligations, then as a consequence you
6271may not distribute the Library at all. For example, if a patent
6272license would not permit royalty-free redistribution of the Library by
6273all those who receive copies directly or indirectly through you, then
6274the only way you could satisfy both it and this License would be to
6275refrain entirely from distribution of the Library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006276
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006277If any portion of this section is held invalid or unenforceable under any
6278particular circumstance, the balance of the section is intended to apply,
6279and the section as a whole is intended to apply in other circumstances.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006280
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006281It is not the purpose of this section to induce you to infringe any
6282patents or other property right claims or to contest validity of any
6283such claims; this section has the sole purpose of protecting the
6284integrity of the free software distribution system which is
6285implemented by public license practices. Many people have made
6286generous contributions to the wide range of software distributed
6287through that system in reliance on consistent application of that
6288system; it is up to the author/donor to decide if he or she is willing
6289to distribute software through any other system and a licensee cannot
6290impose that choice.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006291
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006292This section is intended to make thoroughly clear what is believed to
6293be a consequence of the rest of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006294
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006295 12. If the distribution and/or use of the Library is restricted in
6296certain countries either by patents or by copyrighted interfaces, the
6297original copyright holder who places the Library under this License may add
6298an explicit geographical distribution limitation excluding those countries,
6299so that distribution is permitted only in or among countries not thus
6300excluded. In such case, this License incorporates the limitation as if
6301written in the body of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006302
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006303 13. The Free Software Foundation may publish revised and/or new
6304versions of the Lesser General Public License from time to time.
6305Such new versions will be similar in spirit to the present version,
6306but may differ in detail to address new problems or concerns.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006307
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006308Each version is given a distinguishing version number. If the Library
6309specifies a version number of this License which applies to it and
6310"any later version", you have the option of following the terms and
6311conditions either of that version or of any later version published by
6312the Free Software Foundation. If the Library does not specify a
6313license version number, you may choose any version ever published by
6314the Free Software Foundation.
6315
6316 14. If you wish to incorporate parts of the Library into other free
6317programs whose distribution conditions are incompatible with these,
6318write to the author to ask for permission. For software which is
6319copyrighted by the Free Software Foundation, write to the Free
6320Software Foundation; we sometimes make exceptions for this. Our
6321decision will be guided by the two goals of preserving the free status
6322of all derivatives of our free software and of promoting the sharing
6323and reuse of software generally.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006324
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006325 NO WARRANTY
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006326
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006327 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
6328WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
6329EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
6330OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
6331KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
6332IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
6333PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
6334LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
6335THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006336
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006337 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
6338WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
6339AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
6340FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
6341CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
6342LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
6343RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
6344FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
6345SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
6346DAMAGES.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006347
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006348 END OF TERMS AND CONDITIONS
6349
6350 How to Apply These Terms to Your New Libraries
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006351
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006352 If you develop a new library, and you want it to be of the greatest
6353possible use to the public, we recommend making it free software that
6354everyone can redistribute and change. You can do so by permitting
6355redistribution under these terms (or, alternatively, under the terms of the
6356ordinary General Public License).
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006357
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006358 To apply these terms, attach the following notices to the library. It is
6359safest to attach them to the start of each source file to most effectively
6360convey the exclusion of warranty; and each file should have at least the
6361"copyright" line and a pointer to where the full notice is found.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006362
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006363 <one line to give the library's name and a brief idea of what it does.>
6364 Copyright (C) <year> <name of author>
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006365
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006366 This library is free software; you can redistribute it and/or
6367 modify it under the terms of the GNU Lesser General Public
6368 License as published by the Free Software Foundation; either
6369 version 2.1 of the License, or (at your option) any later version.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006370
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006371 This library is distributed in the hope that it will be useful,
6372 but WITHOUT ANY WARRANTY; without even the implied warranty of
6373 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6374 Lesser General Public License for more details.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006375
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006376 You should have received a copy of the GNU Lesser General Public
6377 License along with this library; if not, write to the Free Software
6378 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006379
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006380Also add information on how to contact you by electronic and paper mail.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006381
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006382You should also get your employer (if you work as a programmer) or your
6383school, if any, to sign a "copyright disclaimer" for the library, if
6384necessary. Here is a sample; alter the names:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006385
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006386 Yoyodyne, Inc., hereby disclaims all copyright interest in the
6387 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006388
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006389 <signature of Ty Coon>, 1 April 1990
6390 Ty Coon, President of Vice
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006391
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006392That's all there is to it!
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006393
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006394
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006395
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006396 Permission is hereby granted, free of charge, to any person obtaining a
6397 copy of this software and associated documentation files (the
6398 "Software"), to deal in the Software without restriction, including
6399 without limitation the rights to use, copy, modify, merge, publish,
6400 distribute, sub license, and/or sell copies of the Software, and to
6401 permit persons to whom the Software is furnished to do so, subject to
6402 the following conditions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006403
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006404 The above copyright notice and this permission notice (including the
6405 next paragraph) shall be included in all copies or substantial portions
6406 of the Software.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006407
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006408 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
6409 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
6410 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
6411 IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
6412 ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
6413 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
6414 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006415
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006416Copyright (c) 2010, Google Inc. All rights reserved.
6417
6418Redistribution and use in source and binary forms, with or without
6419modification, are permitted provided that the following conditions are
6420met:
6421
6422 * Redistributions of source code must retain the above copyright
6423 notice, this list of conditions and the following disclaimer.
6424
6425 * Redistributions in binary form must reproduce the above copyright
6426 notice, this list of conditions and the following disclaimer in
6427 the documentation and/or other materials provided with the
6428 distribution.
6429
6430 * Neither the name of Google nor the names of its contributors may
6431 be used to endorse or promote products derived from this software
6432 without specific prior written permission.
6433
6434THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6435"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6436LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6437A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
6438HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
6439SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
6440LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
6441DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
6442THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6443(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
6444OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6445
6446Additional IP Rights Grant (Patents)
6447
6448"This implementation" means the copyrightable works distributed by
6449Google as part of the WebM Project.
6450
6451Google hereby grants to you a perpetual, worldwide, non-exclusive,
6452no-charge, royalty-free, irrevocable (except as stated in this section)
6453patent license to make, have made, use, offer to sell, sell, import,
6454transfer, and otherwise run, modify and propagate the contents of this
6455implementation of VP8, where such license applies only to those patent
6456claims, both currently owned by Google and acquired in the future,
6457licensable by Google that are necessarily infringed by this
6458implementation of VP8. This grant does not include claims that would be
6459infringed only as a consequence of further modification of this
6460implementation. If you or your agent or exclusive licensee institute or
6461order or agree to the institution of patent litigation against any
6462entity (including a cross-claim or counterclaim in a lawsuit) alleging
6463that this implementation of VP8 or any code incorporated within this
6464implementation of VP8 constitutes direct or contributory patent
6465infringement, or inducement of patent infringement, then any patent
6466rights granted to you under this License for this implementation of VP8
6467shall terminate as of the date such litigation is filed.
6468
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006469Except where otherwise noted in the source code (e.g. the files hash.c,
6470list.c and the trio files, which are covered by a similar licence but
6471with different Copyright notices) all the files are:
6472
6473 Copyright (C) 1998-2003 Daniel Veillard. All Rights Reserved.
6474
6475Permission is hereby granted, free of charge, to any person obtaining a copy
6476of this software and associated documentation files (the "Software"), to deal
6477in the Software without restriction, including without limitation the rights
6478to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6479copies of the Software, and to permit persons to whom the Software is fur-
6480nished to do so, subject to the following conditions:
6481
6482The above copyright notice and this permission notice shall be included in
6483all copies or substantial portions of the Software.
6484
6485THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6486IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
6487NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6488DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
6489IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
6490NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6491
6492Except as contained in this notice, the name of Daniel Veillard shall not
6493be used in advertising or otherwise to promote the sale, use or other deal-
6494ings in this Software without prior written authorization from him.
6495
6496
6497Licence for libxslt except libexslt
6498----------------------------------------------------------------------
6499 Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved.
6500
6501Permission is hereby granted, free of charge, to any person obtaining a copy
6502of this software and associated documentation files (the "Software"), to deal
6503in the Software without restriction, including without limitation the rights
6504to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6505copies of the Software, and to permit persons to whom the Software is fur-
6506nished to do so, subject to the following conditions:
6507
6508The above copyright notice and this permission notice shall be included in
6509all copies or substantial portions of the Software.
6510
6511THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6512IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
6513NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6514DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
6515IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
6516NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6517
6518Except as contained in this notice, the name of Daniel Veillard shall not
6519be used in advertising or otherwise to promote the sale, use or other deal-
6520ings in this Software without prior written authorization from him.
6521
6522----------------------------------------------------------------------
6523
6524Licence for libexslt
6525----------------------------------------------------------------------
6526 Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
6527 All Rights Reserved.
6528
6529Permission is hereby granted, free of charge, to any person obtaining a copy
6530of this software and associated documentation files (the "Software"), to deal
6531in the Software without restriction, including without limitation the rights
6532to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6533copies of the Software, and to permit persons to whom the Software is fur-
6534nished to do so, subject to the following conditions:
6535
6536The above copyright notice and this permission notice shall be included in
6537all copies or substantial portions of the Software.
6538
6539THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6540IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
6541NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6542AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
6543IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
6544NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6545
6546Except as contained in this notice, the name of the authors shall not
6547be used in advertising or otherwise to promote the sale, use or other deal-
6548ings in this Software without prior written authorization from him.
6549----------------------------------------------------------------------
6550
6551LZMA SDK is placed in the public domain.
6552
6553Copyright (c) 2003-2009 Jonathan 'Wolf' Rentzsch: <http://rentzsch.com>
6554Some rights reserved: <http://opensource.org/licenses/mit-license.php>
6555
6556The default Mesa license is as follows:
6557
6558Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
6559
6560Permission is hereby granted, free of charge, to any person obtaining a
6561copy of this software and associated documentation files (the "Software"),
6562to deal in the Software without restriction, including without limitation
6563the rights to use, copy, modify, merge, publish, distribute, sublicense,
6564and/or sell copies of the Software, and to permit persons to whom the
6565Software is furnished to do so, subject to the following conditions:
6566
6567The above copyright notice and this permission notice shall be included
6568in all copies or substantial portions of the Software.
6569
6570THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
6571OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6572FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
6573BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
6574AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
6575CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6576
6577
6578
6579Some parts of Mesa are copyrighted under the GNU LGPL. See the
6580Mesa/docs/COPYRIGHT file for details.
6581
6582The following is the standard GNU copyright file.
6583----------------------------------------------------------------------
6584
6585
6586 GNU LIBRARY GENERAL PUBLIC LICENSE
6587 Version 2, June 1991
6588
6589 Copyright (C) 1991 Free Software Foundation, Inc.
6590 675 Mass Ave, Cambridge, MA 02139, USA
6591 Everyone is permitted to copy and distribute verbatim copies
6592 of this license document, but changing it is not allowed.
6593
6594[This is the first released version of the library GPL. It is
6595 numbered 2 because it goes with version 2 of the ordinary GPL.]
6596
6597 Preamble
6598
6599 The licenses for most software are designed to take away your
6600freedom to share and change it. By contrast, the GNU General Public
6601Licenses are intended to guarantee your freedom to share and change
6602free software--to make sure the software is free for all its users.
6603
6604 This license, the Library General Public License, applies to some
6605specially designated Free Software Foundation software, and to any
6606other libraries whose authors decide to use it. You can use it for
6607your libraries, too.
6608
6609 When we speak of free software, we are referring to freedom, not
6610price. Our General Public Licenses are designed to make sure that you
6611have the freedom to distribute copies of free software (and charge for
6612this service if you wish), that you receive source code or can get it
6613if you want it, that you can change the software or use pieces of it
6614in new free programs; and that you know you can do these things.
6615
6616 To protect your rights, we need to make restrictions that forbid
6617anyone to deny you these rights or to ask you to surrender the rights.
6618These restrictions translate to certain responsibilities for you if
6619you distribute copies of the library, or if you modify it.
6620
6621 For example, if you distribute copies of the library, whether gratis
6622or for a fee, you must give the recipients all the rights that we gave
6623you. You must make sure that they, too, receive or can get the source
6624code. If you link a program with the library, you must provide
6625complete object files to the recipients so that they can relink them
6626with the library, after making changes to the library and recompiling
6627it. And you must show them these terms so they know their rights.
6628
6629 Our method of protecting your rights has two steps: (1) copyright
6630the library, and (2) offer you this license which gives you legal
6631permission to copy, distribute and/or modify the library.
6632
6633 Also, for each distributor's protection, we want to make certain
6634that everyone understands that there is no warranty for this free
6635library. If the library is modified by someone else and passed on, we
6636want its recipients to know that what they have is not the original
6637version, so that any problems introduced by others will not reflect on
6638the original authors' reputations.
6639
6640 Finally, any free program is threatened constantly by software
6641patents. We wish to avoid the danger that companies distributing free
6642software will individually obtain patent licenses, thus in effect
6643transforming the program into proprietary software. To prevent this,
6644we have made it clear that any patent must be licensed for everyone's
6645free use or not licensed at all.
6646
6647 Most GNU software, including some libraries, is covered by the ordinary
6648GNU General Public License, which was designed for utility programs. This
6649license, the GNU Library General Public License, applies to certain
6650designated libraries. This license is quite different from the ordinary
6651one; be sure to read it in full, and don't assume that anything in it is
6652the same as in the ordinary license.
6653
6654 The reason we have a separate public license for some libraries is that
6655they blur the distinction we usually make between modifying or adding to a
6656program and simply using it. Linking a program with a library, without
6657changing the library, is in some sense simply using the library, and is
6658analogous to running a utility program or application program. However, in
6659a textual and legal sense, the linked executable is a combined work, a
6660derivative of the original library, and the ordinary General Public License
6661treats it as such.
6662
6663 Because of this blurred distinction, using the ordinary General
6664Public License for libraries did not effectively promote software
6665sharing, because most developers did not use the libraries. We
6666concluded that weaker conditions might promote sharing better.
6667
6668 However, unrestricted linking of non-free programs would deprive the
6669users of those programs of all benefit from the free status of the
6670libraries themselves. This Library General Public License is intended to
6671permit developers of non-free programs to use free libraries, while
6672preserving your freedom as a user of such programs to change the free
6673libraries that are incorporated in them. (We have not seen how to achieve
6674this as regards changes in header files, but we have achieved it as regards
6675changes in the actual functions of the Library.) The hope is that this
6676will lead to faster development of free libraries.
6677
6678 The precise terms and conditions for copying, distribution and
6679modification follow. Pay close attention to the difference between a
6680"work based on the library" and a "work that uses the library". The
6681former contains code derived from the library, while the latter only
6682works together with the library.
6683
6684 Note that it is possible for a library to be covered by the ordinary
6685General Public License rather than by this special one.
6686
6687 GNU LIBRARY GENERAL PUBLIC LICENSE
6688 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6689
6690 0. This License Agreement applies to any software library which
6691contains a notice placed by the copyright holder or other authorized
6692party saying it may be distributed under the terms of this Library
6693General Public License (also called "this License"). Each licensee is
6694addressed as "you".
6695
6696 A "library" means a collection of software functions and/or data
6697prepared so as to be conveniently linked with application programs
6698(which use some of those functions and data) to form executables.
6699
6700 The "Library", below, refers to any such software library or work
6701which has been distributed under these terms. A "work based on the
6702Library" means either the Library or any derivative work under
6703copyright law: that is to say, a work containing the Library or a
6704portion of it, either verbatim or with modifications and/or translated
6705straightforwardly into another language. (Hereinafter, translation is
6706included without limitation in the term "modification".)
6707
6708 "Source code" for a work means the preferred form of the work for
6709making modifications to it. For a library, complete source code means
6710all the source code for all modules it contains, plus any associated
6711interface definition files, plus the scripts used to control compilation
6712and installation of the library.
6713
6714 Activities other than copying, distribution and modification are not
6715covered by this License; they are outside its scope. The act of
6716running a program using the Library is not restricted, and output from
6717such a program is covered only if its contents constitute a work based
6718on the Library (independent of the use of the Library in a tool for
6719writing it). Whether that is true depends on what the Library does
6720and what the program that uses the Library does.
6721
6722 1. You may copy and distribute verbatim copies of the Library's
6723complete source code as you receive it, in any medium, provided that
6724you conspicuously and appropriately publish on each copy an
6725appropriate copyright notice and disclaimer of warranty; keep intact
6726all the notices that refer to this License and to the absence of any
6727warranty; and distribute a copy of this License along with the
6728Library.
6729
6730 You may charge a fee for the physical act of transferring a copy,
6731and you may at your option offer warranty protection in exchange for a
6732fee.
6733
6734 2. You may modify your copy or copies of the Library or any portion
6735of it, thus forming a work based on the Library, and copy and
6736distribute such modifications or work under the terms of Section 1
6737above, provided that you also meet all of these conditions:
6738
6739 a) The modified work must itself be a software library.
6740
6741 b) You must cause the files modified to carry prominent notices
6742 stating that you changed the files and the date of any change.
6743
6744 c) You must cause the whole of the work to be licensed at no
6745 charge to all third parties under the terms of this License.
6746
6747 d) If a facility in the modified Library refers to a function or a
6748 table of data to be supplied by an application program that uses
6749 the facility, other than as an argument passed when the facility
6750 is invoked, then you must make a good faith effort to ensure that,
6751 in the event an application does not supply such function or
6752 table, the facility still operates, and performs whatever part of
6753 its purpose remains meaningful.
6754
6755 (For example, a function in a library to compute square roots has
6756 a purpose that is entirely well-defined independent of the
6757 application. Therefore, Subsection 2d requires that any
6758 application-supplied function or table used by this function must
6759 be optional: if the application does not supply it, the square
6760 root function must still compute square roots.)
6761
6762These requirements apply to the modified work as a whole. If
6763identifiable sections of that work are not derived from the Library,
6764and can be reasonably considered independent and separate works in
6765themselves, then this License, and its terms, do not apply to those
6766sections when you distribute them as separate works. But when you
6767distribute the same sections as part of a whole which is a work based
6768on the Library, the distribution of the whole must be on the terms of
6769this License, whose permissions for other licensees extend to the
6770entire whole, and thus to each and every part regardless of who wrote
6771it.
6772
6773Thus, it is not the intent of this section to claim rights or contest
6774your rights to work written entirely by you; rather, the intent is to
6775exercise the right to control the distribution of derivative or
6776collective works based on the Library.
6777
6778In addition, mere aggregation of another work not based on the Library
6779with the Library (or with a work based on the Library) on a volume of
6780a storage or distribution medium does not bring the other work under
6781the scope of this License.
6782
6783 3. You may opt to apply the terms of the ordinary GNU General Public
6784License instead of this License to a given copy of the Library. To do
6785this, you must alter all the notices that refer to this License, so
6786that they refer to the ordinary GNU General Public License, version 2,
6787instead of to this License. (If a newer version than version 2 of the
6788ordinary GNU General Public License has appeared, then you can specify
6789that version instead if you wish.) Do not make any other change in
6790these notices.
6791
6792 Once this change is made in a given copy, it is irreversible for
6793that copy, so the ordinary GNU General Public License applies to all
6794subsequent copies and derivative works made from that copy.
6795
6796 This option is useful when you wish to copy part of the code of
6797the Library into a program that is not a library.
6798
6799 4. You may copy and distribute the Library (or a portion or
6800derivative of it, under Section 2) in object code or executable form
6801under the terms of Sections 1 and 2 above provided that you accompany
6802it with the complete corresponding machine-readable source code, which
6803must be distributed under the terms of Sections 1 and 2 above on a
6804medium customarily used for software interchange.
6805
6806 If distribution of object code is made by offering access to copy
6807from a designated place, then offering equivalent access to copy the
6808source code from the same place satisfies the requirement to
6809distribute the source code, even though third parties are not
6810compelled to copy the source along with the object code.
6811
6812 5. A program that contains no derivative of any portion of the
6813Library, but is designed to work with the Library by being compiled or
6814linked with it, is called a "work that uses the Library". Such a
6815work, in isolation, is not a derivative work of the Library, and
6816therefore falls outside the scope of this License.
6817
6818 However, linking a "work that uses the Library" with the Library
6819creates an executable that is a derivative of the Library (because it
6820contains portions of the Library), rather than a "work that uses the
6821library". The executable is therefore covered by this License.
6822Section 6 states terms for distribution of such executables.
6823
6824 When a "work that uses the Library" uses material from a header file
6825that is part of the Library, the object code for the work may be a
6826derivative work of the Library even though the source code is not.
6827Whether this is true is especially significant if the work can be
6828linked without the Library, or if the work is itself a library. The
6829threshold for this to be true is not precisely defined by law.
6830
6831 If such an object file uses only numerical parameters, data
6832structure layouts and accessors, and small macros and small inline
6833functions (ten lines or less in length), then the use of the object
6834file is unrestricted, regardless of whether it is legally a derivative
6835work. (Executables containing this object code plus portions of the
6836Library will still fall under Section 6.)
6837
6838 Otherwise, if the work is a derivative of the Library, you may
6839distribute the object code for the work under the terms of Section 6.
6840Any executables containing that work also fall under Section 6,
6841whether or not they are linked directly with the Library itself.
6842
6843 6. As an exception to the Sections above, you may also compile or
6844link a "work that uses the Library" with the Library to produce a
6845work containing portions of the Library, and distribute that work
6846under terms of your choice, provided that the terms permit
6847modification of the work for the customer's own use and reverse
6848engineering for debugging such modifications.
6849
6850 You must give prominent notice with each copy of the work that the
6851Library is used in it and that the Library and its use are covered by
6852this License. You must supply a copy of this License. If the work
6853during execution displays copyright notices, you must include the
6854copyright notice for the Library among them, as well as a reference
6855directing the user to the copy of this License. Also, you must do one
6856of these things:
6857
6858 a) Accompany the work with the complete corresponding
6859 machine-readable source code for the Library including whatever
6860 changes were used in the work (which must be distributed under
6861 Sections 1 and 2 above); and, if the work is an executable linked
6862 with the Library, with the complete machine-readable "work that
6863 uses the Library", as object code and/or source code, so that the
6864 user can modify the Library and then relink to produce a modified
6865 executable containing the modified Library. (It is understood
6866 that the user who changes the contents of definitions files in the
6867 Library will not necessarily be able to recompile the application
6868 to use the modified definitions.)
6869
6870 b) Accompany the work with a written offer, valid for at
6871 least three years, to give the same user the materials
6872 specified in Subsection 6a, above, for a charge no more
6873 than the cost of performing this distribution.
6874
6875 c) If distribution of the work is made by offering access to copy
6876 from a designated place, offer equivalent access to copy the above
6877 specified materials from the same place.
6878
6879 d) Verify that the user has already received a copy of these
6880 materials or that you have already sent this user a copy.
6881
6882 For an executable, the required form of the "work that uses the
6883Library" must include any data and utility programs needed for
6884reproducing the executable from it. However, as a special exception,
6885the source code distributed need not include anything that is normally
6886distributed (in either source or binary form) with the major
6887components (compiler, kernel, and so on) of the operating system on
6888which the executable runs, unless that component itself accompanies
6889the executable.
6890
6891 It may happen that this requirement contradicts the license
6892restrictions of other proprietary libraries that do not normally
6893accompany the operating system. Such a contradiction means you cannot
6894use both them and the Library together in an executable that you
6895distribute.
6896
6897 7. You may place library facilities that are a work based on the
6898Library side-by-side in a single library together with other library
6899facilities not covered by this License, and distribute such a combined
6900library, provided that the separate distribution of the work based on
6901the Library and of the other library facilities is otherwise
6902permitted, and provided that you do these two things:
6903
6904 a) Accompany the combined library with a copy of the same work
6905 based on the Library, uncombined with any other library
6906 facilities. This must be distributed under the terms of the
6907 Sections above.
6908
6909 b) Give prominent notice with the combined library of the fact
6910 that part of it is a work based on the Library, and explaining
6911 where to find the accompanying uncombined form of the same work.
6912
6913 8. You may not copy, modify, sublicense, link with, or distribute
6914the Library except as expressly provided under this License. Any
6915attempt otherwise to copy, modify, sublicense, link with, or
6916distribute the Library is void, and will automatically terminate your
6917rights under this License. However, parties who have received copies,
6918or rights, from you under this License will not have their licenses
6919terminated so long as such parties remain in full compliance.
6920
6921 9. You are not required to accept this License, since you have not
6922signed it. However, nothing else grants you permission to modify or
6923distribute the Library or its derivative works. These actions are
6924prohibited by law if you do not accept this License. Therefore, by
6925modifying or distributing the Library (or any work based on the
6926Library), you indicate your acceptance of this License to do so, and
6927all its terms and conditions for copying, distributing or modifying
6928the Library or works based on it.
6929
6930 10. Each time you redistribute the Library (or any work based on the
6931Library), the recipient automatically receives a license from the
6932original licensor to copy, distribute, link with or modify the Library
6933subject to these terms and conditions. You may not impose any further
6934restrictions on the recipients' exercise of the rights granted herein.
6935You are not responsible for enforcing compliance by third parties to
6936this License.
6937
6938 11. If, as a consequence of a court judgment or allegation of patent
6939infringement or for any other reason (not limited to patent issues),
6940conditions are imposed on you (whether by court order, agreement or
6941otherwise) that contradict the conditions of this License, they do not
6942excuse you from the conditions of this License. If you cannot
6943distribute so as to satisfy simultaneously your obligations under this
6944License and any other pertinent obligations, then as a consequence you
6945may not distribute the Library at all. For example, if a patent
6946license would not permit royalty-free redistribution of the Library by
6947all those who receive copies directly or indirectly through you, then
6948the only way you could satisfy both it and this License would be to
6949refrain entirely from distribution of the Library.
6950
6951If any portion of this section is held invalid or unenforceable under any
6952particular circumstance, the balance of the section is intended to apply,
6953and the section as a whole is intended to apply in other circumstances.
6954
6955It is not the purpose of this section to induce you to infringe any
6956patents or other property right claims or to contest validity of any
6957such claims; this section has the sole purpose of protecting the
6958integrity of the free software distribution system which is
6959implemented by public license practices. Many people have made
6960generous contributions to the wide range of software distributed
6961through that system in reliance on consistent application of that
6962system; it is up to the author/donor to decide if he or she is willing
6963to distribute software through any other system and a licensee cannot
6964impose that choice.
6965
6966This section is intended to make thoroughly clear what is believed to
6967be a consequence of the rest of this License.
6968
6969 12. If the distribution and/or use of the Library is restricted in
6970certain countries either by patents or by copyrighted interfaces, the
6971original copyright holder who places the Library under this License may add
6972an explicit geographical distribution limitation excluding those countries,
6973so that distribution is permitted only in or among countries not thus
6974excluded. In such case, this License incorporates the limitation as if
6975written in the body of this License.
6976
6977 13. The Free Software Foundation may publish revised and/or new
6978versions of the Library General Public License from time to time.
6979Such new versions will be similar in spirit to the present version,
6980but may differ in detail to address new problems or concerns.
6981
6982Each version is given a distinguishing version number. If the Library
6983specifies a version number of this License which applies to it and
6984"any later version", you have the option of following the terms and
6985conditions either of that version or of any later version published by
6986the Free Software Foundation. If the Library does not specify a
6987license version number, you may choose any version ever published by
6988the Free Software Foundation.
6989
6990 14. If you wish to incorporate parts of the Library into other free
6991programs whose distribution conditions are incompatible with these,
6992write to the author to ask for permission. For software which is
6993copyrighted by the Free Software Foundation, write to the Free
6994Software Foundation; we sometimes make exceptions for this. Our
6995decision will be guided by the two goals of preserving the free status
6996of all derivatives of our free software and of promoting the sharing
6997and reuse of software generally.
6998
6999 NO WARRANTY
7000
7001 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
7002WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
7003EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
7004OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
7005KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
7006IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
7007PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
7008LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
7009THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
7010
7011 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
7012WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
7013AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
7014FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
7015CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
7016LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
7017RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
7018FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
7019SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
7020DAMAGES.
7021
7022 END OF TERMS AND CONDITIONS
7023
7024 Appendix: How to Apply These Terms to Your New Libraries
7025
7026 If you develop a new library, and you want it to be of the greatest
7027possible use to the public, we recommend making it free software that
7028everyone can redistribute and change. You can do so by permitting
7029redistribution under these terms (or, alternatively, under the terms of the
7030ordinary General Public License).
7031
7032 To apply these terms, attach the following notices to the library. It is
7033safest to attach them to the start of each source file to most effectively
7034convey the exclusion of warranty; and each file should have at least the
7035"copyright" line and a pointer to where the full notice is found.
7036
7037 <one line to give the library's name and a brief idea of what it does.>
7038 Copyright (C) <year> <name of author>
7039
7040 This library is free software; you can redistribute it and/or
7041 modify it under the terms of the GNU Library General Public
7042 License as published by the Free Software Foundation; either
7043 version 2 of the License, or (at your option) any later version.
7044
7045 This library is distributed in the hope that it will be useful,
7046 but WITHOUT ANY WARRANTY; without even the implied warranty of
7047 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7048 Library General Public License for more details.
7049
7050 You should have received a copy of the GNU Library General Public
7051 License along with this library; if not, write to the Free
7052 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
7053
7054Also add information on how to contact you by electronic and paper mail.
7055
7056You should also get your employer (if you work as a programmer) or your
7057school, if any, to sign a "copyright disclaimer" for the library, if
7058necessary. Here is a sample; alter the names:
7059
7060 Yoyodyne, Inc., hereby disclaims all copyright interest in the
7061 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
7062
7063 <signature of Ty Coon>, 1 April 1990
7064 Ty Coon, President of Vice
7065
7066That's all there is to it!
7067
7068
7069 * MODP_B64 - High performance base64 encoder/decoder
7070 * Version 1.3 -- 17-Mar-2006
7071 * http://modp.com/release/base64
7072 *
7073 * Copyright (c) 2005, 2006 Nick Galbreath -- nickg [at] modp [dot] com
7074 * All rights reserved.
7075 *
7076 * Redistribution and use in source and binary forms, with or without
7077 * modification, are permitted provided that the following conditions are
7078 * met:
7079 *
7080 * Redistributions of source code must retain the above copyright
7081 * notice, this list of conditions and the following disclaimer.
7082 *
7083 * Redistributions in binary form must reproduce the above copyright
7084 * notice, this list of conditions and the following disclaimer in the
7085 * documentation and/or other materials provided with the distribution.
7086 *
7087 * Neither the name of the modp.com nor the names of its
7088 * contributors may be used to endorse or promote products derived from
7089 * this software without specific prior written permission.
7090 *
7091 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7092 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7093 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7094 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7095 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7096 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7097 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7098 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7099 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7100 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7101 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7102
7103Copyright 2008 MolokoCacao
7104All rights reserved
7105
7106Redistribution and use in source and binary forms, with or without
7107modification, are permitted providing that the following conditions
7108are met:
71091. Redistributions of source code must retain the above copyright
7110 notice, this list of conditions and the following disclaimer.
71112. Redistributions in binary form must reproduce the above copyright
7112 notice, this list of conditions and the following disclaimer in the
7113 documentation and/or other materials provided with the distribution.
7114
7115THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
7116IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
7117WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
7118ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
7119DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
7120DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
7121OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7122HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
7123STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
7124IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
7125POSSIBILITY OF SUCH DAMAGE.
7126
7127Copyright (c) 2004-2009 Sergey Lyubka
7128Portions Copyright (c) 2009 Gilbert Wellisch
7129
7130Permission is hereby granted, free of charge, to any person obtaining a copy
7131of this software and associated documentation files (the "Software"), to deal
7132in the Software without restriction, including without limitation the rights
7133to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7134copies of the Software, and to permit persons to whom the Software is
7135furnished to do so, subject to the following conditions:
7136
7137The above copyright notice and this permission notice shall be included in
7138all copies or substantial portions of the Software.
7139
7140THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7141IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7142FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7143AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7144LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7145OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
7146THE SOFTWARE.
7147
7148
7149Copyright 2010-2011, Google Inc.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007150All rights reserved.
7151
7152Redistribution and use in source and binary forms, with or without
7153modification, are permitted provided that the following conditions are
7154met:
7155
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007156* Redistributions of source code must retain the above copyright
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007157notice, this list of conditions and the following disclaimer.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007158* Redistributions in binary form must reproduce the above
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007159copyright notice, this list of conditions and the following disclaimer
7160in the documentation and/or other materials provided with the
7161distribution.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007162* Neither the name of Google Inc. nor the names of its
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007163contributors may be used to endorse or promote products derived from
7164this software without specific prior written permission.
7165
7166THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7167"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7168LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7169A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7170OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7171SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7172LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7173DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7174THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7175(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7176OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7177
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007178
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007179/* ***** BEGIN LICENSE BLOCK *****
7180 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007181 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007182 * The contents of this file are subject to the Mozilla Public License Version
7183 * 1.1 (the "License"); you may not use this file except in compliance with
7184 * the License. You may obtain a copy of the License at
7185 * http://www.mozilla.org/MPL/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007186 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007187 * Software distributed under the License is distributed on an "AS IS" basis,
7188 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
7189 * for the specific language governing rights and limitations under the
7190 * License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007191 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007192 * The Original Code is mozilla.org code.
7193 *
7194 * The Initial Developer of the Original Code is
7195 * Netscape Communications Corporation.
7196 * Portions created by the Initial Developer are Copyright (C) 2002
7197 * the Initial Developer. All Rights Reserved.
7198 *
7199 * Contributor(s):
7200 *
7201 * Alternatively, the contents of this file may be used under the terms of
7202 * either the GNU General Public License Version 2 or later (the "GPL"), or
7203 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
7204 * in which case the provisions of the GPL or the LGPL are applicable instead
7205 * of those above. If you wish to allow use of your version of this file only
7206 * under the terms of either the GPL or the LGPL, and not to allow others to
7207 * use your version of this file under the terms of the MPL, indicate your
7208 * decision by deleting the provisions above and replace them with the notice
7209 * and other provisions required by the GPL or the LGPL. If you do not delete
7210 * the provisions above, a recipient may use your version of this file under
7211 * the terms of any one of the MPL, the GPL or the LGPL.
7212 *
7213 * ***** END LICENSE BLOCK ***** */
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007214
7215 A C-program for MT19937, with initialization improved 2002/1/26.
7216 Coded by Takuji Nishimura and Makoto Matsumoto.
7217
7218 Before using, initialize the state by using init_genrand(seed)
7219 or init_by_array(init_key, key_length).
7220
7221 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
7222 All rights reserved.
7223
7224 Redistribution and use in source and binary forms, with or without
7225 modification, are permitted provided that the following conditions
7226 are met:
7227
7228 1. Redistributions of source code must retain the above copyright
7229 notice, this list of conditions and the following disclaimer.
7230
7231 2. Redistributions in binary form must reproduce the above copyright
7232 notice, this list of conditions and the following disclaimer in the
7233 documentation and/or other materials provided with the distribution.
7234
7235 3. The names of its contributors may not be used to endorse or promote
7236 products derived from this software without specific prior written
7237 permission.
7238
7239 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7240 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7241 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7242 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
7243 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
7244 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
7245 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
7246 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
7247 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
7248 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
7249 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7250
7251// Copyright (c) 2006-2009 The Chromium OS Authors. All rights reserved.
7252//
7253// Redistribution and use in source and binary forms, with or without
7254// modification, are permitted provided that the following conditions are
7255// met:
7256//
7257// * Redistributions of source code must retain the above copyright
7258// notice, this list of conditions and the following disclaimer.
7259// * Redistributions in binary form must reproduce the above
7260// copyright notice, this list of conditions and the following disclaimer
7261// in the documentation and/or other materials provided with the
7262// distribution.
7263// * Neither the name of Google Inc. nor the names of its
7264// contributors may be used to endorse or promote products derived from
7265// this software without specific prior written permission.
7266//
7267// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7268// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7269// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7270// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7271// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7272// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7273// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7274// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7275// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7276// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7277// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7278
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007279Version: MPL 1.1/GPL 2.0/LGPL 2.1
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007280
7281The contents of this file are subject to the Mozilla Public License Version
72821.1 (the "License"); you may not use this file except in compliance with
7283the License. You may obtain a copy of the License at
7284http://www.mozilla.org/MPL/
7285
7286Software distributed under the License is distributed on an "AS IS" basis,
7287WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
7288for the specific language governing rights and limitations under the
7289License.
7290
7291The Original Code is mozilla.org code.
7292
7293The Initial Developer of the Original Code is
7294Netscape Communications Corporation.
7295Portions created by the Initial Developer are Copyright (C) 1998
7296the Initial Developer. All Rights Reserved.
7297
7298Contributor(s):
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007299
7300Alternatively, the contents of this file may be used under the terms of
7301either the GNU General Public License Version 2 or later (the "GPL"), or
7302the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
7303in which case the provisions of the GPL or the LGPL are applicable instead
7304of those above. If you wish to allow use of your version of this file only
7305under the terms of either the GPL or the LGPL, and not to allow others to
7306use your version of this file under the terms of the MPL, indicate your
7307decision by deleting the provisions above and replace them with the notice
7308and other provisions required by the GPL or the LGPL. If you do not delete
7309the provisions above, a recipient may use your version of this file under
7310the terms of any one of the MPL, the GPL or the LGPL.
7311
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007312
7313 Copyright (c) 2004-2012 by Mulle Kybernetik. All rights reserved.
7314
7315 Permission to use, copy, modify and distribute this software and its documentation
7316 is hereby granted, provided that both the copyright notice and this permission
7317 notice appear in all copies of the software, derivative works or modified versions,
7318 and any portions thereof, and that both notices appear in supporting documentation,
7319 and that credit is given to Mulle Kybernetik in all documents and publicity
7320 pertaining to direct or indirect use of this code or its derivatives.
7321
7322 THIS IS EXPERIMENTAL SOFTWARE AND IT IS KNOWN TO HAVE BUGS, SOME OF WHICH MAY HAVE
7323 SERIOUS CONSEQUENCES. THE COPYRIGHT HOLDER ALLOWS FREE USE OF THIS SOFTWARE IN ITS
7324 "AS IS" CONDITION. THE COPYRIGHT HOLDER DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY
7325 DAMAGES WHATSOEVER RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE
7326 OR OF ANY DERIVATIVE WORK.
7327Copyright (c) 2008 The Khronos Group Inc.
7328
7329Permission is hereby granted, free of charge, to any person obtaining
7330a copy of this software and associated documentation files (the
7331"Software"), to deal in the Software without restriction, including
7332without limitation the rights to use, copy, modify, merge, publish,
7333distribute, sublicense, and/or sell copies of the Software, and to
7334permit persons to whom the Software is furnished to do so, subject
7335to the following conditions:
7336The above copyright notice and this permission notice shall be included
7337in all copies or substantial portions of the Software.
7338
7339THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
7340OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
7341MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
7342IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
7343CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
7344TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
7345SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7346
7347
7348 LICENSE ISSUES
7349 ==============
7350
7351 The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
7352 the OpenSSL License and the original SSLeay license apply to the toolkit.
7353 See below for the actual license texts. Actually both licenses are BSD-style
7354 Open Source licenses. In case of any license issues related to OpenSSL
7355 please contact openssl-core@openssl.org.
7356
7357 OpenSSL License
7358 ---------------
7359
7360/* ====================================================================
7361 * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
7362 *
7363 * Redistribution and use in source and binary forms, with or without
7364 * modification, are permitted provided that the following conditions
7365 * are met:
7366 *
7367 * 1. Redistributions of source code must retain the above copyright
7368 * notice, this list of conditions and the following disclaimer.
7369 *
7370 * 2. Redistributions in binary form must reproduce the above copyright
7371 * notice, this list of conditions and the following disclaimer in
7372 * the documentation and/or other materials provided with the
7373 * distribution.
7374 *
7375 * 3. All advertising materials mentioning features or use of this
7376 * software must display the following acknowledgment:
7377 * "This product includes software developed by the OpenSSL Project
7378 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
7379 *
7380 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
7381 * endorse or promote products derived from this software without
7382 * prior written permission. For written permission, please contact
7383 * openssl-core@openssl.org.
7384 *
7385 * 5. Products derived from this software may not be called "OpenSSL"
7386 * nor may "OpenSSL" appear in their names without prior written
7387 * permission of the OpenSSL Project.
7388 *
7389 * 6. Redistributions of any form whatsoever must retain the following
7390 * acknowledgment:
7391 * "This product includes software developed by the OpenSSL Project
7392 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
7393 *
7394 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
7395 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7396 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
7397 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
7398 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7399 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
7400 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
7401 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7402 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
7403 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
7404 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
7405 * OF THE POSSIBILITY OF SUCH DAMAGE.
7406 * ====================================================================
7407 *
7408 * This product includes cryptographic software written by Eric Young
7409 * (eay@cryptsoft.com). This product includes software written by Tim
7410 * Hudson (tjh@cryptsoft.com).
7411 *
7412 */
7413
7414 Original SSLeay License
7415 -----------------------
7416
7417/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
7418 * All rights reserved.
7419 *
7420 * This package is an SSL implementation written
7421 * by Eric Young (eay@cryptsoft.com).
7422 * The implementation was written so as to conform with Netscapes SSL.
7423 *
7424 * This library is free for commercial and non-commercial use as long as
7425 * the following conditions are aheared to. The following conditions
7426 * apply to all code found in this distribution, be it the RC4, RSA,
7427 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
7428 * included with this distribution is covered by the same copyright terms
7429 * except that the holder is Tim Hudson (tjh@cryptsoft.com).
7430 *
7431 * Copyright remains Eric Young's, and as such any Copyright notices in
7432 * the code are not to be removed.
7433 * If this package is used in a product, Eric Young should be given attribution
7434 * as the author of the parts of the library used.
7435 * This can be in the form of a textual message at program startup or
7436 * in documentation (online or textual) provided with the package.
7437 *
7438 * Redistribution and use in source and binary forms, with or without
7439 * modification, are permitted provided that the following conditions
7440 * are met:
7441 * 1. Redistributions of source code must retain the copyright
7442 * notice, this list of conditions and the following disclaimer.
7443 * 2. Redistributions in binary form must reproduce the above copyright
7444 * notice, this list of conditions and the following disclaimer in the
7445 * documentation and/or other materials provided with the distribution.
7446 * 3. All advertising materials mentioning features or use of this software
7447 * must display the following acknowledgement:
7448 * "This product includes cryptographic software written by
7449 * Eric Young (eay@cryptsoft.com)"
7450 * The word 'cryptographic' can be left out if the rouines from the library
7451 * being used are not cryptographic related :-).
7452 * 4. If you include any Windows specific code (or a derivative thereof) from
7453 * the apps directory (application code) you must include an acknowledgement:
7454 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
7455 *
7456 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
7457 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7458 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
7459 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
7460 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
7461 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
7462 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7463 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
7464 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
7465 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
7466 * SUCH DAMAGE.
7467 *
7468 * The licence and distribution terms for any publically available version or
7469 * derivative of this code cannot be changed. i.e. this code cannot simply be
7470 * copied and put under another distribution licence
7471 * [including the GNU Public Licence.]
7472 */
7473
7474
7475Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic,
7476 Jean-Marc Valin, Timothy B. Terriberry,
7477 CSIRO, Gregory Maxwell, Mark Borgerding,
7478 Erik de Castro Lopo
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007479
7480Redistribution and use in source and binary forms, with or without
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007481modification, are permitted provided that the following conditions
7482are met:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007483
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007484- Redistributions of source code must retain the above copyright
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007485notice, this list of conditions and the following disclaimer.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007486
7487- Redistributions in binary form must reproduce the above copyright
7488notice, this list of conditions and the following disclaimer in the
7489documentation and/or other materials provided with the distribution.
7490
7491- Neither the name of Internet Society, IETF or IETF Trust, nor the
7492names of specific contributors, may be used to endorse or promote
7493products derived from this software without specific prior written
7494permission.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007495
7496THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007497``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007498LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007499A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
7500OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
7501EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
7502PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
7503PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
7504LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
7505NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
7506SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007507
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007508Opus is subject to the royalty-free patent licenses which are
7509specified at:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007510
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007511Xiph.Org Foundation:
7512https://datatracker.ietf.org/ipr/1524/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007513
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007514Microsoft Corporation:
7515https://datatracker.ietf.org/ipr/1914/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007516
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007517Broadcom Corporation:
7518https://datatracker.ietf.org/ipr/1526/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007519
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007520// Copyright (c) 2009 The Chromium Authors. All rights reserved.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007521//
7522// Redistribution and use in source and binary forms, with or without
7523// modification, are permitted provided that the following conditions are
7524// met:
7525//
7526// * Redistributions of source code must retain the above copyright
7527// notice, this list of conditions and the following disclaimer.
7528// * Redistributions in binary form must reproduce the above
7529// copyright notice, this list of conditions and the following disclaimer
7530// in the documentation and/or other materials provided with the
7531// distribution.
7532// * Neither the name of Google Inc. nor the names of its
7533// contributors may be used to endorse or promote products derived from
7534// this software without specific prior written permission.
7535//
7536// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7537// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7538// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7539// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7540// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7541// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7542// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7543// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7544// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7545// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7546// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7547
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007548PLY (Python Lex-Yacc) Version 3.4
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007549
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007550Copyright (C) 2001-2011,
7551David M. Beazley (Dabeaz LLC)
7552All rights reserved.
7553
7554Redistribution and use in source and binary forms, with or without
7555modification, are permitted provided that the following conditions are
7556met:
7557
7558* Redistributions of source code must retain the above copyright notice,
7559 this list of conditions and the following disclaimer.
7560* Redistributions in binary form must reproduce the above copyright notice,
7561 this list of conditions and the following disclaimer in the documentation
7562 and/or other materials provided with the distribution.
7563* Neither the name of the David Beazley or Dabeaz LLC may be used to
7564 endorse or promote products derived from this software without
7565 specific prior written permission.
7566
7567THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7568"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7569LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7570A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7571OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7572SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7573LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7574DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7575THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7576(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7577OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7578Copyright 2008, Google Inc.
7579All rights reserved.
7580
7581Redistribution and use in source and binary forms, with or without
7582modification, are permitted provided that the following conditions are
7583met:
7584
7585 * Redistributions of source code must retain the above copyright
7586notice, this list of conditions and the following disclaimer.
7587 * Redistributions in binary form must reproduce the above
7588copyright notice, this list of conditions and the following disclaimer
7589in the documentation and/or other materials provided with the
7590distribution.
7591 * Neither the name of Google Inc. nor the names of its
7592contributors may be used to endorse or promote products derived from
7593this software without specific prior written permission.
7594
7595THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7596"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7597LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7598A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7599OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7600SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7601LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7602DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7603THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7604(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7605OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7606
7607Code generated by the Protocol Buffer compiler is owned by the owner
7608of the input file used when generating it. This code is not
7609standalone and requires a support library to be linked with it. This
7610support library is itself covered by the above license.
7611
7612Copyright (c) 2003-2012, Michael Foord
7613All rights reserved.
7614
7615Redistribution and use in source and binary forms, with or without
7616modification, are permitted provided that the following conditions are
7617met:
7618
7619 * Redistributions of source code must retain the above copyright
7620 notice, this list of conditions and the following disclaimer.
7621
7622 * Redistributions in binary form must reproduce the above
7623 copyright notice, this list of conditions and the following
7624 disclaimer in the documentation and/or other materials provided
7625 with the distribution.
7626
7627THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7628"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7629LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7630A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7631OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7632SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7633LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7634DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7635THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7636(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7637OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7638
7639qcms
7640Copyright (C) 2009 Mozilla Corporation
7641Copyright (C) 1998-2007 Marti Maria
7642
7643Permission is hereby granted, free of charge, to any person obtaining
7644a copy of this software and associated documentation files (the "Software"),
7645to deal in the Software without restriction, including without limitation
7646the rights to use, copy, modify, merge, publish, distribute, sublicense,
7647and/or sell copies of the Software, and to permit persons to whom the Software
7648is furnished to do so, subject to the following conditions:
7649
7650The above copyright notice and this permission notice shall be included in
7651all copies or substantial portions of the Software.
7652
7653THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
7654EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
7655THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
7656NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
7657LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
7658OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
7659WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7660
7661// Copyright (c) 2009 The RE2 Authors. All rights reserved.
7662//
7663// Redistribution and use in source and binary forms, with or without
7664// modification, are permitted provided that the following conditions are
7665// met:
7666//
7667// * Redistributions of source code must retain the above copyright
7668// notice, this list of conditions and the following disclaimer.
7669// * Redistributions in binary form must reproduce the above
7670// copyright notice, this list of conditions and the following disclaimer
7671// in the documentation and/or other materials provided with the
7672// distribution.
7673// * Neither the name of Google Inc. nor the names of its
7674// contributors may be used to endorse or promote products derived from
7675// this software without specific prior written permission.
7676//
7677// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7678// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7679// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7680// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7681// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7682// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7683// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7684// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7685// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7686// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7687// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007688
7689
7690 Apache License
7691 Version 2.0, January 2004
7692 http://www.apache.org/licenses/
7693
7694 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7695
7696 1. Definitions.
7697
7698 "License" shall mean the terms and conditions for use, reproduction,
7699 and distribution as defined by Sections 1 through 9 of this document.
7700
7701 "Licensor" shall mean the copyright owner or entity authorized by
7702 the copyright owner that is granting the License.
7703
7704 "Legal Entity" shall mean the union of the acting entity and all
7705 other entities that control, are controlled by, or are under common
7706 control with that entity. For the purposes of this definition,
7707 "control" means (i) the power, direct or indirect, to cause the
7708 direction or management of such entity, whether by contract or
7709 otherwise, or (ii) ownership of fifty percent (50%) or more of the
7710 outstanding shares, or (iii) beneficial ownership of such entity.
7711
7712 "You" (or "Your") shall mean an individual or Legal Entity
7713 exercising permissions granted by this License.
7714
7715 "Source" form shall mean the preferred form for making modifications,
7716 including but not limited to software source code, documentation
7717 source, and configuration files.
7718
7719 "Object" form shall mean any form resulting from mechanical
7720 transformation or translation of a Source form, including but
7721 not limited to compiled object code, generated documentation,
7722 and conversions to other media types.
7723
7724 "Work" shall mean the work of authorship, whether in Source or
7725 Object form, made available under the License, as indicated by a
7726 copyright notice that is included in or attached to the work
7727 (an example is provided in the Appendix below).
7728
7729 "Derivative Works" shall mean any work, whether in Source or Object
7730 form, that is based on (or derived from) the Work and for which the
7731 editorial revisions, annotations, elaborations, or other modifications
7732 represent, as a whole, an original work of authorship. For the purposes
7733 of this License, Derivative Works shall not include works that remain
7734 separable from, or merely link (or bind by name) to the interfaces of,
7735 the Work and Derivative Works thereof.
7736
7737 "Contribution" shall mean any work of authorship, including
7738 the original version of the Work and any modifications or additions
7739 to that Work or Derivative Works thereof, that is intentionally
7740 submitted to Licensor for inclusion in the Work by the copyright owner
7741 or by an individual or Legal Entity authorized to submit on behalf of
7742 the copyright owner. For the purposes of this definition, "submitted"
7743 means any form of electronic, verbal, or written communication sent
7744 to the Licensor or its representatives, including but not limited to
7745 communication on electronic mailing lists, source code control systems,
7746 and issue tracking systems that are managed by, or on behalf of, the
7747 Licensor for the purpose of discussing and improving the Work, but
7748 excluding communication that is conspicuously marked or otherwise
7749 designated in writing by the copyright owner as "Not a Contribution."
7750
7751 "Contributor" shall mean Licensor and any individual or Legal Entity
7752 on behalf of whom a Contribution has been received by Licensor and
7753 subsequently incorporated within the Work.
7754
7755 2. Grant of Copyright License. Subject to the terms and conditions of
7756 this License, each Contributor hereby grants to You a perpetual,
7757 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7758 copyright license to reproduce, prepare Derivative Works of,
7759 publicly display, publicly perform, sublicense, and distribute the
7760 Work and such Derivative Works in Source or Object form.
7761
7762 3. Grant of Patent License. Subject to the terms and conditions of
7763 this License, each Contributor hereby grants to You a perpetual,
7764 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7765 (except as stated in this section) patent license to make, have made,
7766 use, offer to sell, sell, import, and otherwise transfer the Work,
7767 where such license applies only to those patent claims licensable
7768 by such Contributor that are necessarily infringed by their
7769 Contribution(s) alone or by combination of their Contribution(s)
7770 with the Work to which such Contribution(s) was submitted. If You
7771 institute patent litigation against any entity (including a
7772 cross-claim or counterclaim in a lawsuit) alleging that the Work
7773 or a Contribution incorporated within the Work constitutes direct
7774 or contributory patent infringement, then any patent licenses
7775 granted to You under this License for that Work shall terminate
7776 as of the date such litigation is filed.
7777
7778 4. Redistribution. You may reproduce and distribute copies of the
7779 Work or Derivative Works thereof in any medium, with or without
7780 modifications, and in Source or Object form, provided that You
7781 meet the following conditions:
7782
7783 (a) You must give any other recipients of the Work or
7784 Derivative Works a copy of this License; and
7785
7786 (b) You must cause any modified files to carry prominent notices
7787 stating that You changed the files; and
7788
7789 (c) You must retain, in the Source form of any Derivative Works
7790 that You distribute, all copyright, patent, trademark, and
7791 attribution notices from the Source form of the Work,
7792 excluding those notices that do not pertain to any part of
7793 the Derivative Works; and
7794
7795 (d) If the Work includes a "NOTICE" text file as part of its
7796 distribution, then any Derivative Works that You distribute must
7797 include a readable copy of the attribution notices contained
7798 within such NOTICE file, excluding those notices that do not
7799 pertain to any part of the Derivative Works, in at least one
7800 of the following places: within a NOTICE text file distributed
7801 as part of the Derivative Works; within the Source form or
7802 documentation, if provided along with the Derivative Works; or,
7803 within a display generated by the Derivative Works, if and
7804 wherever such third-party notices normally appear. The contents
7805 of the NOTICE file are for informational purposes only and
7806 do not modify the License. You may add Your own attribution
7807 notices within Derivative Works that You distribute, alongside
7808 or as an addendum to the NOTICE text from the Work, provided
7809 that such additional attribution notices cannot be construed
7810 as modifying the License.
7811
7812 You may add Your own copyright statement to Your modifications and
7813 may provide additional or different license terms and conditions
7814 for use, reproduction, or distribution of Your modifications, or
7815 for any such Derivative Works as a whole, provided Your use,
7816 reproduction, and distribution of the Work otherwise complies with
7817 the conditions stated in this License.
7818
7819 5. Submission of Contributions. Unless You explicitly state otherwise,
7820 any Contribution intentionally submitted for inclusion in the Work
7821 by You to the Licensor shall be under the terms and conditions of
7822 this License, without any additional terms or conditions.
7823 Notwithstanding the above, nothing herein shall supersede or modify
7824 the terms of any separate license agreement you may have executed
7825 with Licensor regarding such Contributions.
7826
7827 6. Trademarks. This License does not grant permission to use the trade
7828 names, trademarks, service marks, or product names of the Licensor,
7829 except as required for reasonable and customary use in describing the
7830 origin of the Work and reproducing the content of the NOTICE file.
7831
7832 7. Disclaimer of Warranty. Unless required by applicable law or
7833 agreed to in writing, Licensor provides the Work (and each
7834 Contributor provides its Contributions) on an "AS IS" BASIS,
7835 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
7836 implied, including, without limitation, any warranties or conditions
7837 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
7838 PARTICULAR PURPOSE. You are solely responsible for determining the
7839 appropriateness of using or redistributing the Work and assume any
7840 risks associated with Your exercise of permissions under this License.
7841
7842 8. Limitation of Liability. In no event and under no legal theory,
7843 whether in tort (including negligence), contract, or otherwise,
7844 unless required by applicable law (such as deliberate and grossly
7845 negligent acts) or agreed to in writing, shall any Contributor be
7846 liable to You for damages, including any direct, indirect, special,
7847 incidental, or consequential damages of any character arising as a
7848 result of this License or out of the use or inability to use the
7849 Work (including but not limited to damages for loss of goodwill,
7850 work stoppage, computer failure or malfunction, or any and all
7851 other commercial damages or losses), even if such Contributor
7852 has been advised of the possibility of such damages.
7853
7854 9. Accepting Warranty or Additional Liability. While redistributing
7855 the Work or Derivative Works thereof, You may choose to offer,
7856 and charge a fee for, acceptance of support, warranty, indemnity,
7857 or other liability obligations and/or rights consistent with this
7858 License. However, in accepting such obligations, You may act only
7859 on Your own behalf and on Your sole responsibility, not on behalf
7860 of any other Contributor, and only if You agree to indemnify,
7861 defend, and hold each Contributor harmless for any liability
7862 incurred by, or claims asserted against, such Contributor by reason
7863 of your accepting any such warranty or additional liability.
7864
7865 END OF TERMS AND CONDITIONS
7866
7867 APPENDIX: How to apply the Apache License to your work.
7868
7869 To apply the Apache License to your work, attach the following
7870 boilerplate notice, with the fields enclosed by brackets "[]"
7871 replaced with your own identifying information. (Don't include
7872 the brackets!) The text should be enclosed in the appropriate
7873 comment syntax for the file format. We also recommend that a
7874 file or class name and description of purpose be included on the
7875 same "printed page" as the copyright notice for easier
7876 identification within third-party archives.
7877
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007878 Copyright 2011 Google Inc. All Rights Reserved.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007879
7880 Licensed under the Apache License, Version 2.0 (the "License");
7881 you may not use this file except in compliance with the License.
7882 You may obtain a copy of the License at
7883
7884 http://www.apache.org/licenses/LICENSE-2.0
7885
7886 Unless required by applicable law or agreed to in writing, software
7887 distributed under the License is distributed on an "AS IS" BASIS,
7888 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7889 See the License for the specific language governing permissions and
7890 limitations under the License.
7891
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007892
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007893Copyright (c) 2006 Bob Ippolito
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007894
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007895Permission is hereby granted, free of charge, to any person obtaining a copy of
7896this software and associated documentation files (the "Software"), to deal in
7897the Software without restriction, including without limitation the rights to
7898use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7899of the Software, and to permit persons to whom the Software is furnished to do
7900so, subject to the following conditions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007901
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007902The above copyright notice and this permission notice shall be included in all
7903copies or substantial portions of the Software.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007904
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007905THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7906IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7907FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7908AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7909LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7910OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7911SOFTWARE.
7912
7913// Copyright (c) 2011 Google Inc. All rights reserved.
7914//
7915// Redistribution and use in source and binary forms, with or without
7916// modification, are permitted provided that the following conditions are
7917// met:
7918//
7919// * Redistributions of source code must retain the above copyright
7920// notice, this list of conditions and the following disclaimer.
7921// * Redistributions in binary form must reproduce the above
7922// copyright notice, this list of conditions and the following disclaimer
7923// in the documentation and/or other materials provided with the
7924// distribution.
7925// * Neither the name of Google Inc. nor the names of its
7926// contributors may be used to endorse or promote products derived from
7927// this software without specific prior written permission.
7928//
7929// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7930// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7931// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7932// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7933// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7934// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7935// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7936// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7937// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7938// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7939// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7940
7941All MurmurHash source files are placed in the public domain.
7942
7943The license below applies to all other code in SMHasher:
7944
7945Copyright (c) 2011 Google, Inc.
7946
7947Permission is hereby granted, free of charge, to any person obtaining a copy
7948of this software and associated documentation files (the "Software"), to deal
7949in the Software without restriction, including without limitation the rights
7950to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7951copies of the Software, and to permit persons to whom the Software is
7952furnished to do so, subject to the following conditions:
7953
7954The above copyright notice and this permission notice shall be included in
7955all copies or substantial portions of the Software.
7956
7957THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7958IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7959FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7960AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7961LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7962OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
7963THE SOFTWARE.
7964
7965The author disclaims copyright to this source code. In place of
7966a legal notice, here is a blessing:
7967
7968 May you do good and not evil.
7969 May you find forgiveness for yourself and forgive others.
7970 May you share freely, never taking more than you give.
7971
7972SWIG is distributed under the following terms:
7973
7974I.
7975
7976Copyright (c) 1995-1998
7977The University of Utah and the Regents of the University of California
7978All Rights Reserved
7979
7980Permission is hereby granted, without written agreement and without
7981license or royalty fees, to use, copy, modify, and distribute this
7982software and its documentation for any purpose, provided that
7983(1) The above copyright notice and the following two paragraphs
7984appear in all copies of the source code and (2) redistributions
7985including binaries reproduces these notices in the supporting
7986documentation. Substantial modifications to this software may be
7987copyrighted by their authors and need not follow the licensing terms
7988described here, provided that the new terms are clearly indicated in
7989all files where they apply.
7990
7991IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE
7992UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY
7993PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
7994DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
7995EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF
7996THE POSSIBILITY OF SUCH DAMAGE.
7997
7998THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH
7999SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO,
8000THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
8001PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND
8002THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE,
8003SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
8004
8005
8006II.
8007
8008This software includes contributions that are Copyright (c) 1998-2005
8009University of Chicago.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008010All rights reserved.
8011
8012Redistribution and use in source and binary forms, with or without
8013modification, are permitted provided that the following conditions are
8014met:
8015
8016Redistributions of source code must retain the above copyright notice,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008017this list of conditions and the following disclaimer. Redistributions
8018in binary form must reproduce the above copyright notice, this list of
8019conditions and the following disclaimer in the documentation and/or
8020other materials provided with the distribution. Neither the name of
8021the University of Chicago nor the names of its contributors may be
8022used to endorse or promote products derived from this software without
8023specific prior written permission.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008024
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008025THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF CHICAGO AND CONTRIBUTORS
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008026"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008027LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
8028PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF
8029CHICAGO OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8030SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
8031TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
8032PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
8033LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
8034NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
8035SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008036
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008037
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008038III.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008039
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008040This software includes contributions that are Copyright (c) 2005-2006
8041Arizona Board of Regents (University of Arizona).
8042All Rights Reserved
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008043
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008044Permission is hereby granted, without written agreement and without
8045license or royalty fees, to use, copy, modify, and distribute this
8046software and its documentation for any purpose, provided that
8047(1) The above copyright notice and the following two paragraphs
8048appear in all copies of the source code and (2) redistributions
8049including binaries reproduces these notices in the supporting
8050documentation. Substantial modifications to this software may be
8051copyrighted by their authors and need not follow the licensing terms
8052described here, provided that the new terms are clearly indicated in
8053all files where they apply.
8054
8055THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA AND CONTRIBUTORS
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008056"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008057LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
8058PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF
8059ARIZONA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8060SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
8061TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
8062PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
8063LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
8064NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
8065SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8066
8067
8068// Copyright (c) 2005, Google Inc.
8069// All rights reserved.
8070//
8071// Redistribution and use in source and binary forms, with or without
8072// modification, are permitted provided that the following conditions are
8073// met:
8074//
8075// * Redistributions of source code must retain the above copyright
8076// notice, this list of conditions and the following disclaimer.
8077// * Redistributions in binary form must reproduce the above
8078// copyright notice, this list of conditions and the following disclaimer
8079// in the documentation and/or other materials provided with the
8080// distribution.
8081// * Neither the name of Google Inc. nor the names of its
8082// contributors may be used to endorse or promote products derived from
8083// this software without specific prior written permission.
8084//
8085// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
8086// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
8087// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8088// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
8089// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8090// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
8091// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8092// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8093// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8094// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8095// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8096
8097All code here is public domain.
8098
8099Copyright (c) 2012, Linux USB Project
8100All rights reserved.
8101
8102Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
8103
8104o Redistributions of source code must retain the above copyright notice,
8105 this list of conditions and the following disclaimer.
8106
8107o Redistributions in binary form must reproduce the above copyright
8108 notice, this list of conditions and the following disclaimer in the
8109 documentation and/or other materials provided with the distribution.
8110
8111o Neither the name of the Linux USB Project nor the names of its
8112 contributors may be used to endorse or promote products derived from
8113 this software without specific prior written permission.
8114
8115THIS 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.
8116
Torne (Richard Coles)b2df76e2013-05-13 16:52:09 +01008117(Copied from the COPYRIGHT file of
8118https://code.google.com/p/sctp-refimpl/source/browse/trunk/COPYRIGHT)
8119--------------------------------------------------------------------------------
8120
8121Copyright (c) 2001, 2002 Cisco Systems, Inc.
8122Copyright (c) 2002-12 Randall R. Stewart
8123Copyright (c) 2002-12 Michael Tuexen
8124All rights reserved.
8125
8126Redistribution and use in source and binary forms, with or without
8127modification, are permitted provided that the following conditions
8128are met:
8129
81301. Redistributions of source code must retain the above copyright
8131 notice, this list of conditions and the following disclaimer.
81322. Redistributions in binary form must reproduce the above copyright
8133 notice, this list of conditions and the following disclaimer in the
8134 documentation and/or other materials provided with the distribution.
8135
8136THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
8137ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
8138IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
8139ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
8140FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
8141DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
8142OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
8143HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
8144LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
8145OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
8146SUCH DAMAGE.
8147
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00008148Copyright 2012 the v8-i18n authors.
8149
8150Licensed under the Apache License, Version 2.0 (the "License");
8151you may not use this file except in compliance with the License.
8152You may obtain a copy of the License at
8153
8154 http://www.apache.org/licenses/LICENSE-2.0
8155
8156Unless required by applicable law or agreed to in writing, software
8157distributed under the License is distributed on an "AS IS" BASIS,
8158WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8159See the License for the specific language governing permissions and
8160limitations under the License.
8161
8162;*****************************************************************************
8163;* x86inc.asm
8164;*****************************************************************************
8165;* Copyright (C) 2005-2011 x264 project
8166;*
8167;* Authors: Loren Merritt <lorenm@u.washington.edu>
8168;* Anton Mitrofanov <BugMaster@narod.ru>
8169;* Jason Garrett-Glaser <darkshikari@gmail.com>
8170;*
8171;* Permission to use, copy, modify, and/or distribute this software for any
8172;* purpose with or without fee is hereby granted, provided that the above
8173;* copyright notice and this permission notice appear in all copies.
8174;*
8175;* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8176;* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
8177;* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
8178;* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
8179;* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
8180;* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
8181;* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
8182;*****************************************************************************
8183
8184; This is a header file for the x264ASM assembly language, which uses
8185; NASM/YASM syntax combined with a large number of macros to provide easy
8186; abstraction between different calling conventions (x86_32, win64, linux64).
8187; It also has various other useful features to simplify writing the kind of
8188; DSP functions that are most often used in x264.
8189
8190; Unlike the rest of x264, this file is available under an ISC license, as it
8191; has significant usefulness outside of x264 and we want it to be available
8192; to the largest audience possible. Of course, if you modify it for your own
8193; purposes to add a new feature, we strongly encourage contributing a patch
8194; as this feature might be useful for others as well. Send patches or ideas
8195; to x264-devel@videolan.org .
8196
8197Yasm is Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
8198
8199Yasm developers and/or contributors include:
8200 Peter Johnson
8201 Michael Urman
8202 Brian Gladman (Visual Studio build files, other fixes)
8203 Stanislav Karchebny (options parser)
8204 Mathieu Monnier (SSE4 instruction patches, NASM preprocessor additions)
8205 Anonymous "NASM64" developer (NASM preprocessor fixes)
8206 Stephen Polkowski (x86 instruction patches)
8207 Henryk Richter (Mach-O object format)
8208 Ben Skeggs (patches, bug reports)
8209 Alexei Svitkine (GAS preprocessor)
8210 Samuel Thibault (TASM parser and frontend)
8211
8212-----------------------------------
8213Yasm licensing overview and summary
8214-----------------------------------
8215
8216Note: This document does not provide legal advice nor is it the actual
8217license of any part of Yasm. See the individual licenses for complete
8218details. Consult a lawyer for legal advice.
8219
8220The primary license of Yasm is the 2-clause BSD license. Please use this
8221license if you plan on submitting code to the project.
8222
8223Yasm has absolutely no warranty; not even for merchantibility or fitness
8224for a particular purpose.
8225
8226-------
8227Libyasm
8228-------
8229Libyasm is 2-clause or 3-clause BSD licensed, with the exception of
8230bitvect, which is triple-licensed under the Artistic license, GPL, and
8231LGPL. Libyasm is thus GPL and LGPL compatible. In addition, this also
8232means that libyasm is free for binary-only distribution as long as the
8233terms of the 3-clause BSD license and Artistic license (as it applies to
8234bitvect) are fulfilled.
8235
8236-------
8237Modules
8238-------
8239The modules are 2-clause or 3-clause BSD licensed.
8240
8241---------
8242Frontends
8243---------
8244The frontends are 2-clause BSD licensed.
8245
8246-------------
8247License Texts
8248-------------
8249The full text of all licenses are provided in separate files in the source
8250distribution. Each source file may include the entire license (in the case
8251of the BSD and Artistic licenses), or may reference the GPL or LGPL license
8252file.
8253
8254BSD.txt - 2-clause and 3-clause BSD licenses
8255Artistic.txt - Artistic license
8256GNU_GPL-2.0 - GNU General Public License
8257GNU_LGPL-2.0 - GNU Library General Public License
8258
8259/* zlib.h -- interface of the 'zlib' general purpose compression library
8260 version 1.2.4, March 14th, 2010
8261
8262 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
8263
8264 This software is provided 'as-is', without any express or implied
8265 warranty. In no event will the authors be held liable for any damages
8266 arising from the use of this software.
8267
8268 Permission is granted to anyone to use this software for any purpose,
8269 including commercial applications, and to alter it and redistribute it
8270 freely, subject to the following restrictions:
8271
8272 1. The origin of this software must not be misrepresented; you must not
8273 claim that you wrote the original software. If you use this software
8274 in a product, an acknowledgment in the product documentation would be
8275 appreciated but is not required.
8276 2. Altered source versions must be plainly marked as such, and must not be
8277 misrepresented as being the original software.
8278 3. This notice may not be removed or altered from any source distribution.
8279
8280 Jean-loup Gailly
8281 Mark Adler
8282
8283*/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00008284
8285This license applies to all parts of V8 that are not externally
8286maintained libraries. The externally maintained libraries used by V8
8287are:
8288
8289 - PCRE test suite, located in
8290 test/mjsunit/third_party/regexp-pcre.js. This is based on the
8291 test suite from PCRE-7.3, which is copyrighted by the University
8292 of Cambridge and Google, Inc. The copyright notice and license
8293 are embedded in regexp-pcre.js.
8294
8295 - Layout tests, located in test/mjsunit/third_party. These are
8296 based on layout tests from webkit.org which are copyrighted by
8297 Apple Computer, Inc. and released under a 3-clause BSD license.
8298
8299 - Strongtalk assembler, the basis of the files assembler-arm-inl.h,
8300 assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h,
8301 assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h,
8302 assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h,
8303 assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h.
8304 This code is copyrighted by Sun Microsystems Inc. and released
8305 under a 3-clause BSD license.
8306
8307 - Valgrind client API header, located at third_party/valgrind/valgrind.h
8308 This is release under the BSD license.
8309
8310These libraries have their own licenses; we recommend you read them,
8311as their terms may differ from the terms below.
8312
8313Copyright 2006-2012, the V8 project authors. All rights reserved.
8314Redistribution and use in source and binary forms, with or without
8315modification, are permitted provided that the following conditions are
8316met:
8317
8318 * Redistributions of source code must retain the above copyright
8319 notice, this list of conditions and the following disclaimer.
8320 * Redistributions in binary form must reproduce the above
8321 copyright notice, this list of conditions and the following
8322 disclaimer in the documentation and/or other materials provided
8323 with the distribution.
8324 * Neither the name of Google Inc. nor the names of its
8325 contributors may be used to endorse or promote products derived
8326 from this software without specific prior written permission.
8327
8328THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
8329"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
8330LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8331A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
8332OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8333SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
8334LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8335DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8336THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8337(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8338OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.