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