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