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