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