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