blob: 2d19b861e4a1edec2c30e3ea7a61a69feee61ae0 [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
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003855 COPYRIGHTS
3856
3857Compilation copyright is held by the GPSD project. All rights reserved.
3858
3859GPSD project copyrights are assigned to the project lead, currently
3860Eric S. Raymond. Other portions of the GPSD code are Copyright (c)
38611997, 1998, 1999, 2000, 2001, 2002 by Remco Treffkorn, and others
3862Copyright (c) 2005 by Eric S. Raymond. For other copyrights, see
3863individual files.
3864
3865 BSD LICENSE
3866
3867Redistribution and use in source and binary forms, with or without
3868modification, are permitted provided that the following conditions
3869are met:<P>
3870
3871Redistributions of source code must retain the above copyright
3872notice, this list of conditions and the following disclaimer.<P>
3873
3874Redistributions in binary form must reproduce the above copyright
3875notice, this list of conditions and the following disclaimer in the
3876documentation and/or other materials provided with the distribution.<P>
3877
3878Neither name of the GPSD project nor the names of its contributors
3879may be used to endorse or promote products derived from this software
3880without specific prior written permission.
3881
3882THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3883``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3884LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3885A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
3886CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
3887EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
3888PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
3889PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
3890LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
3891NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3892SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3893
3894 GNU LIBRARY GENERAL PUBLIC LICENSE
3895 Version 2, June 1991
3896
3897 Copyright (C) 1991 Free Software Foundation, Inc.
3898 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3899 Everyone is permitted to copy and distribute verbatim copies
3900 of this license document, but changing it is not allowed.
3901
3902[This is the first released version of the library GPL. It is
3903 numbered 2 because it goes with version 2 of the ordinary GPL.]
3904
3905 Preamble
3906
3907 The licenses for most software are designed to take away your
3908freedom to share and change it. By contrast, the GNU General Public
3909Licenses are intended to guarantee your freedom to share and change
3910free software--to make sure the software is free for all its users.
3911
3912 This license, the Library General Public License, applies to some
3913specially designated Free Software Foundation software, and to any
3914other libraries whose authors decide to use it. You can use it for
3915your libraries, too.
3916
3917 When we speak of free software, we are referring to freedom, not
3918price. Our General Public Licenses are designed to make sure that you
3919have the freedom to distribute copies of free software (and charge for
3920this service if you wish), that you receive source code or can get it
3921if you want it, that you can change the software or use pieces of it
3922in new free programs; and that you know you can do these things.
3923
3924 To protect your rights, we need to make restrictions that forbid
3925anyone to deny you these rights or to ask you to surrender the rights.
3926These restrictions translate to certain responsibilities for you if
3927you distribute copies of the library, or if you modify it.
3928
3929 For example, if you distribute copies of the library, whether gratis
3930or for a fee, you must give the recipients all the rights that we gave
3931you. You must make sure that they, too, receive or can get the source
3932code. If you link a program with the library, you must provide
3933complete object files to the recipients so that they can relink them
3934with the library, after making changes to the library and recompiling
3935it. And you must show them these terms so they know their rights.
3936
3937 Our method of protecting your rights has two steps: (1) copyright
3938the library, and (2) offer you this license which gives you legal
3939permission to copy, distribute and/or modify the library.
3940
3941 Also, for each distributor's protection, we want to make certain
3942that everyone understands that there is no warranty for this free
3943library. If the library is modified by someone else and passed on, we
3944want its recipients to know that what they have is not the original
3945version, so that any problems introduced by others will not reflect on
3946the original authors' reputations.
3947
3948 Finally, any free program is threatened constantly by software
3949patents. We wish to avoid the danger that companies distributing free
3950software will individually obtain patent licenses, thus in effect
3951transforming the program into proprietary software. To prevent this,
3952we have made it clear that any patent must be licensed for everyone's
3953free use or not licensed at all.
3954
3955 Most GNU software, including some libraries, is covered by the ordinary
3956GNU General Public License, which was designed for utility programs. This
3957license, the GNU Library General Public License, applies to certain
3958designated libraries. This license is quite different from the ordinary
3959one; be sure to read it in full, and don't assume that anything in it is
3960the same as in the ordinary license.
3961
3962 The reason we have a separate public license for some libraries is that
3963they blur the distinction we usually make between modifying or adding to a
3964program and simply using it. Linking a program with a library, without
3965changing the library, is in some sense simply using the library, and is
3966analogous to running a utility program or application program. However, in
3967a textual and legal sense, the linked executable is a combined work, a
3968derivative of the original library, and the ordinary General Public License
3969treats it as such.
3970
3971 Because of this blurred distinction, using the ordinary General
3972Public License for libraries did not effectively promote software
3973sharing, because most developers did not use the libraries. We
3974concluded that weaker conditions might promote sharing better.
3975
3976 However, unrestricted linking of non-free programs would deprive the
3977users of those programs of all benefit from the free status of the
3978libraries themselves. This Library General Public License is intended to
3979permit developers of non-free programs to use free libraries, while
3980preserving your freedom as a user of such programs to change the free
3981libraries that are incorporated in them. (We have not seen how to achieve
3982this as regards changes in header files, but we have achieved it as regards
3983changes in the actual functions of the Library.) The hope is that this
3984will lead to faster development of free libraries.
3985
3986 The precise terms and conditions for copying, distribution and
3987modification follow. Pay close attention to the difference between a
3988"work based on the library" and a "work that uses the library". The
3989former contains code derived from the library, while the latter only
3990works together with the library.
3991
3992 Note that it is possible for a library to be covered by the ordinary
3993General Public License rather than by this special one.
3994
3995 GNU LIBRARY GENERAL PUBLIC LICENSE
3996 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
3997
3998 0. This License Agreement applies to any software library which
3999contains a notice placed by the copyright holder or other authorized
4000party saying it may be distributed under the terms of this Library
4001General Public License (also called "this License"). Each licensee is
4002addressed as "you".
4003
4004 A "library" means a collection of software functions and/or data
4005prepared so as to be conveniently linked with application programs
4006(which use some of those functions and data) to form executables.
4007
4008 The "Library", below, refers to any such software library or work
4009which has been distributed under these terms. A "work based on the
4010Library" means either the Library or any derivative work under
4011copyright law: that is to say, a work containing the Library or a
4012portion of it, either verbatim or with modifications and/or translated
4013straightforwardly into another language. (Hereinafter, translation is
4014included without limitation in the term "modification".)
4015
4016 "Source code" for a work means the preferred form of the work for
4017making modifications to it. For a library, complete source code means
4018all the source code for all modules it contains, plus any associated
4019interface definition files, plus the scripts used to control compilation
4020and installation of the library.
4021
4022 Activities other than copying, distribution and modification are not
4023covered by this License; they are outside its scope. The act of
4024running a program using the Library is not restricted, and output from
4025such a program is covered only if its contents constitute a work based
4026on the Library (independent of the use of the Library in a tool for
4027writing it). Whether that is true depends on what the Library does
4028and what the program that uses the Library does.
4029
4030 1. You may copy and distribute verbatim copies of the Library's
4031complete source code as you receive it, in any medium, provided that
4032you conspicuously and appropriately publish on each copy an
4033appropriate copyright notice and disclaimer of warranty; keep intact
4034all the notices that refer to this License and to the absence of any
4035warranty; and distribute a copy of this License along with the
4036Library.
4037
4038 You may charge a fee for the physical act of transferring a copy,
4039and you may at your option offer warranty protection in exchange for a
4040fee.
4041
4042 2. You may modify your copy or copies of the Library or any portion
4043of it, thus forming a work based on the Library, and copy and
4044distribute such modifications or work under the terms of Section 1
4045above, provided that you also meet all of these conditions:
4046
4047 a) The modified work must itself be a software library.
4048
4049 b) You must cause the files modified to carry prominent notices
4050 stating that you changed the files and the date of any change.
4051
4052 c) You must cause the whole of the work to be licensed at no
4053 charge to all third parties under the terms of this License.
4054
4055 d) If a facility in the modified Library refers to a function or a
4056 table of data to be supplied by an application program that uses
4057 the facility, other than as an argument passed when the facility
4058 is invoked, then you must make a good faith effort to ensure that,
4059 in the event an application does not supply such function or
4060 table, the facility still operates, and performs whatever part of
4061 its purpose remains meaningful.
4062
4063 (For example, a function in a library to compute square roots has
4064 a purpose that is entirely well-defined independent of the
4065 application. Therefore, Subsection 2d requires that any
4066 application-supplied function or table used by this function must
4067 be optional: if the application does not supply it, the square
4068 root function must still compute square roots.)
4069
4070These requirements apply to the modified work as a whole. If
4071identifiable sections of that work are not derived from the Library,
4072and can be reasonably considered independent and separate works in
4073themselves, then this License, and its terms, do not apply to those
4074sections when you distribute them as separate works. But when you
4075distribute the same sections as part of a whole which is a work based
4076on the Library, the distribution of the whole must be on the terms of
4077this License, whose permissions for other licensees extend to the
4078entire whole, and thus to each and every part regardless of who wrote
4079it.
4080
4081Thus, it is not the intent of this section to claim rights or contest
4082your rights to work written entirely by you; rather, the intent is to
4083exercise the right to control the distribution of derivative or
4084collective works based on the Library.
4085
4086In addition, mere aggregation of another work not based on the Library
4087with the Library (or with a work based on the Library) on a volume of
4088a storage or distribution medium does not bring the other work under
4089the scope of this License.
4090
4091 3. You may opt to apply the terms of the ordinary GNU General Public
4092License instead of this License to a given copy of the Library. To do
4093this, you must alter all the notices that refer to this License, so
4094that they refer to the ordinary GNU General Public License, version 2,
4095instead of to this License. (If a newer version than version 2 of the
4096ordinary GNU General Public License has appeared, then you can specify
4097that version instead if you wish.) Do not make any other change in
4098these notices.
4099
4100 Once this change is made in a given copy, it is irreversible for
4101that copy, so the ordinary GNU General Public License applies to all
4102subsequent copies and derivative works made from that copy.
4103
4104 This option is useful when you wish to copy part of the code of
4105the Library into a program that is not a library.
4106
4107 4. You may copy and distribute the Library (or a portion or
4108derivative of it, under Section 2) in object code or executable form
4109under the terms of Sections 1 and 2 above provided that you accompany
4110it with the complete corresponding machine-readable source code, which
4111must be distributed under the terms of Sections 1 and 2 above on a
4112medium customarily used for software interchange.
4113
4114 If distribution of object code is made by offering access to copy
4115from a designated place, then offering equivalent access to copy the
4116source code from the same place satisfies the requirement to
4117distribute the source code, even though third parties are not
4118compelled to copy the source along with the object code.
4119
4120 5. A program that contains no derivative of any portion of the
4121Library, but is designed to work with the Library by being compiled or
4122linked with it, is called a "work that uses the Library". Such a
4123work, in isolation, is not a derivative work of the Library, and
4124therefore falls outside the scope of this License.
4125
4126 However, linking a "work that uses the Library" with the Library
4127creates an executable that is a derivative of the Library (because it
4128contains portions of the Library), rather than a "work that uses the
4129library". The executable is therefore covered by this License.
4130Section 6 states terms for distribution of such executables.
4131
4132 When a "work that uses the Library" uses material from a header file
4133that is part of the Library, the object code for the work may be a
4134derivative work of the Library even though the source code is not.
4135Whether this is true is especially significant if the work can be
4136linked without the Library, or if the work is itself a library. The
4137threshold for this to be true is not precisely defined by law.
4138
4139 If such an object file uses only numerical parameters, data
4140structure layouts and accessors, and small macros and small inline
4141functions (ten lines or less in length), then the use of the object
4142file is unrestricted, regardless of whether it is legally a derivative
4143work. (Executables containing this object code plus portions of the
4144Library will still fall under Section 6.)
4145
4146 Otherwise, if the work is a derivative of the Library, you may
4147distribute the object code for the work under the terms of Section 6.
4148Any executables containing that work also fall under Section 6,
4149whether or not they are linked directly with the Library itself.
4150
4151 6. As an exception to the Sections above, you may also compile or
4152link a "work that uses the Library" with the Library to produce a
4153work containing portions of the Library, and distribute that work
4154under terms of your choice, provided that the terms permit
4155modification of the work for the customer's own use and reverse
4156engineering for debugging such modifications.
4157
4158 You must give prominent notice with each copy of the work that the
4159Library is used in it and that the Library and its use are covered by
4160this License. You must supply a copy of this License. If the work
4161during execution displays copyright notices, you must include the
4162copyright notice for the Library among them, as well as a reference
4163directing the user to the copy of this License. Also, you must do one
4164of these things:
4165
4166 a) Accompany the work with the complete corresponding
4167 machine-readable source code for the Library including whatever
4168 changes were used in the work (which must be distributed under
4169 Sections 1 and 2 above); and, if the work is an executable linked
4170 with the Library, with the complete machine-readable "work that
4171 uses the Library", as object code and/or source code, so that the
4172 user can modify the Library and then relink to produce a modified
4173 executable containing the modified Library. (It is understood
4174 that the user who changes the contents of definitions files in the
4175 Library will not necessarily be able to recompile the application
4176 to use the modified definitions.)
4177
4178 b) Accompany the work with a written offer, valid for at
4179 least three years, to give the same user the materials
4180 specified in Subsection 6a, above, for a charge no more
4181 than the cost of performing this distribution.
4182
4183 c) If distribution of the work is made by offering access to copy
4184 from a designated place, offer equivalent access to copy the above
4185 specified materials from the same place.
4186
4187 d) Verify that the user has already received a copy of these
4188 materials or that you have already sent this user a copy.
4189
4190 For an executable, the required form of the "work that uses the
4191Library" must include any data and utility programs needed for
4192reproducing the executable from it. However, as a special exception,
4193the source code distributed need not include anything that is normally
4194distributed (in either source or binary form) with the major
4195components (compiler, kernel, and so on) of the operating system on
4196which the executable runs, unless that component itself accompanies
4197the executable.
4198
4199 It may happen that this requirement contradicts the license
4200restrictions of other proprietary libraries that do not normally
4201accompany the operating system. Such a contradiction means you cannot
4202use both them and the Library together in an executable that you
4203distribute.
4204
4205 7. You may place library facilities that are a work based on the
4206Library side-by-side in a single library together with other library
4207facilities not covered by this License, and distribute such a combined
4208library, provided that the separate distribution of the work based on
4209the Library and of the other library facilities is otherwise
4210permitted, and provided that you do these two things:
4211
4212 a) Accompany the combined library with a copy of the same work
4213 based on the Library, uncombined with any other library
4214 facilities. This must be distributed under the terms of the
4215 Sections above.
4216
4217 b) Give prominent notice with the combined library of the fact
4218 that part of it is a work based on the Library, and explaining
4219 where to find the accompanying uncombined form of the same work.
4220
4221 8. You may not copy, modify, sublicense, link with, or distribute
4222the Library except as expressly provided under this License. Any
4223attempt otherwise to copy, modify, sublicense, link with, or
4224distribute the Library is void, and will automatically terminate your
4225rights under this License. However, parties who have received copies,
4226or rights, from you under this License will not have their licenses
4227terminated so long as such parties remain in full compliance.
4228
4229 9. You are not required to accept this License, since you have not
4230signed it. However, nothing else grants you permission to modify or
4231distribute the Library or its derivative works. These actions are
4232prohibited by law if you do not accept this License. Therefore, by
4233modifying or distributing the Library (or any work based on the
4234Library), you indicate your acceptance of this License to do so, and
4235all its terms and conditions for copying, distributing or modifying
4236the Library or works based on it.
4237
4238 10. Each time you redistribute the Library (or any work based on the
4239Library), the recipient automatically receives a license from the
4240original licensor to copy, distribute, link with or modify the Library
4241subject to these terms and conditions. You may not impose any further
4242restrictions on the recipients' exercise of the rights granted herein.
4243You are not responsible for enforcing compliance by third parties to
4244this License.
4245
4246 11. If, as a consequence of a court judgment or allegation of patent
4247infringement or for any other reason (not limited to patent issues),
4248conditions are imposed on you (whether by court order, agreement or
4249otherwise) that contradict the conditions of this License, they do not
4250excuse you from the conditions of this License. If you cannot
4251distribute so as to satisfy simultaneously your obligations under this
4252License and any other pertinent obligations, then as a consequence you
4253may not distribute the Library at all. For example, if a patent
4254license would not permit royalty-free redistribution of the Library by
4255all those who receive copies directly or indirectly through you, then
4256the only way you could satisfy both it and this License would be to
4257refrain entirely from distribution of the Library.
4258
4259If any portion of this section is held invalid or unenforceable under any
4260particular circumstance, the balance of the section is intended to apply,
4261and the section as a whole is intended to apply in other circumstances.
4262
4263It is not the purpose of this section to induce you to infringe any
4264patents or other property right claims or to contest validity of any
4265such claims; this section has the sole purpose of protecting the
4266integrity of the free software distribution system which is
4267implemented by public license practices. Many people have made
4268generous contributions to the wide range of software distributed
4269through that system in reliance on consistent application of that
4270system; it is up to the author/donor to decide if he or she is willing
4271to distribute software through any other system and a licensee cannot
4272impose that choice.
4273
4274This section is intended to make thoroughly clear what is believed to
4275be a consequence of the rest of this License.
4276
4277 12. If the distribution and/or use of the Library is restricted in
4278certain countries either by patents or by copyrighted interfaces, the
4279original copyright holder who places the Library under this License may add
4280an explicit geographical distribution limitation excluding those countries,
4281so that distribution is permitted only in or among countries not thus
4282excluded. In such case, this License incorporates the limitation as if
4283written in the body of this License.
4284
4285 13. The Free Software Foundation may publish revised and/or new
4286versions of the Library General Public License from time to time.
4287Such new versions will be similar in spirit to the present version,
4288but may differ in detail to address new problems or concerns.
4289
4290Each version is given a distinguishing version number. If the Library
4291specifies a version number of this License which applies to it and
4292"any later version", you have the option of following the terms and
4293conditions either of that version or of any later version published by
4294the Free Software Foundation. If the Library does not specify a
4295license version number, you may choose any version ever published by
4296the Free Software Foundation.
4297
4298 14. If you wish to incorporate parts of the Library into other free
4299programs whose distribution conditions are incompatible with these,
4300write to the author to ask for permission. For software which is
4301copyrighted by the Free Software Foundation, write to the Free
4302Software Foundation; we sometimes make exceptions for this. Our
4303decision will be guided by the two goals of preserving the free status
4304of all derivatives of our free software and of promoting the sharing
4305and reuse of software generally.
4306
4307 NO WARRANTY
4308
4309 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
4310WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
4311EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
4312OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
4313KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
4314IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4315PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
4316LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
4317THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
4318
4319 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
4320WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
4321AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
4322FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
4323CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
4324LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
4325RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
4326FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
4327SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
4328DAMAGES.
4329
4330 END OF TERMS AND CONDITIONS
4331
4332 How to Apply These Terms to Your New Libraries
4333
4334 If you develop a new library, and you want it to be of the greatest
4335possible use to the public, we recommend making it free software that
4336everyone can redistribute and change. You can do so by permitting
4337redistribution under these terms (or, alternatively, under the terms of the
4338ordinary General Public License).
4339
4340 To apply these terms, attach the following notices to the library. It is
4341safest to attach them to the start of each source file to most effectively
4342convey the exclusion of warranty; and each file should have at least the
4343"copyright" line and a pointer to where the full notice is found.
4344
4345 <one line to give the library's name and a brief idea of what it does.>
4346 Copyright (C) <year> <name of author>
4347
4348 This library is free software; you can redistribute it and/or
4349 modify it under the terms of the GNU Library General Public
4350 License as published by the Free Software Foundation; either
4351 version 2 of the License, or (at your option) any later version.
4352
4353 This library is distributed in the hope that it will be useful,
4354 but WITHOUT ANY WARRANTY; without even the implied warranty of
4355 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4356 Library General Public License for more details.
4357
4358 You should have received a copy of the GNU Library General Public
4359 License along with this library; if not, write to the
4360 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4361 Boston, MA 02111-1307 USA.
4362
4363Also add information on how to contact you by electronic and paper mail.
4364
4365You should also get your employer (if you work as a programmer) or your
4366school, if any, to sign a "copyright disclaimer" for the library, if
4367necessary. Here is a sample; alter the names:
4368
4369 Yoyodyne, Inc., hereby disclaims all copyright interest in the
4370 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
4371
4372 <signature of Ty Coon>, 1 April 1990
4373 Ty Coon, President of Vice
4374
4375That's all there is to it!
4376
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01004377HarfBuzz is licensed under the so-called "Old MIT" license. Details follow.
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +01004378For parts of HarfBuzz that are licensed under different licenses see individual
4379files names COPYING in subdirectories where applicable.
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01004380
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +01004381Copyright © 2010,2011,2012 Google, Inc.
4382Copyright © 2012 Mozilla Foundation
4383Copyright © 2011 Codethink Limited
4384Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies)
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01004385Copyright © 2009 Keith Stribley
4386Copyright © 2009 Martin Hosken and SIL International
4387Copyright © 2007 Chris Wilson
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +01004388Copyright © 2006 Behdad Esfahbod
4389Copyright © 2005 David Turner
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01004390Copyright © 2004,2007,2008,2009,2010 Red Hat, Inc.
4391Copyright © 1998-2004 David Turner and Werner Lemberg
4392
4393For full copyright notices consult the individual files in the package.
4394
4395
4396Permission is hereby granted, without written agreement and without
4397license or royalty fees, to use, copy, modify, and distribute this
4398software and its documentation for any purpose, provided that the
4399above copyright notice and the following two paragraphs appear in
4400all copies of this software.
4401
4402IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
4403DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
4404ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
4405IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
4406DAMAGE.
4407
4408THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
4409BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
4410FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
4411ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
4412PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
4413
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004414/*************************************************************************
4415 *
4416 * IAccessible2 IDL Specification
4417 *
4418 * Copyright (c) 2007, 2010 Linux Foundation
4419 * Copyright (c) 2006 IBM Corporation
4420 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
4421 * All rights reserved.
4422 *
4423 *
4424 * Redistribution and use in source and binary forms, with or without
4425 * modification, are permitted provided that the following conditions
4426 * are met:
4427 *
4428 * 1. Redistributions of source code must retain the above copyright
4429 * notice, this list of conditions and the following disclaimer.
4430 *
4431 * 2. Redistributions in binary form must reproduce the above
4432 * copyright notice, this list of conditions and the following
4433 * disclaimer in the documentation and/or other materials
4434 * provided with the distribution.
4435 *
4436 * 3. Neither the name of the Linux Foundation nor the names of its
4437 * contributors may be used to endorse or promote products
4438 * derived from this software without specific prior written
4439 * permission.
4440 *
4441 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
4442 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
4443 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
4444 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4445 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4446 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4447 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4448 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
4449 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4450 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
4451 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
4452 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4453 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4454 *
4455 * This BSD License conforms to the Open Source Initiative "Simplified
4456 * BSD License" as published at:
4457 * http://www.opensource.org/licenses/bsd-license.php
4458 *
4459 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
4460 * mark may be used in accordance with the Linux Foundation Trademark
4461 * Policy to indicate compliance with the IAccessible2 specification.
4462 *
4463 ************************************************************************/
4464
4465LICENSE extracted from IJG's jpeg distribution:
4466-----------------------------------------------
4467
4468In plain English:
4469
44701. We don't promise that this software works. (But if you find any bugs,
4471 please let us know!)
44722. You can use this software for whatever you want. You don't have to pay us.
44733. You may not pretend that you wrote this software. If you use it in a
4474 program, you must acknowledge somewhere in your documentation that
4475 you've used the IJG code.
4476
4477In legalese:
4478
4479The authors make NO WARRANTY or representation, either express or implied,
4480with respect to this software, its quality, accuracy, merchantability, or
4481fitness for a particular purpose. This software is provided "AS IS", and you,
4482its user, assume the entire risk as to its quality and accuracy.
4483
4484This software is copyright (C) 1991-1998, Thomas G. Lane.
4485All Rights Reserved except as specified below.
4486
4487Permission is hereby granted to use, copy, modify, and distribute this
4488software (or portions thereof) for any purpose, without fee, subject to these
4489conditions:
4490(1) If any part of the source code for this software is distributed, then this
4491README file must be included, with this copyright and no-warranty notice
4492unaltered; and any additions, deletions, or changes to the original files
4493must be clearly indicated in accompanying documentation.
4494(2) If only executable code is distributed, then the accompanying
4495documentation must state that "this software is based in part on the work of
4496the Independent JPEG Group".
4497(3) Permission for use of this software is granted only if the user accepts
4498full responsibility for any undesirable consequences; the authors accept
4499NO LIABILITY for damages of any kind.
4500
4501These conditions apply to any software derived from or based on the IJG code,
4502not just to the unmodified library. If you use our work, you ought to
4503acknowledge us.
4504
4505Permission is NOT granted for the use of any IJG author's name or company name
4506in advertising or publicity relating to this software or products derived from
4507it. This software may be referred to only as "the Independent JPEG Group's
4508software".
4509
4510We specifically permit and encourage the use of this software as the basis of
4511commercial products, provided that all warranty or liability claims are
4512assumed by the product vendor.
4513
4514
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004515ICU License - ICU 1.8.1 and later
4516
4517COPYRIGHT AND PERMISSION NOTICE
4518
4519Copyright (c) 1995-2010 International Business Machines Corporation and others
4520
4521All rights reserved.
4522
4523Permission is hereby granted, free of charge, to any person obtaining a copy
4524of this software and associated documentation files (the "Software"),
4525to deal in the Software without restriction, including without limitation
4526the rights to use, copy, modify, merge, publish, distribute, and/or sell
4527copies of the Software, and to permit persons
4528to whom the Software is furnished to do so, provided that the above
4529copyright notice(s) and this permission notice appear in all copies
4530of the Software and that both the above copyright notice(s) and this
4531permission notice appear in supporting documentation.
4532
4533THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
4534INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
4535PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL
4536THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM,
4537OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
4538RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4539NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
4540USE OR PERFORMANCE OF THIS SOFTWARE.
4541
4542Except as contained in this notice, the name of a copyright holder shall not be
4543used in advertising or otherwise to promote the sale, use or other dealings in
4544this Software without prior written authorization of the copyright holder.
4545
4546All trademarks and registered trademarks mentioned herein are the property of their respective owners.
4547
4548/* ***** BEGIN LICENSE BLOCK *****
4549 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4550 *
4551 * The contents of this file are subject to the Mozilla Public License Version
4552 * 1.1 (the "License"); you may not use this file except in compliance with
4553 * the License. You may obtain a copy of the License at
4554 * http://www.mozilla.org/MPL/
4555 *
4556 * Software distributed under the License is distributed on an "AS IS" basis,
4557 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
4558 * for the specific language governing rights and limitations under the
4559 * License.
4560 *
4561 * The Original Code is mozilla.org code.
4562 *
4563 * The Initial Developer of the Original Code is
4564 * Netscape Communications Corporation.
4565 * Portions created by the Initial Developer are Copyright (C) 2002
4566 * the Initial Developer. All Rights Reserved.
4567 *
4568 * Contributor(s):
4569 *
4570 * Alternatively, the contents of this file may be used under the terms of
4571 * either the GNU General Public License Version 2 or later (the "GPL"), or
4572 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
4573 * in which case the provisions of the GPL or the LGPL are applicable instead
4574 * of those above. If you wish to allow use of your version of this file only
4575 * under the terms of either the GPL or the LGPL, and not to allow others to
4576 * use your version of this file under the terms of the MPL, indicate your
4577 * decision by deleting the provisions above and replace them with the notice
4578 * and other provisions required by the GPL or the LGPL. If you do not delete
4579 * the provisions above, a recipient may use your version of this file under
4580 * the terms of any one of the MPL, the GPL or the LGPL.
4581 *
4582 * ***** END LICENSE BLOCK ***** */
4583
4584The following is the license for the jemalloc source code, as provided
4585in the initial section of the source files.
4586
4587Copyright (C) 2006-2008 Jason Evans <jasone@FreeBSD.org>.
4588All rights reserved.
4589
4590Redistribution and use in source and binary forms, with or without
4591modification, are permitted provided that the following conditions
4592are met:
45931. Redistributions of source code must retain the above copyright
4594 notice(s), this list of conditions and the following disclaimer as
4595 the first lines of this file unmodified other than the possible
4596 addition of one or more copyright notices.
45972. Redistributions in binary form must reproduce the above copyright
4598 notice(s), this list of conditions and the following disclaimer in
4599 the documentation and/or other materials provided with the
4600 distribution.
4601
4602THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
4603EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4604IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4605PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE
4606LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
4607CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
4608SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
4609BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
4610WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
4611OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4612EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4613
4614
4615The JsonCpp library's source code, including accompanying documentation,
4616tests and demonstration applications, are licensed under the following
4617conditions...
4618
4619The author (Baptiste Lepilleur) explicitly disclaims copyright in all
4620jurisdictions which recognize such a disclaimer. In such jurisdictions,
4621this software is released into the Public Domain.
4622
4623In jurisdictions which do not recognize Public Domain property (e.g. Germany as of
46242010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is
4625released under the terms of the MIT License (see below).
4626
4627In jurisdictions which recognize Public Domain property, the user of this
4628software may choose to accept it either as 1) Public Domain, 2) under the
4629conditions of the MIT License (see below), or 3) under the terms of dual
4630Public Domain/MIT License conditions described here, as they choose.
4631
4632The MIT License is about as close to Public Domain as a license can get, and is
4633described in clear, concise terms at:
4634
4635 http://en.wikipedia.org/wiki/MIT_License
4636
4637The full text of the MIT License follows:
4638
4639========================================================================
4640Copyright (c) 2007-2010 Baptiste Lepilleur
4641
4642Permission is hereby granted, free of charge, to any person
4643obtaining a copy of this software and associated documentation
4644files (the "Software"), to deal in the Software without
4645restriction, including without limitation the rights to use, copy,
4646modify, merge, publish, distribute, sublicense, and/or sell copies
4647of the Software, and to permit persons to whom the Software is
4648furnished to do so, subject to the following conditions:
4649
4650The above copyright notice and this permission notice shall be
4651included in all copies or substantial portions of the Software.
4652
4653THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
4654EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4655MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4656NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
4657BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
4658ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
4659CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4660SOFTWARE.
4661========================================================================
4662(END LICENSE TEXT)
4663
4664The MIT license is compatible with both the GPL and commercial
4665software, affording one all of the rights of Public Domain with the
4666minor nuisance of being required to keep the above copyright notice
4667and license text in the source code. Note also that by accepting the
4668Public Domain "license" you can re-license your copy using whatever
4669license you like.
4670
Torne (Richard Coles)58218062012-11-14 11:43:16 +00004671
4672 Apache License
4673 Version 2.0, January 2004
4674 http://www.apache.org/licenses/
4675
4676 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
4677
4678 1. Definitions.
4679
4680 "License" shall mean the terms and conditions for use, reproduction,
4681 and distribution as defined by Sections 1 through 9 of this document.
4682
4683 "Licensor" shall mean the copyright owner or entity authorized by
4684 the copyright owner that is granting the License.
4685
4686 "Legal Entity" shall mean the union of the acting entity and all
4687 other entities that control, are controlled by, or are under common
4688 control with that entity. For the purposes of this definition,
4689 "control" means (i) the power, direct or indirect, to cause the
4690 direction or management of such entity, whether by contract or
4691 otherwise, or (ii) ownership of fifty percent (50%) or more of the
4692 outstanding shares, or (iii) beneficial ownership of such entity.
4693
4694 "You" (or "Your") shall mean an individual or Legal Entity
4695 exercising permissions granted by this License.
4696
4697 "Source" form shall mean the preferred form for making modifications,
4698 including but not limited to software source code, documentation
4699 source, and configuration files.
4700
4701 "Object" form shall mean any form resulting from mechanical
4702 transformation or translation of a Source form, including but
4703 not limited to compiled object code, generated documentation,
4704 and conversions to other media types.
4705
4706 "Work" shall mean the work of authorship, whether in Source or
4707 Object form, made available under the License, as indicated by a
4708 copyright notice that is included in or attached to the work
4709 (an example is provided in the Appendix below).
4710
4711 "Derivative Works" shall mean any work, whether in Source or Object
4712 form, that is based on (or derived from) the Work and for which the
4713 editorial revisions, annotations, elaborations, or other modifications
4714 represent, as a whole, an original work of authorship. For the purposes
4715 of this License, Derivative Works shall not include works that remain
4716 separable from, or merely link (or bind by name) to the interfaces of,
4717 the Work and Derivative Works thereof.
4718
4719 "Contribution" shall mean any work of authorship, including
4720 the original version of the Work and any modifications or additions
4721 to that Work or Derivative Works thereof, that is intentionally
4722 submitted to Licensor for inclusion in the Work by the copyright owner
4723 or by an individual or Legal Entity authorized to submit on behalf of
4724 the copyright owner. For the purposes of this definition, "submitted"
4725 means any form of electronic, verbal, or written communication sent
4726 to the Licensor or its representatives, including but not limited to
4727 communication on electronic mailing lists, source code control systems,
4728 and issue tracking systems that are managed by, or on behalf of, the
4729 Licensor for the purpose of discussing and improving the Work, but
4730 excluding communication that is conspicuously marked or otherwise
4731 designated in writing by the copyright owner as "Not a Contribution."
4732
4733 "Contributor" shall mean Licensor and any individual or Legal Entity
4734 on behalf of whom a Contribution has been received by Licensor and
4735 subsequently incorporated within the Work.
4736
4737 2. Grant of Copyright License. Subject to the terms and conditions of
4738 this License, each Contributor hereby grants to You a perpetual,
4739 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
4740 copyright license to reproduce, prepare Derivative Works of,
4741 publicly display, publicly perform, sublicense, and distribute the
4742 Work and such Derivative Works in Source or Object form.
4743
4744 3. Grant of Patent 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 (except as stated in this section) patent license to make, have made,
4748 use, offer to sell, sell, import, and otherwise transfer the Work,
4749 where such license applies only to those patent claims licensable
4750 by such Contributor that are necessarily infringed by their
4751 Contribution(s) alone or by combination of their Contribution(s)
4752 with the Work to which such Contribution(s) was submitted. If You
4753 institute patent litigation against any entity (including a
4754 cross-claim or counterclaim in a lawsuit) alleging that the Work
4755 or a Contribution incorporated within the Work constitutes direct
4756 or contributory patent infringement, then any patent licenses
4757 granted to You under this License for that Work shall terminate
4758 as of the date such litigation is filed.
4759
4760 4. Redistribution. You may reproduce and distribute copies of the
4761 Work or Derivative Works thereof in any medium, with or without
4762 modifications, and in Source or Object form, provided that You
4763 meet the following conditions:
4764
4765 (a) You must give any other recipients of the Work or
4766 Derivative Works a copy of this License; and
4767
4768 (b) You must cause any modified files to carry prominent notices
4769 stating that You changed the files; and
4770
4771 (c) You must retain, in the Source form of any Derivative Works
4772 that You distribute, all copyright, patent, trademark, and
4773 attribution notices from the Source form of the Work,
4774 excluding those notices that do not pertain to any part of
4775 the Derivative Works; and
4776
4777 (d) If the Work includes a "NOTICE" text file as part of its
4778 distribution, then any Derivative Works that You distribute must
4779 include a readable copy of the attribution notices contained
4780 within such NOTICE file, excluding those notices that do not
4781 pertain to any part of the Derivative Works, in at least one
4782 of the following places: within a NOTICE text file distributed
4783 as part of the Derivative Works; within the Source form or
4784 documentation, if provided along with the Derivative Works; or,
4785 within a display generated by the Derivative Works, if and
4786 wherever such third-party notices normally appear. The contents
4787 of the NOTICE file are for informational purposes only and
4788 do not modify the License. You may add Your own attribution
4789 notices within Derivative Works that You distribute, alongside
4790 or as an addendum to the NOTICE text from the Work, provided
4791 that such additional attribution notices cannot be construed
4792 as modifying the License.
4793
4794 You may add Your own copyright statement to Your modifications and
4795 may provide additional or different license terms and conditions
4796 for use, reproduction, or distribution of Your modifications, or
4797 for any such Derivative Works as a whole, provided Your use,
4798 reproduction, and distribution of the Work otherwise complies with
4799 the conditions stated in this License.
4800
4801 5. Submission of Contributions. Unless You explicitly state otherwise,
4802 any Contribution intentionally submitted for inclusion in the Work
4803 by You to the Licensor shall be under the terms and conditions of
4804 this License, without any additional terms or conditions.
4805 Notwithstanding the above, nothing herein shall supersede or modify
4806 the terms of any separate license agreement you may have executed
4807 with Licensor regarding such Contributions.
4808
4809 6. Trademarks. This License does not grant permission to use the trade
4810 names, trademarks, service marks, or product names of the Licensor,
4811 except as required for reasonable and customary use in describing the
4812 origin of the Work and reproducing the content of the NOTICE file.
4813
4814 7. Disclaimer of Warranty. Unless required by applicable law or
4815 agreed to in writing, Licensor provides the Work (and each
4816 Contributor provides its Contributions) on an "AS IS" BASIS,
4817 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
4818 implied, including, without limitation, any warranties or conditions
4819 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
4820 PARTICULAR PURPOSE. You are solely responsible for determining the
4821 appropriateness of using or redistributing the Work and assume any
4822 risks associated with Your exercise of permissions under this License.
4823
4824 8. Limitation of Liability. In no event and under no legal theory,
4825 whether in tort (including negligence), contract, or otherwise,
4826 unless required by applicable law (such as deliberate and grossly
4827 negligent acts) or agreed to in writing, shall any Contributor be
4828 liable to You for damages, including any direct, indirect, special,
4829 incidental, or consequential damages of any character arising as a
4830 result of this License or out of the use or inability to use the
4831 Work (including but not limited to damages for loss of goodwill,
4832 work stoppage, computer failure or malfunction, or any and all
4833 other commercial damages or losses), even if such Contributor
4834 has been advised of the possibility of such damages.
4835
4836 9. Accepting Warranty or Additional Liability. While redistributing
4837 the Work or Derivative Works thereof, You may choose to offer,
4838 and charge a fee for, acceptance of support, warranty, indemnity,
4839 or other liability obligations and/or rights consistent with this
4840 License. However, in accepting such obligations, You may act only
4841 on Your own behalf and on Your sole responsibility, not on behalf
4842 of any other Contributor, and only if You agree to indemnify,
4843 defend, and hold each Contributor harmless for any liability
4844 incurred by, or claims asserted against, such Contributor by reason
4845 of your accepting any such warranty or additional liability.
4846
4847 END OF TERMS AND CONDITIONS
4848
4849 APPENDIX: How to apply the Apache License to your work.
4850
4851 To apply the Apache License to your work, attach the following
4852 boilerplate notice, with the fields enclosed by brackets "[]"
4853 replaced with your own identifying information. (Don't include
4854 the brackets!) The text should be enclosed in the appropriate
4855 comment syntax for the file format. We also recommend that a
4856 file or class name and description of purpose be included on the
4857 same "printed page" as the copyright notice for easier
4858 identification within third-party archives.
4859
4860 Copyright [yyyy] [name of copyright owner]
4861
4862 Licensed under the Apache License, Version 2.0 (the "License");
4863 you may not use this file except in compliance with the License.
4864 You may obtain a copy of the License at
4865
4866 http://www.apache.org/licenses/LICENSE-2.0
4867
4868 Unless required by applicable law or agreed to in writing, software
4869 distributed under the License is distributed on an "AS IS" BASIS,
4870 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4871 See the License for the specific language governing permissions and
4872 limitations under the License.
4873
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004874Copyright (c) 2007-2010 The Khronos Group Inc.
4875
4876Permission is hereby granted, free of charge, to any person obtaining a
4877copy of this software and/or associated documentation files (the
4878"Materials"), to deal in the Materials without restriction, including
4879without limitation the rights to use, copy, modify, merge, publish,
4880distribute, sublicense, and/or sell copies of the Materials, and to
4881permit persons to whom the Materials are furnished to do so, subject to
4882the following conditions:
4883
4884The above copyright notice and this permission notice shall be included
4885in all copies or substantial portions of the Materials.
4886
4887THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
4888EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4889MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
4890IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
4891CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
4892TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
4893MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
4894
4895
4896SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
4897
4898Copyright (C) 1992 Silicon Graphics, Inc. All Rights Reserved.
4899
4900Permission is hereby granted, free of charge, to any person obtaining a copy of
4901this software and associated documentation files (the "Software"), to deal in
4902the Software without restriction, including without limitation the rights to
4903use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
4904of the Software, and to permit persons to whom the Software is furnished to do
4905so, subject to the following conditions:
4906
4907The above copyright notice including the dates of first publication and either
4908this permission notice or a reference to http://oss.sgi.com/projects/FreeB/
4909shall be included in all copies or substantial portions of the Software.
4910
4911THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4912IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
4913FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SILICON
4914GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
4915AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
4916WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4917
4918Except as contained in this notice, the name of Silicon Graphics, Inc. shall
4919not be used in advertising or otherwise to promote the sale, use or other
4920dealings in this Software without prior written authorization from Silicon
4921Graphics, Inc.
4922
4923Redistribution and use in source and binary forms, with or without
4924modification, are permitted provided that the following conditions are
4925met:
4926
4927 * Redistributions of source code must retain the above copyright
4928 notice, this list of conditions and the following disclaimer.
4929
4930 * Redistributions in binary form must reproduce the above
4931 copyright notice, this list of conditions and the following
4932 disclaimer in the documentation and/or other materials provided
4933 with the distribution.
4934
4935 * Neither the name of the copyright holders nor the names of its
4936 contributors may be used to endorse or promote products derived
4937 from this software without specific prior written permission.
4938
4939THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4940"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
4941LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
4942A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
4943HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4944SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
4945LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
4946DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4947THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4948(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4949OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4950
4951License copied from bin/lcov:
4952
4953#
4954# Copyright (c) International Business Machines Corp., 2002,2007
4955#
4956# This program is free software; you can redistribute it and/or modify
4957# it under the terms of the GNU General Public License as published by
4958# the Free Software Foundation; either version 2 of the License, or (at
4959# your option) any later version.
4960#
4961# This program is distributed in the hope that it will be useful, but
4962# WITHOUT ANY WARRANTY; without even the implied warranty of
4963# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4964# General Public License for more details.
4965#
4966# You should have received a copy of the GNU General Public License
4967# along with this program; if not, write to the Free Software
4968# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
4969
4970 GNU GENERAL PUBLIC LICENSE
4971 Version 2, June 1991
4972
4973 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
4974 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
4975 Everyone is permitted to copy and distribute verbatim copies
4976 of this license document, but changing it is not allowed.
4977
4978 Preamble
4979
4980 The licenses for most software are designed to take away your
4981freedom to share and change it. By contrast, the GNU General Public
4982License is intended to guarantee your freedom to share and change free
4983software--to make sure the software is free for all its users. This
4984General Public License applies to most of the Free Software
4985Foundation's software and to any other program whose authors commit to
4986using it. (Some other Free Software Foundation software is covered by
4987the GNU Lesser General Public License instead.) You can apply it to
4988your programs, too.
4989
4990 When we speak of free software, we are referring to freedom, not
4991price. Our General Public Licenses are designed to make sure that you
4992have the freedom to distribute copies of free software (and charge for
4993this service if you wish), that you receive source code or can get it
4994if you want it, that you can change the software or use pieces of it
4995in new free programs; and that you know you can do these things.
4996
4997 To protect your rights, we need to make restrictions that forbid
4998anyone to deny you these rights or to ask you to surrender the rights.
4999These restrictions translate to certain responsibilities for you if you
5000distribute copies of the software, or if you modify it.
5001
5002 For example, if you distribute copies of such a program, whether
5003gratis or for a fee, you must give the recipients all the rights that
5004you have. You must make sure that they, too, receive or can get the
5005source code. And you must show them these terms so they know their
5006rights.
5007
5008 We protect your rights with two steps: (1) copyright the software, and
5009(2) offer you this license which gives you legal permission to copy,
5010distribute and/or modify the software.
5011
5012 Also, for each author's protection and ours, we want to make certain
5013that everyone understands that there is no warranty for this free
5014software. If the software is modified by someone else and passed on, we
5015want its recipients to know that what they have is not the original, so
5016that any problems introduced by others will not reflect on the original
5017authors' reputations.
5018
5019 Finally, any free program is threatened constantly by software
5020patents. We wish to avoid the danger that redistributors of a free
5021program will individually obtain patent licenses, in effect making the
5022program proprietary. To prevent this, we have made it clear that any
5023patent must be licensed for everyone's free use or not licensed at all.
5024
5025 The precise terms and conditions for copying, distribution and
5026modification follow.
5027
5028 GNU GENERAL PUBLIC LICENSE
5029 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
5030
5031 0. This License applies to any program or other work which contains
5032a notice placed by the copyright holder saying it may be distributed
5033under the terms of this General Public License. The "Program", below,
5034refers to any such program or work, and a "work based on the Program"
5035means either the Program or any derivative work under copyright law:
5036that is to say, a work containing the Program or a portion of it,
5037either verbatim or with modifications and/or translated into another
5038language. (Hereinafter, translation is included without limitation in
5039the term "modification".) Each licensee is addressed as "you".
5040
5041Activities other than copying, distribution and modification are not
5042covered by this License; they are outside its scope. The act of
5043running the Program is not restricted, and the output from the Program
5044is covered only if its contents constitute a work based on the
5045Program (independent of having been made by running the Program).
5046Whether that is true depends on what the Program does.
5047
5048 1. You may copy and distribute verbatim copies of the Program's
5049source code as you receive it, in any medium, provided that you
5050conspicuously and appropriately publish on each copy an appropriate
5051copyright notice and disclaimer of warranty; keep intact all the
5052notices that refer to this License and to the absence of any warranty;
5053and give any other recipients of the Program a copy of this License
5054along with the Program.
5055
5056You may charge a fee for the physical act of transferring a copy, and
5057you may at your option offer warranty protection in exchange for a fee.
5058
5059 2. You may modify your copy or copies of the Program or any portion
5060of it, thus forming a work based on the Program, and copy and
5061distribute such modifications or work under the terms of Section 1
5062above, provided that you also meet all of these conditions:
5063
5064 a) You must cause the modified files to carry prominent notices
5065 stating that you changed the files and the date of any change.
5066
5067 b) You must cause any work that you distribute or publish, that in
5068 whole or in part contains or is derived from the Program or any
5069 part thereof, to be licensed as a whole at no charge to all third
5070 parties under the terms of this License.
5071
5072 c) If the modified program normally reads commands interactively
5073 when run, you must cause it, when started running for such
5074 interactive use in the most ordinary way, to print or display an
5075 announcement including an appropriate copyright notice and a
5076 notice that there is no warranty (or else, saying that you provide
5077 a warranty) and that users may redistribute the program under
5078 these conditions, and telling the user how to view a copy of this
5079 License. (Exception: if the Program itself is interactive but
5080 does not normally print such an announcement, your work based on
5081 the Program is not required to print an announcement.)
5082
5083These requirements apply to the modified work as a whole. If
5084identifiable sections of that work are not derived from the Program,
5085and can be reasonably considered independent and separate works in
5086themselves, then this License, and its terms, do not apply to those
5087sections when you distribute them as separate works. But when you
5088distribute the same sections as part of a whole which is a work based
5089on the Program, the distribution of the whole must be on the terms of
5090this License, whose permissions for other licensees extend to the
5091entire whole, and thus to each and every part regardless of who wrote it.
5092
5093Thus, it is not the intent of this section to claim rights or contest
5094your rights to work written entirely by you; rather, the intent is to
5095exercise the right to control the distribution of derivative or
5096collective works based on the Program.
5097
5098In addition, mere aggregation of another work not based on the Program
5099with the Program (or with a work based on the Program) on a volume of
5100a storage or distribution medium does not bring the other work under
5101the scope of this License.
5102
5103 3. You may copy and distribute the Program (or a work based on it,
5104under Section 2) in object code or executable form under the terms of
5105Sections 1 and 2 above provided that you also do one of the following:
5106
5107 a) Accompany it with the complete corresponding machine-readable
5108 source code, which must be distributed under the terms of Sections
5109 1 and 2 above on a medium customarily used for software interchange; or,
5110
5111 b) Accompany it with a written offer, valid for at least three
5112 years, to give any third party, for a charge no more than your
5113 cost of physically performing source distribution, a complete
5114 machine-readable copy of the corresponding source code, to be
5115 distributed under the terms of Sections 1 and 2 above on a medium
5116 customarily used for software interchange; or,
5117
5118 c) Accompany it with the information you received as to the offer
5119 to distribute corresponding source code. (This alternative is
5120 allowed only for noncommercial distribution and only if you
5121 received the program in object code or executable form with such
5122 an offer, in accord with Subsection b above.)
5123
5124The source code for a work means the preferred form of the work for
5125making modifications to it. For an executable work, complete source
5126code means all the source code for all modules it contains, plus any
5127associated interface definition files, plus the scripts used to
5128control compilation and installation of the executable. However, as a
5129special exception, the source code distributed need not include
5130anything that is normally distributed (in either source or binary
5131form) with the major components (compiler, kernel, and so on) of the
5132operating system on which the executable runs, unless that component
5133itself accompanies the executable.
5134
5135If distribution of executable or object code is made by offering
5136access to copy from a designated place, then offering equivalent
5137access to copy the source code from the same place counts as
5138distribution of the source code, even though third parties are not
5139compelled to copy the source along with the object code.
5140
5141 4. You may not copy, modify, sublicense, or distribute the Program
5142except as expressly provided under this License. Any attempt
5143otherwise to copy, modify, sublicense or distribute the Program is
5144void, and will automatically terminate your rights under this License.
5145However, parties who have received copies, or rights, from you under
5146this License will not have their licenses terminated so long as such
5147parties remain in full compliance.
5148
5149 5. You are not required to accept this License, since you have not
5150signed it. However, nothing else grants you permission to modify or
5151distribute the Program or its derivative works. These actions are
5152prohibited by law if you do not accept this License. Therefore, by
5153modifying or distributing the Program (or any work based on the
5154Program), you indicate your acceptance of this License to do so, and
5155all its terms and conditions for copying, distributing or modifying
5156the Program or works based on it.
5157
5158 6. Each time you redistribute the Program (or any work based on the
5159Program), the recipient automatically receives a license from the
5160original licensor to copy, distribute or modify the Program subject to
5161these terms and conditions. You may not impose any further
5162restrictions on the recipients' exercise of the rights granted herein.
5163You are not responsible for enforcing compliance by third parties to
5164this License.
5165
5166 7. If, as a consequence of a court judgment or allegation of patent
5167infringement or for any other reason (not limited to patent issues),
5168conditions are imposed on you (whether by court order, agreement or
5169otherwise) that contradict the conditions of this License, they do not
5170excuse you from the conditions of this License. If you cannot
5171distribute so as to satisfy simultaneously your obligations under this
5172License and any other pertinent obligations, then as a consequence you
5173may not distribute the Program at all. For example, if a patent
5174license would not permit royalty-free redistribution of the Program by
5175all those who receive copies directly or indirectly through you, then
5176the only way you could satisfy both it and this License would be to
5177refrain entirely from distribution of the Program.
5178
5179If any portion of this section is held invalid or unenforceable under
5180any particular circumstance, the balance of the section is intended to
5181apply and the section as a whole is intended to apply in other
5182circumstances.
5183
5184It is not the purpose of this section to induce you to infringe any
5185patents or other property right claims or to contest validity of any
5186such claims; this section has the sole purpose of protecting the
5187integrity of the free software distribution system, which is
5188implemented by public license practices. Many people have made
5189generous contributions to the wide range of software distributed
5190through that system in reliance on consistent application of that
5191system; it is up to the author/donor to decide if he or she is willing
5192to distribute software through any other system and a licensee cannot
5193impose that choice.
5194
5195This section is intended to make thoroughly clear what is believed to
5196be a consequence of the rest of this License.
5197
5198 8. If the distribution and/or use of the Program is restricted in
5199certain countries either by patents or by copyrighted interfaces, the
5200original copyright holder who places the Program under this License
5201may add an explicit geographical distribution limitation excluding
5202those countries, so that distribution is permitted only in or among
5203countries not thus excluded. In such case, this License incorporates
5204the limitation as if written in the body of this License.
5205
5206 9. The Free Software Foundation may publish revised and/or new versions
5207of the General Public License from time to time. Such new versions will
5208be similar in spirit to the present version, but may differ in detail to
5209address new problems or concerns.
5210
5211Each version is given a distinguishing version number. If the Program
5212specifies a version number of this License which applies to it and "any
5213later version", you have the option of following the terms and conditions
5214either of that version or of any later version published by the Free
5215Software Foundation. If the Program does not specify a version number of
5216this License, you may choose any version ever published by the Free Software
5217Foundation.
5218
5219 10. If you wish to incorporate parts of the Program into other free
5220programs whose distribution conditions are different, write to the author
5221to ask for permission. For software which is copyrighted by the Free
5222Software Foundation, write to the Free Software Foundation; we sometimes
5223make exceptions for this. Our decision will be guided by the two goals
5224of preserving the free status of all derivatives of our free software and
5225of promoting the sharing and reuse of software generally.
5226
5227 NO WARRANTY
5228
5229 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
5230FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
5231OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
5232PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
5233OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
5234MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
5235TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
5236PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
5237REPAIR OR CORRECTION.
5238
5239 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
5240WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
5241REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
5242INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
5243OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
5244TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
5245YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
5246PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
5247POSSIBILITY OF SUCH DAMAGES.
5248
5249 END OF TERMS AND CONDITIONS
5250
5251 How to Apply These Terms to Your New Programs
5252
5253 If you develop a new program, and you want it to be of the greatest
5254possible use to the public, the best way to achieve this is to make it
5255free software which everyone can redistribute and change under these terms.
5256
5257 To do so, attach the following notices to the program. It is safest
5258to attach them to the start of each source file to most effectively
5259convey the exclusion of warranty; and each file should have at least
5260the "copyright" line and a pointer to where the full notice is found.
5261
5262 <one line to give the program's name and a brief idea of what it does.>
5263 Copyright (C) <year> <name of author>
5264
5265 This program is free software; you can redistribute it and/or modify
5266 it under the terms of the GNU General Public License as published by
5267 the Free Software Foundation; either version 2 of the License, or
5268 (at your option) any later version.
5269
5270 This program is distributed in the hope that it will be useful,
5271 but WITHOUT ANY WARRANTY; without even the implied warranty of
5272 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5273 GNU General Public License for more details.
5274
5275 You should have received a copy of the GNU General Public License along
5276 with this program; if not, write to the Free Software Foundation, Inc.,
5277 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5278
5279Also add information on how to contact you by electronic and paper mail.
5280
5281If the program is interactive, make it output a short notice like this
5282when it starts in an interactive mode:
5283
5284 Gnomovision version 69, Copyright (C) year name of author
5285 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
5286 This is free software, and you are welcome to redistribute it
5287 under certain conditions; type `show c' for details.
5288
5289The hypothetical commands `show w' and `show c' should show the appropriate
5290parts of the General Public License. Of course, the commands you use may
5291be called something other than `show w' and `show c'; they could even be
5292mouse-clicks or menu items--whatever suits your program.
5293
5294You should also get your employer (if you work as a programmer) or your
5295school, if any, to sign a "copyright disclaimer" for the program, if
5296necessary. Here is a sample; alter the names:
5297
5298 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
5299 `Gnomovision' (which makes passes at compilers) written by James Hacker.
5300
5301 <signature of Ty Coon>, 1 April 1989
5302 Ty Coon, President of Vice
5303
5304This General Public License does not permit incorporating your program into
5305proprietary programs. If your program is a subroutine library, you may
5306consider it more useful to permit linking proprietary applications with the
5307library. If this is what you want to do, use the GNU Lesser General
5308Public License instead of this License.
5309
5310Copyright (c) 2011 The LevelDB Authors. All rights reserved.
5311
5312Redistribution and use in source and binary forms, with or without
5313modification, are permitted provided that the following conditions are
5314met:
5315
5316 * Redistributions of source code must retain the above copyright
5317notice, this list of conditions and the following disclaimer.
5318 * Redistributions in binary form must reproduce the above
5319copyright notice, this list of conditions and the following disclaimer
5320in the documentation and/or other materials provided with the
5321distribution.
5322 * Neither the name of Google Inc. nor the names of its
5323contributors may be used to endorse or promote products derived from
5324this software without specific prior written permission.
5325
5326THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
5327"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5328LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
5329A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
5330OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5331SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
5332LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5333DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5334THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5335(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5336OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5337
5338/*
5339 * Copyright (c) 2008 NVIDIA, Corporation
5340 *
5341 * Permission is hereby granted, free of charge, to any person obtaining a copy
5342 * of this software and associated documentation files (the "Software"), to deal
5343 * in the Software without restriction, including without limitation the rights
5344 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5345 * copies of the Software, and to permit persons to whom the Software is
5346 * furnished to do so, subject to the following conditions:
5347 *
5348 * The above copyright notice and this permission notice (including the next
5349 * paragraph) shall be included in all copies or substantial portions of the
5350 * Software.
5351 *
5352 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5353 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5354 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5355 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5356 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5357 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5358 * SOFTWARE.
5359 */
5360Copyright 2000-2007 Niels Provos <provos@citi.umich.edu>
5361Copyright 2007-2009 Niels Provos and Nick Mathewson
5362
5363Redistribution and use in source and binary forms, with or without
5364modification, are permitted provided that the following conditions
5365are met:
53661. Redistributions of source code must retain the above copyright
5367 notice, this list of conditions and the following disclaimer.
53682. Redistributions in binary form must reproduce the above copyright
5369 notice, this list of conditions and the following disclaimer in the
5370 documentation and/or other materials provided with the distribution.
53713. The name of the author may not be used to endorse or promote products
5372 derived from this software without specific prior written permission.
5373
5374THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
5375IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
5376OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
5377IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
5378INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
5379NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5380DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5381THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5382(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
5383THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5384
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +01005385Copyright (c) 2013, Google Inc.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005386All rights reserved.
5387
5388Redistribution and use in source and binary forms, with or without modification,
5389are permitted provided that the following conditions are met:
5390
5391 * Redistributions of source code must retain the above copyright notice,
5392 this list of conditions and the following disclaimer.
5393 * Redistributions in binary form must reproduce the above copyright notice,
5394 this list of conditions and the following disclaimer in the documentation
5395 and/or other materials provided with the distribution.
5396 * The name of the author may not be used to endorse or promote products
5397 derived from this software without specific prior written permission.
5398
5399THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
5400AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5401IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
5402ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
5403LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
5404CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
5405GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5406HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +01005407STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
5408WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005409SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005410(Copied from the README.)
5411
5412--------------------------------------------------------------------------------
5413
5414The authors make NO WARRANTY or representation, either express or implied,
5415with respect to this software, its quality, accuracy, merchantability, or
5416fitness for a particular purpose. This software is provided "AS IS", and you,
5417its user, assume the entire risk as to its quality and accuracy.
5418
5419This software is copyright (C) 1991-1998, Thomas G. Lane.
5420All Rights Reserved except as specified below.
5421
5422Permission is hereby granted to use, copy, modify, and distribute this
5423software (or portions thereof) for any purpose, without fee, subject to these
5424conditions:
5425(1) If any part of the source code for this software is distributed, then this
5426README file must be included, with this copyright and no-warranty notice
5427unaltered; and any additions, deletions, or changes to the original files
5428must be clearly indicated in accompanying documentation.
5429(2) If only executable code is distributed, then the accompanying
5430documentation must state that "this software is based in part on the work of
5431the Independent JPEG Group".
5432(3) Permission for use of this software is granted only if the user accepts
5433full responsibility for any undesirable consequences; the authors accept
5434NO LIABILITY for damages of any kind.
5435
5436These conditions apply to any software derived from or based on the IJG code,
5437not just to the unmodified library. If you use our work, you ought to
5438acknowledge us.
5439
5440Permission is NOT granted for the use of any IJG author's name or company name
5441in advertising or publicity relating to this software or products derived from
5442it. This software may be referred to only as "the Independent JPEG Group's
5443software".
5444
5445We specifically permit and encourage the use of this software as the basis of
5446commercial products, provided that all warranty or liability claims are
5447assumed by the product vendor.
5448
5449
5450ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
5451sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
5452ansi2knr.c is NOT covered by the above copyright and conditions, but instead
5453by the usual distribution terms of the Free Software Foundation; principally,
5454that you must include source code if you redistribute it. (See the file
5455ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part
5456of any program generated from the IJG code, this does not limit you more than
5457the foregoing paragraphs do.
5458
5459The Unix configuration script "configure" was produced with GNU Autoconf.
5460It is copyright by the Free Software Foundation but is freely distributable.
5461The same holds for its supporting scripts (config.guess, config.sub,
5462ltconfig, ltmain.sh). Another support script, install-sh, is copyright
5463by M.I.T. but is also freely distributable.
5464
5465It appears that the arithmetic coding option of the JPEG spec is covered by
5466patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot
5467legally be used without obtaining one or more licenses. For this reason,
5468support for arithmetic coding has been removed from the free JPEG software.
5469(Since arithmetic coding provides only a marginal gain over the unpatented
5470Huffman mode, it is unlikely that very many implementations will support it.)
5471So far as we are aware, there are no patent restrictions on the remaining
5472code.
5473
5474The IJG distribution formerly included code to read and write GIF files.
5475To avoid entanglement with the Unisys LZW patent, GIF reading support has
5476been removed altogether, and the GIF writer has been simplified to produce
5477"uncompressed GIFs". This technique does not use the LZW algorithm; the
5478resulting GIF files are larger than usual, but are readable by all standard
5479GIF decoders.
5480
5481We are required to state that
5482 "The Graphics Interchange Format(c) is the Copyright property of
5483 CompuServe Incorporated. GIF(sm) is a Service Mark property of
5484 CompuServe Incorporated."
5485
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005486Copyright (C) 2011 Google Inc.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005487
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005488Licensed under the Apache License, Version 2.0 (the "License");
5489you may not use this file except in compliance with the License.
5490You may obtain a copy of the License at
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005491
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005492http://www.apache.org/licenses/LICENSE-2.0
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005493
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005494Unless required by applicable law or agreed to in writing, software
5495distributed under the License is distributed on an "AS IS" BASIS,
5496WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5497See the License for the specific language governing permissions and
5498limitations under the License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005499
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005500
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005501This copy of the libpng notices is provided for your convenience. In case of
5502any discrepancy between this copy and the notices in the file png.h that is
5503included in the libpng distribution, the latter shall prevail.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005504
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005505COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005506
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005507If you modify libpng you may insert additional notices immediately following
5508this sentence.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005509
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005510This code is released under the libpng license.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005511
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005512libpng versions 1.2.6, August 15, 2004, through 1.2.45, July 7, 2011, are
5513Copyright (c) 2004, 2006-2009 Glenn Randers-Pehrson, and are
5514distributed according to the same disclaimer and license as libpng-1.2.5
5515with the following individual added to the list of Contributing Authors
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005516
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005517 Cosmin Truta
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005518
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005519libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are
5520Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are
5521distributed according to the same disclaimer and license as libpng-1.0.6
5522with the following individuals 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 Simon-Pierre Cadieux
5525 Eric S. Raymond
5526 Gilles Vollant
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005527
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005528and with the following additions to the disclaimer:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005529
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005530 There is no warranty against interference with your enjoyment of the
5531 library or against infringement. There is no warranty that our
5532 efforts or the library will fulfill any of your particular purposes
5533 or needs. This library is provided with all faults, and the entire
5534 risk of satisfactory quality, performance, accuracy, and effort is with
5535 the user.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005536
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005537libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
5538Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are
5539distributed according to the same disclaimer and license as libpng-0.96,
5540with the following individuals added to the list of Contributing Authors:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005541
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005542 Tom Lane
5543 Glenn Randers-Pehrson
5544 Willem van Schaik
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005545
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005546libpng versions 0.89, June 1996, through 0.96, May 1997, are
5547Copyright (c) 1996, 1997 Andreas Dilger
5548Distributed according to the same disclaimer and license as libpng-0.88,
5549with the following individuals added to the list of Contributing Authors:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005550
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005551 John Bowler
5552 Kevin Bracey
5553 Sam Bushell
5554 Magnus Holmgren
5555 Greg Roelofs
5556 Tom Tanner
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005557
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005558libpng versions 0.5, May 1995, through 0.88, January 1996, are
5559Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005560
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005561For the purposes of this copyright and license, "Contributing Authors"
5562is defined as the following set of individuals:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005563
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005564 Andreas Dilger
5565 Dave Martindale
5566 Guy Eric Schalnat
5567 Paul Schmidt
5568 Tim Wegner
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005569
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005570The PNG Reference Library is supplied "AS IS". The Contributing Authors
5571and Group 42, Inc. disclaim all warranties, expressed or implied,
5572including, without limitation, the warranties of merchantability and of
5573fitness for any purpose. The Contributing Authors and Group 42, Inc.
5574assume no liability for direct, indirect, incidental, special, exemplary,
5575or consequential damages, which may result from the use of the PNG
5576Reference Library, even if advised of the possibility of such damage.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005577
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005578Permission is hereby granted to use, copy, modify, and distribute this
5579source code, or portions hereof, for any purpose, without fee, subject
5580to the following restrictions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005581
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000055821. The origin of this source code must not be misrepresented.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005583
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000055842. Altered versions must be plainly marked as such and must not
5585 be misrepresented as being the original source.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005586
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000055873. This Copyright notice may not be removed or altered from any
5588 source or altered source distribution.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005589
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005590The Contributing Authors and Group 42, Inc. specifically permit, without
5591fee, and encourage the use of this source code as a component to
5592supporting the PNG file format in commercial products. If you use this
5593source code in a product, acknowledgment is not required but would be
5594appreciated.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005595
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005596
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005597A "png_get_copyright" function is available, for convenient use in "about"
5598boxes and the like:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005599
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005600 printf("%s",png_get_copyright(NULL));
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005601
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005602Also, the PNG logo (in PNG format, of course) is supplied in the
5603files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31).
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005604
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005605Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a
5606certification mark of the Open Source Initiative.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005607
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005608Glenn Randers-Pehrson
5609glennrp at users.sourceforge.net
5610July 7, 2011
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005611
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005612 GNU LESSER GENERAL PUBLIC LICENSE
5613 Version 2.1, February 1999
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005614
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005615 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5616 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5617 Everyone is permitted to copy and distribute verbatim copies
5618 of this license document, but changing it is not allowed.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005619
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005620[This is the first released version of the Lesser GPL. It also counts
5621 as the successor of the GNU Library Public License, version 2, hence
5622 the version number 2.1.]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005623
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005624 Preamble
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005625
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005626 The licenses for most software are designed to take away your
5627freedom to share and change it. By contrast, the GNU General Public
5628Licenses are intended to guarantee your freedom to share and change
5629free software--to make sure the software is free for all its users.
5630
5631 This license, the Lesser General Public License, applies to some
5632specially designated software packages--typically libraries--of the
5633Free Software Foundation and other authors who decide to use it. You
5634can use it too, but we suggest you first think carefully about whether
5635this license or the ordinary General Public License is the better
5636strategy to use in any particular case, based on the explanations below.
5637
5638 When we speak of free software, we are referring to freedom of use,
5639not price. Our General Public Licenses are designed to make sure that
5640you have the freedom to distribute copies of free software (and charge
5641for this service if you wish); that you receive source code or can get
5642it if you want it; that you can change the software and use pieces of
5643it in new free programs; and that you are informed that you can do
5644these things.
5645
5646 To protect your rights, we need to make restrictions that forbid
5647distributors to deny you these rights or to ask you to surrender these
5648rights. These restrictions translate to certain responsibilities for
5649you if you distribute copies of the library or if you modify it.
5650
5651 For example, if you distribute copies of the library, whether gratis
5652or for a fee, you must give the recipients all the rights that we gave
5653you. You must make sure that they, too, receive or can get the source
5654code. If you link other code with the library, you must provide
5655complete object files to the recipients, so that they can relink them
5656with the library after making changes to the library and recompiling
5657it. And you must show them these terms so they know their rights.
5658
5659 We protect your rights with a two-step method: (1) we copyright the
5660library, and (2) we offer you this license, which gives you legal
5661permission to copy, distribute and/or modify the library.
5662
5663 To protect each distributor, we want to make it very clear that
5664there is no warranty for the free library. Also, if the library is
5665modified by someone else and passed on, the recipients should know
5666that what they have is not the original version, so that the original
5667author's reputation will not be affected by problems that might be
5668introduced by others.
5669
5670 Finally, software patents pose a constant threat to the existence of
5671any free program. We wish to make sure that a company cannot
5672effectively restrict the users of a free program by obtaining a
5673restrictive license from a patent holder. Therefore, we insist that
5674any patent license obtained for a version of the library must be
5675consistent with the full freedom of use specified in this license.
5676
5677 Most GNU software, including some libraries, is covered by the
5678ordinary GNU General Public License. This license, the GNU Lesser
5679General Public License, applies to certain designated libraries, and
5680is quite different from the ordinary General Public License. We use
5681this license for certain libraries in order to permit linking those
5682libraries into non-free programs.
5683
5684 When a program is linked with a library, whether statically or using
5685a shared library, the combination of the two is legally speaking a
5686combined work, a derivative of the original library. The ordinary
5687General Public License therefore permits such linking only if the
5688entire combination fits its criteria of freedom. The Lesser General
5689Public License permits more lax criteria for linking other code with
5690the library.
5691
5692 We call this license the "Lesser" General Public License because it
5693does Less to protect the user's freedom than the ordinary General
5694Public License. It also provides other free software developers Less
5695of an advantage over competing non-free programs. These disadvantages
5696are the reason we use the ordinary General Public License for many
5697libraries. However, the Lesser license provides advantages in certain
5698special circumstances.
5699
5700 For example, on rare occasions, there may be a special need to
5701encourage the widest possible use of a certain library, so that it becomes
5702a de-facto standard. To achieve this, non-free programs must be
5703allowed to use the library. A more frequent case is that a free
5704library does the same job as widely used non-free libraries. In this
5705case, there is little to gain by limiting the free library to free
5706software only, so we use the Lesser General Public License.
5707
5708 In other cases, permission to use a particular library in non-free
5709programs enables a greater number of people to use a large body of
5710free software. For example, permission to use the GNU C Library in
5711non-free programs enables many more people to use the whole GNU
5712operating system, as well as its variant, the GNU/Linux operating
5713system.
5714
5715 Although the Lesser General Public License is Less protective of the
5716users' freedom, it does ensure that the user of a program that is
5717linked with the Library has the freedom and the wherewithal to run
5718that program using a modified version of the Library.
5719
5720 The precise terms and conditions for copying, distribution and
5721modification follow. Pay close attention to the difference between a
5722"work based on the library" and a "work that uses the library". The
5723former contains code derived from the library, whereas the latter must
5724be combined with the library in order to run.
5725
5726 GNU LESSER GENERAL PUBLIC LICENSE
5727 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
5728
5729 0. This License Agreement applies to any software library or other
5730program which contains a notice placed by the copyright holder or
5731other authorized party saying it may be distributed under the terms of
5732this Lesser General Public License (also called "this License").
5733Each licensee is addressed as "you".
5734
5735 A "library" means a collection of software functions and/or data
5736prepared so as to be conveniently linked with application programs
5737(which use some of those functions and data) to form executables.
5738
5739 The "Library", below, refers to any such software library or work
5740which has been distributed under these terms. A "work based on the
5741Library" means either the Library or any derivative work under
5742copyright law: that is to say, a work containing the Library or a
5743portion of it, either verbatim or with modifications and/or translated
5744straightforwardly into another language. (Hereinafter, translation is
5745included without limitation in the term "modification".)
5746
5747 "Source code" for a work means the preferred form of the work for
5748making modifications to it. For a library, complete source code means
5749all the source code for all modules it contains, plus any associated
5750interface definition files, plus the scripts used to control compilation
5751and installation of the library.
5752
5753 Activities other than copying, distribution and modification are not
5754covered by this License; they are outside its scope. The act of
5755running a program using the Library is not restricted, and output from
5756such a program is covered only if its contents constitute a work based
5757on the Library (independent of the use of the Library in a tool for
5758writing it). Whether that is true depends on what the Library does
5759and what the program that uses the Library does.
5760
5761 1. You may copy and distribute verbatim copies of the Library's
5762complete source code as you receive it, in any medium, provided that
5763you conspicuously and appropriately publish on each copy an
5764appropriate copyright notice and disclaimer of warranty; keep intact
5765all the notices that refer to this License and to the absence of any
5766warranty; and distribute a copy of this License along with the
5767Library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005768
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005769 You may charge a fee for the physical act of transferring a copy,
5770and you may at your option offer warranty protection in exchange for a
5771fee.
5772
5773 2. You may modify your copy or copies of the Library or any portion
5774of it, thus forming a work based on the Library, and copy and
5775distribute such modifications or work under the terms of Section 1
5776above, provided that you also meet all of these conditions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005777
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005778 a) The modified work must itself be a software library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005779
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005780 b) You must cause the files modified to carry prominent notices
5781 stating that you changed the files and the date of any change.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005782
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005783 c) You must cause the whole of the work to be licensed at no
5784 charge to all third parties under the terms of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005785
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005786 d) If a facility in the modified Library refers to a function or a
5787 table of data to be supplied by an application program that uses
5788 the facility, other than as an argument passed when the facility
5789 is invoked, then you must make a good faith effort to ensure that,
5790 in the event an application does not supply such function or
5791 table, the facility still operates, and performs whatever part of
5792 its purpose remains meaningful.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005793
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005794 (For example, a function in a library to compute square roots has
5795 a purpose that is entirely well-defined independent of the
5796 application. Therefore, Subsection 2d requires that any
5797 application-supplied function or table used by this function must
5798 be optional: if the application does not supply it, the square
5799 root function must still compute square roots.)
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005800
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005801These requirements apply to the modified work as a whole. If
5802identifiable sections of that work are not derived from the Library,
5803and can be reasonably considered independent and separate works in
5804themselves, then this License, and its terms, do not apply to those
5805sections when you distribute them as separate works. But when you
5806distribute the same sections as part of a whole which is a work based
5807on the Library, the distribution of the whole must be on the terms of
5808this License, whose permissions for other licensees extend to the
5809entire whole, and thus to each and every part regardless of who wrote
5810it.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005811
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005812Thus, it is not the intent of this section to claim rights or contest
5813your rights to work written entirely by you; rather, the intent is to
5814exercise the right to control the distribution of derivative or
5815collective works based on the Library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005816
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005817In addition, mere aggregation of another work not based on the Library
5818with the Library (or with a work based on the Library) on a volume of
5819a storage or distribution medium does not bring the other work under
5820the scope of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005821
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005822 3. You may opt to apply the terms of the ordinary GNU General Public
5823License instead of this License to a given copy of the Library. To do
5824this, you must alter all the notices that refer to this License, so
5825that they refer to the ordinary GNU General Public License, version 2,
5826instead of to this License. (If a newer version than version 2 of the
5827ordinary GNU General Public License has appeared, then you can specify
5828that version instead if you wish.) Do not make any other change in
5829these notices.
5830
5831 Once this change is made in a given copy, it is irreversible for
5832that copy, so the ordinary GNU General Public License applies to all
5833subsequent copies and derivative works made from that copy.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005834
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005835 This option is useful when you wish to copy part of the code of
5836the Library into a program that is not a library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005837
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005838 4. You may copy and distribute the Library (or a portion or
5839derivative of it, under Section 2) in object code or executable form
5840under the terms of Sections 1 and 2 above provided that you accompany
5841it with the complete corresponding machine-readable source code, which
5842must be distributed under the terms of Sections 1 and 2 above on a
5843medium customarily used for software interchange.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005844
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005845 If distribution of object code is made by offering access to copy
5846from a designated place, then offering equivalent access to copy the
5847source code from the same place satisfies the requirement to
5848distribute the source code, even though third parties are not
5849compelled to copy the source along with the object code.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005850
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005851 5. A program that contains no derivative of any portion of the
5852Library, but is designed to work with the Library by being compiled or
5853linked with it, is called a "work that uses the Library". Such a
5854work, in isolation, is not a derivative work of the Library, and
5855therefore falls outside the scope of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005856
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005857 However, linking a "work that uses the Library" with the Library
5858creates an executable that is a derivative of the Library (because it
5859contains portions of the Library), rather than a "work that uses the
5860library". The executable is therefore covered by this License.
5861Section 6 states terms for distribution of such executables.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005862
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005863 When a "work that uses the Library" uses material from a header file
5864that is part of the Library, the object code for the work may be a
5865derivative work of the Library even though the source code is not.
5866Whether this is true is especially significant if the work can be
5867linked without the Library, or if the work is itself a library. The
5868threshold for this to be true is not precisely defined by law.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005869
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005870 If such an object file uses only numerical parameters, data
5871structure layouts and accessors, and small macros and small inline
5872functions (ten lines or less in length), then the use of the object
5873file is unrestricted, regardless of whether it is legally a derivative
5874work. (Executables containing this object code plus portions of the
5875Library will still fall under Section 6.)
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005876
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005877 Otherwise, if the work is a derivative of the Library, you may
5878distribute the object code for the work under the terms of Section 6.
5879Any executables containing that work also fall under Section 6,
5880whether or not they are linked directly with the Library itself.
5881
5882 6. As an exception to the Sections above, you may also combine or
5883link a "work that uses the Library" with the Library to produce a
5884work containing portions of the Library, and distribute that work
5885under terms of your choice, provided that the terms permit
5886modification of the work for the customer's own use and reverse
5887engineering for debugging such modifications.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005888
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005889 You must give prominent notice with each copy of the work that the
5890Library is used in it and that the Library and its use are covered by
5891this License. You must supply a copy of this License. If the work
5892during execution displays copyright notices, you must include the
5893copyright notice for the Library among them, as well as a reference
5894directing the user to the copy of this License. Also, you must do one
5895of these things:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005896
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005897 a) Accompany the work with the complete corresponding
5898 machine-readable source code for the Library including whatever
5899 changes were used in the work (which must be distributed under
5900 Sections 1 and 2 above); and, if the work is an executable linked
5901 with the Library, with the complete machine-readable "work that
5902 uses the Library", as object code and/or source code, so that the
5903 user can modify the Library and then relink to produce a modified
5904 executable containing the modified Library. (It is understood
5905 that the user who changes the contents of definitions files in the
5906 Library will not necessarily be able to recompile the application
5907 to use the modified definitions.)
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005908
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005909 b) Use a suitable shared library mechanism for linking with the
5910 Library. A suitable mechanism is one that (1) uses at run time a
5911 copy of the library already present on the user's computer system,
5912 rather than copying library functions into the executable, and (2)
5913 will operate properly with a modified version of the library, if
5914 the user installs one, as long as the modified version is
5915 interface-compatible with the version that the work was made with.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005916
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005917 c) Accompany the work with a written offer, valid for at
5918 least three years, to give the same user the materials
5919 specified in Subsection 6a, above, for a charge no more
5920 than the cost of performing this distribution.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005921
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005922 d) If distribution of the work is made by offering access to copy
5923 from a designated place, offer equivalent access to copy the above
5924 specified materials from the same place.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005925
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005926 e) Verify that the user has already received a copy of these
5927 materials or that you have already sent this user a copy.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005928
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005929 For an executable, the required form of the "work that uses the
5930Library" must include any data and utility programs needed for
5931reproducing the executable from it. However, as a special exception,
5932the materials to be distributed need not include anything that is
5933normally distributed (in either source or binary form) with the major
5934components (compiler, kernel, and so on) of the operating system on
5935which the executable runs, unless that component itself accompanies
5936the executable.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005937
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005938 It may happen that this requirement contradicts the license
5939restrictions of other proprietary libraries that do not normally
5940accompany the operating system. Such a contradiction means you cannot
5941use both them and the Library together in an executable that you
5942distribute.
5943
5944 7. You may place library facilities that are a work based on the
5945Library side-by-side in a single library together with other library
5946facilities not covered by this License, and distribute such a combined
5947library, provided that the separate distribution of the work based on
5948the Library and of the other library facilities is otherwise
5949permitted, and provided that you do these two things:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005950
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005951 a) Accompany the combined library with a copy of the same work
5952 based on the Library, uncombined with any other library
5953 facilities. This must be distributed under the terms of the
5954 Sections above.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005955
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005956 b) Give prominent notice with the combined library of the fact
5957 that part of it is a work based on the Library, and explaining
5958 where to find the accompanying uncombined form of the same work.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005959
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005960 8. You may not copy, modify, sublicense, link with, or distribute
5961the Library except as expressly provided under this License. Any
5962attempt otherwise to copy, modify, sublicense, link with, or
5963distribute the Library is void, and will automatically terminate your
5964rights under this License. However, parties who have received copies,
5965or rights, from you under this License will not have their licenses
5966terminated so long as such parties remain in full compliance.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005967
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005968 9. You are not required to accept this License, since you have not
5969signed it. However, nothing else grants you permission to modify or
5970distribute the Library or its derivative works. These actions are
5971prohibited by law if you do not accept this License. Therefore, by
5972modifying or distributing the Library (or any work based on the
5973Library), you indicate your acceptance of this License to do so, and
5974all its terms and conditions for copying, distributing or modifying
5975the Library or works based on it.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005976
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005977 10. Each time you redistribute the Library (or any work based on the
5978Library), the recipient automatically receives a license from the
5979original licensor to copy, distribute, link with or modify the Library
5980subject to these terms and conditions. You may not impose any further
5981restrictions on the recipients' exercise of the rights granted herein.
5982You are not responsible for enforcing compliance by third parties with
5983this License.
5984
5985 11. If, as a consequence of a court judgment or allegation of patent
5986infringement or for any other reason (not limited to patent issues),
5987conditions are imposed on you (whether by court order, agreement or
5988otherwise) that contradict the conditions of this License, they do not
5989excuse you from the conditions of this License. If you cannot
5990distribute so as to satisfy simultaneously your obligations under this
5991License and any other pertinent obligations, then as a consequence you
5992may not distribute the Library at all. For example, if a patent
5993license would not permit royalty-free redistribution of the Library by
5994all those who receive copies directly or indirectly through you, then
5995the only way you could satisfy both it and this License would be to
5996refrain entirely from distribution of the Library.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005997
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005998If any portion of this section is held invalid or unenforceable under any
5999particular circumstance, the balance of the section is intended to apply,
6000and the section as a whole is intended to apply in other circumstances.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006001
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006002It is not the purpose of this section to induce you to infringe any
6003patents or other property right claims or to contest validity of any
6004such claims; this section has the sole purpose of protecting the
6005integrity of the free software distribution system which is
6006implemented by public license practices. Many people have made
6007generous contributions to the wide range of software distributed
6008through that system in reliance on consistent application of that
6009system; it is up to the author/donor to decide if he or she is willing
6010to distribute software through any other system and a licensee cannot
6011impose that choice.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006012
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006013This section is intended to make thoroughly clear what is believed to
6014be a consequence of the rest of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006015
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006016 12. If the distribution and/or use of the Library is restricted in
6017certain countries either by patents or by copyrighted interfaces, the
6018original copyright holder who places the Library under this License may add
6019an explicit geographical distribution limitation excluding those countries,
6020so that distribution is permitted only in or among countries not thus
6021excluded. In such case, this License incorporates the limitation as if
6022written in the body of this License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006023
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006024 13. The Free Software Foundation may publish revised and/or new
6025versions of the Lesser General Public License from time to time.
6026Such new versions will be similar in spirit to the present version,
6027but may differ in detail to address new problems or concerns.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006028
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006029Each version is given a distinguishing version number. If the Library
6030specifies a version number of this License which applies to it and
6031"any later version", you have the option of following the terms and
6032conditions either of that version or of any later version published by
6033the Free Software Foundation. If the Library does not specify a
6034license version number, you may choose any version ever published by
6035the Free Software Foundation.
6036
6037 14. If you wish to incorporate parts of the Library into other free
6038programs whose distribution conditions are incompatible with these,
6039write to the author to ask for permission. For software which is
6040copyrighted by the Free Software Foundation, write to the Free
6041Software Foundation; we sometimes make exceptions for this. Our
6042decision will be guided by the two goals of preserving the free status
6043of all derivatives of our free software and of promoting the sharing
6044and reuse of software generally.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006045
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006046 NO WARRANTY
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006047
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006048 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
6049WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
6050EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
6051OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
6052KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
6053IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
6054PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
6055LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
6056THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006057
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006058 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
6059WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
6060AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
6061FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
6062CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
6063LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
6064RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
6065FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
6066SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
6067DAMAGES.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006068
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006069 END OF TERMS AND CONDITIONS
6070
6071 How to Apply These Terms to Your New Libraries
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006072
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006073 If you develop a new library, and you want it to be of the greatest
6074possible use to the public, we recommend making it free software that
6075everyone can redistribute and change. You can do so by permitting
6076redistribution under these terms (or, alternatively, under the terms of the
6077ordinary General Public License).
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006078
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006079 To apply these terms, attach the following notices to the library. It is
6080safest to attach them to the start of each source file to most effectively
6081convey the exclusion of warranty; and each file should have at least the
6082"copyright" line and a pointer to where the full notice is found.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006083
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006084 <one line to give the library's name and a brief idea of what it does.>
6085 Copyright (C) <year> <name of author>
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006086
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006087 This library is free software; you can redistribute it and/or
6088 modify it under the terms of the GNU Lesser General Public
6089 License as published by the Free Software Foundation; either
6090 version 2.1 of the License, or (at your option) any later version.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006091
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006092 This library is distributed in the hope that it will be useful,
6093 but WITHOUT ANY WARRANTY; without even the implied warranty of
6094 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6095 Lesser General Public License for more details.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006096
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006097 You should have received a copy of the GNU Lesser General Public
6098 License along with this library; if not, write to the Free Software
6099 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006100
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006101Also add information on how to contact you by electronic and paper mail.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006102
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006103You should also get your employer (if you work as a programmer) or your
6104school, if any, to sign a "copyright disclaimer" for the library, if
6105necessary. Here is a sample; alter the names:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006106
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006107 Yoyodyne, Inc., hereby disclaims all copyright interest in the
6108 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006109
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006110 <signature of Ty Coon>, 1 April 1990
6111 Ty Coon, President of Vice
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006112
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006113That's all there is to it!
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006114
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006115
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006116
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006117 Permission is hereby granted, free of charge, to any person obtaining a
6118 copy of this software and associated documentation files (the
6119 "Software"), to deal in the Software without restriction, including
6120 without limitation the rights to use, copy, modify, merge, publish,
6121 distribute, sub license, and/or sell copies of the Software, and to
6122 permit persons to whom the Software is furnished to do so, subject to
6123 the following conditions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006124
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006125 The above copyright notice and this permission notice (including the
6126 next paragraph) shall be included in all copies or substantial portions
6127 of the Software.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006128
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006129 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
6130 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
6131 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
6132 IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
6133 ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
6134 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
6135 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006136
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006137Copyright (c) 2010, Google Inc. All rights reserved.
6138
6139Redistribution and use in source and binary forms, with or without
6140modification, are permitted provided that the following conditions are
6141met:
6142
6143 * Redistributions of source code must retain the above copyright
6144 notice, this list of conditions and the following disclaimer.
6145
6146 * Redistributions in binary form must reproduce the above copyright
6147 notice, this list of conditions and the following disclaimer in
6148 the documentation and/or other materials provided with the
6149 distribution.
6150
6151 * Neither the name of Google nor the names of its contributors may
6152 be used to endorse or promote products derived from this software
6153 without specific prior written permission.
6154
6155THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6156"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6157LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6158A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
6159HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
6160SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
6161LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
6162DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
6163THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6164(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
6165OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6166
6167Additional IP Rights Grant (Patents)
6168
6169"This implementation" means the copyrightable works distributed by
6170Google as part of the WebM Project.
6171
6172Google hereby grants to you a perpetual, worldwide, non-exclusive,
6173no-charge, royalty-free, irrevocable (except as stated in this section)
6174patent license to make, have made, use, offer to sell, sell, import,
6175transfer, and otherwise run, modify and propagate the contents of this
6176implementation of VP8, where such license applies only to those patent
6177claims, both currently owned by Google and acquired in the future,
6178licensable by Google that are necessarily infringed by this
6179implementation of VP8. This grant does not include claims that would be
6180infringed only as a consequence of further modification of this
6181implementation. If you or your agent or exclusive licensee institute or
6182order or agree to the institution of patent litigation against any
6183entity (including a cross-claim or counterclaim in a lawsuit) alleging
6184that this implementation of VP8 or any code incorporated within this
6185implementation of VP8 constitutes direct or contributory patent
6186infringement, or inducement of patent infringement, then any patent
6187rights granted to you under this License for this implementation of VP8
6188shall terminate as of the date such litigation is filed.
6189
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006190Except where otherwise noted in the source code (e.g. the files hash.c,
6191list.c and the trio files, which are covered by a similar licence but
6192with different Copyright notices) all the files are:
6193
6194 Copyright (C) 1998-2003 Daniel Veillard. All Rights Reserved.
6195
6196Permission is hereby granted, free of charge, to any person obtaining a copy
6197of this software and associated documentation files (the "Software"), to deal
6198in the Software without restriction, including without limitation the rights
6199to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6200copies of the Software, and to permit persons to whom the Software is fur-
6201nished to do so, subject to the following conditions:
6202
6203The above copyright notice and this permission notice shall be included in
6204all copies or substantial portions of the Software.
6205
6206THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6207IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
6208NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6209DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
6210IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
6211NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6212
6213Except as contained in this notice, the name of Daniel Veillard shall not
6214be used in advertising or otherwise to promote the sale, use or other deal-
6215ings in this Software without prior written authorization from him.
6216
6217
6218Licence for libxslt except libexslt
6219----------------------------------------------------------------------
6220 Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved.
6221
6222Permission is hereby granted, free of charge, to any person obtaining a copy
6223of this software and associated documentation files (the "Software"), to deal
6224in the Software without restriction, including without limitation the rights
6225to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6226copies of the Software, and to permit persons to whom the Software is fur-
6227nished to do so, subject to the following conditions:
6228
6229The above copyright notice and this permission notice shall be included in
6230all copies or substantial portions of the Software.
6231
6232THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6233IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
6234NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6235DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
6236IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
6237NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6238
6239Except as contained in this notice, the name of Daniel Veillard shall not
6240be used in advertising or otherwise to promote the sale, use or other deal-
6241ings in this Software without prior written authorization from him.
6242
6243----------------------------------------------------------------------
6244
6245Licence for libexslt
6246----------------------------------------------------------------------
6247 Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
6248 All Rights Reserved.
6249
6250Permission is hereby granted, free of charge, to any person obtaining a copy
6251of this software and associated documentation files (the "Software"), to deal
6252in the Software without restriction, including without limitation the rights
6253to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6254copies of the Software, and to permit persons to whom the Software is fur-
6255nished to do so, subject to the following conditions:
6256
6257The above copyright notice and this permission notice shall be included in
6258all copies or substantial portions of the Software.
6259
6260THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6261IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
6262NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6263AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
6264IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
6265NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6266
6267Except as contained in this notice, the name of the authors shall not
6268be used in advertising or otherwise to promote the sale, use or other deal-
6269ings in this Software without prior written authorization from him.
6270----------------------------------------------------------------------
6271
6272LZMA SDK is placed in the public domain.
6273
6274Copyright (c) 2003-2009 Jonathan 'Wolf' Rentzsch: <http://rentzsch.com>
6275Some rights reserved: <http://opensource.org/licenses/mit-license.php>
6276
6277The default Mesa license is as follows:
6278
6279Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
6280
6281Permission is hereby granted, free of charge, to any person obtaining a
6282copy of this software and associated documentation files (the "Software"),
6283to deal in the Software without restriction, including without limitation
6284the rights to use, copy, modify, merge, publish, distribute, sublicense,
6285and/or sell copies of the Software, and to permit persons to whom the
6286Software is furnished to do so, subject to the following conditions:
6287
6288The above copyright notice and this permission notice shall be included
6289in all copies or substantial portions of the Software.
6290
6291THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
6292OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6293FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
6294BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
6295AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
6296CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6297
6298
6299
6300Some parts of Mesa are copyrighted under the GNU LGPL. See the
6301Mesa/docs/COPYRIGHT file for details.
6302
6303The following is the standard GNU copyright file.
6304----------------------------------------------------------------------
6305
6306
6307 GNU LIBRARY GENERAL PUBLIC LICENSE
6308 Version 2, June 1991
6309
6310 Copyright (C) 1991 Free Software Foundation, Inc.
6311 675 Mass Ave, Cambridge, MA 02139, USA
6312 Everyone is permitted to copy and distribute verbatim copies
6313 of this license document, but changing it is not allowed.
6314
6315[This is the first released version of the library GPL. It is
6316 numbered 2 because it goes with version 2 of the ordinary GPL.]
6317
6318 Preamble
6319
6320 The licenses for most software are designed to take away your
6321freedom to share and change it. By contrast, the GNU General Public
6322Licenses are intended to guarantee your freedom to share and change
6323free software--to make sure the software is free for all its users.
6324
6325 This license, the Library General Public License, applies to some
6326specially designated Free Software Foundation software, and to any
6327other libraries whose authors decide to use it. You can use it for
6328your libraries, too.
6329
6330 When we speak of free software, we are referring to freedom, not
6331price. Our General Public Licenses are designed to make sure that you
6332have the freedom to distribute copies of free software (and charge for
6333this service if you wish), that you receive source code or can get it
6334if you want it, that you can change the software or use pieces of it
6335in new free programs; and that you know you can do these things.
6336
6337 To protect your rights, we need to make restrictions that forbid
6338anyone to deny you these rights or to ask you to surrender the rights.
6339These restrictions translate to certain responsibilities for you if
6340you distribute copies of the library, or if you modify it.
6341
6342 For example, if you distribute copies of the library, whether gratis
6343or for a fee, you must give the recipients all the rights that we gave
6344you. You must make sure that they, too, receive or can get the source
6345code. If you link a program with the library, you must provide
6346complete object files to the recipients so that they can relink them
6347with the library, after making changes to the library and recompiling
6348it. And you must show them these terms so they know their rights.
6349
6350 Our method of protecting your rights has two steps: (1) copyright
6351the library, and (2) offer you this license which gives you legal
6352permission to copy, distribute and/or modify the library.
6353
6354 Also, for each distributor's protection, we want to make certain
6355that everyone understands that there is no warranty for this free
6356library. If the library is modified by someone else and passed on, we
6357want its recipients to know that what they have is not the original
6358version, so that any problems introduced by others will not reflect on
6359the original authors' reputations.
6360
6361 Finally, any free program is threatened constantly by software
6362patents. We wish to avoid the danger that companies distributing free
6363software will individually obtain patent licenses, thus in effect
6364transforming the program into proprietary software. To prevent this,
6365we have made it clear that any patent must be licensed for everyone's
6366free use or not licensed at all.
6367
6368 Most GNU software, including some libraries, is covered by the ordinary
6369GNU General Public License, which was designed for utility programs. This
6370license, the GNU Library General Public License, applies to certain
6371designated libraries. This license is quite different from the ordinary
6372one; be sure to read it in full, and don't assume that anything in it is
6373the same as in the ordinary license.
6374
6375 The reason we have a separate public license for some libraries is that
6376they blur the distinction we usually make between modifying or adding to a
6377program and simply using it. Linking a program with a library, without
6378changing the library, is in some sense simply using the library, and is
6379analogous to running a utility program or application program. However, in
6380a textual and legal sense, the linked executable is a combined work, a
6381derivative of the original library, and the ordinary General Public License
6382treats it as such.
6383
6384 Because of this blurred distinction, using the ordinary General
6385Public License for libraries did not effectively promote software
6386sharing, because most developers did not use the libraries. We
6387concluded that weaker conditions might promote sharing better.
6388
6389 However, unrestricted linking of non-free programs would deprive the
6390users of those programs of all benefit from the free status of the
6391libraries themselves. This Library General Public License is intended to
6392permit developers of non-free programs to use free libraries, while
6393preserving your freedom as a user of such programs to change the free
6394libraries that are incorporated in them. (We have not seen how to achieve
6395this as regards changes in header files, but we have achieved it as regards
6396changes in the actual functions of the Library.) The hope is that this
6397will lead to faster development of free libraries.
6398
6399 The precise terms and conditions for copying, distribution and
6400modification follow. Pay close attention to the difference between a
6401"work based on the library" and a "work that uses the library". The
6402former contains code derived from the library, while the latter only
6403works together with the library.
6404
6405 Note that it is possible for a library to be covered by the ordinary
6406General Public License rather than by this special one.
6407
6408 GNU LIBRARY GENERAL PUBLIC LICENSE
6409 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6410
6411 0. This License Agreement applies to any software library which
6412contains a notice placed by the copyright holder or other authorized
6413party saying it may be distributed under the terms of this Library
6414General Public License (also called "this License"). Each licensee is
6415addressed as "you".
6416
6417 A "library" means a collection of software functions and/or data
6418prepared so as to be conveniently linked with application programs
6419(which use some of those functions and data) to form executables.
6420
6421 The "Library", below, refers to any such software library or work
6422which has been distributed under these terms. A "work based on the
6423Library" means either the Library or any derivative work under
6424copyright law: that is to say, a work containing the Library or a
6425portion of it, either verbatim or with modifications and/or translated
6426straightforwardly into another language. (Hereinafter, translation is
6427included without limitation in the term "modification".)
6428
6429 "Source code" for a work means the preferred form of the work for
6430making modifications to it. For a library, complete source code means
6431all the source code for all modules it contains, plus any associated
6432interface definition files, plus the scripts used to control compilation
6433and installation of the library.
6434
6435 Activities other than copying, distribution and modification are not
6436covered by this License; they are outside its scope. The act of
6437running a program using the Library is not restricted, and output from
6438such a program is covered only if its contents constitute a work based
6439on the Library (independent of the use of the Library in a tool for
6440writing it). Whether that is true depends on what the Library does
6441and what the program that uses the Library does.
6442
6443 1. You may copy and distribute verbatim copies of the Library's
6444complete source code as you receive it, in any medium, provided that
6445you conspicuously and appropriately publish on each copy an
6446appropriate copyright notice and disclaimer of warranty; keep intact
6447all the notices that refer to this License and to the absence of any
6448warranty; and distribute a copy of this License along with the
6449Library.
6450
6451 You may charge a fee for the physical act of transferring a copy,
6452and you may at your option offer warranty protection in exchange for a
6453fee.
6454
6455 2. You may modify your copy or copies of the Library or any portion
6456of it, thus forming a work based on the Library, and copy and
6457distribute such modifications or work under the terms of Section 1
6458above, provided that you also meet all of these conditions:
6459
6460 a) The modified work must itself be a software library.
6461
6462 b) You must cause the files modified to carry prominent notices
6463 stating that you changed the files and the date of any change.
6464
6465 c) You must cause the whole of the work to be licensed at no
6466 charge to all third parties under the terms of this License.
6467
6468 d) If a facility in the modified Library refers to a function or a
6469 table of data to be supplied by an application program that uses
6470 the facility, other than as an argument passed when the facility
6471 is invoked, then you must make a good faith effort to ensure that,
6472 in the event an application does not supply such function or
6473 table, the facility still operates, and performs whatever part of
6474 its purpose remains meaningful.
6475
6476 (For example, a function in a library to compute square roots has
6477 a purpose that is entirely well-defined independent of the
6478 application. Therefore, Subsection 2d requires that any
6479 application-supplied function or table used by this function must
6480 be optional: if the application does not supply it, the square
6481 root function must still compute square roots.)
6482
6483These requirements apply to the modified work as a whole. If
6484identifiable sections of that work are not derived from the Library,
6485and can be reasonably considered independent and separate works in
6486themselves, then this License, and its terms, do not apply to those
6487sections when you distribute them as separate works. But when you
6488distribute the same sections as part of a whole which is a work based
6489on the Library, the distribution of the whole must be on the terms of
6490this License, whose permissions for other licensees extend to the
6491entire whole, and thus to each and every part regardless of who wrote
6492it.
6493
6494Thus, it is not the intent of this section to claim rights or contest
6495your rights to work written entirely by you; rather, the intent is to
6496exercise the right to control the distribution of derivative or
6497collective works based on the Library.
6498
6499In addition, mere aggregation of another work not based on the Library
6500with the Library (or with a work based on the Library) on a volume of
6501a storage or distribution medium does not bring the other work under
6502the scope of this License.
6503
6504 3. You may opt to apply the terms of the ordinary GNU General Public
6505License instead of this License to a given copy of the Library. To do
6506this, you must alter all the notices that refer to this License, so
6507that they refer to the ordinary GNU General Public License, version 2,
6508instead of to this License. (If a newer version than version 2 of the
6509ordinary GNU General Public License has appeared, then you can specify
6510that version instead if you wish.) Do not make any other change in
6511these notices.
6512
6513 Once this change is made in a given copy, it is irreversible for
6514that copy, so the ordinary GNU General Public License applies to all
6515subsequent copies and derivative works made from that copy.
6516
6517 This option is useful when you wish to copy part of the code of
6518the Library into a program that is not a library.
6519
6520 4. You may copy and distribute the Library (or a portion or
6521derivative of it, under Section 2) in object code or executable form
6522under the terms of Sections 1 and 2 above provided that you accompany
6523it with the complete corresponding machine-readable source code, which
6524must be distributed under the terms of Sections 1 and 2 above on a
6525medium customarily used for software interchange.
6526
6527 If distribution of object code is made by offering access to copy
6528from a designated place, then offering equivalent access to copy the
6529source code from the same place satisfies the requirement to
6530distribute the source code, even though third parties are not
6531compelled to copy the source along with the object code.
6532
6533 5. A program that contains no derivative of any portion of the
6534Library, but is designed to work with the Library by being compiled or
6535linked with it, is called a "work that uses the Library". Such a
6536work, in isolation, is not a derivative work of the Library, and
6537therefore falls outside the scope of this License.
6538
6539 However, linking a "work that uses the Library" with the Library
6540creates an executable that is a derivative of the Library (because it
6541contains portions of the Library), rather than a "work that uses the
6542library". The executable is therefore covered by this License.
6543Section 6 states terms for distribution of such executables.
6544
6545 When a "work that uses the Library" uses material from a header file
6546that is part of the Library, the object code for the work may be a
6547derivative work of the Library even though the source code is not.
6548Whether this is true is especially significant if the work can be
6549linked without the Library, or if the work is itself a library. The
6550threshold for this to be true is not precisely defined by law.
6551
6552 If such an object file uses only numerical parameters, data
6553structure layouts and accessors, and small macros and small inline
6554functions (ten lines or less in length), then the use of the object
6555file is unrestricted, regardless of whether it is legally a derivative
6556work. (Executables containing this object code plus portions of the
6557Library will still fall under Section 6.)
6558
6559 Otherwise, if the work is a derivative of the Library, you may
6560distribute the object code for the work under the terms of Section 6.
6561Any executables containing that work also fall under Section 6,
6562whether or not they are linked directly with the Library itself.
6563
6564 6. As an exception to the Sections above, you may also compile or
6565link a "work that uses the Library" with the Library to produce a
6566work containing portions of the Library, and distribute that work
6567under terms of your choice, provided that the terms permit
6568modification of the work for the customer's own use and reverse
6569engineering for debugging such modifications.
6570
6571 You must give prominent notice with each copy of the work that the
6572Library is used in it and that the Library and its use are covered by
6573this License. You must supply a copy of this License. If the work
6574during execution displays copyright notices, you must include the
6575copyright notice for the Library among them, as well as a reference
6576directing the user to the copy of this License. Also, you must do one
6577of these things:
6578
6579 a) Accompany the work with the complete corresponding
6580 machine-readable source code for the Library including whatever
6581 changes were used in the work (which must be distributed under
6582 Sections 1 and 2 above); and, if the work is an executable linked
6583 with the Library, with the complete machine-readable "work that
6584 uses the Library", as object code and/or source code, so that the
6585 user can modify the Library and then relink to produce a modified
6586 executable containing the modified Library. (It is understood
6587 that the user who changes the contents of definitions files in the
6588 Library will not necessarily be able to recompile the application
6589 to use the modified definitions.)
6590
6591 b) Accompany the work with a written offer, valid for at
6592 least three years, to give the same user the materials
6593 specified in Subsection 6a, above, for a charge no more
6594 than the cost of performing this distribution.
6595
6596 c) If distribution of the work is made by offering access to copy
6597 from a designated place, offer equivalent access to copy the above
6598 specified materials from the same place.
6599
6600 d) Verify that the user has already received a copy of these
6601 materials or that you have already sent this user a copy.
6602
6603 For an executable, the required form of the "work that uses the
6604Library" must include any data and utility programs needed for
6605reproducing the executable from it. However, as a special exception,
6606the source code distributed need not include anything that is normally
6607distributed (in either source or binary form) with the major
6608components (compiler, kernel, and so on) of the operating system on
6609which the executable runs, unless that component itself accompanies
6610the executable.
6611
6612 It may happen that this requirement contradicts the license
6613restrictions of other proprietary libraries that do not normally
6614accompany the operating system. Such a contradiction means you cannot
6615use both them and the Library together in an executable that you
6616distribute.
6617
6618 7. You may place library facilities that are a work based on the
6619Library side-by-side in a single library together with other library
6620facilities not covered by this License, and distribute such a combined
6621library, provided that the separate distribution of the work based on
6622the Library and of the other library facilities is otherwise
6623permitted, and provided that you do these two things:
6624
6625 a) Accompany the combined library with a copy of the same work
6626 based on the Library, uncombined with any other library
6627 facilities. This must be distributed under the terms of the
6628 Sections above.
6629
6630 b) Give prominent notice with the combined library of the fact
6631 that part of it is a work based on the Library, and explaining
6632 where to find the accompanying uncombined form of the same work.
6633
6634 8. You may not copy, modify, sublicense, link with, or distribute
6635the Library except as expressly provided under this License. Any
6636attempt otherwise to copy, modify, sublicense, link with, or
6637distribute the Library is void, and will automatically terminate your
6638rights under this License. However, parties who have received copies,
6639or rights, from you under this License will not have their licenses
6640terminated so long as such parties remain in full compliance.
6641
6642 9. You are not required to accept this License, since you have not
6643signed it. However, nothing else grants you permission to modify or
6644distribute the Library or its derivative works. These actions are
6645prohibited by law if you do not accept this License. Therefore, by
6646modifying or distributing the Library (or any work based on the
6647Library), you indicate your acceptance of this License to do so, and
6648all its terms and conditions for copying, distributing or modifying
6649the Library or works based on it.
6650
6651 10. Each time you redistribute the Library (or any work based on the
6652Library), the recipient automatically receives a license from the
6653original licensor to copy, distribute, link with or modify the Library
6654subject to these terms and conditions. You may not impose any further
6655restrictions on the recipients' exercise of the rights granted herein.
6656You are not responsible for enforcing compliance by third parties to
6657this License.
6658
6659 11. If, as a consequence of a court judgment or allegation of patent
6660infringement or for any other reason (not limited to patent issues),
6661conditions are imposed on you (whether by court order, agreement or
6662otherwise) that contradict the conditions of this License, they do not
6663excuse you from the conditions of this License. If you cannot
6664distribute so as to satisfy simultaneously your obligations under this
6665License and any other pertinent obligations, then as a consequence you
6666may not distribute the Library at all. For example, if a patent
6667license would not permit royalty-free redistribution of the Library by
6668all those who receive copies directly or indirectly through you, then
6669the only way you could satisfy both it and this License would be to
6670refrain entirely from distribution of the Library.
6671
6672If any portion of this section is held invalid or unenforceable under any
6673particular circumstance, the balance of the section is intended to apply,
6674and the section as a whole is intended to apply in other circumstances.
6675
6676It is not the purpose of this section to induce you to infringe any
6677patents or other property right claims or to contest validity of any
6678such claims; this section has the sole purpose of protecting the
6679integrity of the free software distribution system which is
6680implemented by public license practices. Many people have made
6681generous contributions to the wide range of software distributed
6682through that system in reliance on consistent application of that
6683system; it is up to the author/donor to decide if he or she is willing
6684to distribute software through any other system and a licensee cannot
6685impose that choice.
6686
6687This section is intended to make thoroughly clear what is believed to
6688be a consequence of the rest of this License.
6689
6690 12. If the distribution and/or use of the Library is restricted in
6691certain countries either by patents or by copyrighted interfaces, the
6692original copyright holder who places the Library under this License may add
6693an explicit geographical distribution limitation excluding those countries,
6694so that distribution is permitted only in or among countries not thus
6695excluded. In such case, this License incorporates the limitation as if
6696written in the body of this License.
6697
6698 13. The Free Software Foundation may publish revised and/or new
6699versions of the Library General Public License from time to time.
6700Such new versions will be similar in spirit to the present version,
6701but may differ in detail to address new problems or concerns.
6702
6703Each version is given a distinguishing version number. If the Library
6704specifies a version number of this License which applies to it and
6705"any later version", you have the option of following the terms and
6706conditions either of that version or of any later version published by
6707the Free Software Foundation. If the Library does not specify a
6708license version number, you may choose any version ever published by
6709the Free Software Foundation.
6710
6711 14. If you wish to incorporate parts of the Library into other free
6712programs whose distribution conditions are incompatible with these,
6713write to the author to ask for permission. For software which is
6714copyrighted by the Free Software Foundation, write to the Free
6715Software Foundation; we sometimes make exceptions for this. Our
6716decision will be guided by the two goals of preserving the free status
6717of all derivatives of our free software and of promoting the sharing
6718and reuse of software generally.
6719
6720 NO WARRANTY
6721
6722 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
6723WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
6724EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
6725OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
6726KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
6727IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
6728PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
6729LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
6730THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
6731
6732 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
6733WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
6734AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
6735FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
6736CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
6737LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
6738RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
6739FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
6740SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
6741DAMAGES.
6742
6743 END OF TERMS AND CONDITIONS
6744
6745 Appendix: How to Apply These Terms to Your New Libraries
6746
6747 If you develop a new library, and you want it to be of the greatest
6748possible use to the public, we recommend making it free software that
6749everyone can redistribute and change. You can do so by permitting
6750redistribution under these terms (or, alternatively, under the terms of the
6751ordinary General Public License).
6752
6753 To apply these terms, attach the following notices to the library. It is
6754safest to attach them to the start of each source file to most effectively
6755convey the exclusion of warranty; and each file should have at least the
6756"copyright" line and a pointer to where the full notice is found.
6757
6758 <one line to give the library's name and a brief idea of what it does.>
6759 Copyright (C) <year> <name of author>
6760
6761 This library is free software; you can redistribute it and/or
6762 modify it under the terms of the GNU Library General Public
6763 License as published by the Free Software Foundation; either
6764 version 2 of the License, or (at your option) any later version.
6765
6766 This library is distributed in the hope that it will be useful,
6767 but WITHOUT ANY WARRANTY; without even the implied warranty of
6768 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6769 Library General Public License for more details.
6770
6771 You should have received a copy of the GNU Library General Public
6772 License along with this library; if not, write to the Free
6773 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
6774
6775Also add information on how to contact you by electronic and paper mail.
6776
6777You should also get your employer (if you work as a programmer) or your
6778school, if any, to sign a "copyright disclaimer" for the library, if
6779necessary. Here is a sample; alter the names:
6780
6781 Yoyodyne, Inc., hereby disclaims all copyright interest in the
6782 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
6783
6784 <signature of Ty Coon>, 1 April 1990
6785 Ty Coon, President of Vice
6786
6787That's all there is to it!
6788
6789
6790 * MODP_B64 - High performance base64 encoder/decoder
6791 * Version 1.3 -- 17-Mar-2006
6792 * http://modp.com/release/base64
6793 *
6794 * Copyright (c) 2005, 2006 Nick Galbreath -- nickg [at] modp [dot] com
6795 * All rights reserved.
6796 *
6797 * Redistribution and use in source and binary forms, with or without
6798 * modification, are permitted provided that the following conditions are
6799 * met:
6800 *
6801 * Redistributions of source code must retain the above copyright
6802 * notice, this list of conditions and the following disclaimer.
6803 *
6804 * Redistributions in binary form must reproduce the above copyright
6805 * notice, this list of conditions and the following disclaimer in the
6806 * documentation and/or other materials provided with the distribution.
6807 *
6808 * Neither the name of the modp.com nor the names of its
6809 * contributors may be used to endorse or promote products derived from
6810 * this software without specific prior written permission.
6811 *
6812 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6813 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6814 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6815 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
6816 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
6817 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
6818 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
6819 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
6820 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6821 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
6822 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6823
6824Copyright 2008 MolokoCacao
6825All rights reserved
6826
6827Redistribution and use in source and binary forms, with or without
6828modification, are permitted providing that the following conditions
6829are met:
68301. Redistributions of source code must retain the above copyright
6831 notice, this list of conditions and the following disclaimer.
68322. Redistributions in binary form must reproduce the above copyright
6833 notice, this list of conditions and the following disclaimer in the
6834 documentation and/or other materials provided with the distribution.
6835
6836THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
6837IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
6838WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
6839ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
6840DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
6841DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
6842OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
6843HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
6844STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
6845IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
6846POSSIBILITY OF SUCH DAMAGE.
6847
6848Copyright (c) 2004-2009 Sergey Lyubka
6849Portions Copyright (c) 2009 Gilbert Wellisch
6850
6851Permission is hereby granted, free of charge, to any person obtaining a copy
6852of this software and associated documentation files (the "Software"), to deal
6853in the Software without restriction, including without limitation the rights
6854to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6855copies of the Software, and to permit persons to whom the Software is
6856furnished to do so, subject to the following conditions:
6857
6858The above copyright notice and this permission notice shall be included in
6859all copies or substantial portions of the Software.
6860
6861THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6862IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6863FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6864AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
6865LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6866OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
6867THE SOFTWARE.
6868
6869
6870Copyright 2010-2011, Google Inc.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006871All rights reserved.
6872
6873Redistribution and use in source and binary forms, with or without
6874modification, are permitted provided that the following conditions are
6875met:
6876
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006877* Redistributions of source code must retain the above copyright
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006878notice, this list of conditions and the following disclaimer.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006879* Redistributions in binary form must reproduce the above
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006880copyright notice, this list of conditions and the following disclaimer
6881in the documentation and/or other materials provided with the
6882distribution.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006883* Neither the name of Google Inc. nor the names of its
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006884contributors may be used to endorse or promote products derived from
6885this software without specific prior written permission.
6886
6887THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6888"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6889LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6890A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
6891OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
6892SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
6893LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
6894DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
6895THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6896(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
6897OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6898
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006899
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006900/* ***** BEGIN LICENSE BLOCK *****
6901 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006902 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006903 * The contents of this file are subject to the Mozilla Public License Version
6904 * 1.1 (the "License"); you may not use this file except in compliance with
6905 * the License. You may obtain a copy of the License at
6906 * http://www.mozilla.org/MPL/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006907 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006908 * Software distributed under the License is distributed on an "AS IS" basis,
6909 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
6910 * for the specific language governing rights and limitations under the
6911 * License.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006912 *
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00006913 * The Original Code is mozilla.org code.
6914 *
6915 * The Initial Developer of the Original Code is
6916 * Netscape Communications Corporation.
6917 * Portions created by the Initial Developer are Copyright (C) 2002
6918 * the Initial Developer. All Rights Reserved.
6919 *
6920 * Contributor(s):
6921 *
6922 * Alternatively, the contents of this file may be used under the terms of
6923 * either the GNU General Public License Version 2 or later (the "GPL"), or
6924 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
6925 * in which case the provisions of the GPL or the LGPL are applicable instead
6926 * of those above. If you wish to allow use of your version of this file only
6927 * under the terms of either the GPL or the LGPL, and not to allow others to
6928 * use your version of this file under the terms of the MPL, indicate your
6929 * decision by deleting the provisions above and replace them with the notice
6930 * and other provisions required by the GPL or the LGPL. If you do not delete
6931 * the provisions above, a recipient may use your version of this file under
6932 * the terms of any one of the MPL, the GPL or the LGPL.
6933 *
6934 * ***** END LICENSE BLOCK ***** */
Torne (Richard Coles)58218062012-11-14 11:43:16 +00006935
6936 A C-program for MT19937, with initialization improved 2002/1/26.
6937 Coded by Takuji Nishimura and Makoto Matsumoto.
6938
6939 Before using, initialize the state by using init_genrand(seed)
6940 or init_by_array(init_key, key_length).
6941
6942 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
6943 All rights reserved.
6944
6945 Redistribution and use in source and binary forms, with or without
6946 modification, are permitted provided that the following conditions
6947 are met:
6948
6949 1. Redistributions of source code must retain the above copyright
6950 notice, this list of conditions and the following disclaimer.
6951
6952 2. Redistributions in binary form must reproduce the above copyright
6953 notice, this list of conditions and the following disclaimer in the
6954 documentation and/or other materials provided with the distribution.
6955
6956 3. The names of its contributors may not be used to endorse or promote
6957 products derived from this software without specific prior written
6958 permission.
6959
6960 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6961 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6962 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6963 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
6964 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
6965 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
6966 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
6967 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
6968 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
6969 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
6970 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6971
6972// Copyright (c) 2006-2009 The Chromium OS Authors. All rights reserved.
6973//
6974// Redistribution and use in source and binary forms, with or without
6975// modification, are permitted provided that the following conditions are
6976// met:
6977//
6978// * Redistributions of source code must retain the above copyright
6979// notice, this list of conditions and the following disclaimer.
6980// * Redistributions in binary form must reproduce the above
6981// copyright notice, this list of conditions and the following disclaimer
6982// in the documentation and/or other materials provided with the
6983// distribution.
6984// * Neither the name of Google Inc. nor the names of its
6985// contributors may be used to endorse or promote products derived from
6986// this software without specific prior written permission.
6987//
6988// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6989// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6990// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6991// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
6992// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
6993// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
6994// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
6995// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
6996// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6997// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
6998// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6999
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007000Version: MPL 1.1/GPL 2.0/LGPL 2.1
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007001
7002The contents of this file are subject to the Mozilla Public License Version
70031.1 (the "License"); you may not use this file except in compliance with
7004the License. You may obtain a copy of the License at
7005http://www.mozilla.org/MPL/
7006
7007Software distributed under the License is distributed on an "AS IS" basis,
7008WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
7009for the specific language governing rights and limitations under the
7010License.
7011
7012The Original Code is mozilla.org code.
7013
7014The Initial Developer of the Original Code is
7015Netscape Communications Corporation.
7016Portions created by the Initial Developer are Copyright (C) 1998
7017the Initial Developer. All Rights Reserved.
7018
7019Contributor(s):
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007020
7021Alternatively, the contents of this file may be used under the terms of
7022either the GNU General Public License Version 2 or later (the "GPL"), or
7023the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
7024in which case the provisions of the GPL or the LGPL are applicable instead
7025of those above. If you wish to allow use of your version of this file only
7026under the terms of either the GPL or the LGPL, and not to allow others to
7027use your version of this file under the terms of the MPL, indicate your
7028decision by deleting the provisions above and replace them with the notice
7029and other provisions required by the GPL or the LGPL. If you do not delete
7030the provisions above, a recipient may use your version of this file under
7031the terms of any one of the MPL, the GPL or the LGPL.
7032
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007033
7034 Copyright (c) 2004-2012 by Mulle Kybernetik. All rights reserved.
7035
7036 Permission to use, copy, modify and distribute this software and its documentation
7037 is hereby granted, provided that both the copyright notice and this permission
7038 notice appear in all copies of the software, derivative works or modified versions,
7039 and any portions thereof, and that both notices appear in supporting documentation,
7040 and that credit is given to Mulle Kybernetik in all documents and publicity
7041 pertaining to direct or indirect use of this code or its derivatives.
7042
7043 THIS IS EXPERIMENTAL SOFTWARE AND IT IS KNOWN TO HAVE BUGS, SOME OF WHICH MAY HAVE
7044 SERIOUS CONSEQUENCES. THE COPYRIGHT HOLDER ALLOWS FREE USE OF THIS SOFTWARE IN ITS
7045 "AS IS" CONDITION. THE COPYRIGHT HOLDER DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY
7046 DAMAGES WHATSOEVER RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE
7047 OR OF ANY DERIVATIVE WORK.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007048
7049 LICENSE ISSUES
7050 ==============
7051
7052 The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
7053 the OpenSSL License and the original SSLeay license apply to the toolkit.
7054 See below for the actual license texts. Actually both licenses are BSD-style
7055 Open Source licenses. In case of any license issues related to OpenSSL
7056 please contact openssl-core@openssl.org.
7057
7058 OpenSSL License
7059 ---------------
7060
7061/* ====================================================================
7062 * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
7063 *
7064 * Redistribution and use in source and binary forms, with or without
7065 * modification, are permitted provided that the following conditions
7066 * are met:
7067 *
7068 * 1. Redistributions of source code must retain the above copyright
7069 * notice, this list of conditions and the following disclaimer.
7070 *
7071 * 2. Redistributions in binary form must reproduce the above copyright
7072 * notice, this list of conditions and the following disclaimer in
7073 * the documentation and/or other materials provided with the
7074 * distribution.
7075 *
7076 * 3. All advertising materials mentioning features or use of this
7077 * software must display the following acknowledgment:
7078 * "This product includes software developed by the OpenSSL Project
7079 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
7080 *
7081 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
7082 * endorse or promote products derived from this software without
7083 * prior written permission. For written permission, please contact
7084 * openssl-core@openssl.org.
7085 *
7086 * 5. Products derived from this software may not be called "OpenSSL"
7087 * nor may "OpenSSL" appear in their names without prior written
7088 * permission of the OpenSSL Project.
7089 *
7090 * 6. Redistributions of any form whatsoever must retain the following
7091 * acknowledgment:
7092 * "This product includes software developed by the OpenSSL Project
7093 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
7094 *
7095 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
7096 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7097 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
7098 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
7099 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7100 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
7101 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
7102 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7103 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
7104 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
7105 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
7106 * OF THE POSSIBILITY OF SUCH DAMAGE.
7107 * ====================================================================
7108 *
7109 * This product includes cryptographic software written by Eric Young
7110 * (eay@cryptsoft.com). This product includes software written by Tim
7111 * Hudson (tjh@cryptsoft.com).
7112 *
7113 */
7114
7115 Original SSLeay License
7116 -----------------------
7117
7118/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
7119 * All rights reserved.
7120 *
7121 * This package is an SSL implementation written
7122 * by Eric Young (eay@cryptsoft.com).
7123 * The implementation was written so as to conform with Netscapes SSL.
7124 *
7125 * This library is free for commercial and non-commercial use as long as
7126 * the following conditions are aheared to. The following conditions
7127 * apply to all code found in this distribution, be it the RC4, RSA,
7128 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
7129 * included with this distribution is covered by the same copyright terms
7130 * except that the holder is Tim Hudson (tjh@cryptsoft.com).
7131 *
7132 * Copyright remains Eric Young's, and as such any Copyright notices in
7133 * the code are not to be removed.
7134 * If this package is used in a product, Eric Young should be given attribution
7135 * as the author of the parts of the library used.
7136 * This can be in the form of a textual message at program startup or
7137 * in documentation (online or textual) provided with the package.
7138 *
7139 * Redistribution and use in source and binary forms, with or without
7140 * modification, are permitted provided that the following conditions
7141 * are met:
7142 * 1. Redistributions of source code must retain the copyright
7143 * notice, this list of conditions and the following disclaimer.
7144 * 2. Redistributions in binary form must reproduce the above copyright
7145 * notice, this list of conditions and the following disclaimer in the
7146 * documentation and/or other materials provided with the distribution.
7147 * 3. All advertising materials mentioning features or use of this software
7148 * must display the following acknowledgement:
7149 * "This product includes cryptographic software written by
7150 * Eric Young (eay@cryptsoft.com)"
7151 * The word 'cryptographic' can be left out if the rouines from the library
7152 * being used are not cryptographic related :-).
7153 * 4. If you include any Windows specific code (or a derivative thereof) from
7154 * the apps directory (application code) you must include an acknowledgement:
7155 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
7156 *
7157 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
7158 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7159 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
7160 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
7161 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
7162 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
7163 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7164 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
7165 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
7166 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
7167 * SUCH DAMAGE.
7168 *
7169 * The licence and distribution terms for any publically available version or
7170 * derivative of this code cannot be changed. i.e. this code cannot simply be
7171 * copied and put under another distribution licence
7172 * [including the GNU Public Licence.]
7173 */
7174
7175
7176Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic,
7177 Jean-Marc Valin, Timothy B. Terriberry,
7178 CSIRO, Gregory Maxwell, Mark Borgerding,
7179 Erik de Castro Lopo
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007180
7181Redistribution and use in source and binary forms, with or without
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007182modification, are permitted provided that the following conditions
7183are met:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007184
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007185- Redistributions of source code must retain the above copyright
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007186notice, this list of conditions and the following disclaimer.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007187
7188- Redistributions in binary form must reproduce the above copyright
7189notice, this list of conditions and the following disclaimer in the
7190documentation and/or other materials provided with the distribution.
7191
7192- Neither the name of Internet Society, IETF or IETF Trust, nor the
7193names of specific contributors, may be used to endorse or promote
7194products derived from this software without specific prior written
7195permission.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007196
7197THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007198``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007199LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007200A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
7201OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
7202EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
7203PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
7204PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
7205LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
7206NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
7207SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007208
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007209Opus is subject to the royalty-free patent licenses which are
7210specified at:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007211
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007212Xiph.Org Foundation:
7213https://datatracker.ietf.org/ipr/1524/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007214
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007215Microsoft Corporation:
7216https://datatracker.ietf.org/ipr/1914/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007217
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007218Broadcom Corporation:
7219https://datatracker.ietf.org/ipr/1526/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007220
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007221// Copyright (c) 2009 The Chromium Authors. All rights reserved.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007222//
7223// Redistribution and use in source and binary forms, with or without
7224// modification, are permitted provided that the following conditions are
7225// met:
7226//
7227// * Redistributions of source code must retain the above copyright
7228// notice, this list of conditions and the following disclaimer.
7229// * Redistributions in binary form must reproduce the above
7230// copyright notice, this list of conditions and the following disclaimer
7231// in the documentation and/or other materials provided with the
7232// distribution.
7233// * Neither the name of Google Inc. nor the names of its
7234// contributors may be used to endorse or promote products derived from
7235// this software without specific prior written permission.
7236//
7237// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7238// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7239// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7240// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7241// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7242// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7243// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7244// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7245// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7246// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7247// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7248
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007249PLY (Python Lex-Yacc) Version 3.4
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007250
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007251Copyright (C) 2001-2011,
7252David M. Beazley (Dabeaz LLC)
7253All rights reserved.
7254
7255Redistribution and use in source and binary forms, with or without
7256modification, are permitted provided that the following conditions are
7257met:
7258
7259* Redistributions of source code must retain the above copyright notice,
7260 this list of conditions and the following disclaimer.
7261* Redistributions in binary form must reproduce the above copyright notice,
7262 this list of conditions and the following disclaimer in the documentation
7263 and/or other materials provided with the distribution.
7264* Neither the name of the David Beazley or Dabeaz LLC may be used to
7265 endorse or promote products derived from this software without
7266 specific prior written permission.
7267
7268THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7269"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7270LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7271A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7272OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7273SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7274LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7275DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7276THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7277(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7278OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Ben Murdocheb525c52013-07-10 11:40:50 +01007279// Copyright (c) 2012 The Polymer Authors. All rights reserved.
7280//
7281// Redistribution and use in source and binary forms, with or without
7282// modification, are permitted provided that the following conditions are
7283// met:
7284//
7285// * Redistributions of source code must retain the above copyright
7286// notice, this list of conditions and the following disclaimer.
7287// * Redistributions in binary form must reproduce the above
7288// copyright notice, this list of conditions and the following disclaimer
7289// in the documentation and/or other materials provided with the
7290// distribution.
7291// * Neither the name of Google Inc. nor the names of its
7292// contributors may be used to endorse or promote products derived from
7293// this software without specific prior written permission.
7294//
7295// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7296// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7297// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7298// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7299// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7300// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7301// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7302// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7303// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7304// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7305// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7306
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007307Copyright 2008, Google Inc.
7308All rights reserved.
7309
7310Redistribution and use in source and binary forms, with or without
7311modification, are permitted provided that the following conditions are
7312met:
7313
7314 * Redistributions of source code must retain the above copyright
7315notice, this list of conditions and the following disclaimer.
7316 * Redistributions in binary form must reproduce the above
7317copyright notice, this list of conditions and the following disclaimer
7318in the documentation and/or other materials provided with the
7319distribution.
7320 * Neither the name of Google Inc. nor the names of its
7321contributors may be used to endorse or promote products derived from
7322this software without specific prior written permission.
7323
7324THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7325"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7326LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7327A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7328OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7329SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7330LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7331DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7332THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7333(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7334OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7335
7336Code generated by the Protocol Buffer compiler is owned by the owner
7337of the input file used when generating it. This code is not
7338standalone and requires a support library to be linked with it. This
7339support library is itself covered by the above license.
7340
7341Copyright (c) 2003-2012, Michael Foord
7342All rights reserved.
7343
7344Redistribution and use in source and binary forms, with or without
7345modification, are permitted provided that the following conditions are
7346met:
7347
7348 * Redistributions of source code must retain the above copyright
7349 notice, this list of conditions and the following disclaimer.
7350
7351 * Redistributions in binary form must reproduce the above
7352 copyright notice, this list of conditions and the following
7353 disclaimer in the documentation and/or other materials provided
7354 with the distribution.
7355
7356THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7357"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7358LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7359A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7360OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7361SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7362LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7363DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7364THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7365(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7366OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7367
7368qcms
7369Copyright (C) 2009 Mozilla Corporation
7370Copyright (C) 1998-2007 Marti Maria
7371
7372Permission is hereby granted, free of charge, to any person obtaining
7373a copy of this software and associated documentation files (the "Software"),
7374to deal in the Software without restriction, including without limitation
7375the rights to use, copy, modify, merge, publish, distribute, sublicense,
7376and/or sell copies of the Software, and to permit persons to whom the Software
7377is furnished to do so, subject to the following conditions:
7378
7379The above copyright notice and this permission notice shall be included in
7380all copies or substantial portions of the Software.
7381
7382THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
7383EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
7384THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
7385NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
7386LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
7387OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
7388WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7389
7390// Copyright (c) 2009 The RE2 Authors. All rights reserved.
7391//
7392// Redistribution and use in source and binary forms, with or without
7393// modification, are permitted provided that the following conditions are
7394// met:
7395//
7396// * Redistributions of source code must retain the above copyright
7397// notice, this list of conditions and the following disclaimer.
7398// * Redistributions in binary form must reproduce the above
7399// copyright notice, this list of conditions and the following disclaimer
7400// in the documentation and/or other materials provided with the
7401// distribution.
7402// * Neither the name of Google Inc. nor the names of its
7403// contributors may be used to endorse or promote products derived from
7404// this software without specific prior written permission.
7405//
7406// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7407// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7408// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7409// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7410// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7411// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7412// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7413// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7414// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7415// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7416// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007417
7418
7419 Apache License
7420 Version 2.0, January 2004
7421 http://www.apache.org/licenses/
7422
7423 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7424
7425 1. Definitions.
7426
7427 "License" shall mean the terms and conditions for use, reproduction,
7428 and distribution as defined by Sections 1 through 9 of this document.
7429
7430 "Licensor" shall mean the copyright owner or entity authorized by
7431 the copyright owner that is granting the License.
7432
7433 "Legal Entity" shall mean the union of the acting entity and all
7434 other entities that control, are controlled by, or are under common
7435 control with that entity. For the purposes of this definition,
7436 "control" means (i) the power, direct or indirect, to cause the
7437 direction or management of such entity, whether by contract or
7438 otherwise, or (ii) ownership of fifty percent (50%) or more of the
7439 outstanding shares, or (iii) beneficial ownership of such entity.
7440
7441 "You" (or "Your") shall mean an individual or Legal Entity
7442 exercising permissions granted by this License.
7443
7444 "Source" form shall mean the preferred form for making modifications,
7445 including but not limited to software source code, documentation
7446 source, and configuration files.
7447
7448 "Object" form shall mean any form resulting from mechanical
7449 transformation or translation of a Source form, including but
7450 not limited to compiled object code, generated documentation,
7451 and conversions to other media types.
7452
7453 "Work" shall mean the work of authorship, whether in Source or
7454 Object form, made available under the License, as indicated by a
7455 copyright notice that is included in or attached to the work
7456 (an example is provided in the Appendix below).
7457
7458 "Derivative Works" shall mean any work, whether in Source or Object
7459 form, that is based on (or derived from) the Work and for which the
7460 editorial revisions, annotations, elaborations, or other modifications
7461 represent, as a whole, an original work of authorship. For the purposes
7462 of this License, Derivative Works shall not include works that remain
7463 separable from, or merely link (or bind by name) to the interfaces of,
7464 the Work and Derivative Works thereof.
7465
7466 "Contribution" shall mean any work of authorship, including
7467 the original version of the Work and any modifications or additions
7468 to that Work or Derivative Works thereof, that is intentionally
7469 submitted to Licensor for inclusion in the Work by the copyright owner
7470 or by an individual or Legal Entity authorized to submit on behalf of
7471 the copyright owner. For the purposes of this definition, "submitted"
7472 means any form of electronic, verbal, or written communication sent
7473 to the Licensor or its representatives, including but not limited to
7474 communication on electronic mailing lists, source code control systems,
7475 and issue tracking systems that are managed by, or on behalf of, the
7476 Licensor for the purpose of discussing and improving the Work, but
7477 excluding communication that is conspicuously marked or otherwise
7478 designated in writing by the copyright owner as "Not a Contribution."
7479
7480 "Contributor" shall mean Licensor and any individual or Legal Entity
7481 on behalf of whom a Contribution has been received by Licensor and
7482 subsequently incorporated within the Work.
7483
7484 2. Grant of Copyright License. Subject to the terms and conditions of
7485 this License, each Contributor hereby grants to You a perpetual,
7486 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7487 copyright license to reproduce, prepare Derivative Works of,
7488 publicly display, publicly perform, sublicense, and distribute the
7489 Work and such Derivative Works in Source or Object form.
7490
7491 3. Grant of Patent License. Subject to the terms and conditions of
7492 this License, each Contributor hereby grants to You a perpetual,
7493 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7494 (except as stated in this section) patent license to make, have made,
7495 use, offer to sell, sell, import, and otherwise transfer the Work,
7496 where such license applies only to those patent claims licensable
7497 by such Contributor that are necessarily infringed by their
7498 Contribution(s) alone or by combination of their Contribution(s)
7499 with the Work to which such Contribution(s) was submitted. If You
7500 institute patent litigation against any entity (including a
7501 cross-claim or counterclaim in a lawsuit) alleging that the Work
7502 or a Contribution incorporated within the Work constitutes direct
7503 or contributory patent infringement, then any patent licenses
7504 granted to You under this License for that Work shall terminate
7505 as of the date such litigation is filed.
7506
7507 4. Redistribution. You may reproduce and distribute copies of the
7508 Work or Derivative Works thereof in any medium, with or without
7509 modifications, and in Source or Object form, provided that You
7510 meet the following conditions:
7511
7512 (a) You must give any other recipients of the Work or
7513 Derivative Works a copy of this License; and
7514
7515 (b) You must cause any modified files to carry prominent notices
7516 stating that You changed the files; and
7517
7518 (c) You must retain, in the Source form of any Derivative Works
7519 that You distribute, all copyright, patent, trademark, and
7520 attribution notices from the Source form of the Work,
7521 excluding those notices that do not pertain to any part of
7522 the Derivative Works; and
7523
7524 (d) If the Work includes a "NOTICE" text file as part of its
7525 distribution, then any Derivative Works that You distribute must
7526 include a readable copy of the attribution notices contained
7527 within such NOTICE file, excluding those notices that do not
7528 pertain to any part of the Derivative Works, in at least one
7529 of the following places: within a NOTICE text file distributed
7530 as part of the Derivative Works; within the Source form or
7531 documentation, if provided along with the Derivative Works; or,
7532 within a display generated by the Derivative Works, if and
7533 wherever such third-party notices normally appear. The contents
7534 of the NOTICE file are for informational purposes only and
7535 do not modify the License. You may add Your own attribution
7536 notices within Derivative Works that You distribute, alongside
7537 or as an addendum to the NOTICE text from the Work, provided
7538 that such additional attribution notices cannot be construed
7539 as modifying the License.
7540
7541 You may add Your own copyright statement to Your modifications and
7542 may provide additional or different license terms and conditions
7543 for use, reproduction, or distribution of Your modifications, or
7544 for any such Derivative Works as a whole, provided Your use,
7545 reproduction, and distribution of the Work otherwise complies with
7546 the conditions stated in this License.
7547
7548 5. Submission of Contributions. Unless You explicitly state otherwise,
7549 any Contribution intentionally submitted for inclusion in the Work
7550 by You to the Licensor shall be under the terms and conditions of
7551 this License, without any additional terms or conditions.
7552 Notwithstanding the above, nothing herein shall supersede or modify
7553 the terms of any separate license agreement you may have executed
7554 with Licensor regarding such Contributions.
7555
7556 6. Trademarks. This License does not grant permission to use the trade
7557 names, trademarks, service marks, or product names of the Licensor,
7558 except as required for reasonable and customary use in describing the
7559 origin of the Work and reproducing the content of the NOTICE file.
7560
7561 7. Disclaimer of Warranty. Unless required by applicable law or
7562 agreed to in writing, Licensor provides the Work (and each
7563 Contributor provides its Contributions) on an "AS IS" BASIS,
7564 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
7565 implied, including, without limitation, any warranties or conditions
7566 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
7567 PARTICULAR PURPOSE. You are solely responsible for determining the
7568 appropriateness of using or redistributing the Work and assume any
7569 risks associated with Your exercise of permissions under this License.
7570
7571 8. Limitation of Liability. In no event and under no legal theory,
7572 whether in tort (including negligence), contract, or otherwise,
7573 unless required by applicable law (such as deliberate and grossly
7574 negligent acts) or agreed to in writing, shall any Contributor be
7575 liable to You for damages, including any direct, indirect, special,
7576 incidental, or consequential damages of any character arising as a
7577 result of this License or out of the use or inability to use the
7578 Work (including but not limited to damages for loss of goodwill,
7579 work stoppage, computer failure or malfunction, or any and all
7580 other commercial damages or losses), even if such Contributor
7581 has been advised of the possibility of such damages.
7582
7583 9. Accepting Warranty or Additional Liability. While redistributing
7584 the Work or Derivative Works thereof, You may choose to offer,
7585 and charge a fee for, acceptance of support, warranty, indemnity,
7586 or other liability obligations and/or rights consistent with this
7587 License. However, in accepting such obligations, You may act only
7588 on Your own behalf and on Your sole responsibility, not on behalf
7589 of any other Contributor, and only if You agree to indemnify,
7590 defend, and hold each Contributor harmless for any liability
7591 incurred by, or claims asserted against, such Contributor by reason
7592 of your accepting any such warranty or additional liability.
7593
7594 END OF TERMS AND CONDITIONS
7595
7596 APPENDIX: How to apply the Apache License to your work.
7597
7598 To apply the Apache License to your work, attach the following
7599 boilerplate notice, with the fields enclosed by brackets "[]"
7600 replaced with your own identifying information. (Don't include
7601 the brackets!) The text should be enclosed in the appropriate
7602 comment syntax for the file format. We also recommend that a
7603 file or class name and description of purpose be included on the
7604 same "printed page" as the copyright notice for easier
7605 identification within third-party archives.
7606
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007607 Copyright 2011 Google Inc. All Rights Reserved.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007608
7609 Licensed under the Apache License, Version 2.0 (the "License");
7610 you may not use this file except in compliance with the License.
7611 You may obtain a copy of the License at
7612
7613 http://www.apache.org/licenses/LICENSE-2.0
7614
7615 Unless required by applicable law or agreed to in writing, software
7616 distributed under the License is distributed on an "AS IS" BASIS,
7617 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7618 See the License for the specific language governing permissions and
7619 limitations under the License.
7620
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007621
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007622Copyright (c) 2006 Bob Ippolito
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007623
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007624Permission is hereby granted, free of charge, to any person obtaining a copy of
7625this software and associated documentation files (the "Software"), to deal in
7626the Software without restriction, including without limitation the rights to
7627use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7628of the Software, and to permit persons to whom the Software is furnished to do
7629so, subject to the following conditions:
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007630
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007631The above copyright notice and this permission notice shall be included in all
7632copies or substantial portions of the Software.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007633
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007634THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7635IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7636FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7637AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7638LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7639OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7640SOFTWARE.
7641
7642// Copyright (c) 2011 Google Inc. All rights reserved.
7643//
7644// Redistribution and use in source and binary forms, with or without
7645// modification, are permitted provided that the following conditions are
7646// met:
7647//
7648// * Redistributions of source code must retain the above copyright
7649// notice, this list of conditions and the following disclaimer.
7650// * Redistributions in binary form must reproduce the above
7651// copyright notice, this list of conditions and the following disclaimer
7652// in the documentation and/or other materials provided with the
7653// distribution.
7654// * Neither the name of Google Inc. nor the names of its
7655// contributors may be used to endorse or promote products derived from
7656// this software without specific prior written permission.
7657//
7658// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7659// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7660// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7661// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7662// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7663// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7664// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7665// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7666// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7667// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7668// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7669
7670All MurmurHash source files are placed in the public domain.
7671
7672The license below applies to all other code in SMHasher:
7673
7674Copyright (c) 2011 Google, Inc.
7675
7676Permission is hereby granted, free of charge, to any person obtaining a copy
7677of this software and associated documentation files (the "Software"), to deal
7678in the Software without restriction, including without limitation the rights
7679to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7680copies of the Software, and to permit persons to whom the Software is
7681furnished to do so, subject to the following conditions:
7682
7683The above copyright notice and this permission notice shall be included in
7684all copies or substantial portions of the Software.
7685
7686THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7687IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7688FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7689AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7690LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7691OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
7692THE SOFTWARE.
7693
7694The author disclaims copyright to this source code. In place of
7695a legal notice, here is a blessing:
7696
7697 May you do good and not evil.
7698 May you find forgiveness for yourself and forgive others.
7699 May you share freely, never taking more than you give.
7700
7701SWIG is distributed under the following terms:
7702
7703I.
7704
7705Copyright (c) 1995-1998
7706The University of Utah and the Regents of the University of California
7707All Rights Reserved
7708
7709Permission is hereby granted, without written agreement and without
7710license or royalty fees, to use, copy, modify, and distribute this
7711software and its documentation for any purpose, provided that
7712(1) The above copyright notice and the following two paragraphs
7713appear in all copies of the source code and (2) redistributions
7714including binaries reproduces these notices in the supporting
7715documentation. Substantial modifications to this software may be
7716copyrighted by their authors and need not follow the licensing terms
7717described here, provided that the new terms are clearly indicated in
7718all files where they apply.
7719
7720IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE
7721UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY
7722PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
7723DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
7724EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF
7725THE POSSIBILITY OF SUCH DAMAGE.
7726
7727THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH
7728SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO,
7729THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
7730PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND
7731THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE,
7732SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
7733
7734
7735II.
7736
7737This software includes contributions that are Copyright (c) 1998-2005
7738University of Chicago.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007739All rights reserved.
7740
7741Redistribution and use in source and binary forms, with or without
7742modification, are permitted provided that the following conditions are
7743met:
7744
7745Redistributions of source code must retain the above copyright notice,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007746this list of conditions and the following disclaimer. Redistributions
7747in binary form must reproduce the above copyright notice, this list of
7748conditions and the following disclaimer in the documentation and/or
7749other materials provided with the distribution. Neither the name of
7750the University of Chicago nor the names of its contributors may be
7751used to endorse or promote products derived from this software without
7752specific prior written permission.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007753
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007754THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF CHICAGO AND CONTRIBUTORS
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007755"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007756LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
7757PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF
7758CHICAGO OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7759SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
7760TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
7761PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
7762LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
7763NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
7764SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007765
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007766
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007767III.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007768
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007769This software includes contributions that are Copyright (c) 2005-2006
7770Arizona Board of Regents (University of Arizona).
7771All Rights Reserved
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007772
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007773Permission is hereby granted, without written agreement and without
7774license or royalty fees, to use, copy, modify, and distribute this
7775software and its documentation for any purpose, provided that
7776(1) The above copyright notice and the following two paragraphs
7777appear in all copies of the source code and (2) redistributions
7778including binaries reproduces these notices in the supporting
7779documentation. Substantial modifications to this software may be
7780copyrighted by their authors and need not follow the licensing terms
7781described here, provided that the new terms are clearly indicated in
7782all files where they apply.
7783
7784THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA AND CONTRIBUTORS
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007785"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007786LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
7787PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF
7788ARIZONA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7789SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
7790TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
7791PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
7792LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
7793NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
7794SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7795
7796
7797// Copyright (c) 2005, Google Inc.
7798// All rights reserved.
7799//
7800// Redistribution and use in source and binary forms, with or without
7801// modification, are permitted provided that the following conditions are
7802// met:
7803//
7804// * Redistributions of source code must retain the above copyright
7805// notice, this list of conditions and the following disclaimer.
7806// * Redistributions in binary form must reproduce the above
7807// copyright notice, this list of conditions and the following disclaimer
7808// in the documentation and/or other materials provided with the
7809// distribution.
7810// * Neither the name of Google Inc. nor the names of its
7811// contributors may be used to endorse or promote products derived from
7812// this software without specific prior written permission.
7813//
7814// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7815// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7816// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7817// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7818// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7819// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7820// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7821// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7822// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7823// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7824// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7825
7826All code here is public domain.
7827
7828Copyright (c) 2012, Linux USB Project
7829All rights reserved.
7830
7831Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
7832
7833o Redistributions of source code must retain the above copyright notice,
7834 this list of conditions and the following disclaimer.
7835
7836o Redistributions in binary form must reproduce the above copyright
7837 notice, this list of conditions and the following disclaimer in the
7838 documentation and/or other materials provided with the distribution.
7839
7840o Neither the name of the Linux USB Project nor the names of its
7841 contributors may be used to endorse or promote products derived from
7842 this software without specific prior written permission.
7843
7844THIS 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.
7845
Torne (Richard Coles)b2df76e2013-05-13 16:52:09 +01007846(Copied from the COPYRIGHT file of
7847https://code.google.com/p/sctp-refimpl/source/browse/trunk/COPYRIGHT)
7848--------------------------------------------------------------------------------
7849
7850Copyright (c) 2001, 2002 Cisco Systems, Inc.
7851Copyright (c) 2002-12 Randall R. Stewart
7852Copyright (c) 2002-12 Michael Tuexen
7853All rights reserved.
7854
7855Redistribution and use in source and binary forms, with or without
7856modification, are permitted provided that the following conditions
7857are met:
7858
78591. Redistributions of source code must retain the above copyright
7860 notice, this list of conditions and the following disclaimer.
78612. Redistributions in binary form must reproduce the above copyright
7862 notice, this list of conditions and the following disclaimer in the
7863 documentation and/or other materials provided with the distribution.
7864
7865THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
7866ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7867IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
7868ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
7869FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
7870DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
7871OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7872HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
7873LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
7874OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
7875SUCH DAMAGE.
7876
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00007877;*****************************************************************************
7878;* x86inc.asm
7879;*****************************************************************************
7880;* Copyright (C) 2005-2011 x264 project
7881;*
7882;* Authors: Loren Merritt <lorenm@u.washington.edu>
7883;* Anton Mitrofanov <BugMaster@narod.ru>
7884;* Jason Garrett-Glaser <darkshikari@gmail.com>
7885;*
7886;* Permission to use, copy, modify, and/or distribute this software for any
7887;* purpose with or without fee is hereby granted, provided that the above
7888;* copyright notice and this permission notice appear in all copies.
7889;*
7890;* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
7891;* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
7892;* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
7893;* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
7894;* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
7895;* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
7896;* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
7897;*****************************************************************************
7898
7899; This is a header file for the x264ASM assembly language, which uses
7900; NASM/YASM syntax combined with a large number of macros to provide easy
7901; abstraction between different calling conventions (x86_32, win64, linux64).
7902; It also has various other useful features to simplify writing the kind of
7903; DSP functions that are most often used in x264.
7904
7905; Unlike the rest of x264, this file is available under an ISC license, as it
7906; has significant usefulness outside of x264 and we want it to be available
7907; to the largest audience possible. Of course, if you modify it for your own
7908; purposes to add a new feature, we strongly encourage contributing a patch
7909; as this feature might be useful for others as well. Send patches or ideas
7910; to x264-devel@videolan.org .
7911
7912Yasm is Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
7913
7914Yasm developers and/or contributors include:
7915 Peter Johnson
7916 Michael Urman
7917 Brian Gladman (Visual Studio build files, other fixes)
7918 Stanislav Karchebny (options parser)
7919 Mathieu Monnier (SSE4 instruction patches, NASM preprocessor additions)
7920 Anonymous "NASM64" developer (NASM preprocessor fixes)
7921 Stephen Polkowski (x86 instruction patches)
7922 Henryk Richter (Mach-O object format)
7923 Ben Skeggs (patches, bug reports)
7924 Alexei Svitkine (GAS preprocessor)
7925 Samuel Thibault (TASM parser and frontend)
7926
7927-----------------------------------
7928Yasm licensing overview and summary
7929-----------------------------------
7930
7931Note: This document does not provide legal advice nor is it the actual
7932license of any part of Yasm. See the individual licenses for complete
7933details. Consult a lawyer for legal advice.
7934
7935The primary license of Yasm is the 2-clause BSD license. Please use this
7936license if you plan on submitting code to the project.
7937
7938Yasm has absolutely no warranty; not even for merchantibility or fitness
7939for a particular purpose.
7940
7941-------
7942Libyasm
7943-------
7944Libyasm is 2-clause or 3-clause BSD licensed, with the exception of
7945bitvect, which is triple-licensed under the Artistic license, GPL, and
7946LGPL. Libyasm is thus GPL and LGPL compatible. In addition, this also
7947means that libyasm is free for binary-only distribution as long as the
7948terms of the 3-clause BSD license and Artistic license (as it applies to
7949bitvect) are fulfilled.
7950
7951-------
7952Modules
7953-------
7954The modules are 2-clause or 3-clause BSD licensed.
7955
7956---------
7957Frontends
7958---------
7959The frontends are 2-clause BSD licensed.
7960
7961-------------
7962License Texts
7963-------------
7964The full text of all licenses are provided in separate files in the source
7965distribution. Each source file may include the entire license (in the case
7966of the BSD and Artistic licenses), or may reference the GPL or LGPL license
7967file.
7968
7969BSD.txt - 2-clause and 3-clause BSD licenses
7970Artistic.txt - Artistic license
7971GNU_GPL-2.0 - GNU General Public License
7972GNU_LGPL-2.0 - GNU Library General Public License
7973
7974/* zlib.h -- interface of the 'zlib' general purpose compression library
7975 version 1.2.4, March 14th, 2010
7976
7977 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
7978
7979 This software is provided 'as-is', without any express or implied
7980 warranty. In no event will the authors be held liable for any damages
7981 arising from the use of this software.
7982
7983 Permission is granted to anyone to use this software for any purpose,
7984 including commercial applications, and to alter it and redistribute it
7985 freely, subject to the following restrictions:
7986
7987 1. The origin of this software must not be misrepresented; you must not
7988 claim that you wrote the original software. If you use this software
7989 in a product, an acknowledgment in the product documentation would be
7990 appreciated but is not required.
7991 2. Altered source versions must be plainly marked as such, and must not be
7992 misrepresented as being the original software.
7993 3. This notice may not be removed or altered from any source distribution.
7994
7995 Jean-loup Gailly
7996 Mark Adler
7997
7998*/
Torne (Richard Coles)58218062012-11-14 11:43:16 +00007999
8000This license applies to all parts of V8 that are not externally
8001maintained libraries. The externally maintained libraries used by V8
8002are:
8003
8004 - PCRE test suite, located in
8005 test/mjsunit/third_party/regexp-pcre.js. This is based on the
8006 test suite from PCRE-7.3, which is copyrighted by the University
8007 of Cambridge and Google, Inc. The copyright notice and license
8008 are embedded in regexp-pcre.js.
8009
8010 - Layout tests, located in test/mjsunit/third_party. These are
8011 based on layout tests from webkit.org which are copyrighted by
8012 Apple Computer, Inc. and released under a 3-clause BSD license.
8013
8014 - Strongtalk assembler, the basis of the files assembler-arm-inl.h,
8015 assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h,
8016 assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h,
8017 assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h,
8018 assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h.
8019 This code is copyrighted by Sun Microsystems Inc. and released
8020 under a 3-clause BSD license.
8021
8022 - Valgrind client API header, located at third_party/valgrind/valgrind.h
8023 This is release under the BSD license.
8024
8025These libraries have their own licenses; we recommend you read them,
8026as their terms may differ from the terms below.
8027
8028Copyright 2006-2012, the V8 project authors. All rights reserved.
8029Redistribution and use in source and binary forms, with or without
8030modification, are permitted provided that the following conditions are
8031met:
8032
8033 * Redistributions of source code must retain the above copyright
8034 notice, this list of conditions and the following disclaimer.
8035 * Redistributions in binary form must reproduce the above
8036 copyright notice, this list of conditions and the following
8037 disclaimer in the documentation and/or other materials provided
8038 with the distribution.
8039 * Neither the name of Google Inc. nor the names of its
8040 contributors may be used to endorse or promote products derived
8041 from this software without specific prior written permission.
8042
8043THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
8044"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
8045LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8046A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
8047OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8048SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
8049LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8050DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8051THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8052(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8053OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.