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