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