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