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