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