1 // Copyright 2014 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 Paul Hsieh OLD BSD license 114 115 Copyright (c) 2010, Paul Hsieh 116 All rights reserved. 117 118 Redistribution and use in source and binary forms, with or without modification, 119 are permitted provided that the following conditions are met: 120 121 * Redistributions of source code must retain the above copyright notice, this 122 list of conditions and the following disclaimer. 123 * Redistributions in binary form must reproduce the above copyright notice, this 124 list of conditions and the following disclaimer in the documentation and/or 125 other materials provided with the distribution. 126 * Neither my name, Paul Hsieh, nor the names of any other contributors to the 127 code use may not be used to endorse or promote products derived from this 128 software without specific prior written permission. 129 130 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 131 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 132 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 133 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 134 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 135 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 136 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 137 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 138 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 139 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 140 141 // Copyright (c) 2006, Google Inc. 142 // All rights reserved. 143 // 144 // Redistribution and use in source and binary forms, with or without 145 // modification, are permitted provided that the following conditions are 146 // met: 147 // 148 // * Redistributions of source code must retain the above copyright 149 // notice, this list of conditions and the following disclaimer. 150 // * Redistributions in binary form must reproduce the above 151 // copyright notice, this list of conditions and the following disclaimer 152 // in the documentation and/or other materials provided with the 153 // distribution. 154 // * Neither the name of Google Inc. nor the names of its 155 // contributors may be used to endorse or promote products derived from 156 // this software without specific prior written permission. 157 // 158 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 159 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 160 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 161 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 162 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 163 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 164 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 165 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 166 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 167 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 168 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 169 170 Notice that the following BSD-style license applies to the Valgrind header 171 files used by Chromium (valgrind.h and memcheck.h). However, the rest of 172 Valgrind is licensed under the terms of the GNU General Public License, 173 version 2, unless otherwise indicated. 174 175 ---------------------------------------------------------------- 176 177 Copyright (C) 2000-2008 Julian Seward. All rights reserved. 178 179 Redistribution and use in source and binary forms, with or without 180 modification, are permitted provided that the following conditions 181 are met: 182 183 1. Redistributions of source code must retain the above copyright 184 notice, this list of conditions and the following disclaimer. 185 186 2. The origin of this software must not be misrepresented; you must 187 not claim that you wrote the original software. If you use this 188 software in a product, an acknowledgment in the product 189 documentation would be appreciated but is not required. 190 191 3. Altered source versions must be plainly marked as such, and must 192 not be misrepresented as being the original software. 193 194 4. The name of the author may not be used to endorse or promote 195 products derived from this software without specific prior written 196 permission. 197 198 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 199 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 200 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 201 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 202 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 203 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 204 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 205 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 206 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 207 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 208 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 209 210 Copyright (c) 2007 Red Hat, inc 211 212 Permission is hereby granted, free of charge, to any person 213 obtaining a copy of this software and associated documentation files 214 (the "Software"), to deal in the Software without restriction, 215 including without limitation the rights to use, copy, modify, merge, 216 publish, distribute, sublicense, and/or sell copies of the Software, 217 and to permit persons to whom the Software is furnished to do so, 218 subject to the following conditions: 219 220 The above copyright notice and this permission notice shall be 221 included in all copies or substantial portions of the Software. 222 223 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 224 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 225 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 226 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 227 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 228 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 229 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 230 SOFTWARE. 231 232 Copyright 2003-2005 Colin Percival 233 All rights reserved 234 235 Redistribution and use in source and binary forms, with or without 236 modification, are permitted providing that the following conditions 237 are met: 238 1. Redistributions of source code must retain the above copyright 239 notice, this list of conditions and the following disclaimer. 240 2. Redistributions in binary form must reproduce the above copyright 241 notice, this list of conditions and the following disclaimer in the 242 documentation and/or other materials provided with the distribution. 243 244 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 245 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 246 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 247 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 248 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 249 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 250 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 251 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 252 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 253 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 254 POSSIBILITY OF SUCH DAMAGE. 255 256 257 Apache License 258 Version 2.0, January 2004 259 http://www.apache.org/licenses/ 260 261 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 262 263 1. Definitions. 264 265 "License" shall mean the terms and conditions for use, reproduction, 266 and distribution as defined by Sections 1 through 9 of this document. 267 268 "Licensor" shall mean the copyright owner or entity authorized by 269 the copyright owner that is granting the License. 270 271 "Legal Entity" shall mean the union of the acting entity and all 272 other entities that control, are controlled by, or are under common 273 control with that entity. For the purposes of this definition, 274 "control" means (i) the power, direct or indirect, to cause the 275 direction or management of such entity, whether by contract or 276 otherwise, or (ii) ownership of fifty percent (50%) or more of the 277 outstanding shares, or (iii) beneficial ownership of such entity. 278 279 "You" (or "Your") shall mean an individual or Legal Entity 280 exercising permissions granted by this License. 281 282 "Source" form shall mean the preferred form for making modifications, 283 including but not limited to software source code, documentation 284 source, and configuration files. 285 286 "Object" form shall mean any form resulting from mechanical 287 transformation or translation of a Source form, including but 288 not limited to compiled object code, generated documentation, 289 and conversions to other media types. 290 291 "Work" shall mean the work of authorship, whether in Source or 292 Object form, made available under the License, as indicated by a 293 copyright notice that is included in or attached to the work 294 (an example is provided in the Appendix below). 295 296 "Derivative Works" shall mean any work, whether in Source or Object 297 form, that is based on (or derived from) the Work and for which the 298 editorial revisions, annotations, elaborations, or other modifications 299 represent, as a whole, an original work of authorship. For the purposes 300 of this License, Derivative Works shall not include works that remain 301 separable from, or merely link (or bind by name) to the interfaces of, 302 the Work and Derivative Works thereof. 303 304 "Contribution" shall mean any work of authorship, including 305 the original version of the Work and any modifications or additions 306 to that Work or Derivative Works thereof, that is intentionally 307 submitted to Licensor for inclusion in the Work by the copyright owner 308 or by an individual or Legal Entity authorized to submit on behalf of 309 the copyright owner. For the purposes of this definition, "submitted" 310 means any form of electronic, verbal, or written communication sent 311 to the Licensor or its representatives, including but not limited to 312 communication on electronic mailing lists, source code control systems, 313 and issue tracking systems that are managed by, or on behalf of, the 314 Licensor for the purpose of discussing and improving the Work, but 315 excluding communication that is conspicuously marked or otherwise 316 designated in writing by the copyright owner as "Not a Contribution." 317 318 "Contributor" shall mean Licensor and any individual or Legal Entity 319 on behalf of whom a Contribution has been received by Licensor and 320 subsequently incorporated within the Work. 321 322 2. Grant of Copyright License. Subject to the terms and conditions of 323 this License, each Contributor hereby grants to You a perpetual, 324 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 325 copyright license to reproduce, prepare Derivative Works of, 326 publicly display, publicly perform, sublicense, and distribute the 327 Work and such Derivative Works in Source or Object form. 328 329 3. Grant of Patent License. Subject to the terms and conditions of 330 this License, each Contributor hereby grants to You a perpetual, 331 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 332 (except as stated in this section) patent license to make, have made, 333 use, offer to sell, sell, import, and otherwise transfer the Work, 334 where such license applies only to those patent claims licensable 335 by such Contributor that are necessarily infringed by their 336 Contribution(s) alone or by combination of their Contribution(s) 337 with the Work to which such Contribution(s) was submitted. If You 338 institute patent litigation against any entity (including a 339 cross-claim or counterclaim in a lawsuit) alleging that the Work 340 or a Contribution incorporated within the Work constitutes direct 341 or contributory patent infringement, then any patent licenses 342 granted to You under this License for that Work shall terminate 343 as of the date such litigation is filed. 344 345 4. Redistribution. You may reproduce and distribute copies of the 346 Work or Derivative Works thereof in any medium, with or without 347 modifications, and in Source or Object form, provided that You 348 meet the following conditions: 349 350 (a) You must give any other recipients of the Work or 351 Derivative Works a copy of this License; and 352 353 (b) You must cause any modified files to carry prominent notices 354 stating that You changed the files; and 355 356 (c) You must retain, in the Source form of any Derivative Works 357 that You distribute, all copyright, patent, trademark, and 358 attribution notices from the Source form of the Work, 359 excluding those notices that do not pertain to any part of 360 the Derivative Works; and 361 362 (d) If the Work includes a "NOTICE" text file as part of its 363 distribution, then any Derivative Works that You distribute must 364 include a readable copy of the attribution notices contained 365 within such NOTICE file, excluding those notices that do not 366 pertain to any part of the Derivative Works, in at least one 367 of the following places: within a NOTICE text file distributed 368 as part of the Derivative Works; within the Source form or 369 documentation, if provided along with the Derivative Works; or, 370 within a display generated by the Derivative Works, if and 371 wherever such third-party notices normally appear. The contents 372 of the NOTICE file are for informational purposes only and 373 do not modify the License. You may add Your own attribution 374 notices within Derivative Works that You distribute, alongside 375 or as an addendum to the NOTICE text from the Work, provided 376 that such additional attribution notices cannot be construed 377 as modifying the License. 378 379 You may add Your own copyright statement to Your modifications and 380 may provide additional or different license terms and conditions 381 for use, reproduction, or distribution of Your modifications, or 382 for any such Derivative Works as a whole, provided Your use, 383 reproduction, and distribution of the Work otherwise complies with 384 the conditions stated in this License. 385 386 5. Submission of Contributions. Unless You explicitly state otherwise, 387 any Contribution intentionally submitted for inclusion in the Work 388 by You to the Licensor shall be under the terms and conditions of 389 this License, without any additional terms or conditions. 390 Notwithstanding the above, nothing herein shall supersede or modify 391 the terms of any separate license agreement you may have executed 392 with Licensor regarding such Contributions. 393 394 6. Trademarks. This License does not grant permission to use the trade 395 names, trademarks, service marks, or product names of the Licensor, 396 except as required for reasonable and customary use in describing the 397 origin of the Work and reproducing the content of the NOTICE file. 398 399 7. Disclaimer of Warranty. Unless required by applicable law or 400 agreed to in writing, Licensor provides the Work (and each 401 Contributor provides its Contributions) on an "AS IS" BASIS, 402 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 403 implied, including, without limitation, any warranties or conditions 404 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 405 PARTICULAR PURPOSE. You are solely responsible for determining the 406 appropriateness of using or redistributing the Work and assume any 407 risks associated with Your exercise of permissions under this License. 408 409 8. Limitation of Liability. In no event and under no legal theory, 410 whether in tort (including negligence), contract, or otherwise, 411 unless required by applicable law (such as deliberate and grossly 412 negligent acts) or agreed to in writing, shall any Contributor be 413 liable to You for damages, including any direct, indirect, special, 414 incidental, or consequential damages of any character arising as a 415 result of this License or out of the use or inability to use the 416 Work (including but not limited to damages for loss of goodwill, 417 work stoppage, computer failure or malfunction, or any and all 418 other commercial damages or losses), even if such Contributor 419 has been advised of the possibility of such damages. 420 421 9. Accepting Warranty or Additional Liability. While redistributing 422 the Work or Derivative Works thereof, You may choose to offer, 423 and charge a fee for, acceptance of support, warranty, indemnity, 424 or other liability obligations and/or rights consistent with this 425 License. However, in accepting such obligations, You may act only 426 on Your own behalf and on Your sole responsibility, not on behalf 427 of any other Contributor, and only if You agree to indemnify, 428 defend, and hold each Contributor harmless for any liability 429 incurred by, or claims asserted against, such Contributor by reason 430 of your accepting any such warranty or additional liability. 431 432 END OF TERMS AND CONDITIONS 433 434 APPENDIX: How to apply the Apache License to your work. 435 436 To apply the Apache License to your work, attach the following 437 boilerplate notice, with the fields enclosed by brackets "[]" 438 replaced with your own identifying information. (Don't include 439 the brackets!) The text should be enclosed in the appropriate 440 comment syntax for the file format. We also recommend that a 441 file or class name and description of purpose be included on the 442 same "printed page" as the copyright notice for easier 443 identification within third-party archives. 444 445 Copyright 2007-2009 Google Inc. 446 Copyright 2007-2009 WebDriver committers 447 448 Licensed under the Apache License, Version 2.0 (the "License"); 449 you may not use this file except in compliance with the License. 450 You may obtain a copy of the License at 451 452 http://www.apache.org/licenses/LICENSE-2.0 453 454 Unless required by applicable law or agreed to in writing, software 455 distributed under the License is distributed on an "AS IS" BASIS, 456 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 457 See the License for the specific language governing permissions and 458 limitations under the License. 459 460 461 // Copyright 2013 Google Inc. 462 // 463 // Licensed under the Apache License, Version 2.0 (the "License"); 464 // you may not use this file except in compliance with the License. 465 // You may obtain a copy of the License at 466 // 467 // http://www.apache.org/licenses/LICENSE-2.0 468 // 469 // Unless required by applicable law or agreed to in writing, software 470 // distributed under the License is distributed on an "AS IS" BASIS, 471 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 472 // See the License for the specific language governing permissions and 473 // limitations under the License. 474 475 Copyright (C) 2009 by Tung Mac. 476 477 Permission is hereby granted, free of charge, to any person obtaining a copy 478 of this software and associated documentation files (the "Software"), to deal 479 in the Software without restriction, including without limitation the rights 480 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 481 copies of the Software, and to permit persons to whom the Software is 482 furnished to do so, subject to the following conditions: 483 484 The above copyright notice and this permission notice shall be included in 485 all copies or substantial portions of the Software. 486 487 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 488 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 489 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 490 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 491 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 492 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 493 THE SOFTWARE. 494 495 /* ***** BEGIN LICENSE BLOCK ***** 496 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 497 * 498 * The contents of this file are subject to the Mozilla Public License Version 499 * 1.1 (the "License"); you may not use this file except in compliance with 500 * the License. You may obtain a copy of the License at 501 * http://www.mozilla.org/MPL/ 502 * 503 * Software distributed under the License is distributed on an "AS IS" basis, 504 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 505 * for the specific language governing rights and limitations under the 506 * License. 507 * 508 * The Original Code is the Netscape security libraries. 509 * 510 * The Initial Developer of the Original Code is 511 * Netscape Communications Corporation. 512 * Portions created by the Initial Developer are Copyright (C) 2000 513 * the Initial Developer. All Rights Reserved. 514 * 515 * Contributor(s): 516 * 517 * Alternatively, the contents of this file may be used under the terms of 518 * either the GNU General Public License Version 2 or later (the "GPL"), or 519 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 520 * in which case the provisions of the GPL or the LGPL are applicable instead 521 * of those above. If you wish to allow use of your version of this file only 522 * under the terms of either the GPL or the LGPL, and not to allow others to 523 * use your version of this file under the terms of the MPL, indicate your 524 * decision by deleting the provisions above and replace them with the notice 525 * and other provisions required by the GPL or the LGPL. If you do not delete 526 * the provisions above, a recipient may use your version of this file under 527 * the terms of any one of the MPL, the GPL or the LGPL. 528 * 529 * ***** END LICENSE BLOCK ***** */ 530 531 /* ***** BEGIN LICENSE BLOCK ***** 532 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 533 * 534 * The contents of this file are subject to the Mozilla Public License Version 535 * 1.1 (the "License"); you may not use this file except in compliance with 536 * the License. You may obtain a copy of the License at 537 * http://www.mozilla.org/MPL/ 538 * 539 * Software distributed under the License is distributed on an "AS IS" basis, 540 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 541 * for the specific language governing rights and limitations under the 542 * License. 543 * 544 * The Original Code is the Netscape security libraries. 545 * 546 * The Initial Developer of the Original Code is 547 * Netscape Communications Corporation. 548 * Portions created by the Initial Developer are Copyright (C) 1994-2000 549 * the Initial Developer. All Rights Reserved. 550 * 551 * Contributor(s): 552 * 553 * Alternatively, the contents of this file may be used under the terms of 554 * either the GNU General Public License Version 2 or later (the "GPL"), or 555 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 556 * in which case the provisions of the GPL or the LGPL are applicable instead 557 * of those above. If you wish to allow use of your version of this file only 558 * under the terms of either the GPL or the LGPL, and not to allow others to 559 * use your version of this file under the terms of the MPL, indicate your 560 * decision by deleting the provisions above and replace them with the notice 561 * and other provisions required by the GPL or the LGPL. If you do not delete 562 * the provisions above, a recipient may use your version of this file under 563 * the terms of any one of the MPL, the GPL or the LGPL. 564 * 565 * ***** END LICENSE BLOCK ***** */ 566 567 Name: fancy_urllib 568 URL: http://googleappengine.googlecode.com/svn/trunk/python/lib/fancy_urllib 569 License: Apache 2.0 570 License File: README.chromium 571 Security Critical: no 572 573 The fancy_urllib library was obtained from 574 http://googleappengine.googlecode.com/svn/trunk/python/lib/fancy_urllib/fancy_urllib/__init__.py 575 under the following license (http://googleappengine.googlecode.com/svn/trunk/python/LICENSE): 576 577 GOOGLE APP ENGINE SDK 578 ===================== 579 Copyright 2008 Google Inc. 580 All rights reserved. 581 582 Licensed under the Apache License, Version 2.0 (the "License"); 583 you may not use this file except in compliance with the License. 584 You may obtain a copy of the License at 585 586 http://www.apache.org/licenses/LICENSE-2.0 587 588 Unless required by applicable law or agreed to in writing, software 589 distributed under the License is distributed on an "AS IS" BASIS, 590 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 591 See the License for the specific language governing permissions and 592 limitations under the License. 593 594 README for newlib-2.0.0 release 595 (mostly cribbed from the README in the gdb-4.13 release) 596 597 This is `newlib', a simple ANSI C library, math library, and collection 598 of board support packages. 599 600 The newlib and libgloss subdirectories are a collection of software from 601 several sources, each wi6h their own copyright and license. See the file 602 COPYING.NEWLIB for details. The rest of the release tree is under either 603 the GNU GPL or LGPL licenses. 604 605 THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 606 IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 607 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 608 609 610 Unpacking and Installation -- quick overview 611 ========================== 612 613 When you unpack the newlib-2.0.0.tar.gz file, you'll find a directory 614 called `newlib-2.0.0', which contains: 615 616 COPYING config/ install-sh* mpw-configure 617 COPYING.LIB config-ml.in libgloss/ mpw-install 618 COPYING.NEWLIB config.guess* mkinstalldirs* newlib/ 619 CYGNUS config.sub* move-if-change* symlink-tree* 620 ChangeLog configure* mpw-README texinfo/ 621 Makefile.in configure.in mpw-build.in 622 README etc/ mpw-config.in 623 624 To build NEWLIB, you must follow the instructions in the section entitled 625 "Compiling NEWLIB". 626 627 This will configure and build all the libraries and crt0 (if one exists). 628 If `configure' can't determine your host system type, specify one as its 629 argument, e.g., sun4 or sun4sol2. NEWLIB is most often used in cross 630 environments. 631 632 NOTE THAT YOU MUST HAVE ALREADY BUILT AND INSTALLED GCC and BINUTILS. 633 634 635 More Documentation 636 ================== 637 638 Newlib documentation is available on the net via: 639 http://sourceware.org/newlib/docs.html 640 641 All the documentation for NEWLIB comes as part of the machine-readable 642 distribution. The documentation is written in Texinfo format, which is 643 a documentation system that uses a single source file to produce both 644 on-line information and a printed manual. You can use one of the Info 645 formatting commands to create the on-line version of the documentation 646 and TeX (or `texi2roff') to typeset the printed version. 647 648 If you want to format these Info files yourself, you need one of the 649 Info formatting programs, such as `texinfo-format-buffer' or `makeinfo'. 650 651 If you want to typeset and print copies of this manual, you need TeX, 652 a program to print its DVI output files, and `texinfo.tex', the Texinfo 653 definitions file. 654 655 TeX is a typesetting program; it does not print files directly, but 656 produces output files called DVI files. To print a typeset document, 657 you need a program to print DVI files. If your system has TeX 658 installed, chances are it has such a program. The precise command to 659 use depends on your system; `lpr -d' is common; another (for PostScript 660 devices) is `dvips'. The DVI print command may require a file name 661 without any extension or a `.dvi' extension. 662 663 TeX also requires a macro definitions file called `texinfo.tex'. 664 This file tells TeX how to typeset a document written in Texinfo 665 format. On its own, TeX cannot read, much less typeset a Texinfo file. 666 `texinfo.tex' is distributed with NEWLIB and is located in the 667 `newlib-VERSION-NUMBER/texinfo' directory. 668 669 670 671 Compiling NEWLIB 672 ================ 673 674 To compile NEWLIB, you must build it in a directory separate from 675 the source directory. If you want to run NEWLIB versions for several host 676 or target machines, you need a different `newlib' compiled for each combination 677 of host and target. `configure' is designed to make this easy by allowing 678 you to generate each configuration in a separate subdirectory. 679 If your `make' program handles the `VPATH' feature correctly (like GNU `make') 680 running `make' in each of these directories builds the `newlib' libraries 681 specified there. 682 683 To build `newlib' in a specific directory, run `configure' with the 684 `--srcdir' option to specify where to find the source. (You also need 685 to specify a path to find `configure' itself from your working 686 directory. If the path to `configure' would be the same as the 687 argument to `--srcdir', you can leave out the `--srcdir' option; it 688 will be assumed.) 689 690 For example, with version 2.0.0, you can build NEWLIB in a separate 691 directory for a Sun 4 cross m68k-aout environment like this: 692 693 cd newlib-2.0.0 694 mkdir ../newlib-m68k-aout 695 cd ../newlib-m68k-aout 696 ../newlib-2.0.0/configure --host=sun4 --target=m68k-aout 697 make 698 699 When `configure' builds a configuration using a remote source 700 directory, it creates a tree for the binaries with the same structure 701 (and using the same names) as the tree under the source directory. In 702 the example, you'd find the Sun 4 library `libiberty.a' in the 703 directory `newlib-m68k-aout/libiberty', and NEWLIB itself in 704 `newlib-m68k-aout/newlib'. 705 706 When you run `make' to build a program or library, you must run it 707 in a configured directory--whatever directory you were in when you 708 called `configure' (or one of its subdirectories). 709 710 The `Makefile' that `configure' generates in each source directory 711 also runs recursively. If you type `make' in a source directory such 712 as `newlib-2.0.0' (or in a separate configured directory configured with 713 `--srcdir=PATH/newlib-2.0.0'), you will build all the required libraries. 714 715 When you have multiple hosts or targets configured in separate 716 directories, you can run `make' on them in parallel (for example, if 717 they are NFS-mounted on each of the hosts); they will not interfere 718 with each other. 719 720 721 Specifying names for hosts and targets 722 ====================================== 723 724 The specifications used for hosts and targets in the `configure' 725 script are based on a three-part naming scheme, but some short 726 predefined aliases are also supported. The full naming scheme encodes 727 three pieces of information in the following pattern: 728 729 ARCHITECTURE-VENDOR-OS 730 731 For example, you can use the alias `sun4' as a HOST argument or in a 732 `--target=TARGET' option. The equivalent full name is 733 `sparc-sun-sunos4'. 734 735 The `configure' script accompanying NEWLIB does not provide any query 736 facility to list all supported host and target names or aliases. 737 `configure' calls the Bourne shell script `config.sub' to map 738 abbreviations to full names; you can read the script, if you wish, or 739 you can use it to test your guesses on abbreviations--for example: 740 741 % sh config.sub sun4 742 sparc-sun-sunos4.1.1 743 % sh config.sub sun3 744 m68k-sun-sunos4.1.1 745 % sh config.sub decstation 746 mips-dec-ultrix4.2 747 % sh config.sub hp300bsd 748 m68k-hp-bsd 749 % sh config.sub i386v 750 i386-pc-sysv 751 % sh config.sub i786v 752 Invalid configuration `i786v': machine `i786v' not recognized 753 754 The Build, Host and Target Concepts in newlib 755 ============================================= 756 757 The build, host and target concepts are defined for gcc as follows: 758 759 build: the platform on which gcc is built. 760 host: the platform on which gcc is run. 761 target: the platform for which gcc generates code. 762 763 Since newlib is a library, the target concept does not apply to it, and the 764 build, host, and target options given to the top-level configure script must 765 be changed for newlib's use. 766 767 The options are shifted according to these correspondences: 768 769 gcc's build platform has no equivalent in newlib. 770 gcc's host platform is newlib's build platform. 771 gcc's target platform is newlib's host platform. 772 and as mentioned before, newlib has no concept of target. 773 774 `configure' options 775 =================== 776 777 Here is a summary of the `configure' options and arguments that are 778 most often useful for building NEWLIB. `configure' also has several other 779 options not listed here. 780 781 configure [--help] 782 [--prefix=DIR] 783 [--srcdir=PATH] 784 [--target=TARGET] HOST 785 786 You may introduce options with a single `-' rather than `--' if you 787 prefer; but you may abbreviate option names if you use `--'. 788 789 `--help' 790 Display a quick summary of how to invoke `configure'. 791 792 `--prefix=DIR' 793 Configure the source to install programs and files in directory 794 `DIR'. 795 796 `--exec-prefix=DIR' 797 Configure the source to install host-dependent files in directory 798 `DIR'. 799 800 `--srcdir=PATH' 801 *Warning: using this option requires GNU `make', or another `make' 802 that compatibly implements the `VPATH' feature. 803 Use this option to make configurations in directories separate 804 from the NEWLIB source directories. Among other things, you can use 805 this to build (or maintain) several configurations simultaneously, 806 in separate directories. `configure' writes configuration 807 specific files in the current directory, but arranges for them to 808 use the source in the directory PATH. `configure' will create 809 directories under the working directory in parallel to the source 810 directories below PATH. 811 812 `--norecursion' 813 Configure only the directory level where `configure' is executed; 814 do not propagate configuration to subdirectories. 815 816 `--target=TARGET' 817 Configure NEWLIB for running on the specified TARGET. 818 819 There is no convenient way to generate a list of all available 820 targets. 821 822 `HOST ...' 823 Configure NEWLIB to be built using a cross compiler running on 824 the specified HOST. 825 826 There is no convenient way to generate a list of all available 827 hosts. 828 829 To fit diverse usage models, NEWLIB supports a group of configuration 830 options so that library features can be turned on/off according to 831 target system's requirements. 832 833 One feature can be enabled by specifying `--enable-FEATURE=yes' or 834 `--enable-FEATURE'. Or it can be disable by `--enable-FEATURE=no' or 835 `--disable-FEATURE'. 836 837 `--enable-newlib-io-pos-args' 838 Enable printf-family positional arg support. 839 Disabled by default, but some hosts enable it in configure.host. 840 841 `--enable-newlib-io-c99-formats' 842 Enable C99 support in IO functions like printf/scanf. 843 Disabled by default, but some hosts enable it in configure.host. 844 845 `--enable-newlib-register-fini' 846 Enable finalization function registration using atexit. 847 Disabled by default. 848 849 `--enable-newlib-io-long-long' 850 Enable long long type support in IO functions like printf/scanf. 851 Disabled by default, but many hosts enable it in configure.host. 852 853 `--enable-newlib-io-long-double' 854 Enable long double type support in IO functions printf/scanf. 855 Disabled by default, but some hosts enable it in configure.host. 856 857 `--enable-newlib-mb' 858 Enable multibyte support. 859 Disabled by default. 860 861 `--enable-newlib-iconv-encodings' 862 Enable specific comma-separated list of bidirectional iconv 863 encodings to be built-in. 864 Disabled by default. 865 866 `--enable-newlib-iconv-from-encodings' 867 Enable specific comma-separated list of \"from\" iconv encodings 868 to be built-in. 869 Disabled by default. 870 871 `--enable-newlib-iconv-to-encodings' 872 Enable specific comma-separated list of \"to\" iconv encodings 873 to be built-in. 874 Disabled by default. 875 876 `--enable-newlib-iconv-external-ccs' 877 Enable capabilities to load external CCS files for iconv. 878 Disabled by default. 879 880 `--disable-newlib-atexit-dynamic-alloc' 881 Disable dynamic allocation of atexit entries. 882 Most hosts and targets have it enabled in configure.host. 883 884 `--enable-newlib-reent-small' 885 Enable small reentrant struct support. 886 Disabled by default. 887 888 `--disable-newlib-fvwrite-in-streamio' 889 NEWLIB implements the vector buffer mechanism to support stream IO 890 buffering required by C standard. This feature is possibly 891 unnecessary for embedded systems which won't change file buffering 892 with functions like `setbuf' or `setvbuf'. The buffering mechanism 893 still acts as default for STDIN/STDOUT/STDERR even if this option 894 is specified. 895 Enabled by default. 896 897 `--disable-newlib-fseek-optimization' 898 Disable fseek optimization. It can decrease code size of application 899 calling `fseek`. 900 Enabled by default. 901 902 `--disable-newlib-wide-orient' 903 C99 states that each stream has an orientation, wide or byte. This 904 feature is possibly unnecessary for embedded systems which only do 905 byte input/output operations on stream. It can decrease code size 906 by disable the feature. 907 Enabled by default. 908 909 `--enable-newlib-nano-malloc' 910 NEWLIB has two implementations of malloc family's functions, one in 911 `mallocr.c' and the other one in `nano-mallocr.c'. This options 912 enables the nano-malloc implementation, which is for small systems 913 with very limited memory. Note that this implementation does not 914 support `--enable-malloc-debugging' any more. 915 Disabled by default. 916 917 `--disable-newlib-unbuf-stream-opt' 918 NEWLIB does optimization when `fprintf to write only unbuffered unix 919 file'. It creates a temorary buffer to do the optimization that 920 increases stack consumption by about `BUFSIZ' bytes. This option 921 disables the optimization and saves size of text and stack. 922 Enabled by default. 923 924 `--enable-multilib' 925 Build many library versions. 926 Enabled by default. 927 928 `--enable-target-optspace' 929 Optimize for space. 930 Disabled by default. 931 932 `--enable-malloc-debugging' 933 Indicate malloc debugging requested. 934 Disabled by default. 935 936 `--enable-newlib-multithread' 937 Enable support for multiple threads. 938 Enabled by default. 939 940 `--enable-newlib-iconv' 941 Enable iconv library support. 942 Disabled by default. 943 944 `--enable-newlib-elix-level' 945 Supply desired elix library level (1-4). Please refer to HOWTO for 946 more information about this option. 947 Set to level 0 by default. 948 949 `--disable-newlib-io-float' 950 Disable printf/scanf family float support. 951 Enabled by default. 952 953 `--disable-newlib-supplied-syscalls' 954 Disable newlib from supplying syscalls. 955 Enabled by default. 956 957 `--enable-lite-exit' 958 Enable lite exit, a size-reduced implementation of exit that doesn't 959 invoke clean-up functions such as _fini or global destructors. 960 Disabled by default. 961 962 Running the Testsuite 963 ===================== 964 965 To run newlib's testsuite, you'll need a site.exp in your home 966 directory which points dejagnu to the proper baseboards directory and 967 the proper exp file for your target. 968 969 Before running make check-target-newlib, set the DEJAGNU environment 970 variable to point to ~/site.exp. 971 972 Here is a sample site.exp: 973 974 # Make sure we look in the right place for the board description files. 975 if ![info exists boards_dir] { 976 set boards_dir {} 977 } 978 lappend boards_dir "your dejagnu/baseboards here" 979 980 verbose "Global Config File: target_triplet is $target_triplet" 2 981 982 global target_list 983 case "$target_triplet" in { 984 985 { "mips-*elf*" } { 986 set target_list "mips-sim" 987 } 988 989 default { 990 set target_list { "unix" } 991 } 992 } 993 994 mips-sim refers to an exp file in the baseboards directory. You'll 995 need to add the other targets you're testing to the case statement. 996 997 Now type make check-target-newlib in the top-level build directory to 998 run the testsuite. 999 1000 Shared newlib 1001 ============= 1002 1003 newlib uses libtool when it is being compiled natively (with 1004 --target=i[34567]86-pc-linux-gnu) on an i[34567]86-pc-linux-gnu 1005 host. This allows newlib to be compiled as a shared library. 1006 1007 To configure newlib, do the following from your build directory: 1008 1009 $(source_dir)/src/configure --with-newlib --prefix=$(install_dir) 1010 1011 configure will recognize that host == target == 1012 i[34567]86-pc-linux-gnu, so it will tell newlib to compile itself using 1013 libtool. By default, libtool will build shared and static versions of 1014 newlib. 1015 1016 To compile a program against shared newlib, do the following (where 1017 target_install_dir = $(install_dir)/i[34567]86-pc-linux-gnu): 1018 1019 gcc -nostdlib $(target_install_dir)/lib/crt0.o progname.c -I $(target_install_dir)/include -L $(target_install_dir)/lib -lc -lm -lgcc 1020 1021 To run the program, make sure that $(target_install_dir)/lib is listed 1022 in the LD_LIBRARY_PATH environment variable. 1023 1024 To create a static binary linked against newlib, do the following: 1025 1026 gcc -nostdlib -static $(target_install_dir)/lib/crt0.o progname.c -I $(target_install_dir)/include -L $(target_install_dir)/lib -lc -lm 1027 1028 libtool can be instructed to produce only static libraries. To build 1029 newlib as a static library only, do the following from your build 1030 directory: 1031 1032 $(source_dir)/src/configure --with-newlib --prefix=$(install_dir) --disable-shared 1033 1034 Regenerating Configuration Files 1035 ================================ 1036 1037 At times you will need to make changes to configure.in and Makefile.am files. 1038 This will mean that configure and Makefile.in files will need to be 1039 regenerated. 1040 1041 At the top level of newlib is the file: acinclude.m4. This file contains 1042 the definition of the NEWLIB_CONFIGURE macro which is used by all configure.in 1043 files in newlib. You will notice that each directory in newlib containing 1044 a configure.in file also contains an aclocal.m4 file. This file is 1045 generated by issuing: aclocal -I${relative_path_to_toplevel_newlib_dir} 1046 -I${relative_path_to_toplevel_src_dir} 1047 The first relative directory is to access acinclude.m4. The second relative 1048 directory is to access libtool information in the top-level src directory. 1049 1050 For example, to regenerate aclocal.m4 in newlib/libc/machine/arm: 1051 1052 aclocal -I ../../.. -I ../../../.. 1053 1054 Note that if the top level acinclude.m4 is altered, every aclocal.m4 file 1055 in newlib should be regenerated. 1056 1057 If the aclocal.m4 file is regenerated due to a change in acinclude.m4 or 1058 if a configure.in file is modified, the corresponding configure file in the 1059 directory must be regenerated using autoconf. No parameters are necessary. 1060 In the previous example, we would issue: 1061 1062 autoconf 1063 1064 from the newlib/libc/machine/arm directory. 1065 1066 If you have regenerated a configure file or if you have modified a Makefile.am 1067 file, you will need to regenerate the appropriate Makefile.in file(s). 1068 For newlib, automake is a bit trickier. First of all, all Makefile.in 1069 files in newlib (and libgloss) are generated using the --cygnus option 1070 of automake. 1071 1072 Makefile.in files are generated from the nearest directory up the chain 1073 which contains a configure.in file. In most cases, this is the same 1074 directory containing configure.in, but there are exceptions. 1075 For example, the newlib/libc directory has a number of 1076 subdirectories that do not contain their own configure.in files (e.g. stdio). 1077 For these directories, you must issue the automake command from newlib/libc 1078 which is the nearest parent directory that contains a configure.in. 1079 When you issue the automake command, you specify the subdirectory for 1080 the Makefile.in you are regenerating. For example: 1081 1082 automake --cygnus stdio/Makefile stdlib/Makefile 1083 1084 Note how multiple Makefile.in files can be created in the same step. You 1085 would not specify machine/Makefile or sys/Makefile in the previous example 1086 because both of these subdirectories contain their own configure.in files. 1087 One would change to each of these subdirectories and in turn issue: 1088 1089 automake --cygnus Makefile 1090 1091 Let's say you create a new machine directory XXXX off of newlib/libc/machine. 1092 After creating a new configure.in and Makefile.am file, you would issue: 1093 1094 aclocal -I ../../.. 1095 autoconf 1096 automake --cygnus Makefile 1097 1098 from newlib/libc/machine/XXXX 1099 1100 It is strongly advised that you use an adequate version of autotools. 1101 For this latest release, the following were used: autoconf 2.68, aclocal 1.11.6, and 1102 automake 1.11.6. 1103 1104 Reporting Bugs 1105 ============== 1106 1107 The correct address for reporting bugs found in NEWLIB is 1108 "newlib (a] sourceware.org". Please email all bug reports to that 1109 address. Please include the NEWLIB version number (e.g., newlib-2.0.0), 1110 and how you configured it (e.g., "sun4 host and m68k-aout target"). 1111 Since NEWLIB supports many different configurations, it is important 1112 that you be precise about this. 1113 1114 Archives of the newlib mailing list are on-line, see 1115 http://sourceware.org/ml/newlib/ 1116 1117 pthreads-win32 - a POSIX threads library for Microsoft Windows 1118 1119 1120 This file is Copyrighted 1121 ------------------------ 1122 1123 This file is covered under the following Copyright: 1124 1125 Copyright (C) 2001,2006 Ross P. Johnson 1126 All rights reserved. 1127 1128 Everyone is permitted to copy and distribute verbatim copies 1129 of this license document, but changing it is not allowed. 1130 1131 Pthreads-win32 is covered by the GNU Lesser General Public License 1132 ------------------------------------------------------------------ 1133 1134 Pthreads-win32 is open software; you can redistribute it and/or 1135 modify it under the terms of the GNU Lesser General Public License 1136 as published by the Free Software Foundation version 2.1 of the 1137 License. 1138 1139 Pthreads-win32 is several binary link libraries, several modules, 1140 associated interface definition files and scripts used to control 1141 its compilation and installation. 1142 1143 Pthreads-win32 is distributed in the hope that it will be useful, 1144 but WITHOUT ANY WARRANTY; without even the implied warranty of 1145 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1146 GNU Lesser General Public License for more details. 1147 1148 A copy of the GNU Lesser General Public License is distributed with 1149 pthreads-win32 under the filename: 1150 1151 COPYING.LIB 1152 1153 You should have received a copy of the version 2.1 GNU Lesser General 1154 Public License with pthreads-win32; if not, write to: 1155 1156 Free Software Foundation, Inc. 1157 59 Temple Place 1158 Suite 330 1159 Boston, MA 02111-1307 1160 USA 1161 1162 The contact addresses for pthreads-win32 is as follows: 1163 1164 Web: http://sources.redhat.com/pthreads-win32 1165 Email: Ross Johnson 1166 Please use: Firstname.Lastname (a] homemail.com.au 1167 1168 1169 1170 Pthreads-win32 copyrights and exception files 1171 --------------------------------------------- 1172 1173 With the exception of the files listed below, Pthreads-win32 1174 is covered under the following GNU Lesser General Public License 1175 Copyrights: 1176 1177 Pthreads-win32 - POSIX Threads Library for Win32 1178 Copyright(C) 1998 John E. Bossom 1179 Copyright(C) 1999,2006 Pthreads-win32 contributors 1180 1181 The current list of contributors is contained 1182 in the file CONTRIBUTORS included with the source 1183 code distribution. The current list of CONTRIBUTORS 1184 can also be seen at the following WWW location: 1185 http://sources.redhat.com/pthreads-win32/contributors.html 1186 1187 Contact Email: Ross Johnson 1188 Please use: Firstname.Lastname (a] homemail.com.au 1189 1190 These files are not covered under one of the Copyrights listed above: 1191 1192 COPYING 1193 COPYING.LIB 1194 tests/rwlock7.c 1195 1196 This file, COPYING, is distributed under the Copyright found at the 1197 top of this file. It is important to note that you may distribute 1198 verbatim copies of this file but you may not modify this file. 1199 1200 The file COPYING.LIB, which contains a copy of the version 2.1 1201 GNU Lesser General Public License, is itself copyrighted by the 1202 Free Software Foundation, Inc. Please note that the Free Software 1203 Foundation, Inc. does NOT have a copyright over Pthreads-win32, 1204 only the COPYING.LIB that is supplied with pthreads-win32. 1205 1206 The file tests/rwlock7.c is derived from code written by 1207 Dave Butenhof for his book 'Programming With POSIX(R) Threads'. 1208 The original code was obtained by free download from his website 1209 http://home.earthlink.net/~anneart/family/Threads/source.html 1210 and did not contain a copyright or author notice. It is assumed to 1211 be freely distributable. 1212 1213 In all cases one may use and distribute these exception files freely. 1214 And because one may freely distribute the LGPL covered files, the 1215 entire pthreads-win32 source may be freely used and distributed. 1216 1217 1218 1219 General Copyleft and License info 1220 --------------------------------- 1221 1222 For general information on Copylefts, see: 1223 1224 http://www.gnu.org/copyleft/ 1225 1226 For information on GNU Lesser General Public Licenses, see: 1227 1228 http://www.gnu.org/copyleft/lesser.html 1229 http://www.gnu.org/copyleft/lesser.txt 1230 1231 1232 Why pthreads-win32 did not use the GNU General Public License 1233 ------------------------------------------------------------- 1234 1235 The goal of the pthreads-win32 project has been to 1236 provide a quality and complete implementation of the POSIX 1237 threads API for Microsoft Windows within the limits imposed 1238 by virtue of it being a stand-alone library and not 1239 linked directly to other POSIX compliant libraries. For 1240 example, some functions and features, such as those based 1241 on POSIX signals, are missing. 1242 1243 Pthreads-win32 is a library, available in several different 1244 versions depending on supported compilers, and may be used 1245 as a dynamically linked module or a statically linked set of 1246 binary modules. It is not an application on it's own. 1247 1248 It was fully intended that pthreads-win32 be usable with 1249 commercial software not covered by either the GPL or the LGPL 1250 licenses. Pthreads-win32 has many contributors to it's 1251 code base, many of whom have done so because they have 1252 used the library in commercial or proprietry software 1253 projects. 1254 1255 Releasing pthreads-win32 under the LGPL ensures that the 1256 library can be used widely, while at the same time ensures 1257 that bug fixes and improvements to the pthreads-win32 code 1258 itself is returned to benefit all current and future users 1259 of the library. 1260 1261 Although pthreads-win32 makes it possible for applications 1262 that use POSIX threads to be ported to Win32 platforms, the 1263 broader goal of the project is to encourage the use of open 1264 standards, and in particular, to make it just a little easier 1265 for developers writing Win32 applications to consider 1266 widening the potential market for their products. 1267 1268 1269 Apache License 1270 Version 2.0, January 2004 1271 http://www.apache.org/licenses/ 1272 1273 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1274 1275 1. Definitions. 1276 1277 "License" shall mean the terms and conditions for use, reproduction, 1278 and distribution as defined by Sections 1 through 9 of this document. 1279 1280 "Licensor" shall mean the copyright owner or entity authorized by 1281 the copyright owner that is granting the License. 1282 1283 "Legal Entity" shall mean the union of the acting entity and all 1284 other entities that control, are controlled by, or are under common 1285 control with that entity. For the purposes of this definition, 1286 "control" means (i) the power, direct or indirect, to cause the 1287 direction or management of such entity, whether by contract or 1288 otherwise, or (ii) ownership of fifty percent (50%) or more of the 1289 outstanding shares, or (iii) beneficial ownership of such entity. 1290 1291 "You" (or "Your") shall mean an individual or Legal Entity 1292 exercising permissions granted by this License. 1293 1294 "Source" form shall mean the preferred form for making modifications, 1295 including but not limited to software source code, documentation 1296 source, and configuration files. 1297 1298 "Object" form shall mean any form resulting from mechanical 1299 transformation or translation of a Source form, including but 1300 not limited to compiled object code, generated documentation, 1301 and conversions to other media types. 1302 1303 "Work" shall mean the work of authorship, whether in Source or 1304 Object form, made available under the License, as indicated by a 1305 copyright notice that is included in or attached to the work 1306 (an example is provided in the Appendix below). 1307 1308 "Derivative Works" shall mean any work, whether in Source or Object 1309 form, that is based on (or derived from) the Work and for which the 1310 editorial revisions, annotations, elaborations, or other modifications 1311 represent, as a whole, an original work of authorship. For the purposes 1312 of this License, Derivative Works shall not include works that remain 1313 separable from, or merely link (or bind by name) to the interfaces of, 1314 the Work and Derivative Works thereof. 1315 1316 "Contribution" shall mean any work of authorship, including 1317 the original version of the Work and any modifications or additions 1318 to that Work or Derivative Works thereof, that is intentionally 1319 submitted to Licensor for inclusion in the Work by the copyright owner 1320 or by an individual or Legal Entity authorized to submit on behalf of 1321 the copyright owner. For the purposes of this definition, "submitted" 1322 means any form of electronic, verbal, or written communication sent 1323 to the Licensor or its representatives, including but not limited to 1324 communication on electronic mailing lists, source code control systems, 1325 and issue tracking systems that are managed by, or on behalf of, the 1326 Licensor for the purpose of discussing and improving the Work, but 1327 excluding communication that is conspicuously marked or otherwise 1328 designated in writing by the copyright owner as "Not a Contribution." 1329 1330 "Contributor" shall mean Licensor and any individual or Legal Entity 1331 on behalf of whom a Contribution has been received by Licensor and 1332 subsequently incorporated within the Work. 1333 1334 2. Grant of Copyright License. Subject to the terms and conditions of 1335 this License, each Contributor hereby grants to You a perpetual, 1336 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 1337 copyright license to reproduce, prepare Derivative Works of, 1338 publicly display, publicly perform, sublicense, and distribute the 1339 Work and such Derivative Works in Source or Object form. 1340 1341 3. Grant of Patent License. Subject to the terms and conditions of 1342 this License, each Contributor hereby grants to You a perpetual, 1343 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 1344 (except as stated in this section) patent license to make, have made, 1345 use, offer to sell, sell, import, and otherwise transfer the Work, 1346 where such license applies only to those patent claims licensable 1347 by such Contributor that are necessarily infringed by their 1348 Contribution(s) alone or by combination of their Contribution(s) 1349 with the Work to which such Contribution(s) was submitted. If You 1350 institute patent litigation against any entity (including a 1351 cross-claim or counterclaim in a lawsuit) alleging that the Work 1352 or a Contribution incorporated within the Work constitutes direct 1353 or contributory patent infringement, then any patent licenses 1354 granted to You under this License for that Work shall terminate 1355 as of the date such litigation is filed. 1356 1357 4. Redistribution. You may reproduce and distribute copies of the 1358 Work or Derivative Works thereof in any medium, with or without 1359 modifications, and in Source or Object form, provided that You 1360 meet the following conditions: 1361 1362 (a) You must give any other recipients of the Work or 1363 Derivative Works a copy of this License; and 1364 1365 (b) You must cause any modified files to carry prominent notices 1366 stating that You changed the files; and 1367 1368 (c) You must retain, in the Source form of any Derivative Works 1369 that You distribute, all copyright, patent, trademark, and 1370 attribution notices from the Source form of the Work, 1371 excluding those notices that do not pertain to any part of 1372 the Derivative Works; and 1373 1374 (d) If the Work includes a "NOTICE" text file as part of its 1375 distribution, then any Derivative Works that You distribute must 1376 include a readable copy of the attribution notices contained 1377 within such NOTICE file, excluding those notices that do not 1378 pertain to any part of the Derivative Works, in at least one 1379 of the following places: within a NOTICE text file distributed 1380 as part of the Derivative Works; within the Source form or 1381 documentation, if provided along with the Derivative Works; or, 1382 within a display generated by the Derivative Works, if and 1383 wherever such third-party notices normally appear. The contents 1384 of the NOTICE file are for informational purposes only and 1385 do not modify the License. You may add Your own attribution 1386 notices within Derivative Works that You distribute, alongside 1387 or as an addendum to the NOTICE text from the Work, provided 1388 that such additional attribution notices cannot be construed 1389 as modifying the License. 1390 1391 You may add Your own copyright statement to Your modifications and 1392 may provide additional or different license terms and conditions 1393 for use, reproduction, or distribution of Your modifications, or 1394 for any such Derivative Works as a whole, provided Your use, 1395 reproduction, and distribution of the Work otherwise complies with 1396 the conditions stated in this License. 1397 1398 5. Submission of Contributions. Unless You explicitly state otherwise, 1399 any Contribution intentionally submitted for inclusion in the Work 1400 by You to the Licensor shall be under the terms and conditions of 1401 this License, without any additional terms or conditions. 1402 Notwithstanding the above, nothing herein shall supersede or modify 1403 the terms of any separate license agreement you may have executed 1404 with Licensor regarding such Contributions. 1405 1406 6. Trademarks. This License does not grant permission to use the trade 1407 names, trademarks, service marks, or product names of the Licensor, 1408 except as required for reasonable and customary use in describing the 1409 origin of the Work and reproducing the content of the NOTICE file. 1410 1411 7. Disclaimer of Warranty. Unless required by applicable law or 1412 agreed to in writing, Licensor provides the Work (and each 1413 Contributor provides its Contributions) on an "AS IS" BASIS, 1414 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 1415 implied, including, without limitation, any warranties or conditions 1416 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 1417 PARTICULAR PURPOSE. You are solely responsible for determining the 1418 appropriateness of using or redistributing the Work and assume any 1419 risks associated with Your exercise of permissions under this License. 1420 1421 8. Limitation of Liability. In no event and under no legal theory, 1422 whether in tort (including negligence), contract, or otherwise, 1423 unless required by applicable law (such as deliberate and grossly 1424 negligent acts) or agreed to in writing, shall any Contributor be 1425 liable to You for damages, including any direct, indirect, special, 1426 incidental, or consequential damages of any character arising as a 1427 result of this License or out of the use or inability to use the 1428 Work (including but not limited to damages for loss of goodwill, 1429 work stoppage, computer failure or malfunction, or any and all 1430 other commercial damages or losses), even if such Contributor 1431 has been advised of the possibility of such damages. 1432 1433 9. Accepting Warranty or Additional Liability. While redistributing 1434 the Work or Derivative Works thereof, You may choose to offer, 1435 and charge a fee for, acceptance of support, warranty, indemnity, 1436 or other liability obligations and/or rights consistent with this 1437 License. However, in accepting such obligations, You may act only 1438 on Your own behalf and on Your sole responsibility, not on behalf 1439 of any other Contributor, and only if You agree to indemnify, 1440 defend, and hold each Contributor harmless for any liability 1441 incurred by, or claims asserted against, such Contributor by reason 1442 of your accepting any such warranty or additional liability. 1443 1444 END OF TERMS AND CONDITIONS 1445 1446 APPENDIX: How to apply the Apache License to your work. 1447 1448 To apply the Apache License to your work, attach the following 1449 boilerplate notice, with the fields enclosed by brackets "[]" 1450 replaced with your own identifying information. (Don't include 1451 the brackets!) The text should be enclosed in the appropriate 1452 comment syntax for the file format. We also recommend that a 1453 file or class name and description of purpose be included on the 1454 same "printed page" as the copyright notice for easier 1455 identification within third-party archives. 1456 1457 Copyright (c) 2008, Google Inc. 1458 1459 Licensed under the Apache License, Version 2.0 (the "License"); 1460 you may not use this file except in compliance with the License. 1461 You may obtain a copy of the License at 1462 1463 http://www.apache.org/licenses/LICENSE-2.0 1464 1465 Unless required by applicable law or agreed to in writing, software 1466 distributed under the License is distributed on an "AS IS" BASIS, 1467 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1468 See the License for the specific language governing permissions and 1469 limitations under the License. 1470 1471 (WebKit doesn't distribute an explicit license. This LICENSE is derived from 1472 license text in the source.) 1473 1474 Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 1475 2006, 2007 Alexander Kellett, Alexey Proskuryakov, Alex Mathews, Allan 1476 Sandfeld Jensen, Alp Toker, Anders Carlsson, Andrew Wellington, Antti 1477 Koivisto, Apple Inc., Arthur Langereis, Baron Schwartz, Bjoern Graf, 1478 Brent Fulgham, Cameron Zwarich, Charles Samuels, Christian Dywan, 1479 Collabora Ltd., Cyrus Patel, Daniel Molkentin, Dave Maclachlan, David 1480 Smith, Dawit Alemayehu, Dirk Mueller, Dirk Schulze, Don Gibson, Enrico 1481 Ros, Eric Seidel, Frederik Holljen, Frerich Raabe, Friedmann Kleint, 1482 George Staikos, Google Inc., Graham Dennis, Harri Porten, Henry Mason, 1483 Hiroyuki Ikezoe, Holger Hans Peter Freyther, IBM, James G. Speth, Jan 1484 Alonzo, Jean-Loup Gailly, John Reis, Jonas Witt, Jon Shier, Jonas 1485 Witt, Julien Chaffraix, Justin Haygood, Kevin Ollivier, Kevin Watters, 1486 Kimmo Kinnunen, Kouhei Sutou, Krzysztof Kowalczyk, Lars Knoll, Luca 1487 Bruno, Maks Orlovich, Malte Starostik, Mark Adler, Martin Jones, 1488 Marvin Decker, Matt Lilek, Michael Emmel, Mitz Pettel, mozilla.org, 1489 Netscape Communications Corporation, Nicholas Shanks, Nikolas 1490 Zimmermann, Nokia, Oliver Hunt, Opened Hand, Paul Johnston, Peter 1491 Kelly, Pioneer Research Center USA, Rich Moore, Rob Buis, Robin Dunn, 1492 Ronald Tschalr, Samuel Weinig, Simon Hausmann, Staikos Computing 1493 Services Inc., Stefan Schimanski, Symantec Corporation, The Dojo 1494 Foundation, The Karbon Developers, Thomas Boyer, Tim Copperfield, 1495 Tobias Anton, Torben Weis, Trolltech, University of Cambridge, Vaclav 1496 Slavik, Waldo Bastian, Xan Lopez, Zack Rusin 1497 1498 The terms and conditions vary from file to file, but are one of: 1499 1500 Redistribution and use in source and binary forms, with or without 1501 modification, are permitted provided that the following conditions are 1502 met: 1503 1504 1. Redistributions of source code must retain the above copyright 1505 notice, this list of conditions and the following disclaimer. 1506 1507 2. Redistributions in binary form must reproduce the above copyright 1508 notice, this list of conditions and the following disclaimer in the 1509 documentation and/or other materials provided with the 1510 distribution. 1511 1512 *OR* 1513 1514 Redistribution and use in source and binary forms, with or without 1515 modification, are permitted provided that the following conditions are 1516 met: 1517 1518 1. Redistributions of source code must retain the above copyright 1519 notice, this list of conditions and the following disclaimer. 1520 2. Redistributions in binary form must reproduce the above copyright 1521 notice, this list of conditions and the following disclaimer in the 1522 documentation and/or other materials provided with the 1523 distribution. 1524 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of 1525 its contributors may be used to endorse or promote products derived 1526 from this software without specific prior written permission. 1527 1528 THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 1529 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1530 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1531 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 1532 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 1533 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 1534 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 1535 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 1536 1537 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 1538 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 1539 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1540 1541 1542 GNU LIBRARY GENERAL PUBLIC LICENSE 1543 Version 2, June 1991 1544 1545 Copyright (C) 1991 Free Software Foundation, Inc. 1546 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 1547 Everyone is permitted to copy and distribute verbatim copies 1548 of this license document, but changing it is not allowed. 1549 1550 [This is the first released version of the library GPL. It is 1551 numbered 2 because it goes with version 2 of the ordinary GPL.] 1552 1553 Preamble 1554 1555 The licenses for most software are designed to take away your 1556 freedom to share and change it. By contrast, the GNU General Public 1557 Licenses are intended to guarantee your freedom to share and change 1558 free software--to make sure the software is free for all its users. 1559 1560 This license, the Library General Public License, applies to some 1561 specially designated Free Software Foundation software, and to any 1562 other libraries whose authors decide to use it. You can use it for 1563 your libraries, too. 1564 1565 When we speak of free software, we are referring to freedom, not 1566 price. Our General Public Licenses are designed to make sure that you 1567 have the freedom to distribute copies of free software (and charge for 1568 this service if you wish), that you receive source code or can get it 1569 if you want it, that you can change the software or use pieces of it 1570 in new free programs; and that you know you can do these things. 1571 1572 To protect your rights, we need to make restrictions that forbid 1573 anyone to deny you these rights or to ask you to surrender the rights. 1574 These restrictions translate to certain responsibilities for you if 1575 you distribute copies of the library, or if you modify it. 1576 1577 For example, if you distribute copies of the library, whether gratis 1578 or for a fee, you must give the recipients all the rights that we gave 1579 you. You must make sure that they, too, receive or can get the source 1580 code. If you link a program with the library, you must provide 1581 complete object files to the recipients so that they can relink them 1582 with the library, after making changes to the library and recompiling 1583 it. And you must show them these terms so they know their rights. 1584 1585 Our method of protecting your rights has two steps: (1) copyright 1586 the library, and (2) offer you this license which gives you legal 1587 permission to copy, distribute and/or modify the library. 1588 1589 Also, for each distributor's protection, we want to make certain 1590 that everyone understands that there is no warranty for this free 1591 library. If the library is modified by someone else and passed on, we 1592 want its recipients to know that what they have is not the original 1593 version, so that any problems introduced by others will not reflect on 1594 the original authors' reputations. 1595 1597 Finally, any free program is threatened constantly by software 1598 patents. We wish to avoid the danger that companies distributing free 1599 software will individually obtain patent licenses, thus in effect 1600 transforming the program into proprietary software. To prevent this, 1601 we have made it clear that any patent must be licensed for everyone's 1602 free use or not licensed at all. 1603 1604 Most GNU software, including some libraries, is covered by the ordinary 1605 GNU General Public License, which was designed for utility programs. This 1606 license, the GNU Library General Public License, applies to certain 1607 designated libraries. This license is quite different from the ordinary 1608 one; be sure to read it in full, and don't assume that anything in it is 1609 the same as in the ordinary license. 1610 1611 The reason we have a separate public license for some libraries is that 1612 they blur the distinction we usually make between modifying or adding to a 1613 program and simply using it. Linking a program with a library, without 1614 changing the library, is in some sense simply using the library, and is 1615 analogous to running a utility program or application program. However, in 1616 a textual and legal sense, the linked executable is a combined work, a 1617 derivative of the original library, and the ordinary General Public License 1618 treats it as such. 1619 1620 Because of this blurred distinction, using the ordinary General 1621 Public License for libraries did not effectively promote software 1622 sharing, because most developers did not use the libraries. We 1623 concluded that weaker conditions might promote sharing better. 1624 1625 However, unrestricted linking of non-free programs would deprive the 1626 users of those programs of all benefit from the free status of the 1627 libraries themselves. This Library General Public License is intended to 1628 permit developers of non-free programs to use free libraries, while 1629 preserving your freedom as a user of such programs to change the free 1630 libraries that are incorporated in them. (We have not seen how to achieve 1631 this as regards changes in header files, but we have achieved it as regards 1632 changes in the actual functions of the Library.) The hope is that this 1633 will lead to faster development of free libraries. 1634 1635 The precise terms and conditions for copying, distribution and 1636 modification follow. Pay close attention to the difference between a 1637 "work based on the library" and a "work that uses the library". The 1638 former contains code derived from the library, while the latter only 1639 works together with the library. 1640 1641 Note that it is possible for a library to be covered by the ordinary 1642 General Public License rather than by this special one. 1643 1645 GNU LIBRARY GENERAL PUBLIC LICENSE 1646 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1647 1648 0. This License Agreement applies to any software library which 1649 contains a notice placed by the copyright holder or other authorized 1650 party saying it may be distributed under the terms of this Library 1651 General Public License (also called "this License"). Each licensee is 1652 addressed as "you". 1653 1654 A "library" means a collection of software functions and/or data 1655 prepared so as to be conveniently linked with application programs 1656 (which use some of those functions and data) to form executables. 1657 1658 The "Library", below, refers to any such software library or work 1659 which has been distributed under these terms. A "work based on the 1660 Library" means either the Library or any derivative work under 1661 copyright law: that is to say, a work containing the Library or a 1662 portion of it, either verbatim or with modifications and/or translated 1663 straightforwardly into another language. (Hereinafter, translation is 1664 included without limitation in the term "modification".) 1665 1666 "Source code" for a work means the preferred form of the work for 1667 making modifications to it. For a library, complete source code means 1668 all the source code for all modules it contains, plus any associated 1669 interface definition files, plus the scripts used to control compilation 1670 and installation of the library. 1671 1672 Activities other than copying, distribution and modification are not 1673 covered by this License; they are outside its scope. The act of 1674 running a program using the Library is not restricted, and output from 1675 such a program is covered only if its contents constitute a work based 1676 on the Library (independent of the use of the Library in a tool for 1677 writing it). Whether that is true depends on what the Library does 1678 and what the program that uses the Library does. 1679 1680 1. You may copy and distribute verbatim copies of the Library's 1681 complete source code as you receive it, in any medium, provided that 1682 you conspicuously and appropriately publish on each copy an 1683 appropriate copyright notice and disclaimer of warranty; keep intact 1684 all the notices that refer to this License and to the absence of any 1685 warranty; and distribute a copy of this License along with the 1686 Library. 1687 1688 You may charge a fee for the physical act of transferring a copy, 1689 and you may at your option offer warranty protection in exchange for a 1690 fee. 1691 1693 2. You may modify your copy or copies of the Library or any portion 1694 of it, thus forming a work based on the Library, and copy and 1695 distribute such modifications or work under the terms of Section 1 1696 above, provided that you also meet all of these conditions: 1697 1698 a) The modified work must itself be a software library. 1699 1700 b) You must cause the files modified to carry prominent notices 1701 stating that you changed the files and the date of any change. 1702 1703 c) You must cause the whole of the work to be licensed at no 1704 charge to all third parties under the terms of this License. 1705 1706 d) If a facility in the modified Library refers to a function or a 1707 table of data to be supplied by an application program that uses 1708 the facility, other than as an argument passed when the facility 1709 is invoked, then you must make a good faith effort to ensure that, 1710 in the event an application does not supply such function or 1711 table, the facility still operates, and performs whatever part of 1712 its purpose remains meaningful. 1713 1714 (For example, a function in a library to compute square roots has 1715 a purpose that is entirely well-defined independent of the 1716 application. Therefore, Subsection 2d requires that any 1717 application-supplied function or table used by this function must 1718 be optional: if the application does not supply it, the square 1719 root function must still compute square roots.) 1720 1721 These requirements apply to the modified work as a whole. If 1722 identifiable sections of that work are not derived from the Library, 1723 and can be reasonably considered independent and separate works in 1724 themselves, then this License, and its terms, do not apply to those 1725 sections when you distribute them as separate works. But when you 1726 distribute the same sections as part of a whole which is a work based 1727 on the Library, the distribution of the whole must be on the terms of 1728 this License, whose permissions for other licensees extend to the 1729 entire whole, and thus to each and every part regardless of who wrote 1730 it. 1731 1732 Thus, it is not the intent of this section to claim rights or contest 1733 your rights to work written entirely by you; rather, the intent is to 1734 exercise the right to control the distribution of derivative or 1735 collective works based on the Library. 1736 1737 In addition, mere aggregation of another work not based on the Library 1738 with the Library (or with a work based on the Library) on a volume of 1739 a storage or distribution medium does not bring the other work under 1740 the scope of this License. 1741 1742 3. You may opt to apply the terms of the ordinary GNU General Public 1743 License instead of this License to a given copy of the Library. To do 1744 this, you must alter all the notices that refer to this License, so 1745 that they refer to the ordinary GNU General Public License, version 2, 1746 instead of to this License. (If a newer version than version 2 of the 1747 ordinary GNU General Public License has appeared, then you can specify 1748 that version instead if you wish.) Do not make any other change in 1749 these notices. 1750 1752 Once this change is made in a given copy, it is irreversible for 1753 that copy, so the ordinary GNU General Public License applies to all 1754 subsequent copies and derivative works made from that copy. 1755 1756 This option is useful when you wish to copy part of the code of 1757 the Library into a program that is not a library. 1758 1759 4. You may copy and distribute the Library (or a portion or 1760 derivative of it, under Section 2) in object code or executable form 1761 under the terms of Sections 1 and 2 above provided that you accompany 1762 it with the complete corresponding machine-readable source code, which 1763 must be distributed under the terms of Sections 1 and 2 above on a 1764 medium customarily used for software interchange. 1765 1766 If distribution of object code is made by offering access to copy 1767 from a designated place, then offering equivalent access to copy the 1768 source code from the same place satisfies the requirement to 1769 distribute the source code, even though third parties are not 1770 compelled to copy the source along with the object code. 1771 1772 5. A program that contains no derivative of any portion of the 1773 Library, but is designed to work with the Library by being compiled or 1774 linked with it, is called a "work that uses the Library". Such a 1775 work, in isolation, is not a derivative work of the Library, and 1776 therefore falls outside the scope of this License. 1777 1778 However, linking a "work that uses the Library" with the Library 1779 creates an executable that is a derivative of the Library (because it 1780 contains portions of the Library), rather than a "work that uses the 1781 library". The executable is therefore covered by this License. 1782 Section 6 states terms for distribution of such executables. 1783 1784 When a "work that uses the Library" uses material from a header file 1785 that is part of the Library, the object code for the work may be a 1786 derivative work of the Library even though the source code is not. 1787 Whether this is true is especially significant if the work can be 1788 linked without the Library, or if the work is itself a library. The 1789 threshold for this to be true is not precisely defined by law. 1790 1791 If such an object file uses only numerical parameters, data 1792 structure layouts and accessors, and small macros and small inline 1793 functions (ten lines or less in length), then the use of the object 1794 file is unrestricted, regardless of whether it is legally a derivative 1795 work. (Executables containing this object code plus portions of the 1796 Library will still fall under Section 6.) 1797 1798 Otherwise, if the work is a derivative of the Library, you may 1799 distribute the object code for the work under the terms of Section 6. 1800 Any executables containing that work also fall under Section 6, 1801 whether or not they are linked directly with the Library itself. 1802 1804 6. As an exception to the Sections above, you may also compile or 1805 link a "work that uses the Library" with the Library to produce a 1806 work containing portions of the Library, and distribute that work 1807 under terms of your choice, provided that the terms permit 1808 modification of the work for the customer's own use and reverse 1809 engineering for debugging such modifications. 1810 1811 You must give prominent notice with each copy of the work that the 1812 Library is used in it and that the Library and its use are covered by 1813 this License. You must supply a copy of this License. If the work 1814 during execution displays copyright notices, you must include the 1815 copyright notice for the Library among them, as well as a reference 1816 directing the user to the copy of this License. Also, you must do one 1817 of these things: 1818 1819 a) Accompany the work with the complete corresponding 1820 machine-readable source code for the Library including whatever 1821 changes were used in the work (which must be distributed under 1822 Sections 1 and 2 above); and, if the work is an executable linked 1823 with the Library, with the complete machine-readable "work that 1824 uses the Library", as object code and/or source code, so that the 1825 user can modify the Library and then relink to produce a modified 1826 executable containing the modified Library. (It is understood 1827 that the user who changes the contents of definitions files in the 1828 Library will not necessarily be able to recompile the application 1829 to use the modified definitions.) 1830 1831 b) Accompany the work with a written offer, valid for at 1832 least three years, to give the same user the materials 1833 specified in Subsection 6a, above, for a charge no more 1834 than the cost of performing this distribution. 1835 1836 c) If distribution of the work is made by offering access to copy 1837 from a designated place, offer equivalent access to copy the above 1838 specified materials from the same place. 1839 1840 d) Verify that the user has already received a copy of these 1841 materials or that you have already sent this user a copy. 1842 1843 For an executable, the required form of the "work that uses the 1844 Library" must include any data and utility programs needed for 1845 reproducing the executable from it. However, as a special exception, 1846 the source code distributed need not include anything that is normally 1847 distributed (in either source or binary form) with the major 1848 components (compiler, kernel, and so on) of the operating system on 1849 which the executable runs, unless that component itself accompanies 1850 the executable. 1851 1852 It may happen that this requirement contradicts the license 1853 restrictions of other proprietary libraries that do not normally 1854 accompany the operating system. Such a contradiction means you cannot 1855 use both them and the Library together in an executable that you 1856 distribute. 1857 1859 7. You may place library facilities that are a work based on the 1860 Library side-by-side in a single library together with other library 1861 facilities not covered by this License, and distribute such a combined 1862 library, provided that the separate distribution of the work based on 1863 the Library and of the other library facilities is otherwise 1864 permitted, and provided that you do these two things: 1865 1866 a) Accompany the combined library with a copy of the same work 1867 based on the Library, uncombined with any other library 1868 facilities. This must be distributed under the terms of the 1869 Sections above. 1870 1871 b) Give prominent notice with the combined library of the fact 1872 that part of it is a work based on the Library, and explaining 1873 where to find the accompanying uncombined form of the same work. 1874 1875 8. You may not copy, modify, sublicense, link with, or distribute 1876 the Library except as expressly provided under this License. Any 1877 attempt otherwise to copy, modify, sublicense, link with, or 1878 distribute the Library is void, and will automatically terminate your 1879 rights under this License. However, parties who have received copies, 1880 or rights, from you under this License will not have their licenses 1881 terminated so long as such parties remain in full compliance. 1882 1883 9. You are not required to accept this License, since you have not 1884 signed it. However, nothing else grants you permission to modify or 1885 distribute the Library or its derivative works. These actions are 1886 prohibited by law if you do not accept this License. Therefore, by 1887 modifying or distributing the Library (or any work based on the 1888 Library), you indicate your acceptance of this License to do so, and 1889 all its terms and conditions for copying, distributing or modifying 1890 the Library or works based on it. 1891 1892 10. Each time you redistribute the Library (or any work based on the 1893 Library), the recipient automatically receives a license from the 1894 original licensor to copy, distribute, link with or modify the Library 1895 subject to these terms and conditions. You may not impose any further 1896 restrictions on the recipients' exercise of the rights granted herein. 1897 You are not responsible for enforcing compliance by third parties to 1898 this License. 1899 1901 11. If, as a consequence of a court judgment or allegation of patent 1902 infringement or for any other reason (not limited to patent issues), 1903 conditions are imposed on you (whether by court order, agreement or 1904 otherwise) that contradict the conditions of this License, they do not 1905 excuse you from the conditions of this License. If you cannot 1906 distribute so as to satisfy simultaneously your obligations under this 1907 License and any other pertinent obligations, then as a consequence you 1908 may not distribute the Library at all. For example, if a patent 1909 license would not permit royalty-free redistribution of the Library by 1910 all those who receive copies directly or indirectly through you, then 1911 the only way you could satisfy both it and this License would be to 1912 refrain entirely from distribution of the Library. 1913 1914 If any portion of this section is held invalid or unenforceable under any 1915 particular circumstance, the balance of the section is intended to apply, 1916 and the section as a whole is intended to apply in other circumstances. 1917 1918 It is not the purpose of this section to induce you to infringe any 1919 patents or other property right claims or to contest validity of any 1920 such claims; this section has the sole purpose of protecting the 1921 integrity of the free software distribution system which is 1922 implemented by public license practices. Many people have made 1923 generous contributions to the wide range of software distributed 1924 through that system in reliance on consistent application of that 1925 system; it is up to the author/donor to decide if he or she is willing 1926 to distribute software through any other system and a licensee cannot 1927 impose that choice. 1928 1929 This section is intended to make thoroughly clear what is believed to 1930 be a consequence of the rest of this License. 1931 1932 12. If the distribution and/or use of the Library is restricted in 1933 certain countries either by patents or by copyrighted interfaces, the 1934 original copyright holder who places the Library under this License may add 1935 an explicit geographical distribution limitation excluding those countries, 1936 so that distribution is permitted only in or among countries not thus 1937 excluded. In such case, this License incorporates the limitation as if 1938 written in the body of this License. 1939 1940 13. The Free Software Foundation may publish revised and/or new 1941 versions of the Library General Public License from time to time. 1942 Such new versions will be similar in spirit to the present version, 1943 but may differ in detail to address new problems or concerns. 1944 1945 Each version is given a distinguishing version number. If the Library 1946 specifies a version number of this License which applies to it and 1947 "any later version", you have the option of following the terms and 1948 conditions either of that version or of any later version published by 1949 the Free Software Foundation. If the Library does not specify a 1950 license version number, you may choose any version ever published by 1951 the Free Software Foundation. 1952 1954 14. If you wish to incorporate parts of the Library into other free 1955 programs whose distribution conditions are incompatible with these, 1956 write to the author to ask for permission. For software which is 1957 copyrighted by the Free Software Foundation, write to the Free 1958 Software Foundation; we sometimes make exceptions for this. Our 1959 decision will be guided by the two goals of preserving the free status 1960 of all derivatives of our free software and of promoting the sharing 1961 and reuse of software generally. 1962 1963 NO WARRANTY 1964 1965 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 1966 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 1967 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 1968 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 1969 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 1970 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1971 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 1972 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 1973 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 1974 1975 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 1976 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 1977 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 1978 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 1979 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 1980 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 1981 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 1982 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 1983 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 1984 DAMAGES. 1985 1986 END OF TERMS AND CONDITIONS 1987 1988 GNU LESSER GENERAL PUBLIC LICENSE 1989 Version 2.1, February 1999 1990 1991 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 1992 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 1993 Everyone is permitted to copy and distribute verbatim copies 1994 of this license document, but changing it is not allowed. 1995 1996 [This is the first released version of the Lesser GPL. It also counts 1997 as the successor of the GNU Library Public License, version 2, hence 1998 the version number 2.1.] 1999 2000 Preamble 2001 2002 The licenses for most software are designed to take away your 2003 freedom to share and change it. By contrast, the GNU General Public 2004 Licenses are intended to guarantee your freedom to share and change 2005 free software--to make sure the software is free for all its users. 2006 2007 This license, the Lesser General Public License, applies to some 2008 specially designated software packages--typically libraries--of the 2009 Free Software Foundation and other authors who decide to use it. You 2010 can use it too, but we suggest you first think carefully about whether 2011 this license or the ordinary General Public License is the better 2012 strategy to use in any particular case, based on the explanations below. 2013 2014 When we speak of free software, we are referring to freedom of use, 2015 not price. Our General Public Licenses are designed to make sure that 2016 you have the freedom to distribute copies of free software (and charge 2017 for this service if you wish); that you receive source code or can get 2018 it if you want it; that you can change the software and use pieces of 2019 it in new free programs; and that you are informed that you can do 2020 these things. 2021 2022 To protect your rights, we need to make restrictions that forbid 2023 distributors to deny you these rights or to ask you to surrender these 2024 rights. These restrictions translate to certain responsibilities for 2025 you if you distribute copies of the library or if you modify it. 2026 2027 For example, if you distribute copies of the library, whether gratis 2028 or for a fee, you must give the recipients all the rights that we gave 2029 you. You must make sure that they, too, receive or can get the source 2030 code. If you link other code with the library, you must provide 2031 complete object files to the recipients, so that they can relink them 2032 with the library after making changes to the library and recompiling 2033 it. And you must show them these terms so they know their rights. 2034 2035 We protect your rights with a two-step method: (1) we copyright the 2036 library, and (2) we offer you this license, which gives you legal 2037 permission to copy, distribute and/or modify the library. 2038 2039 To protect each distributor, we want to make it very clear that 2040 there is no warranty for the free library. Also, if the library is 2041 modified by someone else and passed on, the recipients should know 2042 that what they have is not the original version, so that the original 2043 author's reputation will not be affected by problems that might be 2044 introduced by others. 2045 2047 Finally, software patents pose a constant threat to the existence of 2048 any free program. We wish to make sure that a company cannot 2049 effectively restrict the users of a free program by obtaining a 2050 restrictive license from a patent holder. Therefore, we insist that 2051 any patent license obtained for a version of the library must be 2052 consistent with the full freedom of use specified in this license. 2053 2054 Most GNU software, including some libraries, is covered by the 2055 ordinary GNU General Public License. This license, the GNU Lesser 2056 General Public License, applies to certain designated libraries, and 2057 is quite different from the ordinary General Public License. We use 2058 this license for certain libraries in order to permit linking those 2059 libraries into non-free programs. 2060 2061 When a program is linked with a library, whether statically or using 2062 a shared library, the combination of the two is legally speaking a 2063 combined work, a derivative of the original library. The ordinary 2064 General Public License therefore permits such linking only if the 2065 entire combination fits its criteria of freedom. The Lesser General 2066 Public License permits more lax criteria for linking other code with 2067 the library. 2068 2069 We call this license the "Lesser" General Public License because it 2070 does Less to protect the user's freedom than the ordinary General 2071 Public License. It also provides other free software developers Less 2072 of an advantage over competing non-free programs. These disadvantages 2073 are the reason we use the ordinary General Public License for many 2074 libraries. However, the Lesser license provides advantages in certain 2075 special circumstances. 2076 2077 For example, on rare occasions, there may be a special need to 2078 encourage the widest possible use of a certain library, so that it becomes 2079 a de-facto standard. To achieve this, non-free programs must be 2080 allowed to use the library. A more frequent case is that a free 2081 library does the same job as widely used non-free libraries. In this 2082 case, there is little to gain by limiting the free library to free 2083 software only, so we use the Lesser General Public License. 2084 2085 In other cases, permission to use a particular library in non-free 2086 programs enables a greater number of people to use a large body of 2087 free software. For example, permission to use the GNU C Library in 2088 non-free programs enables many more people to use the whole GNU 2089 operating system, as well as its variant, the GNU/Linux operating 2090 system. 2091 2092 Although the Lesser General Public License is Less protective of the 2093 users' freedom, it does ensure that the user of a program that is 2094 linked with the Library has the freedom and the wherewithal to run 2095 that program using a modified version of the Library. 2096 2097 The precise terms and conditions for copying, distribution and 2098 modification follow. Pay close attention to the difference between a 2099 "work based on the library" and a "work that uses the library". The 2100 former contains code derived from the library, whereas the latter must 2101 be combined with the library in order to run. 2102 2104 GNU LESSER GENERAL PUBLIC LICENSE 2105 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 2106 2107 0. This License Agreement applies to any software library or other 2108 program which contains a notice placed by the copyright holder or 2109 other authorized party saying it may be distributed under the terms of 2110 this Lesser General Public License (also called "this License"). 2111 Each licensee is addressed as "you". 2112 2113 A "library" means a collection of software functions and/or data 2114 prepared so as to be conveniently linked with application programs 2115 (which use some of those functions and data) to form executables. 2116 2117 The "Library", below, refers to any such software library or work 2118 which has been distributed under these terms. A "work based on the 2119 Library" means either the Library or any derivative work under 2120 copyright law: that is to say, a work containing the Library or a 2121 portion of it, either verbatim or with modifications and/or translated 2122 straightforwardly into another language. (Hereinafter, translation is 2123 included without limitation in the term "modification".) 2124 2125 "Source code" for a work means the preferred form of the work for 2126 making modifications to it. For a library, complete source code means 2127 all the source code for all modules it contains, plus any associated 2128 interface definition files, plus the scripts used to control compilation 2129 and installation of the library. 2130 2131 Activities other than copying, distribution and modification are not 2132 covered by this License; they are outside its scope. The act of 2133 running a program using the Library is not restricted, and output from 2134 such a program is covered only if its contents constitute a work based 2135 on the Library (independent of the use of the Library in a tool for 2136 writing it). Whether that is true depends on what the Library does 2137 and what the program that uses the Library does. 2138 2139 1. You may copy and distribute verbatim copies of the Library's 2140 complete source code as you receive it, in any medium, provided that 2141 you conspicuously and appropriately publish on each copy an 2142 appropriate copyright notice and disclaimer of warranty; keep intact 2143 all the notices that refer to this License and to the absence of any 2144 warranty; and distribute a copy of this License along with the 2145 Library. 2146 2147 You may charge a fee for the physical act of transferring a copy, 2148 and you may at your option offer warranty protection in exchange for a 2149 fee. 2150 2152 2. You may modify your copy or copies of the Library or any portion 2153 of it, thus forming a work based on the Library, and copy and 2154 distribute such modifications or work under the terms of Section 1 2155 above, provided that you also meet all of these conditions: 2156 2157 a) The modified work must itself be a software library. 2158 2159 b) You must cause the files modified to carry prominent notices 2160 stating that you changed the files and the date of any change. 2161 2162 c) You must cause the whole of the work to be licensed at no 2163 charge to all third parties under the terms of this License. 2164 2165 d) If a facility in the modified Library refers to a function or a 2166 table of data to be supplied by an application program that uses 2167 the facility, other than as an argument passed when the facility 2168 is invoked, then you must make a good faith effort to ensure that, 2169 in the event an application does not supply such function or 2170 table, the facility still operates, and performs whatever part of 2171 its purpose remains meaningful. 2172 2173 (For example, a function in a library to compute square roots has 2174 a purpose that is entirely well-defined independent of the 2175 application. Therefore, Subsection 2d requires that any 2176 application-supplied function or table used by this function must 2177 be optional: if the application does not supply it, the square 2178 root function must still compute square roots.) 2179 2180 These requirements apply to the modified work as a whole. If 2181 identifiable sections of that work are not derived from the Library, 2182 and can be reasonably considered independent and separate works in 2183 themselves, then this License, and its terms, do not apply to those 2184 sections when you distribute them as separate works. But when you 2185 distribute the same sections as part of a whole which is a work based 2186 on the Library, the distribution of the whole must be on the terms of 2187 this License, whose permissions for other licensees extend to the 2188 entire whole, and thus to each and every part regardless of who wrote 2189 it. 2190 2191 Thus, it is not the intent of this section to claim rights or contest 2192 your rights to work written entirely by you; rather, the intent is to 2193 exercise the right to control the distribution of derivative or 2194 collective works based on the Library. 2195 2196 In addition, mere aggregation of another work not based on the Library 2197 with the Library (or with a work based on the Library) on a volume of 2198 a storage or distribution medium does not bring the other work under 2199 the scope of this License. 2200 2201 3. You may opt to apply the terms of the ordinary GNU General Public 2202 License instead of this License to a given copy of the Library. To do 2203 this, you must alter all the notices that refer to this License, so 2204 that they refer to the ordinary GNU General Public License, version 2, 2205 instead of to this License. (If a newer version than version 2 of the 2206 ordinary GNU General Public License has appeared, then you can specify 2207 that version instead if you wish.) Do not make any other change in 2208 these notices. 2209 2211 Once this change is made in a given copy, it is irreversible for 2212 that copy, so the ordinary GNU General Public License applies to all 2213 subsequent copies and derivative works made from that copy. 2214 2215 This option is useful when you wish to copy part of the code of 2216 the Library into a program that is not a library. 2217 2218 4. You may copy and distribute the Library (or a portion or 2219 derivative of it, under Section 2) in object code or executable form 2220 under the terms of Sections 1 and 2 above provided that you accompany 2221 it with the complete corresponding machine-readable source code, which 2222 must be distributed under the terms of Sections 1 and 2 above on a 2223 medium customarily used for software interchange. 2224 2225 If distribution of object code is made by offering access to copy 2226 from a designated place, then offering equivalent access to copy the 2227 source code from the same place satisfies the requirement to 2228 distribute the source code, even though third parties are not 2229 compelled to copy the source along with the object code. 2230 2231 5. A program that contains no derivative of any portion of the 2232 Library, but is designed to work with the Library by being compiled or 2233 linked with it, is called a "work that uses the Library". Such a 2234 work, in isolation, is not a derivative work of the Library, and 2235 therefore falls outside the scope of this License. 2236 2237 However, linking a "work that uses the Library" with the Library 2238 creates an executable that is a derivative of the Library (because it 2239 contains portions of the Library), rather than a "work that uses the 2240 library". The executable is therefore covered by this License. 2241 Section 6 states terms for distribution of such executables. 2242 2243 When a "work that uses the Library" uses material from a header file 2244 that is part of the Library, the object code for the work may be a 2245 derivative work of the Library even though the source code is not. 2246 Whether this is true is especially significant if the work can be 2247 linked without the Library, or if the work is itself a library. The 2248 threshold for this to be true is not precisely defined by law. 2249 2250 If such an object file uses only numerical parameters, data 2251 structure layouts and accessors, and small macros and small inline 2252 functions (ten lines or less in length), then the use of the object 2253 file is unrestricted, regardless of whether it is legally a derivative 2254 work. (Executables containing this object code plus portions of the 2255 Library will still fall under Section 6.) 2256 2257 Otherwise, if the work is a derivative of the Library, you may 2258 distribute the object code for the work under the terms of Section 6. 2259 Any executables containing that work also fall under Section 6, 2260 whether or not they are linked directly with the Library itself. 2261 2263 6. As an exception to the Sections above, you may also combine or 2264 link a "work that uses the Library" with the Library to produce a 2265 work containing portions of the Library, and distribute that work 2266 under terms of your choice, provided that the terms permit 2267 modification of the work for the customer's own use and reverse 2268 engineering for debugging such modifications. 2269 2270 You must give prominent notice with each copy of the work that the 2271 Library is used in it and that the Library and its use are covered by 2272 this License. You must supply a copy of this License. If the work 2273 during execution displays copyright notices, you must include the 2274 copyright notice for the Library among them, as well as a reference 2275 directing the user to the copy of this License. Also, you must do one 2276 of these things: 2277 2278 a) Accompany the work with the complete corresponding 2279 machine-readable source code for the Library including whatever 2280 changes were used in the work (which must be distributed under 2281 Sections 1 and 2 above); and, if the work is an executable linked 2282 with the Library, with the complete machine-readable "work that 2283 uses the Library", as object code and/or source code, so that the 2284 user can modify the Library and then relink to produce a modified 2285 executable containing the modified Library. (It is understood 2286 that the user who changes the contents of definitions files in the 2287 Library will not necessarily be able to recompile the application 2288 to use the modified definitions.) 2289 2290 b) Use a suitable shared library mechanism for linking with the 2291 Library. A suitable mechanism is one that (1) uses at run time a 2292 copy of the library already present on the user's computer system, 2293 rather than copying library functions into the executable, and (2) 2294 will operate properly with a modified version of the library, if 2295 the user installs one, as long as the modified version is 2296 interface-compatible with the version that the work was made with. 2297 2298 c) Accompany the work with a written offer, valid for at 2299 least three years, to give the same user the materials 2300 specified in Subsection 6a, above, for a charge no more 2301 than the cost of performing this distribution. 2302 2303 d) If distribution of the work is made by offering access to copy 2304 from a designated place, offer equivalent access to copy the above 2305 specified materials from the same place. 2306 2307 e) Verify that the user has already received a copy of these 2308 materials or that you have already sent this user a copy. 2309 2310 For an executable, the required form of the "work that uses the 2311 Library" must include any data and utility programs needed for 2312 reproducing the executable from it. However, as a special exception, 2313 the materials to be distributed need not include anything that is 2314 normally distributed (in either source or binary form) with the major 2315 components (compiler, kernel, and so on) of the operating system on 2316 which the executable runs, unless that component itself accompanies 2317 the executable. 2318 2319 It may happen that this requirement contradicts the license 2320 restrictions of other proprietary libraries that do not normally 2321 accompany the operating system. Such a contradiction means you cannot 2322 use both them and the Library together in an executable that you 2323 distribute. 2324 2326 7. You may place library facilities that are a work based on the 2327 Library side-by-side in a single library together with other library 2328 facilities not covered by this License, and distribute such a combined 2329 library, provided that the separate distribution of the work based on 2330 the Library and of the other library facilities is otherwise 2331 permitted, and provided that you do these two things: 2332 2333 a) Accompany the combined library with a copy of the same work 2334 based on the Library, uncombined with any other library 2335 facilities. This must be distributed under the terms of the 2336 Sections above. 2337 2338 b) Give prominent notice with the combined library of the fact 2339 that part of it is a work based on the Library, and explaining 2340 where to find the accompanying uncombined form of the same work. 2341 2342 8. You may not copy, modify, sublicense, link with, or distribute 2343 the Library except as expressly provided under this License. Any 2344 attempt otherwise to copy, modify, sublicense, link with, or 2345 distribute the Library is void, and will automatically terminate your 2346 rights under this License. However, parties who have received copies, 2347 or rights, from you under this License will not have their licenses 2348 terminated so long as such parties remain in full compliance. 2349 2350 9. You are not required to accept this License, since you have not 2351 signed it. However, nothing else grants you permission to modify or 2352 distribute the Library or its derivative works. These actions are 2353 prohibited by law if you do not accept this License. Therefore, by 2354 modifying or distributing the Library (or any work based on the 2355 Library), you indicate your acceptance of this License to do so, and 2356 all its terms and conditions for copying, distributing or modifying 2357 the Library or works based on it. 2358 2359 10. Each time you redistribute the Library (or any work based on the 2360 Library), the recipient automatically receives a license from the 2361 original licensor to copy, distribute, link with or modify the Library 2362 subject to these terms and conditions. You may not impose any further 2363 restrictions on the recipients' exercise of the rights granted herein. 2364 You are not responsible for enforcing compliance by third parties with 2365 this License. 2366 2368 11. If, as a consequence of a court judgment or allegation of patent 2369 infringement or for any other reason (not limited to patent issues), 2370 conditions are imposed on you (whether by court order, agreement or 2371 otherwise) that contradict the conditions of this License, they do not 2372 excuse you from the conditions of this License. If you cannot 2373 distribute so as to satisfy simultaneously your obligations under this 2374 License and any other pertinent obligations, then as a consequence you 2375 may not distribute the Library at all. For example, if a patent 2376 license would not permit royalty-free redistribution of the Library by 2377 all those who receive copies directly or indirectly through you, then 2378 the only way you could satisfy both it and this License would be to 2379 refrain entirely from distribution of the Library. 2380 2381 If any portion of this section is held invalid or unenforceable under any 2382 particular circumstance, the balance of the section is intended to apply, 2383 and the section as a whole is intended to apply in other circumstances. 2384 2385 It is not the purpose of this section to induce you to infringe any 2386 patents or other property right claims or to contest validity of any 2387 such claims; this section has the sole purpose of protecting the 2388 integrity of the free software distribution system which is 2389 implemented by public license practices. Many people have made 2390 generous contributions to the wide range of software distributed 2391 through that system in reliance on consistent application of that 2392 system; it is up to the author/donor to decide if he or she is willing 2393 to distribute software through any other system and a licensee cannot 2394 impose that choice. 2395 2396 This section is intended to make thoroughly clear what is believed to 2397 be a consequence of the rest of this License. 2398 2399 12. If the distribution and/or use of the Library is restricted in 2400 certain countries either by patents or by copyrighted interfaces, the 2401 original copyright holder who places the Library under this License may add 2402 an explicit geographical distribution limitation excluding those countries, 2403 so that distribution is permitted only in or among countries not thus 2404 excluded. In such case, this License incorporates the limitation as if 2405 written in the body of this License. 2406 2407 13. The Free Software Foundation may publish revised and/or new 2408 versions of the Lesser General Public License from time to time. 2409 Such new versions will be similar in spirit to the present version, 2410 but may differ in detail to address new problems or concerns. 2411 2412 Each version is given a distinguishing version number. If the Library 2413 specifies a version number of this License which applies to it and 2414 "any later version", you have the option of following the terms and 2415 conditions either of that version or of any later version published by 2416 the Free Software Foundation. If the Library does not specify a 2417 license version number, you may choose any version ever published by 2418 the Free Software Foundation. 2419 2421 14. If you wish to incorporate parts of the Library into other free 2422 programs whose distribution conditions are incompatible with these, 2423 write to the author to ask for permission. For software which is 2424 copyrighted by the Free Software Foundation, write to the Free 2425 Software Foundation; we sometimes make exceptions for this. Our 2426 decision will be guided by the two goals of preserving the free status 2427 of all derivatives of our free software and of promoting the sharing 2428 and reuse of software generally. 2429 2430 NO WARRANTY 2431 2432 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 2433 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 2434 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 2435 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 2436 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 2437 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2438 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 2439 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 2440 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 2441 2442 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 2443 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 2444 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 2445 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 2446 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 2447 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 2448 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 2449 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 2450 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 2451 DAMAGES. 2452 2453 END OF TERMS AND CONDITIONS 2454 2455 2456 Apache License 2457 Version 2.0, January 2004 2458 http://www.apache.org/licenses/ 2459 2460 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 2461 2462 1. Definitions. 2463 2464 "License" shall mean the terms and conditions for use, reproduction, 2465 and distribution as defined by Sections 1 through 9 of this document. 2466 2467 "Licensor" shall mean the copyright owner or entity authorized by 2468 the copyright owner that is granting the License. 2469 2470 "Legal Entity" shall mean the union of the acting entity and all 2471 other entities that control, are controlled by, or are under common 2472 control with that entity. For the purposes of this definition, 2473 "control" means (i) the power, direct or indirect, to cause the 2474 direction or management of such entity, whether by contract or 2475 otherwise, or (ii) ownership of fifty percent (50%) or more of the 2476 outstanding shares, or (iii) beneficial ownership of such entity. 2477 2478 "You" (or "Your") shall mean an individual or Legal Entity 2479 exercising permissions granted by this License. 2480 2481 "Source" form shall mean the preferred form for making modifications, 2482 including but not limited to software source code, documentation 2483 source, and configuration files. 2484 2485 "Object" form shall mean any form resulting from mechanical 2486 transformation or translation of a Source form, including but 2487 not limited to compiled object code, generated documentation, 2488 and conversions to other media types. 2489 2490 "Work" shall mean the work of authorship, whether in Source or 2491 Object form, made available under the License, as indicated by a 2492 copyright notice that is included in or attached to the work 2493 (an example is provided in the Appendix below). 2494 2495 "Derivative Works" shall mean any work, whether in Source or Object 2496 form, that is based on (or derived from) the Work and for which the 2497 editorial revisions, annotations, elaborations, or other modifications 2498 represent, as a whole, an original work of authorship. For the purposes 2499 of this License, Derivative Works shall not include works that remain 2500 separable from, or merely link (or bind by name) to the interfaces of, 2501 the Work and Derivative Works thereof. 2502 2503 "Contribution" shall mean any work of authorship, including 2504 the original version of the Work and any modifications or additions 2505 to that Work or Derivative Works thereof, that is intentionally 2506 submitted to Licensor for inclusion in the Work by the copyright owner 2507 or by an individual or Legal Entity authorized to submit on behalf of 2508 the copyright owner. For the purposes of this definition, "submitted" 2509 means any form of electronic, verbal, or written communication sent 2510 to the Licensor or its representatives, including but not limited to 2511 communication on electronic mailing lists, source code control systems, 2512 and issue tracking systems that are managed by, or on behalf of, the 2513 Licensor for the purpose of discussing and improving the Work, but 2514 excluding communication that is conspicuously marked or otherwise 2515 designated in writing by the copyright owner as "Not a Contribution." 2516 2517 "Contributor" shall mean Licensor and any individual or Legal Entity 2518 on behalf of whom a Contribution has been received by Licensor and 2519 subsequently incorporated within the Work. 2520 2521 2. Grant of Copyright License. Subject to the terms and conditions of 2522 this License, each Contributor hereby grants to You a perpetual, 2523 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 2524 copyright license to reproduce, prepare Derivative Works of, 2525 publicly display, publicly perform, sublicense, and distribute the 2526 Work and such Derivative Works in Source or Object form. 2527 2528 3. Grant of Patent License. Subject to the terms and conditions of 2529 this License, each Contributor hereby grants to You a perpetual, 2530 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 2531 (except as stated in this section) patent license to make, have made, 2532 use, offer to sell, sell, import, and otherwise transfer the Work, 2533 where such license applies only to those patent claims licensable 2534 by such Contributor that are necessarily infringed by their 2535 Contribution(s) alone or by combination of their Contribution(s) 2536 with the Work to which such Contribution(s) was submitted. If You 2537 institute patent litigation against any entity (including a 2538 cross-claim or counterclaim in a lawsuit) alleging that the Work 2539 or a Contribution incorporated within the Work constitutes direct 2540 or contributory patent infringement, then any patent licenses 2541 granted to You under this License for that Work shall terminate 2542 as of the date such litigation is filed. 2543 2544 4. Redistribution. You may reproduce and distribute copies of the 2545 Work or Derivative Works thereof in any medium, with or without 2546 modifications, and in Source or Object form, provided that You 2547 meet the following conditions: 2548 2549 (a) You must give any other recipients of the Work or 2550 Derivative Works a copy of this License; and 2551 2552 (b) You must cause any modified files to carry prominent notices 2553 stating that You changed the files; and 2554 2555 (c) You must retain, in the Source form of any Derivative Works 2556 that You distribute, all copyright, patent, trademark, and 2557 attribution notices from the Source form of the Work, 2558 excluding those notices that do not pertain to any part of 2559 the Derivative Works; and 2560 2561 (d) If the Work includes a "NOTICE" text file as part of its 2562 distribution, then any Derivative Works that You distribute must 2563 include a readable copy of the attribution notices contained 2564 within such NOTICE file, excluding those notices that do not 2565 pertain to any part of the Derivative Works, in at least one 2566 of the following places: within a NOTICE text file distributed 2567 as part of the Derivative Works; within the Source form or 2568 documentation, if provided along with the Derivative Works; or, 2569 within a display generated by the Derivative Works, if and 2570 wherever such third-party notices normally appear. The contents 2571 of the NOTICE file are for informational purposes only and 2572 do not modify the License. You may add Your own attribution 2573 notices within Derivative Works that You distribute, alongside 2574 or as an addendum to the NOTICE text from the Work, provided 2575 that such additional attribution notices cannot be construed 2576 as modifying the License. 2577 2578 You may add Your own copyright statement to Your modifications and 2579 may provide additional or different license terms and conditions 2580 for use, reproduction, or distribution of Your modifications, or 2581 for any such Derivative Works as a whole, provided Your use, 2582 reproduction, and distribution of the Work otherwise complies with 2583 the conditions stated in this License. 2584 2585 5. Submission of Contributions. Unless You explicitly state otherwise, 2586 any Contribution intentionally submitted for inclusion in the Work 2587 by You to the Licensor shall be under the terms and conditions of 2588 this License, without any additional terms or conditions. 2589 Notwithstanding the above, nothing herein shall supersede or modify 2590 the terms of any separate license agreement you may have executed 2591 with Licensor regarding such Contributions. 2592 2593 6. Trademarks. This License does not grant permission to use the trade 2594 names, trademarks, service marks, or product names of the Licensor, 2595 except as required for reasonable and customary use in describing the 2596 origin of the Work and reproducing the content of the NOTICE file. 2597 2598 7. Disclaimer of Warranty. Unless required by applicable law or 2599 agreed to in writing, Licensor provides the Work (and each 2600 Contributor provides its Contributions) on an "AS IS" BASIS, 2601 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 2602 implied, including, without limitation, any warranties or conditions 2603 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 2604 PARTICULAR PURPOSE. You are solely responsible for determining the 2605 appropriateness of using or redistributing the Work and assume any 2606 risks associated with Your exercise of permissions under this License. 2607 2608 8. Limitation of Liability. In no event and under no legal theory, 2609 whether in tort (including negligence), contract, or otherwise, 2610 unless required by applicable law (such as deliberate and grossly 2611 negligent acts) or agreed to in writing, shall any Contributor be 2612 liable to You for damages, including any direct, indirect, special, 2613 incidental, or consequential damages of any character arising as a 2614 result of this License or out of the use or inability to use the 2615 Work (including but not limited to damages for loss of goodwill, 2616 work stoppage, computer failure or malfunction, or any and all 2617 other commercial damages or losses), even if such Contributor 2618 has been advised of the possibility of such damages. 2619 2620 9. Accepting Warranty or Additional Liability. While redistributing 2621 the Work or Derivative Works thereof, You may choose to offer, 2622 and charge a fee for, acceptance of support, warranty, indemnity, 2623 or other liability obligations and/or rights consistent with this 2624 License. However, in accepting such obligations, You may act only 2625 on Your own behalf and on Your sole responsibility, not on behalf 2626 of any other Contributor, and only if You agree to indemnify, 2627 defend, and hold each Contributor harmless for any liability 2628 incurred by, or claims asserted against, such Contributor by reason 2629 of your accepting any such warranty or additional liability. 2630 2631 END OF TERMS AND CONDITIONS 2632 2633 APPENDIX: How to apply the Apache License to your work. 2634 2635 To apply the Apache License to your work, attach the following 2636 boilerplate notice, with the fields enclosed by brackets "[]" 2637 replaced with your own identifying information. (Don't include 2638 the brackets!) The text should be enclosed in the appropriate 2639 comment syntax for the file format. We also recommend that a 2640 file or class name and description of purpose be included on the 2641 same "printed page" as the copyright notice for easier 2642 identification within third-party archives. 2643 2644 Copyright [yyyy] [name of copyright owner] 2645 2646 Licensed under the Apache License, Version 2.0 (the "License"); 2647 you may not use this file except in compliance with the License. 2648 You may obtain a copy of the License at 2649 2650 http://www.apache.org/licenses/LICENSE-2.0 2651 2652 Unless required by applicable law or agreed to in writing, software 2653 distributed under the License is distributed on an "AS IS" BASIS, 2654 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2655 See the License for the specific language governing permissions and 2656 limitations under the License. 2657 2658 // Copyright 2014 The Chromium Authors. All rights reserved. 2659 // 2660 // Redistribution and use in source and binary forms, with or without 2661 // modification, are permitted provided that the following conditions are 2662 // met: 2663 // 2664 // * Redistributions of source code must retain the above copyright 2665 // notice, this list of conditions and the following disclaimer. 2666 // * Redistributions in binary form must reproduce the above 2667 // copyright notice, this list of conditions and the following disclaimer 2668 // in the documentation and/or other materials provided with the 2669 // distribution. 2670 // * Neither the name of Google Inc. nor the names of its 2671 // contributors may be used to endorse or promote products derived from 2672 // this software without specific prior written permission. 2673 // 2674 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 2675 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2676 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2677 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2678 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2679 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2680 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2681 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2682 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2683 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2684 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2685 2686 /* 2687 * Copyright (C) 2012 The Android Open Source Project 2688 * All rights reserved. 2689 * 2690 * Redistribution and use in source and binary forms, with or without 2691 * modification, are permitted provided that the following conditions 2692 * are met: 2693 * * Redistributions of source code must retain the above copyright 2694 * notice, this list of conditions and the following disclaimer. 2695 * * Redistributions in binary form must reproduce the above copyright 2696 * notice, this list of conditions and the following disclaimer in 2697 * the documentation and/or other materials provided with the 2698 * distribution. 2699 * 2700 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 2701 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2702 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 2703 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 2704 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 2705 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 2706 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 2707 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 2708 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2709 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 2710 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2711 * SUCH DAMAGE. 2712 */ 2713 2714 /* 2715 * Copyright (C) 2009 The Android Open Source Project 2716 * 2717 * Licensed under the Apache License, Version 2.0 (the "License"); 2718 * you may not use this file except in compliance with the License. 2719 * You may obtain a copy of the License at 2720 * 2721 * http://www.apache.org/licenses/LICENSE-2.0 2722 * 2723 * Unless required by applicable law or agreed to in writing, software 2724 * distributed under the License is distributed on an "AS IS" BASIS, 2725 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2726 * See the License for the specific language governing permissions and 2727 * limitations under the License. 2728 */ 2729 // Copyright (C) 2002-2013 The ANGLE Project Authors. 2730 // All rights reserved. 2731 // 2732 // Redistribution and use in source and binary forms, with or without 2733 // modification, are permitted provided that the following conditions 2734 // are met: 2735 // 2736 // Redistributions of source code must retain the above copyright 2737 // notice, this list of conditions and the following disclaimer. 2738 // 2739 // Redistributions in binary form must reproduce the above 2740 // copyright notice, this list of conditions and the following 2741 // disclaimer in the documentation and/or other materials provided 2742 // with the distribution. 2743 // 2744 // Neither the name of TransGaming Inc., Google Inc., 3DLabs Inc. 2745 // Ltd., nor the names of their contributors may be used to endorse 2746 // or promote products derived from this software without specific 2747 // prior written permission. 2748 // 2749 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 2750 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2751 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 2752 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 2753 // COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 2754 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 2755 // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 2756 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 2757 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2758 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 2759 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2760 // POSSIBILITY OF SUCH DAMAGE. 2761 2762 2763 Apache License 2764 Version 2.0, January 2004 2765 http://www.apache.org/licenses/ 2766 2767 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 2768 2769 1. Definitions. 2770 2771 "License" shall mean the terms and conditions for use, reproduction, 2772 and distribution as defined by Sections 1 through 9 of this document. 2773 2774 "Licensor" shall mean the copyright owner or entity authorized by 2775 the copyright owner that is granting the License. 2776 2777 "Legal Entity" shall mean the union of the acting entity and all 2778 other entities that control, are controlled by, or are under common 2779 control with that entity. For the purposes of this definition, 2780 "control" means (i) the power, direct or indirect, to cause the 2781 direction or management of such entity, whether by contract or 2782 otherwise, or (ii) ownership of fifty percent (50%) or more of the 2783 outstanding shares, or (iii) beneficial ownership of such entity. 2784 2785 "You" (or "Your") shall mean an individual or Legal Entity 2786 exercising permissions granted by this License. 2787 2788 "Source" form shall mean the preferred form for making modifications, 2789 including but not limited to software source code, documentation 2790 source, and configuration files. 2791 2792 "Object" form shall mean any form resulting from mechanical 2793 transformation or translation of a Source form, including but 2794 not limited to compiled object code, generated documentation, 2795 and conversions to other media types. 2796 2797 "Work" shall mean the work of authorship, whether in Source or 2798 Object form, made available under the License, as indicated by a 2799 copyright notice that is included in or attached to the work 2800 (an example is provided in the Appendix below). 2801 2802 "Derivative Works" shall mean any work, whether in Source or Object 2803 form, that is based on (or derived from) the Work and for which the 2804 editorial revisions, annotations, elaborations, or other modifications 2805 represent, as a whole, an original work of authorship. For the purposes 2806 of this License, Derivative Works shall not include works that remain 2807 separable from, or merely link (or bind by name) to the interfaces of, 2808 the Work and Derivative Works thereof. 2809 2810 "Contribution" shall mean any work of authorship, including 2811 the original version of the Work and any modifications or additions 2812 to that Work or Derivative Works thereof, that is intentionally 2813 submitted to Licensor for inclusion in the Work by the copyright owner 2814 or by an individual or Legal Entity authorized to submit on behalf of 2815 the copyright owner. For the purposes of this definition, "submitted" 2816 means any form of electronic, verbal, or written communication sent 2817 to the Licensor or its representatives, including but not limited to 2818 communication on electronic mailing lists, source code control systems, 2819 and issue tracking systems that are managed by, or on behalf of, the 2820 Licensor for the purpose of discussing and improving the Work, but 2821 excluding communication that is conspicuously marked or otherwise 2822 designated in writing by the copyright owner as "Not a Contribution." 2823 2824 "Contributor" shall mean Licensor and any individual or Legal Entity 2825 on behalf of whom a Contribution has been received by Licensor and 2826 subsequently incorporated within the Work. 2827 2828 2. Grant of Copyright License. Subject to the terms and conditions of 2829 this License, each Contributor hereby grants to You a perpetual, 2830 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 2831 copyright license to reproduce, prepare Derivative Works of, 2832 publicly display, publicly perform, sublicense, and distribute the 2833 Work and such Derivative Works in Source or Object form. 2834 2835 3. Grant of Patent License. Subject to the terms and conditions of 2836 this License, each Contributor hereby grants to You a perpetual, 2837 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 2838 (except as stated in this section) patent license to make, have made, 2839 use, offer to sell, sell, import, and otherwise transfer the Work, 2840 where such license applies only to those patent claims licensable 2841 by such Contributor that are necessarily infringed by their 2842 Contribution(s) alone or by combination of their Contribution(s) 2843 with the Work to which such Contribution(s) was submitted. If You 2844 institute patent litigation against any entity (including a 2845 cross-claim or counterclaim in a lawsuit) alleging that the Work 2846 or a Contribution incorporated within the Work constitutes direct 2847 or contributory patent infringement, then any patent licenses 2848 granted to You under this License for that Work shall terminate 2849 as of the date such litigation is filed. 2850 2851 4. Redistribution. You may reproduce and distribute copies of the 2852 Work or Derivative Works thereof in any medium, with or without 2853 modifications, and in Source or Object form, provided that You 2854 meet the following conditions: 2855 2856 (a) You must give any other recipients of the Work or 2857 Derivative Works a copy of this License; and 2858 2859 (b) You must cause any modified files to carry prominent notices 2860 stating that You changed the files; and 2861 2862 (c) You must retain, in the Source form of any Derivative Works 2863 that You distribute, all copyright, patent, trademark, and 2864 attribution notices from the Source form of the Work, 2865 excluding those notices that do not pertain to any part of 2866 the Derivative Works; and 2867 2868 (d) If the Work includes a "NOTICE" text file as part of its 2869 distribution, then any Derivative Works that You distribute must 2870 include a readable copy of the attribution notices contained 2871 within such NOTICE file, excluding those notices that do not 2872 pertain to any part of the Derivative Works, in at least one 2873 of the following places: within a NOTICE text file distributed 2874 as part of the Derivative Works; within the Source form or 2875 documentation, if provided along with the Derivative Works; or, 2876 within a display generated by the Derivative Works, if and 2877 wherever such third-party notices normally appear. The contents 2878 of the NOTICE file are for informational purposes only and 2879 do not modify the License. You may add Your own attribution 2880 notices within Derivative Works that You distribute, alongside 2881 or as an addendum to the NOTICE text from the Work, provided 2882 that such additional attribution notices cannot be construed 2883 as modifying the License. 2884 2885 You may add Your own copyright statement to Your modifications and 2886 may provide additional or different license terms and conditions 2887 for use, reproduction, or distribution of Your modifications, or 2888 for any such Derivative Works as a whole, provided Your use, 2889 reproduction, and distribution of the Work otherwise complies with 2890 the conditions stated in this License. 2891 2892 5. Submission of Contributions. Unless You explicitly state otherwise, 2893 any Contribution intentionally submitted for inclusion in the Work 2894 by You to the Licensor shall be under the terms and conditions of 2895 this License, without any additional terms or conditions. 2896 Notwithstanding the above, nothing herein shall supersede or modify 2897 the terms of any separate license agreement you may have executed 2898 with Licensor regarding such Contributions. 2899 2900 6. Trademarks. This License does not grant permission to use the trade 2901 names, trademarks, service marks, or product names of the Licensor, 2902 except as required for reasonable and customary use in describing the 2903 origin of the Work and reproducing the content of the NOTICE file. 2904 2905 7. Disclaimer of Warranty. Unless required by applicable law or 2906 agreed to in writing, Licensor provides the Work (and each 2907 Contributor provides its Contributions) on an "AS IS" BASIS, 2908 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 2909 implied, including, without limitation, any warranties or conditions 2910 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 2911 PARTICULAR PURPOSE. You are solely responsible for determining the 2912 appropriateness of using or redistributing the Work and assume any 2913 risks associated with Your exercise of permissions under this License. 2914 2915 8. Limitation of Liability. In no event and under no legal theory, 2916 whether in tort (including negligence), contract, or otherwise, 2917 unless required by applicable law (such as deliberate and grossly 2918 negligent acts) or agreed to in writing, shall any Contributor be 2919 liable to You for damages, including any direct, indirect, special, 2920 incidental, or consequential damages of any character arising as a 2921 result of this License or out of the use or inability to use the 2922 Work (including but not limited to damages for loss of goodwill, 2923 work stoppage, computer failure or malfunction, or any and all 2924 other commercial damages or losses), even if such Contributor 2925 has been advised of the possibility of such damages. 2926 2927 9. Accepting Warranty or Additional Liability. While redistributing 2928 the Work or Derivative Works thereof, You may choose to offer, 2929 and charge a fee for, acceptance of support, warranty, indemnity, 2930 or other liability obligations and/or rights consistent with this 2931 License. However, in accepting such obligations, You may act only 2932 on Your own behalf and on Your sole responsibility, not on behalf 2933 of any other Contributor, and only if You agree to indemnify, 2934 defend, and hold each Contributor harmless for any liability 2935 incurred by, or claims asserted against, such Contributor by reason 2936 of your accepting any such warranty or additional liability. 2937 2938 END OF TERMS AND CONDITIONS 2939 2940 APPENDIX: How to apply the Apache License to your work. 2941 2942 To apply the Apache License to your work, attach the following 2943 boilerplate notice, with the fields enclosed by brackets "[]" 2944 replaced with your own identifying information. (Don't include 2945 the brackets!) The text should be enclosed in the appropriate 2946 comment syntax for the file format. We also recommend that a 2947 file or class name and description of purpose be included on the 2948 same "printed page" as the copyright notice for easier 2949 identification within third-party archives. 2950 2951 Copyright [yyyy] [name of copyright owner] 2952 2953 Licensed under the Apache License, Version 2.0 (the "License"); 2954 you may not use this file except in compliance with the License. 2955 You may obtain a copy of the License at 2956 2957 http://www.apache.org/licenses/LICENSE-2.0 2958 2959 Unless required by applicable law or agreed to in writing, software 2960 distributed under the License is distributed on an "AS IS" BASIS, 2961 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2962 See the License for the specific language governing permissions and 2963 limitations under the License. 2964 2965 Copyright (c) 2012, Manfred Moitzi 2966 2967 Permission is hereby granted, free of charge, to any person obtaining a 2968 copy of this software and associated documentation files (the 2969 "Software"), to deal in the Software without restriction, including 2970 without limitation the rights to use, copy, modify, merge, publish, 2971 distribute, sublicense, and/or sell copies of the Software, and to 2972 permit persons to whom the Software is furnished to do so, subject to 2973 the following conditions: 2974 2975 The above copyright notice and this permission notice shall be included 2976 in all copies or substantial portions of the Software. 2977 2978 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 2979 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 2980 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 2981 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 2982 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 2983 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 2984 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 2985 2986 Deutsche bersetzung: 2987 2988 Copyright (c) 2012, Manfred Moitzi 2989 2990 Hiermit wird unentgeltlich, jeder Person, die eine Kopie der Software 2991 und der zugehrigen Dokumentationen (die "Software") erhlt, die 2992 Erlaubnis erteilt, uneingeschrnkt zu benutzen, inklusive und ohne 2993 Ausnahme, dem Recht, sie zu verwenden, kopieren, ndern, fusionieren, 2994 verlegen, verbreiten, unterlizenzieren und/oder zu verkaufen, und 2995 Personen, die diese Software erhalten, diese Rechte zu geben, unter den 2996 folgenden Bedingungen: 2997 2998 Der obige Urheberrechtsvermerk und dieser Erlaubnisvermerk sind in allen 2999 Kopien oder Teilkopien der Software beizulegen. 3000 3001 DIE SOFTWARE WIRD OHNE JEDE AUSDRCKLICHE ODER IMPLIZIERTE GARANTIE 3002 BEREITGESTELLT, EINSCHLIESSLICH DER GARANTIE ZUR BENUTZUNG FR DEN 3003 VORGESEHENEN ODER EINEM BESTIMMTEN ZWECK SOWIE JEGLICHER 3004 RECHTSVERLETZUNG, JEDOCH NICHT DARAUF BESCHRNKT. IN KEINEM FALL SIND 3005 DIE AUTOREN ODER COPYRIGHTINHABER FR JEGLICHEN SCHADEN ODER SONSTIGE 3006 ANSPRCHE HAFTBAR ZU MACHEN, OB INFOLGE DER ERFLLUNG EINES VERTRAGES, 3007 EINES DELIKTES ODER ANDERS IM ZUSAMMENHANG MIT DER SOFTWARE ODER 3008 SONSTIGER VERWENDUNG DER SOFTWARE ENTSTANDEN. 3009 3010 3011 Copyright (c) 2013 Alex Seville 3012 3013 Permission is hereby granted, free of charge, to any person 3014 obtaining a copy of this software and associated documentation 3015 files (the "Software"), to deal in the Software without 3016 restriction, including without limitation the rights to use, 3017 copy, modify, merge, publish, distribute, sublicense, and/or sell 3018 copies of the Software, and to permit persons to whom the 3019 Software is furnished to do so, subject to the following 3020 conditions: 3021 3022 The above copyright notice and this permission notice shall be 3023 included in all copies or substantial portions of the Software. 3024 3025 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 3026 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 3027 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 3028 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 3029 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 3030 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 3031 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 3032 OTHER DEALINGS IN THE SOFTWARE. 3033 3034 // Copyright (c) 2011 Google Inc. All rights reserved. 3035 // 3036 // Redistribution and use in source and binary forms, with or without 3037 // modification, are permitted provided that the following conditions are 3038 // met: 3039 // 3040 // * Redistributions of source code must retain the above copyright 3041 // notice, this list of conditions and the following disclaimer. 3042 // * Redistributions in binary form must reproduce the above 3043 // copyright notice, this list of conditions and the following disclaimer 3044 // in the documentation and/or other materials provided with the 3045 // distribution. 3046 // * Neither the name of Google Inc. nor the names of its 3047 // contributors may be used to endorse or promote products derived from 3048 // this software without specific prior written permission. 3049 // 3050 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 3051 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3052 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 3053 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3054 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3055 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3056 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3057 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3058 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3059 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3060 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3061 3062 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 3063 // 3064 // Redistribution and use in source and binary forms, with or without 3065 // modification, are permitted provided that the following conditions are 3066 // met: 3067 // 3068 // * Redistributions of source code must retain the above copyright 3069 // notice, this list of conditions and the following disclaimer. 3070 // * Redistributions in binary form must reproduce the above 3071 // copyright notice, this list of conditions and the following disclaimer 3072 // in the documentation and/or other materials provided with the 3073 // distribution. 3074 // * Neither the name of Google Inc. nor the names of its 3075 // contributors may be used to endorse or promote products derived from 3076 // this software without specific prior written permission. 3077 // 3078 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 3079 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3080 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 3081 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3082 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3083 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3084 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3085 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3086 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3087 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3088 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3089 3090 3091 Apache License 3092 Version 2.0, January 2004 3093 http://www.apache.org/licenses/ 3094 3095 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 3096 3097 1. Definitions. 3098 3099 "License" shall mean the terms and conditions for use, reproduction, 3100 and distribution as defined by Sections 1 through 9 of this document. 3101 3102 "Licensor" shall mean the copyright owner or entity authorized by 3103 the copyright owner that is granting the License. 3104 3105 "Legal Entity" shall mean the union of the acting entity and all 3106 other entities that control, are controlled by, or are under common 3107 control with that entity. For the purposes of this definition, 3108 "control" means (i) the power, direct or indirect, to cause the 3109 direction or management of such entity, whether by contract or 3110 otherwise, or (ii) ownership of fifty percent (50%) or more of the 3111 outstanding shares, or (iii) beneficial ownership of such entity. 3112 3113 "You" (or "Your") shall mean an individual or Legal Entity 3114 exercising permissions granted by this License. 3115 3116 "Source" form shall mean the preferred form for making modifications, 3117 including but not limited to software source code, documentation 3118 source, and configuration files. 3119 3120 "Object" form shall mean any form resulting from mechanical 3121 transformation or translation of a Source form, including but 3122 not limited to compiled object code, generated documentation, 3123 and conversions to other media types. 3124 3125 "Work" shall mean the work of authorship, whether in Source or 3126 Object form, made available under the License, as indicated by a 3127 copyright notice that is included in or attached to the work 3128 (an example is provided in the Appendix below). 3129 3130 "Derivative Works" shall mean any work, whether in Source or Object 3131 form, that is based on (or derived from) the Work and for which the 3132 editorial revisions, annotations, elaborations, or other modifications 3133 represent, as a whole, an original work of authorship. For the purposes 3134 of this License, Derivative Works shall not include works that remain 3135 separable from, or merely link (or bind by name) to the interfaces of, 3136 the Work and Derivative Works thereof. 3137 3138 "Contribution" shall mean any work of authorship, including 3139 the original version of the Work and any modifications or additions 3140 to that Work or Derivative Works thereof, that is intentionally 3141 submitted to Licensor for inclusion in the Work by the copyright owner 3142 or by an individual or Legal Entity authorized to submit on behalf of 3143 the copyright owner. For the purposes of this definition, "submitted" 3144 means any form of electronic, verbal, or written communication sent 3145 to the Licensor or its representatives, including but not limited to 3146 communication on electronic mailing lists, source code control systems, 3147 and issue tracking systems that are managed by, or on behalf of, the 3148 Licensor for the purpose of discussing and improving the Work, but 3149 excluding communication that is conspicuously marked or otherwise 3150 designated in writing by the copyright owner as "Not a Contribution." 3151 3152 "Contributor" shall mean Licensor and any individual or Legal Entity 3153 on behalf of whom a Contribution has been received by Licensor and 3154 subsequently incorporated within the Work. 3155 3156 2. Grant of Copyright License. Subject to the terms and conditions of 3157 this License, each Contributor hereby grants to You a perpetual, 3158 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 3159 copyright license to reproduce, prepare Derivative Works of, 3160 publicly display, publicly perform, sublicense, and distribute the 3161 Work and such Derivative Works in Source or Object form. 3162 3163 3. Grant of Patent License. Subject to the terms and conditions of 3164 this License, each Contributor hereby grants to You a perpetual, 3165 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 3166 (except as stated in this section) patent license to make, have made, 3167 use, offer to sell, sell, import, and otherwise transfer the Work, 3168 where such license applies only to those patent claims licensable 3169 by such Contributor that are necessarily infringed by their 3170 Contribution(s) alone or by combination of their Contribution(s) 3171 with the Work to which such Contribution(s) was submitted. If You 3172 institute patent litigation against any entity (including a 3173 cross-claim or counterclaim in a lawsuit) alleging that the Work 3174 or a Contribution incorporated within the Work constitutes direct 3175 or contributory patent infringement, then any patent licenses 3176 granted to You under this License for that Work shall terminate 3177 as of the date such litigation is filed. 3178 3179 4. Redistribution. You may reproduce and distribute copies of the 3180 Work or Derivative Works thereof in any medium, with or without 3181 modifications, and in Source or Object form, provided that You 3182 meet the following conditions: 3183 3184 (a) You must give any other recipients of the Work or 3185 Derivative Works a copy of this License; and 3186 3187 (b) You must cause any modified files to carry prominent notices 3188 stating that You changed the files; and 3189 3190 (c) You must retain, in the Source form of any Derivative Works 3191 that You distribute, all copyright, patent, trademark, and 3192 attribution notices from the Source form of the Work, 3193 excluding those notices that do not pertain to any part of 3194 the Derivative Works; and 3195 3196 (d) If the Work includes a "NOTICE" text file as part of its 3197 distribution, then any Derivative Works that You distribute must 3198 include a readable copy of the attribution notices contained 3199 within such NOTICE file, excluding those notices that do not 3200 pertain to any part of the Derivative Works, in at least one 3201 of the following places: within a NOTICE text file distributed 3202 as part of the Derivative Works; within the Source form or 3203 documentation, if provided along with the Derivative Works; or, 3204 within a display generated by the Derivative Works, if and 3205 wherever such third-party notices normally appear. The contents 3206 of the NOTICE file are for informational purposes only and 3207 do not modify the License. You may add Your own attribution 3208 notices within Derivative Works that You distribute, alongside 3209 or as an addendum to the NOTICE text from the Work, provided 3210 that such additional attribution notices cannot be construed 3211 as modifying the License. 3212 3213 You may add Your own copyright statement to Your modifications and 3214 may provide additional or different license terms and conditions 3215 for use, reproduction, or distribution of Your modifications, or 3216 for any such Derivative Works as a whole, provided Your use, 3217 reproduction, and distribution of the Work otherwise complies with 3218 the conditions stated in this License. 3219 3220 5. Submission of Contributions. Unless You explicitly state otherwise, 3221 any Contribution intentionally submitted for inclusion in the Work 3222 by You to the Licensor shall be under the terms and conditions of 3223 this License, without any additional terms or conditions. 3224 Notwithstanding the above, nothing herein shall supersede or modify 3225 the terms of any separate license agreement you may have executed 3226 with Licensor regarding such Contributions. 3227 3228 6. Trademarks. This License does not grant permission to use the trade 3229 names, trademarks, service marks, or product names of the Licensor, 3230 except as required for reasonable and customary use in describing the 3231 origin of the Work and reproducing the content of the NOTICE file. 3232 3233 7. Disclaimer of Warranty. Unless required by applicable law or 3234 agreed to in writing, Licensor provides the Work (and each 3235 Contributor provides its Contributions) on an "AS IS" BASIS, 3236 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 3237 implied, including, without limitation, any warranties or conditions 3238 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 3239 PARTICULAR PURPOSE. You are solely responsible for determining the 3240 appropriateness of using or redistributing the Work and assume any 3241 risks associated with Your exercise of permissions under this License. 3242 3243 8. Limitation of Liability. In no event and under no legal theory, 3244 whether in tort (including negligence), contract, or otherwise, 3245 unless required by applicable law (such as deliberate and grossly 3246 negligent acts) or agreed to in writing, shall any Contributor be 3247 liable to You for damages, including any direct, indirect, special, 3248 incidental, or consequential damages of any character arising as a 3249 result of this License or out of the use or inability to use the 3250 Work (including but not limited to damages for loss of goodwill, 3251 work stoppage, computer failure or malfunction, or any and all 3252 other commercial damages or losses), even if such Contributor 3253 has been advised of the possibility of such damages. 3254 3255 9. Accepting Warranty or Additional Liability. While redistributing 3256 the Work or Derivative Works thereof, You may choose to offer, 3257 and charge a fee for, acceptance of support, warranty, indemnity, 3258 or other liability obligations and/or rights consistent with this 3259 License. However, in accepting such obligations, You may act only 3260 on Your own behalf and on Your sole responsibility, not on behalf 3261 of any other Contributor, and only if You agree to indemnify, 3262 defend, and hold each Contributor harmless for any liability 3263 incurred by, or claims asserted against, such Contributor by reason 3264 of your accepting any such warranty or additional liability. 3265 3266 END OF TERMS AND CONDITIONS 3267 3268 APPENDIX: How to apply the Apache License to your work. 3269 3270 To apply the Apache License to your work, attach the following 3271 boilerplate notice, with the fields enclosed by brackets "[]" 3272 replaced with your own identifying information. (Don't include 3273 the brackets!) The text should be enclosed in the appropriate 3274 comment syntax for the file format. We also recommend that a 3275 file or class name and description of purpose be included on the 3276 same "printed page" as the copyright notice for easier 3277 identification within third-party archives. 3278 3279 Copyright [yyyy] [name of copyright owner] 3280 3281 Licensed under the Apache License, Version 2.0 (the "License"); 3282 you may not use this file except in compliance with the License. 3283 You may obtain a copy of the License at 3284 3285 http://www.apache.org/licenses/LICENSE-2.0 3286 3287 Unless required by applicable law or agreed to in writing, software 3288 distributed under the License is distributed on an "AS IS" BASIS, 3289 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3290 See the License for the specific language governing permissions and 3291 limitations under the License. 3292 3293 MOZILLA PUBLIC LICENSE 3294 Version 1.1 3295 3296 --------------- 3297 3298 1. Definitions. 3299 3300 1.0.1. "Commercial Use" means distribution or otherwise making the 3301 Covered Code available to a third party. 3302 3303 1.1. "Contributor" means each entity that creates or contributes to 3304 the creation of Modifications. 3305 3306 1.2. "Contributor Version" means the combination of the Original 3307 Code, prior Modifications used by a Contributor, and the Modifications 3308 made by that particular Contributor. 3309 3310 1.3. "Covered Code" means the Original Code or Modifications or the 3311 combination of the Original Code and Modifications, in each case 3312 including portions thereof. 3313 3314 1.4. "Electronic Distribution Mechanism" means a mechanism generally 3315 accepted in the software development community for the electronic 3316 transfer of data. 3317 3318 1.5. "Executable" means Covered Code in any form other than Source 3319 Code. 3320 3321 1.6. "Initial Developer" means the individual or entity identified 3322 as the Initial Developer in the Source Code notice required by Exhibit 3323 A. 3324 3325 1.7. "Larger Work" means a work which combines Covered Code or 3326 portions thereof with code not governed by the terms of this License. 3327 3328 1.8. "License" means this document. 3329 3330 1.8.1. "Licensable" means having the right to grant, to the maximum 3331 extent possible, whether at the time of the initial grant or 3332 subsequently acquired, any and all of the rights conveyed herein. 3333 3334 1.9. "Modifications" means any addition to or deletion from the 3335 substance or structure of either the Original Code or any previous 3336 Modifications. When Covered Code is released as a series of files, a 3337 Modification is: 3338 A. Any addition to or deletion from the contents of a file 3339 containing Original Code or previous Modifications. 3340 3341 B. Any new file that contains any part of the Original Code or 3342 previous Modifications. 3343 3344 1.10. "Original Code" means Source Code of computer software code 3345 which is described in the Source Code notice required by Exhibit A as 3346 Original Code, and which, at the time of its release under this 3347 License is not already Covered Code governed by this License. 3348 3349 1.10.1. "Patent Claims" means any patent claim(s), now owned or 3350 hereafter acquired, including without limitation, method, process, 3351 and apparatus claims, in any patent Licensable by grantor. 3352 3353 1.11. "Source Code" means the preferred form of the Covered Code for 3354 making modifications to it, including all modules it contains, plus 3355 any associated interface definition files, scripts used to control 3356 compilation and installation of an Executable, or source code 3357 differential comparisons against either the Original Code or another 3358 well known, available Covered Code of the Contributor's choice. The 3359 Source Code can be in a compressed or archival form, provided the 3360 appropriate decompression or de-archiving software is widely available 3361 for no charge. 3362 3363 1.12. "You" (or "Your") means an individual or a legal entity 3364 exercising rights under, and complying with all of the terms of, this 3365 License or a future version of this License issued under Section 6.1. 3366 For legal entities, "You" includes any entity which controls, is 3367 controlled by, or is under common control with You. For purposes of 3368 this definition, "control" means (a) the power, direct or indirect, 3369 to cause the direction or management of such entity, whether by 3370 contract or otherwise, or (b) ownership of more than fifty percent 3371 (50%) of the outstanding shares or beneficial ownership of such 3372 entity. 3373 3374 2. Source Code License. 3375 3376 2.1. The Initial Developer Grant. 3377 The Initial Developer hereby grants You a world-wide, royalty-free, 3378 non-exclusive license, subject to third party intellectual property 3379 claims: 3380 (a) under intellectual property rights (other than patent or 3381 trademark) Licensable by Initial Developer to use, reproduce, 3382 modify, display, perform, sublicense and distribute the Original 3383 Code (or portions thereof) with or without Modifications, and/or 3384 as part of a Larger Work; and 3385 3386 (b) under Patents Claims infringed by the making, using or 3387 selling of Original Code, to make, have made, use, practice, 3388 sell, and offer for sale, and/or otherwise dispose of the 3389 Original Code (or portions thereof). 3390 3391 (c) the licenses granted in this Section 2.1(a) and (b) are 3392 effective on the date Initial Developer first distributes 3393 Original Code under the terms of this License. 3394 3395 (d) Notwithstanding Section 2.1(b) above, no patent license is 3396 granted: 1) for code that You delete from the Original Code; 2) 3397 separate from the Original Code; or 3) for infringements caused 3398 by: i) the modification of the Original Code or ii) the 3399 combination of the Original Code with other software or devices. 3400 3401 2.2. Contributor Grant. 3402 Subject to third party intellectual property claims, each Contributor 3403 hereby grants You a world-wide, royalty-free, non-exclusive license 3404 3405 (a) under intellectual property rights (other than patent or 3406 trademark) Licensable by Contributor, to use, reproduce, modify, 3407 display, perform, sublicense and distribute the Modifications 3408 created by such Contributor (or portions thereof) either on an 3409 unmodified basis, with other Modifications, as Covered Code 3410 and/or as part of a Larger Work; and 3411 3412 (b) under Patent Claims infringed by the making, using, or 3413 selling of Modifications made by that Contributor either alone 3414 and/or in combination with its Contributor Version (or portions 3415 of such combination), to make, use, sell, offer for sale, have 3416 made, and/or otherwise dispose of: 1) Modifications made by that 3417 Contributor (or portions thereof); and 2) the combination of 3418 Modifications made by that Contributor with its Contributor 3419 Version (or portions of such combination). 3420 3421 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are 3422 effective on the date Contributor first makes Commercial Use of 3423 the Covered Code. 3424 3425 (d) Notwithstanding Section 2.2(b) above, no patent license is 3426 granted: 1) for any code that Contributor has deleted from the 3427 Contributor Version; 2) separate from the Contributor Version; 3428 3) for infringements caused by: i) third party modifications of 3429 Contributor Version or ii) the combination of Modifications made 3430 by that Contributor with other software (except as part of the 3431 Contributor Version) or other devices; or 4) under Patent Claims 3432 infringed by Covered Code in the absence of Modifications made by 3433 that Contributor. 3434 3435 3. Distribution Obligations. 3436 3437 3.1. Application of License. 3438 The Modifications which You create or to which You contribute are 3439 governed by the terms of this License, including without limitation 3440 Section 2.2. The Source Code version of Covered Code may be 3441 distributed only under the terms of this License or a future version 3442 of this License released under Section 6.1, and You must include a 3443 copy of this License with every copy of the Source Code You 3444 distribute. You may not offer or impose any terms on any Source Code 3445 version that alters or restricts the applicable version of this 3446 License or the recipients' rights hereunder. However, You may include 3447 an additional document offering the additional rights described in 3448 Section 3.5. 3449 3450 3.2. Availability of Source Code. 3451 Any Modification which You create or to which You contribute must be 3452 made available in Source Code form under the terms of this License 3453 either on the same media as an Executable version or via an accepted 3454 Electronic Distribution Mechanism to anyone to whom you made an 3455 Executable version available; and if made available via Electronic 3456 Distribution Mechanism, must remain available for at least twelve (12) 3457 months after the date it initially became available, or at least six 3458 (6) months after a subsequent version of that particular Modification 3459 has been made available to such recipients. You are responsible for 3460 ensuring that the Source Code version remains available even if the 3461 Electronic Distribution Mechanism is maintained by a third party. 3462 3463 3.3. Description of Modifications. 3464 You must cause all Covered Code to which You contribute to contain a 3465 file documenting the changes You made to create that Covered Code and 3466 the date of any change. You must include a prominent statement that 3467 the Modification is derived, directly or indirectly, from Original 3468 Code provided by the Initial Developer and including the name of the 3469 Initial Developer in (a) the Source Code, and (b) in any notice in an 3470 Executable version or related documentation in which You describe the 3471 origin or ownership of the Covered Code. 3472 3473 3.4. Intellectual Property Matters 3474 (a) Third Party Claims. 3475 If Contributor has knowledge that a license under a third party's 3476 intellectual property rights is required to exercise the rights 3477 granted by such Contributor under Sections 2.1 or 2.2, 3478 Contributor must include a text file with the Source Code 3479 distribution titled "LEGAL" which describes the claim and the 3480 party making the claim in sufficient detail that a recipient will 3481 know whom to contact. If Contributor obtains such knowledge after 3482 the Modification is made available as described in Section 3.2, 3483 Contributor shall promptly modify the LEGAL file in all copies 3484 Contributor makes available thereafter and shall take other steps 3485 (such as notifying appropriate mailing lists or newsgroups) 3486 reasonably calculated to inform those who received the Covered 3487 Code that new knowledge has been obtained. 3488 3489 (b) Contributor APIs. 3490 If Contributor's Modifications include an application programming 3491 interface and Contributor has knowledge of patent licenses which 3492 are reasonably necessary to implement that API, Contributor must 3493 also include this information in the LEGAL file. 3494 3495 (c) Representations. 3496 Contributor represents that, except as disclosed pursuant to 3497 Section 3.4(a) above, Contributor believes that Contributor's 3498 Modifications are Contributor's original creation(s) and/or 3499 Contributor has sufficient rights to grant the rights conveyed by 3500 this License. 3501 3502 3.5. Required Notices. 3503 You must duplicate the notice in Exhibit A in each file of the Source 3504 Code. If it is not possible to put such notice in a particular Source 3505 Code file due to its structure, then You must include such notice in a 3506 location (such as a relevant directory) where a user would be likely 3507 to look for such a notice. If You created one or more Modification(s) 3508 You may add your name as a Contributor to the notice described in 3509 Exhibit A. You must also duplicate this License in any documentation 3510 for the Source Code where You describe recipients' rights or ownership 3511 rights relating to Covered Code. You may choose to offer, and to 3512 charge a fee for, warranty, support, indemnity or liability 3513 obligations to one or more recipients of Covered Code. However, You 3514 may do so only on Your own behalf, and not on behalf of the Initial 3515 Developer or any Contributor. You must make it absolutely clear than 3516 any such warranty, support, indemnity or liability obligation is 3517 offered by You alone, and You hereby agree to indemnify the Initial 3518 Developer and every Contributor for any liability incurred by the 3519 Initial Developer or such Contributor as a result of warranty, 3520 support, indemnity or liability terms You offer. 3521 3522 3.6. Distribution of Executable Versions. 3523 You may distribute Covered Code in Executable form only if the 3524 requirements of Section 3.1-3.5 have been met for that Covered Code, 3525 and if You include a notice stating that the Source Code version of 3526 the Covered Code is available under the terms of this License, 3527 including a description of how and where You have fulfilled the 3528 obligations of Section 3.2. The notice must be conspicuously included 3529 in any notice in an Executable version, related documentation or 3530 collateral in which You describe recipients' rights relating to the 3531 Covered Code. You may distribute the Executable version of Covered 3532 Code or ownership rights under a license of Your choice, which may 3533 contain terms different from this License, provided that You are in 3534 compliance with the terms of this License and that the license for the 3535 Executable version does not attempt to limit or alter the recipient's 3536 rights in the Source Code version from the rights set forth in this 3537 License. If You distribute the Executable version under a different 3538 license You must make it absolutely clear that any terms which differ 3539 from this License are offered by You alone, not by the Initial 3540 Developer or any Contributor. You hereby agree to indemnify the 3541 Initial Developer and every Contributor for any liability incurred by 3542 the Initial Developer or such Contributor as a result of any such 3543 terms You offer. 3544 3545 3.7. Larger Works. 3546 You may create a Larger Work by combining Covered Code with other code 3547 not governed by the terms of this License and distribute the Larger 3548 Work as a single product. In such a case, You must make sure the 3549 requirements of this License are fulfilled for the Covered Code. 3550 3551 4. Inability to Comply Due to Statute or Regulation. 3552 3553 If it is impossible for You to comply with any of the terms of this 3554 License with respect to some or all of the Covered Code due to 3555 statute, judicial order, or regulation then You must: (a) comply with 3556 the terms of this License to the maximum extent possible; and (b) 3557 describe the limitations and the code they affect. Such description 3558 must be included in the LEGAL file described in Section 3.4 and must 3559 be included with all distributions of the Source Code. Except to the 3560 extent prohibited by statute or regulation, such description must be 3561 sufficiently detailed for a recipient of ordinary skill to be able to 3562 understand it. 3563 3564 5. Application of this License. 3565 3566 This License applies to code to which the Initial Developer has 3567 attached the notice in Exhibit A and to related Covered Code. 3568 3569 6. Versions of the License. 3570 3571 6.1. New Versions. 3572 Netscape Communications Corporation ("Netscape") may publish revised 3573 and/or new versions of the License from time to time. Each version 3574 will be given a distinguishing version number. 3575 3576 6.2. Effect of New Versions. 3577 Once Covered Code has been published under a particular version of the 3578 License, You may always continue to use it under the terms of that 3579 version. You may also choose to use such Covered Code under the terms 3580 of any subsequent version of the License published by Netscape. No one 3581 other than Netscape has the right to modify the terms applicable to 3582 Covered Code created under this License. 3583 3584 6.3. Derivative Works. 3585 If You create or use a modified version of this License (which you may 3586 only do in order to apply it to code which is not already Covered Code 3587 governed by this License), You must (a) rename Your license so that 3588 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", 3589 "MPL", "NPL" or any confusingly similar phrase do not appear in your 3590 license (except to note that your license differs from this License) 3591 and (b) otherwise make it clear that Your version of the license 3592 contains terms which differ from the Mozilla Public License and 3593 Netscape Public License. (Filling in the name of the Initial 3594 Developer, Original Code or Contributor in the notice described in 3595 Exhibit A shall not of themselves be deemed to be modifications of 3596 this License.) 3597 3598 7. DISCLAIMER OF WARRANTY. 3599 3600 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, 3601 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, 3602 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF 3603 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. 3604 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE 3605 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, 3606 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE 3607 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER 3608 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF 3609 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. 3610 3611 8. TERMINATION. 3612 3613 8.1. This License and the rights granted hereunder will terminate 3614 automatically if You fail to comply with terms herein and fail to cure 3615 such breach within 30 days of becoming aware of the breach. All 3616 sublicenses to the Covered Code which are properly granted shall 3617 survive any termination of this License. Provisions which, by their 3618 nature, must remain in effect beyond the termination of this License 3619 shall survive. 3620 3621 8.2. If You initiate litigation by asserting a patent infringement 3622 claim (excluding declatory judgment actions) against Initial Developer 3623 or a Contributor (the Initial Developer or Contributor against whom 3624 You file such action is referred to as "Participant") alleging that: 3625 3626 (a) such Participant's Contributor Version directly or indirectly 3627 infringes any patent, then any and all rights granted by such 3628 Participant to You under Sections 2.1 and/or 2.2 of this License 3629 shall, upon 60 days notice from Participant terminate prospectively, 3630 unless if within 60 days after receipt of notice You either: (i) 3631 agree in writing to pay Participant a mutually agreeable reasonable 3632 royalty for Your past and future use of Modifications made by such 3633 Participant, or (ii) withdraw Your litigation claim with respect to 3634 the Contributor Version against such Participant. If within 60 days 3635 of notice, a reasonable royalty and payment arrangement are not 3636 mutually agreed upon in writing by the parties or the litigation claim 3637 is not withdrawn, the rights granted by Participant to You under 3638 Sections 2.1 and/or 2.2 automatically terminate at the expiration of 3639 the 60 day notice period specified above. 3640 3641 (b) any software, hardware, or device, other than such Participant's 3642 Contributor Version, directly or indirectly infringes any patent, then 3643 any rights granted to You by such Participant under Sections 2.1(b) 3644 and 2.2(b) are revoked effective as of the date You first made, used, 3645 sold, distributed, or had made, Modifications made by that 3646 Participant. 3647 3648 8.3. If You assert a patent infringement claim against Participant 3649 alleging that such Participant's Contributor Version directly or 3650 indirectly infringes any patent where such claim is resolved (such as 3651 by license or settlement) prior to the initiation of patent 3652 infringement litigation, then the reasonable value of the licenses 3653 granted by such Participant under Sections 2.1 or 2.2 shall be taken 3654 into account in determining the amount or value of any payment or 3655 license. 3656 3657 8.4. In the event of termination under Sections 8.1 or 8.2 above, 3658 all end user license agreements (excluding distributors and resellers) 3659 which have been validly granted by You or any distributor hereunder 3660 prior to termination shall survive termination. 3661 3662 9. LIMITATION OF LIABILITY. 3663 3664 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT 3665 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL 3666 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, 3667 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR 3668 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY 3669 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, 3670 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER 3671 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN 3672 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF 3673 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY 3674 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW 3675 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE 3676 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO 3677 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 3678 3679 10. U.S. GOVERNMENT END USERS. 3680 3681 The Covered Code is a "commercial item," as that term is defined in 3682 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer 3683 software" and "commercial computer software documentation," as such 3684 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 3685 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), 3686 all U.S. Government End Users acquire Covered Code with only those 3687 rights set forth herein. 3688 3689 11. MISCELLANEOUS. 3690 3691 This License represents the complete agreement concerning subject 3692 matter hereof. If any provision of this License is held to be 3693 unenforceable, such provision shall be reformed only to the extent 3694 necessary to make it enforceable. This License shall be governed by 3695 California law provisions (except to the extent applicable law, if 3696 any, provides otherwise), excluding its conflict-of-law provisions. 3697 With respect to disputes in which at least one party is a citizen of, 3698 or an entity chartered or registered to do business in the United 3699 States of America, any litigation relating to this License shall be 3700 subject to the jurisdiction of the Federal Courts of the Northern 3701 District of California, with venue lying in Santa Clara County, 3702 California, with the losing party responsible for costs, including 3703 without limitation, court costs and reasonable attorneys' fees and 3704 expenses. The application of the United Nations Convention on 3705 Contracts for the International Sale of Goods is expressly excluded. 3706 Any law or regulation which provides that the language of a contract 3707 shall be construed against the drafter shall not apply to this 3708 License. 3709 3710 12. RESPONSIBILITY FOR CLAIMS. 3711 3712 As between Initial Developer and the Contributors, each party is 3713 responsible for claims and damages arising, directly or indirectly, 3714 out of its utilization of rights under this License and You agree to 3715 work with Initial Developer and Contributors to distribute such 3716 responsibility on an equitable basis. Nothing herein is intended or 3717 shall be deemed to constitute any admission of liability. 3718 3719 13. MULTIPLE-LICENSED CODE. 3720 3721 Initial Developer may designate portions of the Covered Code as 3722 "Multiple-Licensed". "Multiple-Licensed" means that the Initial 3723 Developer permits you to utilize portions of the Covered Code under 3724 Your choice of the NPL or the alternative licenses, if any, specified 3725 by the Initial Developer in the file described in Exhibit A. 3726 3727 EXHIBIT A -Mozilla Public License. 3728 3729 ``The contents of this file are subject to the Mozilla Public License 3730 Version 1.1 (the "License"); you may not use this file except in 3731 compliance with the License. You may obtain a copy of the License at 3732 http://www.mozilla.org/MPL/ 3733 3734 Software distributed under the License is distributed on an "AS IS" 3735 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 3736 License for the specific language governing rights and limitations 3737 under the License. 3738 3739 The Original Code is ______________________________________. 3740 3741 The Initial Developer of the Original Code is ________________________. 3742 Portions created by ______________________ are Copyright (C) ______ 3743 _______________________. All Rights Reserved. 3744 3745 Contributor(s): ______________________________________. 3746 3747 Alternatively, the contents of this file may be used under the terms 3748 of the _____ license (the "[___] License"), in which case the 3749 provisions of [______] License are applicable instead of those 3750 above. If you wish to allow use of your version of this file only 3751 under the terms of the [____] License and not to allow others to use 3752 your version of this file under the MPL, indicate your decision by 3753 deleting the provisions above and replace them with the notice and 3754 other provisions required by the [___] License. If you do not delete 3755 the provisions above, a recipient may use your version of this file 3756 under either the MPL or the [___] License." 3757 3758 [NOTE: The text of this Exhibit A may differ slightly from the text of 3759 the notices in the Source Code files of the Original Code. You should 3760 use the text of this Exhibit A rather than the text found in the 3761 Original Code Source Code for Your Modifications.] 3762 3763 ---------------------------------------------------------------------- 3764 3765 AMENDMENTS 3766 3767 The Netscape Public License Version 1.1 ("NPL") consists of the 3768 Mozilla Public License Version 1.1 with the following Amendments, 3769 including Exhibit A-Netscape Public License. Files identified with 3770 "Exhibit A-Netscape Public License" are governed by the Netscape 3771 Public License Version 1.1. 3772 3773 Additional Terms applicable to the Netscape Public License. 3774 I. Effect. 3775 These additional terms described in this Netscape Public 3776 License -- Amendments shall apply to the Mozilla Communicator 3777 client code and to all Covered Code under this License. 3778 3779 II. "Netscape's Branded Code" means Covered Code that Netscape 3780 distributes and/or permits others to distribute under one or more 3781 trademark(s) which are controlled by Netscape but which are not 3782 licensed for use under this License. 3783 3784 III. Netscape and logo. 3785 This License does not grant any rights to use the trademarks 3786 "Netscape", the "Netscape N and horizon" logo or the "Netscape 3787 lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript", 3788 "Smart Browsing" even if such marks are included in the Original 3789 Code or Modifications. 3790 3791 IV. Inability to Comply Due to Contractual Obligation. 3792 Prior to licensing the Original Code under this License, Netscape 3793 has licensed third party code for use in Netscape's Branded Code. 3794 To the extent that Netscape is limited contractually from making 3795 such third party code available under this License, Netscape may 3796 choose to reintegrate such code into Covered Code without being 3797 required to distribute such code in Source Code form, even if 3798 such code would otherwise be considered "Modifications" under 3799 this License. 3800 3801 V. Use of Modifications and Covered Code by Initial Developer. 3802 V.1. In General. 3803 The obligations of Section 3 apply to Netscape, except to 3804 the extent specified in this Amendment, Section V.2 and V.3. 3805 3806 V.2. Other Products. 3807 Netscape may include Covered Code in products other than the 3808 Netscape's Branded Code which are released by Netscape 3809 during the two (2) years following the release date of the 3810 Original Code, without such additional products becoming 3811 subject to the terms of this License, and may license such 3812 additional products on different terms from those contained 3813 in this License. 3814 3815 V.3. Alternative Licensing. 3816 Netscape may license the Source Code of Netscape's Branded 3817 Code, including Modifications incorporated therein, without 3818 such Netscape Branded Code becoming subject to the terms of 3819 this License, and may license such Netscape Branded Code on 3820 different terms from those contained in this License. 3821 3822 VI. Litigation. 3823 Notwithstanding the limitations of Section 11 above, the 3824 provisions regarding litigation in Section 11(a), (b) and (c) of 3825 the License shall apply to all disputes relating to this License. 3826 3827 EXHIBIT A-Netscape Public License. 3828 3829 "The contents of this file are subject to the Netscape Public 3830 License Version 1.1 (the "License"); you may not use this file 3831 except in compliance with the License. You may obtain a copy of 3832 the License at http://www.mozilla.org/NPL/ 3833 3834 Software distributed under the License is distributed on an "AS 3835 IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 3836 implied. See the License for the specific language governing 3837 rights and limitations under the License. 3838 3839 The Original Code is Mozilla Communicator client code, released 3840 March 31, 1998. 3841 3842 The Initial Developer of the Original Code is Netscape 3843 Communications Corporation. Portions created by Netscape are 3844 Copyright (C) 1998-1999 Netscape Communications Corporation. All 3845 Rights Reserved. 3846 3847 Contributor(s): ______________________________________. 3848 3849 Alternatively, the contents of this file may be used under the 3850 terms of the _____ license (the "[___] License"), in which case 3851 the provisions of [______] License are applicable instead of 3852 those above. If you wish to allow use of your version of this 3853 file only under the terms of the [____] License and not to allow 3854 others to use your version of this file under the NPL, indicate 3855 your decision by deleting the provisions above and replace them 3856 with the notice and other provisions required by the [___] 3857 License. If you do not delete the provisions above, a recipient 3858 may use your version of this file under either the NPL or the 3859 [___] License." 3860 3861 Copyright (c) 2010 Jonathan Hartley 3862 All rights reserved. 3863 3864 Redistribution and use in source and binary forms, with or without 3865 modification, are permitted provided that the following conditions are met: 3866 3867 * Redistributions of source code must retain the above copyright notice, this 3868 list of conditions and the following disclaimer. 3869 3870 * Redistributions in binary form must reproduce the above copyright notice, 3871 this list of conditions and the following disclaimer in the documentation 3872 and/or other materials provided with the distribution. 3873 3874 * Neither the name of the copyright holders, nor those of its contributors 3875 may be used to endorse or promote products derived from this software without 3876 specific prior written permission. 3877 3878 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 3879 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 3880 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 3881 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 3882 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3883 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 3884 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 3885 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 3886 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3887 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3888 3889 3890 Copyright (c) 2010-2014, Michael Bostock 3891 All rights reserved. 3892 3893 Redistribution and use in source and binary forms, with or without 3894 modification, are permitted provided that the following conditions are met: 3895 3896 * Redistributions of source code must retain the above copyright notice, this 3897 list of conditions and the following disclaimer. 3898 3899 * Redistributions in binary form must reproduce the above copyright notice, 3900 this list of conditions and the following disclaimer in the documentation 3901 and/or other materials provided with the distribution. 3902 3903 * The name Michael Bostock may not be used to endorse or promote products 3904 derived from this software without specific prior written permission. 3905 3906 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 3907 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 3908 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 3909 DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, 3910 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 3911 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3912 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 3913 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 3914 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 3915 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3916 3917 GNU GENERAL PUBLIC LICENSE 3918 Version 2, June 1991 3919 3920 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 3921 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 3922 Everyone is permitted to copy and distribute verbatim copies 3923 of this license document, but changing it is not allowed. 3924 3925 Preamble 3926 3927 The licenses for most software are designed to take away your 3928 freedom to share and change it. By contrast, the GNU General Public 3929 License is intended to guarantee your freedom to share and change free 3930 software--to make sure the software is free for all its users. This 3931 General Public License applies to most of the Free Software 3932 Foundation's software and to any other program whose authors commit to 3933 using it. (Some other Free Software Foundation software is covered by 3934 the GNU Library General Public License instead.) You can apply it to 3935 your programs, too. 3936 3937 When we speak of free software, we are referring to freedom, not 3938 price. Our General Public Licenses are designed to make sure that you 3939 have the freedom to distribute copies of free software (and charge for 3940 this service if you wish), that you receive source code or can get it 3941 if you want it, that you can change the software or use pieces of it 3942 in new free programs; and that you know you can do these things. 3943 3944 To protect your rights, we need to make restrictions that forbid 3945 anyone to deny you these rights or to ask you to surrender the rights. 3946 These restrictions translate to certain responsibilities for you if you 3947 distribute copies of the software, or if you modify it. 3948 3949 For example, if you distribute copies of such a program, whether 3950 gratis or for a fee, you must give the recipients all the rights that 3951 you have. You must make sure that they, too, receive or can get the 3952 source code. And you must show them these terms so they know their 3953 rights. 3954 3955 We protect your rights with two steps: (1) copyright the software, and 3956 (2) offer you this license which gives you legal permission to copy, 3957 distribute and/or modify the software. 3958 3959 Also, for each author's protection and ours, we want to make certain 3960 that everyone understands that there is no warranty for this free 3961 software. If the software is modified by someone else and passed on, we 3962 want its recipients to know that what they have is not the original, so 3963 that any problems introduced by others will not reflect on the original 3964 authors' reputations. 3965 3966 Finally, any free program is threatened constantly by software 3967 patents. We wish to avoid the danger that redistributors of a free 3968 program will individually obtain patent licenses, in effect making the 3969 program proprietary. To prevent this, we have made it clear that any 3970 patent must be licensed for everyone's free use or not licensed at all. 3971 3972 The precise terms and conditions for copying, distribution and 3973 modification follow. 3974 3976 GNU GENERAL PUBLIC LICENSE 3977 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 3978 3979 0. This License applies to any program or other work which contains 3980 a notice placed by the copyright holder saying it may be distributed 3981 under the terms of this General Public License. The "Program", below, 3982 refers to any such program or work, and a "work based on the Program" 3983 means either the Program or any derivative work under copyright law: 3984 that is to say, a work containing the Program or a portion of it, 3985 either verbatim or with modifications and/or translated into another 3986 language. (Hereinafter, translation is included without limitation in 3987 the term "modification".) Each licensee is addressed as "you". 3988 3989 Activities other than copying, distribution and modification are not 3990 covered by this License; they are outside its scope. The act of 3991 running the Program is not restricted, and the output from the Program 3992 is covered only if its contents constitute a work based on the 3993 Program (independent of having been made by running the Program). 3994 Whether that is true depends on what the Program does. 3995 3996 1. You may copy and distribute verbatim copies of the Program's 3997 source code as you receive it, in any medium, provided that you 3998 conspicuously and appropriately publish on each copy an appropriate 3999 copyright notice and disclaimer of warranty; keep intact all the 4000 notices that refer to this License and to the absence of any warranty; 4001 and give any other recipients of the Program a copy of this License 4002 along with the Program. 4003 4004 You may charge a fee for the physical act of transferring a copy, and 4005 you may at your option offer warranty protection in exchange for a fee. 4006 4007 2. You may modify your copy or copies of the Program or any portion 4008 of it, thus forming a work based on the Program, and copy and 4009 distribute such modifications or work under the terms of Section 1 4010 above, provided that you also meet all of these conditions: 4011 4012 a) You must cause the modified files to carry prominent notices 4013 stating that you changed the files and the date of any change. 4014 4015 b) You must cause any work that you distribute or publish, that in 4016 whole or in part contains or is derived from the Program or any 4017 part thereof, to be licensed as a whole at no charge to all third 4018 parties under the terms of this License. 4019 4020 c) If the modified program normally reads commands interactively 4021 when run, you must cause it, when started running for such 4022 interactive use in the most ordinary way, to print or display an 4023 announcement including an appropriate copyright notice and a 4024 notice that there is no warranty (or else, saying that you provide 4025 a warranty) and that users may redistribute the program under 4026 these conditions, and telling the user how to view a copy of this 4027 License. (Exception: if the Program itself is interactive but 4028 does not normally print such an announcement, your work based on 4029 the Program is not required to print an announcement.) 4030 4032 These requirements apply to the modified work as a whole. If 4033 identifiable sections of that work are not derived from the Program, 4034 and can be reasonably considered independent and separate works in 4035 themselves, then this License, and its terms, do not apply to those 4036 sections when you distribute them as separate works. But when you 4037 distribute the same sections as part of a whole which is a work based 4038 on the Program, the distribution of the whole must be on the terms of 4039 this License, whose permissions for other licensees extend to the 4040 entire whole, and thus to each and every part regardless of who wrote it. 4041 4042 Thus, it is not the intent of this section to claim rights or contest 4043 your rights to work written entirely by you; rather, the intent is to 4044 exercise the right to control the distribution of derivative or 4045 collective works based on the Program. 4046 4047 In addition, mere aggregation of another work not based on the Program 4048 with the Program (or with a work based on the Program) on a volume of 4049 a storage or distribution medium does not bring the other work under 4050 the scope of this License. 4051 4052 3. You may copy and distribute the Program (or a work based on it, 4053 under Section 2) in object code or executable form under the terms of 4054 Sections 1 and 2 above provided that you also do one of the following: 4055 4056 a) Accompany it with the complete corresponding machine-readable 4057 source code, which must be distributed under the terms of Sections 4058 1 and 2 above on a medium customarily used for software interchange; or, 4059 4060 b) Accompany it with a written offer, valid for at least three 4061 years, to give any third party, for a charge no more than your 4062 cost of physically performing source distribution, a complete 4063 machine-readable copy of the corresponding source code, to be 4064 distributed under the terms of Sections 1 and 2 above on a medium 4065 customarily used for software interchange; or, 4066 4067 c) Accompany it with the information you received as to the offer 4068 to distribute corresponding source code. (This alternative is 4069 allowed only for noncommercial distribution and only if you 4070 received the program in object code or executable form with such 4071 an offer, in accord with Subsection b above.) 4072 4073 The source code for a work means the preferred form of the work for 4074 making modifications to it. For an executable work, complete source 4075 code means all the source code for all modules it contains, plus any 4076 associated interface definition files, plus the scripts used to 4077 control compilation and installation of the executable. However, as a 4078 special exception, the source code distributed need not include 4079 anything that is normally distributed (in either source or binary 4080 form) with the major components (compiler, kernel, and so on) of the 4081 operating system on which the executable runs, unless that component 4082 itself accompanies the executable. 4083 4084 If distribution of executable or object code is made by offering 4085 access to copy from a designated place, then offering equivalent 4086 access to copy the source code from the same place counts as 4087 distribution of the source code, even though third parties are not 4088 compelled to copy the source along with the object code. 4089 4091 4. You may not copy, modify, sublicense, or distribute the Program 4092 except as expressly provided under this License. Any attempt 4093 otherwise to copy, modify, sublicense or distribute the Program is 4094 void, and will automatically terminate your rights under this License. 4095 However, parties who have received copies, or rights, from you under 4096 this License will not have their licenses terminated so long as such 4097 parties remain in full compliance. 4098 4099 5. You are not required to accept this License, since you have not 4100 signed it. However, nothing else grants you permission to modify or 4101 distribute the Program or its derivative works. These actions are 4102 prohibited by law if you do not accept this License. Therefore, by 4103 modifying or distributing the Program (or any work based on the 4104 Program), you indicate your acceptance of this License to do so, and 4105 all its terms and conditions for copying, distributing or modifying 4106 the Program or works based on it. 4107 4108 6. Each time you redistribute the Program (or any work based on the 4109 Program), the recipient automatically receives a license from the 4110 original licensor to copy, distribute or modify the Program subject to 4111 these terms and conditions. You may not impose any further 4112 restrictions on the recipients' exercise of the rights granted herein. 4113 You are not responsible for enforcing compliance by third parties to 4114 this License. 4115 4116 7. If, as a consequence of a court judgment or allegation of patent 4117 infringement or for any other reason (not limited to patent issues), 4118 conditions are imposed on you (whether by court order, agreement or 4119 otherwise) that contradict the conditions of this License, they do not 4120 excuse you from the conditions of this License. If you cannot 4121 distribute so as to satisfy simultaneously your obligations under this 4122 License and any other pertinent obligations, then as a consequence you 4123 may not distribute the Program at all. For example, if a patent 4124 license would not permit royalty-free redistribution of the Program by 4125 all those who receive copies directly or indirectly through you, then 4126 the only way you could satisfy both it and this License would be to 4127 refrain entirely from distribution of the Program. 4128 4129 If any portion of this section is held invalid or unenforceable under 4130 any particular circumstance, the balance of the section is intended to 4131 apply and the section as a whole is intended to apply in other 4132 circumstances. 4133 4134 It is not the purpose of this section to induce you to infringe any 4135 patents or other property right claims or to contest validity of any 4136 such claims; this section has the sole purpose of protecting the 4137 integrity of the free software distribution system, which is 4138 implemented by public license practices. Many people have made 4139 generous contributions to the wide range of software distributed 4140 through that system in reliance on consistent application of that 4141 system; it is up to the author/donor to decide if he or she is willing 4142 to distribute software through any other system and a licensee cannot 4143 impose that choice. 4144 4145 This section is intended to make thoroughly clear what is believed to 4146 be a consequence of the rest of this License. 4147 4149 8. If the distribution and/or use of the Program is restricted in 4150 certain countries either by patents or by copyrighted interfaces, the 4151 original copyright holder who places the Program under this License 4152 may add an explicit geographical distribution limitation excluding 4153 those countries, so that distribution is permitted only in or among 4154 countries not thus excluded. In such case, this License incorporates 4155 the limitation as if written in the body of this License. 4156 4157 9. The Free Software Foundation may publish revised and/or new versions 4158 of the General Public License from time to time. Such new versions will 4159 be similar in spirit to the present version, but may differ in detail to 4160 address new problems or concerns. 4161 4162 Each version is given a distinguishing version number. If the Program 4163 specifies a version number of this License which applies to it and "any 4164 later version", you have the option of following the terms and conditions 4165 either of that version or of any later version published by the Free 4166 Software Foundation. If the Program does not specify a version number of 4167 this License, you may choose any version ever published by the Free Software 4168 Foundation. 4169 4170 10. If you wish to incorporate parts of the Program into other free 4171 programs whose distribution conditions are different, write to the author 4172 to ask for permission. For software which is copyrighted by the Free 4173 Software Foundation, write to the Free Software Foundation; we sometimes 4174 make exceptions for this. Our decision will be guided by the two goals 4175 of preserving the free status of all derivatives of our free software and 4176 of promoting the sharing and reuse of software generally. 4177 4178 NO WARRANTY 4179 4180 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 4181 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 4182 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 4183 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 4184 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 4185 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 4186 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 4187 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 4188 REPAIR OR CORRECTION. 4189 4190 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 4191 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 4192 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 4193 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 4194 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 4195 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 4196 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 4197 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 4198 POSSIBILITY OF SUCH DAMAGES. 4199 4200 END OF TERMS AND CONDITIONS 4201 4203 How to Apply These Terms to Your New Programs 4204 4205 If you develop a new program, and you want it to be of the greatest 4206 possible use to the public, the best way to achieve this is to make it 4207 free software which everyone can redistribute and change under these terms. 4208 4209 To do so, attach the following notices to the program. It is safest 4210 to attach them to the start of each source file to most effectively 4211 convey the exclusion of warranty; and each file should have at least 4212 the "copyright" line and a pointer to where the full notice is found. 4213 4214 <one line to give the program's name and a brief idea of what it does.> 4215 Copyright (C) 19yy <name of author> 4216 4217 This program is free software; you can redistribute it and/or modify 4218 it under the terms of the GNU General Public License as published by 4219 the Free Software Foundation; either version 2 of the License, or 4220 (at your option) any later version. 4221 4222 This program is distributed in the hope that it will be useful, 4223 but WITHOUT ANY WARRANTY; without even the implied warranty of 4224 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 4225 GNU General Public License for more details. 4226 4227 You should have received a copy of the GNU General Public License 4228 along with this program; if not, write to the Free Software 4229 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 4230 4231 4232 Also add information on how to contact you by electronic and paper mail. 4233 4234 If the program is interactive, make it output a short notice like this 4235 when it starts in an interactive mode: 4236 4237 Gnomovision version 69, Copyright (C) 19yy name of author 4238 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 4239 This is free software, and you are welcome to redistribute it 4240 under certain conditions; type `show c' for details. 4241 4242 The hypothetical commands `show w' and `show c' should show the appropriate 4243 parts of the General Public License. Of course, the commands you use may 4244 be called something other than `show w' and `show c'; they could even be 4245 mouse-clicks or menu items--whatever suits your program. 4246 4247 You should also get your employer (if you work as a programmer) or your 4248 school, if any, to sign a "copyright disclaimer" for the program, if 4249 necessary. Here is a sample; alter the names: 4250 4251 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 4252 `Gnomovision' (which makes passes at compilers) written by James Hacker. 4253 4254 <signature of Ty Coon>, 1 April 1989 4255 Ty Coon, President of Vice 4256 4257 This General Public License does not permit incorporating your program into 4258 proprietary programs. If your program is a subroutine library, you may 4259 consider it more useful to permit linking proprietary applications with the 4260 library. If this is what you want to do, use the GNU Library General 4261 Public License instead of this License. 4262 4263 Copyright 2014 The Chromium Authors. All rights reserved. 4264 4265 Redistribution and use in source and binary forms, with or without 4266 modification, are permitted provided that the following conditions are 4267 met: 4268 4269 * Redistributions of source code must retain the above copyright 4270 notice, this list of conditions and the following disclaimer. 4271 * Redistributions in binary form must reproduce the above 4272 copyright notice, this list of conditions and the following disclaimer 4273 in the documentation and/or other materials provided with the 4274 distribution. 4275 * Neither the name of Google Inc. nor the names of its 4276 contributors may be used to endorse or promote products derived from 4277 this software without specific prior written permission. 4278 4279 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 4280 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 4281 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 4282 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 4283 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 4284 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 4285 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 4286 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 4287 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 4288 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 4289 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 4290 4291 4292 4293 Parts of the following directories are available under Apache v2.0 4294 4295 boilerpipe-core/ 4296 Copyright (c) 2009-2011 Christian Kohlschtter 4297 4298 third_party/gwt_exporter 4299 Copyright 2007 Timepedia.org 4300 4301 third_party/gwt-2.5.1 4302 Copyright 2008 Google 4303 4304 Apache License 4305 4306 Version 2.0, January 2004 4307 4308 http://www.apache.org/licenses/ 4309 4310 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 4311 4312 1. Definitions. 4313 4314 "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. 4315 4316 "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. 4317 4318 "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. 4319 4320 "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. 4321 4322 "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. 4323 4324 "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. 4325 4326 "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). 4327 4328 "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. 4329 4330 "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." 4331 4332 "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 4333 4334 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 4335 4336 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4337 4338 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: 4339 4340 You must give any other recipients of the Work or Derivative Works a copy of this License; and 4341 You must cause any modified files to carry prominent notices stating that You changed the files; and 4342 You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and 4343 If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. 4344 4345 You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 4346 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 4347 4348 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 4349 4350 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 4351 4352 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 4353 4354 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. 4355 4356 END OF TERMS AND CONDITIONS 4357 4358 Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd 4359 and Clark Cooper 4360 Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers. 4361 4362 Permission is hereby granted, free of charge, to any person obtaining 4363 a copy of this software and associated documentation files (the 4364 "Software"), to deal in the Software without restriction, including 4365 without limitation the rights to use, copy, modify, merge, publish, 4366 distribute, sublicense, and/or sell copies of the Software, and to 4367 permit persons to whom the Software is furnished to do so, subject to 4368 the following conditions: 4369 4370 The above copyright notice and this permission notice shall be included 4371 in all copies or substantial portions of the Software. 4372 4373 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 4374 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 4375 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 4376 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 4377 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 4378 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 4379 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 4380 4381 4382 Apache License 4383 Version 2.0, January 2004 4384 http://www.apache.org/licenses/ 4385 4386 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 4387 4388 1. Definitions. 4389 4390 "License" shall mean the terms and conditions for use, reproduction, 4391 and distribution as defined by Sections 1 through 9 of this document. 4392 4393 "Licensor" shall mean the copyright owner or entity authorized by 4394 the copyright owner that is granting the License. 4395 4396 "Legal Entity" shall mean the union of the acting entity and all 4397 other entities that control, are controlled by, or are under common 4398 control with that entity. For the purposes of this definition, 4399 "control" means (i) the power, direct or indirect, to cause the 4400 direction or management of such entity, whether by contract or 4401 otherwise, or (ii) ownership of fifty percent (50%) or more of the 4402 outstanding shares, or (iii) beneficial ownership of such entity. 4403 4404 "You" (or "Your") shall mean an individual or Legal Entity 4405 exercising permissions granted by this License. 4406 4407 "Source" form shall mean the preferred form for making modifications, 4408 including but not limited to software source code, documentation 4409 source, and configuration files. 4410 4411 "Object" form shall mean any form resulting from mechanical 4412 transformation or translation of a Source form, including but 4413 not limited to compiled object code, generated documentation, 4414 and conversions to other media types. 4415 4416 "Work" shall mean the work of authorship, whether in Source or 4417 Object form, made available under the License, as indicated by a 4418 copyright notice that is included in or attached to the work 4419 (an example is provided in the Appendix below). 4420 4421 "Derivative Works" shall mean any work, whether in Source or Object 4422 form, that is based on (or derived from) the Work and for which the 4423 editorial revisions, annotations, elaborations, or other modifications 4424 represent, as a whole, an original work of authorship. For the purposes 4425 of this License, Derivative Works shall not include works that remain 4426 separable from, or merely link (or bind by name) to the interfaces of, 4427 the Work and Derivative Works thereof. 4428 4429 "Contribution" shall mean any work of authorship, including 4430 the original version of the Work and any modifications or additions 4431 to that Work or Derivative Works thereof, that is intentionally 4432 submitted to Licensor for inclusion in the Work by the copyright owner 4433 or by an individual or Legal Entity authorized to submit on behalf of 4434 the copyright owner. For the purposes of this definition, "submitted" 4435 means any form of electronic, verbal, or written communication sent 4436 to the Licensor or its representatives, including but not limited to 4437 communication on electronic mailing lists, source code control systems, 4438 and issue tracking systems that are managed by, or on behalf of, the 4439 Licensor for the purpose of discussing and improving the Work, but 4440 excluding communication that is conspicuously marked or otherwise 4441 designated in writing by the copyright owner as "Not a Contribution." 4442 4443 "Contributor" shall mean Licensor and any individual or Legal Entity 4444 on behalf of whom a Contribution has been received by Licensor and 4445 subsequently incorporated within the Work. 4446 4447 2. Grant of Copyright License. Subject to the terms and conditions of 4448 this License, each Contributor hereby grants to You a perpetual, 4449 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 4450 copyright license to reproduce, prepare Derivative Works of, 4451 publicly display, publicly perform, sublicense, and distribute the 4452 Work and such Derivative Works in Source or Object form. 4453 4454 3. Grant of Patent License. Subject to the terms and conditions of 4455 this License, each Contributor hereby grants to You a perpetual, 4456 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 4457 (except as stated in this section) patent license to make, have made, 4458 use, offer to sell, sell, import, and otherwise transfer the Work, 4459 where such license applies only to those patent claims licensable 4460 by such Contributor that are necessarily infringed by their 4461 Contribution(s) alone or by combination of their Contribution(s) 4462 with the Work to which such Contribution(s) was submitted. If You 4463 institute patent litigation against any entity (including a 4464 cross-claim or counterclaim in a lawsuit) alleging that the Work 4465 or a Contribution incorporated within the Work constitutes direct 4466 or contributory patent infringement, then any patent licenses 4467 granted to You under this License for that Work shall terminate 4468 as of the date such litigation is filed. 4469 4470 4. Redistribution. You may reproduce and distribute copies of the 4471 Work or Derivative Works thereof in any medium, with or without 4472 modifications, and in Source or Object form, provided that You 4473 meet the following conditions: 4474 4475 (a) You must give any other recipients of the Work or 4476 Derivative Works a copy of this License; and 4477 4478 (b) You must cause any modified files to carry prominent notices 4479 stating that You changed the files; and 4480 4481 (c) You must retain, in the Source form of any Derivative Works 4482 that You distribute, all copyright, patent, trademark, and 4483 attribution notices from the Source form of the Work, 4484 excluding those notices that do not pertain to any part of 4485 the Derivative Works; and 4486 4487 (d) If the Work includes a "NOTICE" text file as part of its 4488 distribution, then any Derivative Works that You distribute must 4489 include a readable copy of the attribution notices contained 4490 within such NOTICE file, excluding those notices that do not 4491 pertain to any part of the Derivative Works, in at least one 4492 of the following places: within a NOTICE text file distributed 4493 as part of the Derivative Works; within the Source form or 4494 documentation, if provided along with the Derivative Works; or, 4495 within a display generated by the Derivative Works, if and 4496 wherever such third-party notices normally appear. The contents 4497 of the NOTICE file are for informational purposes only and 4498 do not modify the License. You may add Your own attribution 4499 notices within Derivative Works that You distribute, alongside 4500 or as an addendum to the NOTICE text from the Work, provided 4501 that such additional attribution notices cannot be construed 4502 as modifying the License. 4503 4504 You may add Your own copyright statement to Your modifications and 4505 may provide additional or different license terms and conditions 4506 for use, reproduction, or distribution of Your modifications, or 4507 for any such Derivative Works as a whole, provided Your use, 4508 reproduction, and distribution of the Work otherwise complies with 4509 the conditions stated in this License. 4510 4511 5. Submission of Contributions. Unless You explicitly state otherwise, 4512 any Contribution intentionally submitted for inclusion in the Work 4513 by You to the Licensor shall be under the terms and conditions of 4514 this License, without any additional terms or conditions. 4515 Notwithstanding the above, nothing herein shall supersede or modify 4516 the terms of any separate license agreement you may have executed 4517 with Licensor regarding such Contributions. 4518 4519 6. Trademarks. This License does not grant permission to use the trade 4520 names, trademarks, service marks, or product names of the Licensor, 4521 except as required for reasonable and customary use in describing the 4522 origin of the Work and reproducing the content of the NOTICE file. 4523 4524 7. Disclaimer of Warranty. Unless required by applicable law or 4525 agreed to in writing, Licensor provides the Work (and each 4526 Contributor provides its Contributions) on an "AS IS" BASIS, 4527 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 4528 implied, including, without limitation, any warranties or conditions 4529 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 4530 PARTICULAR PURPOSE. You are solely responsible for determining the 4531 appropriateness of using or redistributing the Work and assume any 4532 risks associated with Your exercise of permissions under this License. 4533 4534 8. Limitation of Liability. In no event and under no legal theory, 4535 whether in tort (including negligence), contract, or otherwise, 4536 unless required by applicable law (such as deliberate and grossly 4537 negligent acts) or agreed to in writing, shall any Contributor be 4538 liable to You for damages, including any direct, indirect, special, 4539 incidental, or consequential damages of any character arising as a 4540 result of this License or out of the use or inability to use the 4541 Work (including but not limited to damages for loss of goodwill, 4542 work stoppage, computer failure or malfunction, or any and all 4543 other commercial damages or losses), even if such Contributor 4544 has been advised of the possibility of such damages. 4545 4546 9. Accepting Warranty or Additional Liability. While redistributing 4547 the Work or Derivative Works thereof, You may choose to offer, 4548 and charge a fee for, acceptance of support, warranty, indemnity, 4549 or other liability obligations and/or rights consistent with this 4550 License. However, in accepting such obligations, You may act only 4551 on Your own behalf and on Your sole responsibility, not on behalf 4552 of any other Contributor, and only if You agree to indemnify, 4553 defend, and hold each Contributor harmless for any liability 4554 incurred by, or claims asserted against, such Contributor by reason 4555 of your accepting any such warranty or additional liability. 4556 4557 END OF TERMS AND CONDITIONS 4558 4559 APPENDIX: How to apply the Apache License to your work. 4560 4561 To apply the Apache License to your work, attach the following 4562 boilerplate notice, with the fields enclosed by brackets "[]" 4563 replaced with your own identifying information. (Don't include 4564 the brackets!) The text should be enclosed in the appropriate 4565 comment syntax for the file format. We also recommend that a 4566 file or class name and description of purpose be included on the 4567 same "printed page" as the copyright notice for easier 4568 identification within third-party archives. 4569 4570 Copyright 2011 Google Inc. All Rights Reserved. 4571 4572 Licensed under the Apache License, Version 2.0 (the "License"); 4573 you may not use this file except in compliance with the License. 4574 You may obtain a copy of the License at 4575 4576 http://www.apache.org/licenses/LICENSE-2.0 4577 4578 Unless required by applicable law or agreed to in writing, software 4579 distributed under the License is distributed on an "AS IS" BASIS, 4580 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 4581 See the License for the specific language governing permissions and 4582 limitations under the License. 4583 4584 4585 Copyright (c) 1999, 2000, 2001, 2002 4586 Adel I. Mirzazhanov. All rights reserved 4587 4588 Redistribution and use in source and binary forms, with or without 4589 modification, are permitted provided that the following conditions 4590 are met: 4591 4592 1.Redistributions of source code must retain the above copyright notice, 4593 this list of conditions and the following disclaimer. 4594 2.Redistributions in binary form must reproduce the above copyright 4595 notice, this list of conditions and the following disclaimer in the 4596 documentation and/or other materials provided with the distribution. 4597 3.The name of the author may not be used to endorse or promote products 4598 derived from this software without specific prior written permission. 4599 4600 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 4601 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 4602 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4603 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 4604 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4605 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 4606 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 4607 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 4608 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 4609 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 4610 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 4611 4612 Copyright (c) 2007-2013 IOLA and Ole Laursen 4613 4614 Permission is hereby granted, free of charge, to any person 4615 obtaining a copy of this software and associated documentation 4616 files (the "Software"), to deal in the Software without 4617 restriction, including without limitation the rights to use, 4618 copy, modify, merge, publish, distribute, sublicense, and/or sell 4619 copies of the Software, and to permit persons to whom the 4620 Software is furnished to do so, subject to the following 4621 conditions: 4622 4623 The above copyright notice and this permission notice shall be 4624 included in all copies or substantial portions of the Software. 4625 4626 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 4627 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 4628 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 4629 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 4630 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 4631 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 4632 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 4633 OTHER DEALINGS IN THE SOFTWARE. 4634 4635 This software is based in part on the work of the FreeType Team. 4636 4637 ---------------------- 4638 4639 The FreeType Project LICENSE 4640 ---------------------------- 4641 4642 2006-Jan-27 4643 4644 Copyright 1996-2002, 2006 by 4645 David Turner, Robert Wilhelm, and Werner Lemberg 4646 4647 4648 4649 Introduction 4650 ============ 4651 4652 The FreeType Project is distributed in several archive packages; 4653 some of them may contain, in addition to the FreeType font engine, 4654 various tools and contributions which rely on, or relate to, the 4655 FreeType Project. 4656 4657 This license applies to all files found in such packages, and 4658 which do not fall under their own explicit license. The license 4659 affects thus the FreeType font engine, the test programs, 4660 documentation and makefiles, at the very least. 4661 4662 This license was inspired by the BSD, Artistic, and IJG 4663 (Independent JPEG Group) licenses, which all encourage inclusion 4664 and use of free software in commercial and freeware products 4665 alike. As a consequence, its main points are that: 4666 4667 o We don't promise that this software works. However, we will be 4668 interested in any kind of bug reports. (`as is' distribution) 4669 4670 o You can use this software for whatever you want, in parts or 4671 full form, without having to pay us. (`royalty-free' usage) 4672 4673 o You may not pretend that you wrote this software. If you use 4674 it, or only parts of it, in a program, you must acknowledge 4675 somewhere in your documentation that you have used the 4676 FreeType code. (`credits') 4677 4678 We specifically permit and encourage the inclusion of this 4679 software, with or without modifications, in commercial products. 4680 We disclaim all warranties covering The FreeType Project and 4681 assume no liability related to The FreeType Project. 4682 4683 4684 Finally, many people asked us for a preferred form for a 4685 credit/disclaimer to use in compliance with this license. We thus 4686 encourage you to use the following text: 4687 4688 """ 4689 Portions of this software are copyright <year> The FreeType 4690 Project (www.freetype.org). All rights reserved. 4691 """ 4692 4693 Please replace <year> with the value from the FreeType version you 4694 actually use. 4695 4696 4697 Legal Terms 4698 =========== 4699 4700 0. Definitions 4701 -------------- 4702 4703 Throughout this license, the terms `package', `FreeType Project', 4704 and `FreeType archive' refer to the set of files originally 4705 distributed by the authors (David Turner, Robert Wilhelm, and 4706 Werner Lemberg) as the `FreeType Project', be they named as alpha, 4707 beta or final release. 4708 4709 `You' refers to the licensee, or person using the project, where 4710 `using' is a generic term including compiling the project's source 4711 code as well as linking it to form a `program' or `executable'. 4712 This program is referred to as `a program using the FreeType 4713 engine'. 4714 4715 This license applies to all files distributed in the original 4716 FreeType Project, including all source code, binaries and 4717 documentation, unless otherwise stated in the file in its 4718 original, unmodified form as distributed in the original archive. 4719 If you are unsure whether or not a particular file is covered by 4720 this license, you must contact us to verify this. 4721 4722 The FreeType Project is copyright (C) 1996-2000 by David Turner, 4723 Robert Wilhelm, and Werner Lemberg. All rights reserved except as 4724 specified below. 4725 4726 1. No Warranty 4727 -------------- 4728 4729 THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY 4730 KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 4731 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 4732 PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS 4733 BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO 4734 USE, OF THE FREETYPE PROJECT. 4735 4736 2. Redistribution 4737 ----------------- 4738 4739 This license grants a worldwide, royalty-free, perpetual and 4740 irrevocable right and license to use, execute, perform, compile, 4741 display, copy, create derivative works of, distribute and 4742 sublicense the FreeType Project (in both source and object code 4743 forms) and derivative works thereof for any purpose; and to 4744 authorize others to exercise some or all of the rights granted 4745 herein, subject to the following conditions: 4746 4747 o Redistribution of source code must retain this license file 4748 (`FTL.TXT') unaltered; any additions, deletions or changes to 4749 the original files must be clearly indicated in accompanying 4750 documentation. The copyright notices of the unaltered, 4751 original files must be preserved in all copies of source 4752 files. 4753 4754 o Redistribution in binary form must provide a disclaimer that 4755 states that the software is based in part of the work of the 4756 FreeType Team, in the distribution documentation. We also 4757 encourage you to put an URL to the FreeType web page in your 4758 documentation, though this isn't mandatory. 4759 4760 These conditions apply to any software derived from or based on 4761 the FreeType Project, not just the unmodified files. If you use 4762 our work, you must acknowledge us. However, no fee need be paid 4763 to us. 4764 4765 3. Advertising 4766 -------------- 4767 4768 Neither the FreeType authors and contributors nor you shall use 4769 the name of the other for commercial, advertising, or promotional 4770 purposes without specific prior written permission. 4771 4772 We suggest, but do not require, that you use one or more of the 4773 following phrases to refer to this software in your documentation 4774 or advertising materials: `FreeType Project', `FreeType Engine', 4775 `FreeType library', or `FreeType Distribution'. 4776 4777 As you have not signed this license, you are not required to 4778 accept it. However, as the FreeType Project is copyrighted 4779 material, only this license, or another one contracted with the 4780 authors, grants you the right to use, distribute, and modify it. 4781 Therefore, by using, distributing, or modifying the FreeType 4782 Project, you indicate that you understand and accept all the terms 4783 of this license. 4784 4785 4. Contacts 4786 ----------- 4787 4788 There are two mailing lists related to FreeType: 4789 4790 o freetype (a] nongnu.org 4791 4792 Discusses general use and applications of FreeType, as well as 4793 future and wanted additions to the library and distribution. 4794 If you are looking for support, start in this list if you 4795 haven't found anything to help you in the documentation. 4796 4797 o freetype-devel (a] nongnu.org 4798 4799 Discusses bugs, as well as engine internals, design issues, 4800 specific licenses, porting, etc. 4801 4802 Our home page can be found at 4803 4804 http://www.freetype.org 4805 4806 4807 --- end of FTL.TXT --- 4808 4809 // Copyright 2014 The Chromium Authors. All rights reserved. 4810 // 4811 // Redistribution and use in source and binary forms, with or without 4812 // modification, are permitted provided that the following conditions are 4813 // met: 4814 // 4815 // * Redistributions of source code must retain the above copyright 4816 // notice, this list of conditions and the following disclaimer. 4817 // * Redistributions in binary form must reproduce the above 4818 // copyright notice, this list of conditions and the following disclaimer 4819 // in the documentation and/or other materials provided with the 4820 // distribution. 4821 // * Neither the name of Google Inc. nor the names of its 4822 // contributors may be used to endorse or promote products derived from 4823 // this software without specific prior written permission. 4824 // 4825 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 4826 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 4827 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 4828 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 4829 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 4830 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 4831 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 4832 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 4833 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 4834 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 4835 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 4836 4837 See src/COPYING 4838 4839 GNU LIBRARY GENERAL PUBLIC LICENSE 4840 Version 2, June 1991 4841 4842 Copyright (C) 1991 Free Software Foundation, Inc. 4843 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 4844 Everyone is permitted to copy and distribute verbatim copies 4845 of this license document, but changing it is not allowed. 4846 4847 [This is the first released version of the library GPL. It is 4848 numbered 2 because it goes with version 2 of the ordinary GPL.] 4849 4850 Preamble 4851 4852 The licenses for most software are designed to take away your 4853 freedom to share and change it. By contrast, the GNU General Public 4854 Licenses are intended to guarantee your freedom to share and change 4855 free software--to make sure the software is free for all its users. 4856 4857 This license, the Library General Public License, applies to some 4858 specially designated Free Software Foundation software, and to any 4859 other libraries whose authors decide to use it. You can use it for 4860 your libraries, too. 4861 4862 When we speak of free software, we are referring to freedom, not 4863 price. Our General Public Licenses are designed to make sure that you 4864 have the freedom to distribute copies of free software (and charge for 4865 this service if you wish), that you receive source code or can get it 4866 if you want it, that you can change the software or use pieces of it 4867 in new free programs; and that you know you can do these things. 4868 4869 To protect your rights, we need to make restrictions that forbid 4870 anyone to deny you these rights or to ask you to surrender the rights. 4871 These restrictions translate to certain responsibilities for you if 4872 you distribute copies of the library, or if you modify it. 4873 4874 For example, if you distribute copies of the library, whether gratis 4875 or for a fee, you must give the recipients all the rights that we gave 4876 you. You must make sure that they, too, receive or can get the source 4877 code. If you link a program with the library, you must provide 4878 complete object files to the recipients so that they can relink them 4879 with the library, after making changes to the library and recompiling 4880 it. And you must show them these terms so they know their rights. 4881 4882 Our method of protecting your rights has two steps: (1) copyright 4883 the library, and (2) offer you this license which gives you legal 4884 permission to copy, distribute and/or modify the library. 4885 4886 Also, for each distributor's protection, we want to make certain 4887 that everyone understands that there is no warranty for this free 4888 library. If the library is modified by someone else and passed on, we 4889 want its recipients to know that what they have is not the original 4890 version, so that any problems introduced by others will not reflect on 4891 the original authors' reputations. 4892 4894 Finally, any free program is threatened constantly by software 4895 patents. We wish to avoid the danger that companies distributing free 4896 software will individually obtain patent licenses, thus in effect 4897 transforming the program into proprietary software. To prevent this, 4898 we have made it clear that any patent must be licensed for everyone's 4899 free use or not licensed at all. 4900 4901 Most GNU software, including some libraries, is covered by the ordinary 4902 GNU General Public License, which was designed for utility programs. This 4903 license, the GNU Library General Public License, applies to certain 4904 designated libraries. This license is quite different from the ordinary 4905 one; be sure to read it in full, and don't assume that anything in it is 4906 the same as in the ordinary license. 4907 4908 The reason we have a separate public license for some libraries is that 4909 they blur the distinction we usually make between modifying or adding to a 4910 program and simply using it. Linking a program with a library, without 4911 changing the library, is in some sense simply using the library, and is 4912 analogous to running a utility program or application program. However, in 4913 a textual and legal sense, the linked executable is a combined work, a 4914 derivative of the original library, and the ordinary General Public License 4915 treats it as such. 4916 4917 Because of this blurred distinction, using the ordinary General 4918 Public License for libraries did not effectively promote software 4919 sharing, because most developers did not use the libraries. We 4920 concluded that weaker conditions might promote sharing better. 4921 4922 However, unrestricted linking of non-free programs would deprive the 4923 users of those programs of all benefit from the free status of the 4924 libraries themselves. This Library General Public License is intended to 4925 permit developers of non-free programs to use free libraries, while 4926 preserving your freedom as a user of such programs to change the free 4927 libraries that are incorporated in them. (We have not seen how to achieve 4928 this as regards changes in header files, but we have achieved it as regards 4929 changes in the actual functions of the Library.) The hope is that this 4930 will lead to faster development of free libraries. 4931 4932 The precise terms and conditions for copying, distribution and 4933 modification follow. Pay close attention to the difference between a 4934 "work based on the library" and a "work that uses the library". The 4935 former contains code derived from the library, while the latter only 4936 works together with the library. 4937 4938 Note that it is possible for a library to be covered by the ordinary 4939 General Public License rather than by this special one. 4940 4942 GNU LIBRARY GENERAL PUBLIC LICENSE 4943 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 4944 4945 0. This License Agreement applies to any software library which 4946 contains a notice placed by the copyright holder or other authorized 4947 party saying it may be distributed under the terms of this Library 4948 General Public License (also called "this License"). Each licensee is 4949 addressed as "you". 4950 4951 A "library" means a collection of software functions and/or data 4952 prepared so as to be conveniently linked with application programs 4953 (which use some of those functions and data) to form executables. 4954 4955 The "Library", below, refers to any such software library or work 4956 which has been distributed under these terms. A "work based on the 4957 Library" means either the Library or any derivative work under 4958 copyright law: that is to say, a work containing the Library or a 4959 portion of it, either verbatim or with modifications and/or translated 4960 straightforwardly into another language. (Hereinafter, translation is 4961 included without limitation in the term "modification".) 4962 4963 "Source code" for a work means the preferred form of the work for 4964 making modifications to it. For a library, complete source code means 4965 all the source code for all modules it contains, plus any associated 4966 interface definition files, plus the scripts used to control compilation 4967 and installation of the library. 4968 4969 Activities other than copying, distribution and modification are not 4970 covered by this License; they are outside its scope. The act of 4971 running a program using the Library is not restricted, and output from 4972 such a program is covered only if its contents constitute a work based 4973 on the Library (independent of the use of the Library in a tool for 4974 writing it). Whether that is true depends on what the Library does 4975 and what the program that uses the Library does. 4976 4977 1. You may copy and distribute verbatim copies of the Library's 4978 complete source code as you receive it, in any medium, provided that 4979 you conspicuously and appropriately publish on each copy an 4980 appropriate copyright notice and disclaimer of warranty; keep intact 4981 all the notices that refer to this License and to the absence of any 4982 warranty; and distribute a copy of this License along with the 4983 Library. 4984 4985 You may charge a fee for the physical act of transferring a copy, 4986 and you may at your option offer warranty protection in exchange for a 4987 fee. 4988 4990 2. You may modify your copy or copies of the Library or any portion 4991 of it, thus forming a work based on the Library, and copy and 4992 distribute such modifications or work under the terms of Section 1 4993 above, provided that you also meet all of these conditions: 4994 4995 a) The modified work must itself be a software library. 4996 4997 b) You must cause the files modified to carry prominent notices 4998 stating that you changed the files and the date of any change. 4999 5000 c) You must cause the whole of the work to be licensed at no 5001 charge to all third parties under the terms of this License. 5002 5003 d) If a facility in the modified Library refers to a function or a 5004 table of data to be supplied by an application program that uses 5005 the facility, other than as an argument passed when the facility 5006 is invoked, then you must make a good faith effort to ensure that, 5007 in the event an application does not supply such function or 5008 table, the facility still operates, and performs whatever part of 5009 its purpose remains meaningful. 5010 5011 (For example, a function in a library to compute square roots has 5012 a purpose that is entirely well-defined independent of the 5013 application. Therefore, Subsection 2d requires that any 5014 application-supplied function or table used by this function must 5015 be optional: if the application does not supply it, the square 5016 root function must still compute square roots.) 5017 5018 These requirements apply to the modified work as a whole. If 5019 identifiable sections of that work are not derived from the Library, 5020 and can be reasonably considered independent and separate works in 5021 themselves, then this License, and its terms, do not apply to those 5022 sections when you distribute them as separate works. But when you 5023 distribute the same sections as part of a whole which is a work based 5024 on the Library, the distribution of the whole must be on the terms of 5025 this License, whose permissions for other licensees extend to the 5026 entire whole, and thus to each and every part regardless of who wrote 5027 it. 5028 5029 Thus, it is not the intent of this section to claim rights or contest 5030 your rights to work written entirely by you; rather, the intent is to 5031 exercise the right to control the distribution of derivative or 5032 collective works based on the Library. 5033 5034 In addition, mere aggregation of another work not based on the Library 5035 with the Library (or with a work based on the Library) on a volume of 5036 a storage or distribution medium does not bring the other work under 5037 the scope of this License. 5038 5039 3. You may opt to apply the terms of the ordinary GNU General Public 5040 License instead of this License to a given copy of the Library. To do 5041 this, you must alter all the notices that refer to this License, so 5042 that they refer to the ordinary GNU General Public License, version 2, 5043 instead of to this License. (If a newer version than version 2 of the 5044 ordinary GNU General Public License has appeared, then you can specify 5045 that version instead if you wish.) Do not make any other change in 5046 these notices. 5047 5049 Once this change is made in a given copy, it is irreversible for 5050 that copy, so the ordinary GNU General Public License applies to all 5051 subsequent copies and derivative works made from that copy. 5052 5053 This option is useful when you wish to copy part of the code of 5054 the Library into a program that is not a library. 5055 5056 4. You may copy and distribute the Library (or a portion or 5057 derivative of it, under Section 2) in object code or executable form 5058 under the terms of Sections 1 and 2 above provided that you accompany 5059 it with the complete corresponding machine-readable source code, which 5060 must be distributed under the terms of Sections 1 and 2 above on a 5061 medium customarily used for software interchange. 5062 5063 If distribution of object code is made by offering access to copy 5064 from a designated place, then offering equivalent access to copy the 5065 source code from the same place satisfies the requirement to 5066 distribute the source code, even though third parties are not 5067 compelled to copy the source along with the object code. 5068 5069 5. A program that contains no derivative of any portion of the 5070 Library, but is designed to work with the Library by being compiled or 5071 linked with it, is called a "work that uses the Library". Such a 5072 work, in isolation, is not a derivative work of the Library, and 5073 therefore falls outside the scope of this License. 5074 5075 However, linking a "work that uses the Library" with the Library 5076 creates an executable that is a derivative of the Library (because it 5077 contains portions of the Library), rather than a "work that uses the 5078 library". The executable is therefore covered by this License. 5079 Section 6 states terms for distribution of such executables. 5080 5081 When a "work that uses the Library" uses material from a header file 5082 that is part of the Library, the object code for the work may be a 5083 derivative work of the Library even though the source code is not. 5084 Whether this is true is especially significant if the work can be 5085 linked without the Library, or if the work is itself a library. The 5086 threshold for this to be true is not precisely defined by law. 5087 5088 If such an object file uses only numerical parameters, data 5089 structure layouts and accessors, and small macros and small inline 5090 functions (ten lines or less in length), then the use of the object 5091 file is unrestricted, regardless of whether it is legally a derivative 5092 work. (Executables containing this object code plus portions of the 5093 Library will still fall under Section 6.) 5094 5095 Otherwise, if the work is a derivative of the Library, you may 5096 distribute the object code for the work under the terms of Section 6. 5097 Any executables containing that work also fall under Section 6, 5098 whether or not they are linked directly with the Library itself. 5099 5101 6. As an exception to the Sections above, you may also compile or 5102 link a "work that uses the Library" with the Library to produce a 5103 work containing portions of the Library, and distribute that work 5104 under terms of your choice, provided that the terms permit 5105 modification of the work for the customer's own use and reverse 5106 engineering for debugging such modifications. 5107 5108 You must give prominent notice with each copy of the work that the 5109 Library is used in it and that the Library and its use are covered by 5110 this License. You must supply a copy of this License. If the work 5111 during execution displays copyright notices, you must include the 5112 copyright notice for the Library among them, as well as a reference 5113 directing the user to the copy of this License. Also, you must do one 5114 of these things: 5115 5116 a) Accompany the work with the complete corresponding 5117 machine-readable source code for the Library including whatever 5118 changes were used in the work (which must be distributed under 5119 Sections 1 and 2 above); and, if the work is an executable linked 5120 with the Library, with the complete machine-readable "work that 5121 uses the Library", as object code and/or source code, so that the 5122 user can modify the Library and then relink to produce a modified 5123 executable containing the modified Library. (It is understood 5124 that the user who changes the contents of definitions files in the 5125 Library will not necessarily be able to recompile the application 5126 to use the modified definitions.) 5127 5128 b) Accompany the work with a written offer, valid for at 5129 least three years, to give the same user the materials 5130 specified in Subsection 6a, above, for a charge no more 5131 than the cost of performing this distribution. 5132 5133 c) If distribution of the work is made by offering access to copy 5134 from a designated place, offer equivalent access to copy the above 5135 specified materials from the same place. 5136 5137 d) Verify that the user has already received a copy of these 5138 materials or that you have already sent this user a copy. 5139 5140 For an executable, the required form of the "work that uses the 5141 Library" must include any data and utility programs needed for 5142 reproducing the executable from it. However, as a special exception, 5143 the source code distributed need not include anything that is normally 5144 distributed (in either source or binary form) with the major 5145 components (compiler, kernel, and so on) of the operating system on 5146 which the executable runs, unless that component itself accompanies 5147 the executable. 5148 5149 It may happen that this requirement contradicts the license 5150 restrictions of other proprietary libraries that do not normally 5151 accompany the operating system. Such a contradiction means you cannot 5152 use both them and the Library together in an executable that you 5153 distribute. 5154 5156 7. You may place library facilities that are a work based on the 5157 Library side-by-side in a single library together with other library 5158 facilities not covered by this License, and distribute such a combined 5159 library, provided that the separate distribution of the work based on 5160 the Library and of the other library facilities is otherwise 5161 permitted, and provided that you do these two things: 5162 5163 a) Accompany the combined library with a copy of the same work 5164 based on the Library, uncombined with any other library 5165 facilities. This must be distributed under the terms of the 5166 Sections above. 5167 5168 b) Give prominent notice with the combined library of the fact 5169 that part of it is a work based on the Library, and explaining 5170 where to find the accompanying uncombined form of the same work. 5171 5172 8. You may not copy, modify, sublicense, link with, or distribute 5173 the Library except as expressly provided under this License. Any 5174 attempt otherwise to copy, modify, sublicense, link with, or 5175 distribute the Library is void, and will automatically terminate your 5176 rights under this License. However, parties who have received copies, 5177 or rights, from you under this License will not have their licenses 5178 terminated so long as such parties remain in full compliance. 5179 5180 9. You are not required to accept this License, since you have not 5181 signed it. However, nothing else grants you permission to modify or 5182 distribute the Library or its derivative works. These actions are 5183 prohibited by law if you do not accept this License. Therefore, by 5184 modifying or distributing the Library (or any work based on the 5185 Library), you indicate your acceptance of this License to do so, and 5186 all its terms and conditions for copying, distributing or modifying 5187 the Library or works based on it. 5188 5189 10. Each time you redistribute the Library (or any work based on the 5190 Library), the recipient automatically receives a license from the 5191 original licensor to copy, distribute, link with or modify the Library 5192 subject to these terms and conditions. You may not impose any further 5193 restrictions on the recipients' exercise of the rights granted herein. 5194 You are not responsible for enforcing compliance by third parties to 5195 this License. 5196 5198 11. If, as a consequence of a court judgment or allegation of patent 5199 infringement or for any other reason (not limited to patent issues), 5200 conditions are imposed on you (whether by court order, agreement or 5201 otherwise) that contradict the conditions of this License, they do not 5202 excuse you from the conditions of this License. If you cannot 5203 distribute so as to satisfy simultaneously your obligations under this 5204 License and any other pertinent obligations, then as a consequence you 5205 may not distribute the Library at all. For example, if a patent 5206 license would not permit royalty-free redistribution of the Library by 5207 all those who receive copies directly or indirectly through you, then 5208 the only way you could satisfy both it and this License would be to 5209 refrain entirely from distribution of the Library. 5210 5211 If any portion of this section is held invalid or unenforceable under any 5212 particular circumstance, the balance of the section is intended to apply, 5213 and the section as a whole is intended to apply in other circumstances. 5214 5215 It is not the purpose of this section to induce you to infringe any 5216 patents or other property right claims or to contest validity of any 5217 such claims; this section has the sole purpose of protecting the 5218 integrity of the free software distribution system which is 5219 implemented by public license practices. Many people have made 5220 generous contributions to the wide range of software distributed 5221 through that system in reliance on consistent application of that 5222 system; it is up to the author/donor to decide if he or she is willing 5223 to distribute software through any other system and a licensee cannot 5224 impose that choice. 5225 5226 This section is intended to make thoroughly clear what is believed to 5227 be a consequence of the rest of this License. 5228 5229 12. If the distribution and/or use of the Library is restricted in 5230 certain countries either by patents or by copyrighted interfaces, the 5231 original copyright holder who places the Library under this License may add 5232 an explicit geographical distribution limitation excluding those countries, 5233 so that distribution is permitted only in or among countries not thus 5234 excluded. In such case, this License incorporates the limitation as if 5235 written in the body of this License. 5236 5237 13. The Free Software Foundation may publish revised and/or new 5238 versions of the Library General Public License from time to time. 5239 Such new versions will be similar in spirit to the present version, 5240 but may differ in detail to address new problems or concerns. 5241 5242 Each version is given a distinguishing version number. If the Library 5243 specifies a version number of this License which applies to it and 5244 "any later version", you have the option of following the terms and 5245 conditions either of that version or of any later version published by 5246 the Free Software Foundation. If the Library does not specify a 5247 license version number, you may choose any version ever published by 5248 the Free Software Foundation. 5249 5251 14. If you wish to incorporate parts of the Library into other free 5252 programs whose distribution conditions are incompatible with these, 5253 write to the author to ask for permission. For software which is 5254 copyrighted by the Free Software Foundation, write to the Free 5255 Software Foundation; we sometimes make exceptions for this. Our 5256 decision will be guided by the two goals of preserving the free status 5257 of all derivatives of our free software and of promoting the sharing 5258 and reuse of software generally. 5259 5260 NO WARRANTY 5261 5262 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 5263 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 5264 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 5265 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 5266 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 5267 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 5268 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 5269 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 5270 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 5271 5272 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 5273 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 5274 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 5275 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 5276 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 5277 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 5278 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 5279 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 5280 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 5281 DAMAGES. 5282 5283 END OF TERMS AND CONDITIONS 5284 5286 How to Apply These Terms to Your New Libraries 5287 5288 If you develop a new library, and you want it to be of the greatest 5289 possible use to the public, we recommend making it free software that 5290 everyone can redistribute and change. You can do so by permitting 5291 redistribution under these terms (or, alternatively, under the terms of the 5292 ordinary General Public License). 5293 5294 To apply these terms, attach the following notices to the library. It is 5295 safest to attach them to the start of each source file to most effectively 5296 convey the exclusion of warranty; and each file should have at least the 5297 "copyright" line and a pointer to where the full notice is found. 5298 5299 <one line to give the library's name and a brief idea of what it does.> 5300 Copyright (C) <year> <name of author> 5301 5302 This library is free software; you can redistribute it and/or 5303 modify it under the terms of the GNU Library General Public 5304 License as published by the Free Software Foundation; either 5305 version 2 of the License, or (at your option) any later version. 5306 5307 This library is distributed in the hope that it will be useful, 5308 but WITHOUT ANY WARRANTY; without even the implied warranty of 5309 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 5310 Library General Public License for more details. 5311 5312 You should have received a copy of the GNU Library General Public 5313 License along with this library; if not, write to the 5314 Free Software Foundation, Inc., 59 Temple Place - Suite 330, 5315 Boston, MA 02111-1307 USA. 5316 5317 Also add information on how to contact you by electronic and paper mail. 5318 5319 You should also get your employer (if you work as a programmer) or your 5320 school, if any, to sign a "copyright disclaimer" for the library, if 5321 necessary. Here is a sample; alter the names: 5322 5323 Yoyodyne, Inc., hereby disclaims all copyright interest in the 5324 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 5325 5326 <signature of Ty Coon>, 1 April 1990 5327 Ty Coon, President of Vice 5328 5329 That's all there is to it! 5330 5331 HarfBuzz is licensed under the so-called "Old MIT" license. Details follow. 5332 For parts of HarfBuzz that are licensed under different licenses see individual 5333 files names COPYING in subdirectories where applicable. 5334 5335 Copyright 2010,2011,2012 Google, Inc. 5336 Copyright 2012 Mozilla Foundation 5337 Copyright 2011 Codethink Limited 5338 Copyright 2008,2010 Nokia Corporation and/or its subsidiary(-ies) 5339 Copyright 2009 Keith Stribley 5340 Copyright 2009 Martin Hosken and SIL International 5341 Copyright 2007 Chris Wilson 5342 Copyright 2006 Behdad Esfahbod 5343 Copyright 2005 David Turner 5344 Copyright 2004,2007,2008,2009,2010 Red Hat, Inc. 5345 Copyright 1998-2004 David Turner and Werner Lemberg 5346 5347 For full copyright notices consult the individual files in the package. 5348 5349 5350 Permission is hereby granted, without written agreement and without 5351 license or royalty fees, to use, copy, modify, and distribute this 5352 software and its documentation for any purpose, provided that the 5353 above copyright notice and the following two paragraphs appear in 5354 all copies of this software. 5355 5356 IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR 5357 DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 5358 ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN 5359 IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 5360 DAMAGE. 5361 5362 THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, 5363 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 5364 FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS 5365 ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO 5366 PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 5367 5368 // Copyright 2014 The Chromium Authors. All rights reserved. 5369 // 5370 // Redistribution and use in source and binary forms, with or without 5371 // modification, are permitted provided that the following conditions are 5372 // met: 5373 // 5374 // * Redistributions of source code must retain the above copyright 5375 // notice, this list of conditions and the following disclaimer. 5376 // * Redistributions in binary form must reproduce the above 5377 // copyright notice, this list of conditions and the following disclaimer 5378 // in the documentation and/or other materials provided with the 5379 // distribution. 5380 // * Neither the name of Google Inc. nor the names of its 5381 // contributors may be used to endorse or promote products derived from 5382 // this software without specific prior written permission. 5383 // 5384 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 5385 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 5386 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 5387 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 5388 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 5389 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 5390 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 5391 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 5392 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 5393 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 5394 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5395 5396 /************************************************************************* 5397 * 5398 * IAccessible2 IDL Specification 5399 * 5400 * Copyright (c) 2007, 2010 Linux Foundation 5401 * Copyright (c) 2006 IBM Corporation 5402 * Copyright (c) 2000, 2006 Sun Microsystems, Inc. 5403 * All rights reserved. 5404 * 5405 * 5406 * Redistribution and use in source and binary forms, with or without 5407 * modification, are permitted provided that the following conditions 5408 * are met: 5409 * 5410 * 1. Redistributions of source code must retain the above copyright 5411 * notice, this list of conditions and the following disclaimer. 5412 * 5413 * 2. Redistributions in binary form must reproduce the above 5414 * copyright notice, this list of conditions and the following 5415 * disclaimer in the documentation and/or other materials 5416 * provided with the distribution. 5417 * 5418 * 3. Neither the name of the Linux Foundation nor the names of its 5419 * contributors may be used to endorse or promote products 5420 * derived from this software without specific prior written 5421 * permission. 5422 * 5423 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 5424 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 5425 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 5426 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 5427 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 5428 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 5429 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 5430 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 5431 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5432 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 5433 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 5434 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 5435 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5436 * 5437 * This BSD License conforms to the Open Source Initiative "Simplified 5438 * BSD License" as published at: 5439 * http://www.opensource.org/licenses/bsd-license.php 5440 * 5441 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2 5442 * mark may be used in accordance with the Linux Foundation Trademark 5443 * Policy to indicate compliance with the IAccessible2 specification. 5444 * 5445 ************************************************************************/ 5446 5447 LICENSE extracted from IJG's jpeg distribution: 5448 ----------------------------------------------- 5449 5450 In plain English: 5451 5452 1. We don't promise that this software works. (But if you find any bugs, 5453 please let us know!) 5454 2. You can use this software for whatever you want. You don't have to pay us. 5455 3. You may not pretend that you wrote this software. If you use it in a 5456 program, you must acknowledge somewhere in your documentation that 5457 you've used the IJG code. 5458 5459 In legalese: 5460 5461 The authors make NO WARRANTY or representation, either express or implied, 5462 with respect to this software, its quality, accuracy, merchantability, or 5463 fitness for a particular purpose. This software is provided "AS IS", and you, 5464 its user, assume the entire risk as to its quality and accuracy. 5465 5466 This software is copyright (C) 1991-1998, Thomas G. Lane. 5467 All Rights Reserved except as specified below. 5468 5469 Permission is hereby granted to use, copy, modify, and distribute this 5470 software (or portions thereof) for any purpose, without fee, subject to these 5471 conditions: 5472 (1) If any part of the source code for this software is distributed, then this 5473 README file must be included, with this copyright and no-warranty notice 5474 unaltered; and any additions, deletions, or changes to the original files 5475 must be clearly indicated in accompanying documentation. 5476 (2) If only executable code is distributed, then the accompanying 5477 documentation must state that "this software is based in part on the work of 5478 the Independent JPEG Group". 5479 (3) Permission for use of this software is granted only if the user accepts 5480 full responsibility for any undesirable consequences; the authors accept 5481 NO LIABILITY for damages of any kind. 5482 5483 These conditions apply to any software derived from or based on the IJG code, 5484 not just to the unmodified library. If you use our work, you ought to 5485 acknowledge us. 5486 5487 Permission is NOT granted for the use of any IJG author's name or company name 5488 in advertising or publicity relating to this software or products derived from 5489 it. This software may be referred to only as "the Independent JPEG Group's 5490 software". 5491 5492 We specifically permit and encourage the use of this software as the basis of 5493 commercial products, provided that all warranty or liability claims are 5494 assumed by the product vendor. 5495 5496 5497 ICU License - ICU 1.8.1 and later 5498 5499 COPYRIGHT AND PERMISSION NOTICE 5500 5501 Copyright (c) 1995-2010 International Business Machines Corporation and others 5502 5503 All rights reserved. 5504 5505 Permission is hereby granted, free of charge, to any person obtaining a copy 5506 of this software and associated documentation files (the "Software"), 5507 to deal in the Software without restriction, including without limitation 5508 the rights to use, copy, modify, merge, publish, distribute, and/or sell 5509 copies of the Software, and to permit persons 5510 to whom the Software is furnished to do so, provided that the above 5511 copyright notice(s) and this permission notice appear in all copies 5512 of the Software and that both the above copyright notice(s) and this 5513 permission notice appear in supporting documentation. 5514 5515 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 5516 INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 5517 PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL 5518 THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, 5519 OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER 5520 RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 5521 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE 5522 USE OR PERFORMANCE OF THIS SOFTWARE. 5523 5524 Except as contained in this notice, the name of a copyright holder shall not be 5525 used in advertising or otherwise to promote the sale, use or other dealings in 5526 this Software without prior written authorization of the copyright holder. 5527 5528 All trademarks and registered trademarks mentioned herein are the property of their respective owners. 5529 5530 /* ***** BEGIN LICENSE BLOCK ***** 5531 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5532 * 5533 * The contents of this file are subject to the Mozilla Public License Version 5534 * 1.1 (the "License"); you may not use this file except in compliance with 5535 * the License. You may obtain a copy of the License at 5536 * http://www.mozilla.org/MPL/ 5537 * 5538 * Software distributed under the License is distributed on an "AS IS" basis, 5539 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 5540 * for the specific language governing rights and limitations under the 5541 * License. 5542 * 5543 * The Original Code is mozilla.org code. 5544 * 5545 * The Initial Developer of the Original Code is 5546 * Netscape Communications Corporation. 5547 * Portions created by the Initial Developer are Copyright (C) 2002 5548 * the Initial Developer. All Rights Reserved. 5549 * 5550 * Contributor(s): 5551 * 5552 * Alternatively, the contents of this file may be used under the terms of 5553 * either the GNU General Public License Version 2 or later (the "GPL"), or 5554 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 5555 * in which case the provisions of the GPL or the LGPL are applicable instead 5556 * of those above. If you wish to allow use of your version of this file only 5557 * under the terms of either the GPL or the LGPL, and not to allow others to 5558 * use your version of this file under the terms of the MPL, indicate your 5559 * decision by deleting the provisions above and replace them with the notice 5560 * and other provisions required by the GPL or the LGPL. If you do not delete 5561 * the provisions above, a recipient may use your version of this file under 5562 * the terms of any one of the MPL, the GPL or the LGPL. 5563 * 5564 * ***** END LICENSE BLOCK ***** */ 5565 5566 The JsonCpp library's source code, including accompanying documentation, 5567 tests and demonstration applications, are licensed under the following 5568 conditions... 5569 5570 The author (Baptiste Lepilleur) explicitly disclaims copyright in all 5571 jurisdictions which recognize such a disclaimer. In such jurisdictions, 5572 this software is released into the Public Domain. 5573 5574 In jurisdictions which do not recognize Public Domain property (e.g. Germany as of 5575 2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is 5576 released under the terms of the MIT License (see below). 5577 5578 In jurisdictions which recognize Public Domain property, the user of this 5579 software may choose to accept it either as 1) Public Domain, 2) under the 5580 conditions of the MIT License (see below), or 3) under the terms of dual 5581 Public Domain/MIT License conditions described here, as they choose. 5582 5583 The MIT License is about as close to Public Domain as a license can get, and is 5584 described in clear, concise terms at: 5585 5586 http://en.wikipedia.org/wiki/MIT_License 5587 5588 The full text of the MIT License follows: 5589 5590 ======================================================================== 5591 Copyright (c) 2007-2010 Baptiste Lepilleur 5592 5593 Permission is hereby granted, free of charge, to any person 5594 obtaining a copy of this software and associated documentation 5595 files (the "Software"), to deal in the Software without 5596 restriction, including without limitation the rights to use, copy, 5597 modify, merge, publish, distribute, sublicense, and/or sell copies 5598 of the Software, and to permit persons to whom the Software is 5599 furnished to do so, subject to the following conditions: 5600 5601 The above copyright notice and this permission notice shall be 5602 included in all copies or substantial portions of the Software. 5603 5604 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 5605 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 5606 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 5607 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 5608 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 5609 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 5610 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 5611 SOFTWARE. 5612 ======================================================================== 5613 (END LICENSE TEXT) 5614 5615 The MIT license is compatible with both the GPL and commercial 5616 software, affording one all of the rights of Public Domain with the 5617 minor nuisance of being required to keep the above copyright notice 5618 and license text in the source code. Note also that by accepting the 5619 Public Domain "license" you can re-license your copy using whatever 5620 license you like. 5621 5622 5623 Apache License 5624 Version 2.0, January 2004 5625 http://www.apache.org/licenses/ 5626 5627 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 5628 5629 1. Definitions. 5630 5631 "License" shall mean the terms and conditions for use, reproduction, 5632 and distribution as defined by Sections 1 through 9 of this document. 5633 5634 "Licensor" shall mean the copyright owner or entity authorized by 5635 the copyright owner that is granting the License. 5636 5637 "Legal Entity" shall mean the union of the acting entity and all 5638 other entities that control, are controlled by, or are under common 5639 control with that entity. For the purposes of this definition, 5640 "control" means (i) the power, direct or indirect, to cause the 5641 direction or management of such entity, whether by contract or 5642 otherwise, or (ii) ownership of fifty percent (50%) or more of the 5643 outstanding shares, or (iii) beneficial ownership of such entity. 5644 5645 "You" (or "Your") shall mean an individual or Legal Entity 5646 exercising permissions granted by this License. 5647 5648 "Source" form shall mean the preferred form for making modifications, 5649 including but not limited to software source code, documentation 5650 source, and configuration files. 5651 5652 "Object" form shall mean any form resulting from mechanical 5653 transformation or translation of a Source form, including but 5654 not limited to compiled object code, generated documentation, 5655 and conversions to other media types. 5656 5657 "Work" shall mean the work of authorship, whether in Source or 5658 Object form, made available under the License, as indicated by a 5659 copyright notice that is included in or attached to the work 5660 (an example is provided in the Appendix below). 5661 5662 "Derivative Works" shall mean any work, whether in Source or Object 5663 form, that is based on (or derived from) the Work and for which the 5664 editorial revisions, annotations, elaborations, or other modifications 5665 represent, as a whole, an original work of authorship. For the purposes 5666 of this License, Derivative Works shall not include works that remain 5667 separable from, or merely link (or bind by name) to the interfaces of, 5668 the Work and Derivative Works thereof. 5669 5670 "Contribution" shall mean any work of authorship, including 5671 the original version of the Work and any modifications or additions 5672 to that Work or Derivative Works thereof, that is intentionally 5673 submitted to Licensor for inclusion in the Work by the copyright owner 5674 or by an individual or Legal Entity authorized to submit on behalf of 5675 the copyright owner. For the purposes of this definition, "submitted" 5676 means any form of electronic, verbal, or written communication sent 5677 to the Licensor or its representatives, including but not limited to 5678 communication on electronic mailing lists, source code control systems, 5679 and issue tracking systems that are managed by, or on behalf of, the 5680 Licensor for the purpose of discussing and improving the Work, but 5681 excluding communication that is conspicuously marked or otherwise 5682 designated in writing by the copyright owner as "Not a Contribution." 5683 5684 "Contributor" shall mean Licensor and any individual or Legal Entity 5685 on behalf of whom a Contribution has been received by Licensor and 5686 subsequently incorporated within the Work. 5687 5688 2. Grant of Copyright License. Subject to the terms and conditions of 5689 this License, each Contributor hereby grants to You a perpetual, 5690 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 5691 copyright license to reproduce, prepare Derivative Works of, 5692 publicly display, publicly perform, sublicense, and distribute the 5693 Work and such Derivative Works in Source or Object form. 5694 5695 3. Grant of Patent License. Subject to the terms and conditions of 5696 this License, each Contributor hereby grants to You a perpetual, 5697 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 5698 (except as stated in this section) patent license to make, have made, 5699 use, offer to sell, sell, import, and otherwise transfer the Work, 5700 where such license applies only to those patent claims licensable 5701 by such Contributor that are necessarily infringed by their 5702 Contribution(s) alone or by combination of their Contribution(s) 5703 with the Work to which such Contribution(s) was submitted. If You 5704 institute patent litigation against any entity (including a 5705 cross-claim or counterclaim in a lawsuit) alleging that the Work 5706 or a Contribution incorporated within the Work constitutes direct 5707 or contributory patent infringement, then any patent licenses 5708 granted to You under this License for that Work shall terminate 5709 as of the date such litigation is filed. 5710 5711 4. Redistribution. You may reproduce and distribute copies of the 5712 Work or Derivative Works thereof in any medium, with or without 5713 modifications, and in Source or Object form, provided that You 5714 meet the following conditions: 5715 5716 (a) You must give any other recipients of the Work or 5717 Derivative Works a copy of this License; and 5718 5719 (b) You must cause any modified files to carry prominent notices 5720 stating that You changed the files; and 5721 5722 (c) You must retain, in the Source form of any Derivative Works 5723 that You distribute, all copyright, patent, trademark, and 5724 attribution notices from the Source form of the Work, 5725 excluding those notices that do not pertain to any part of 5726 the Derivative Works; and 5727 5728 (d) If the Work includes a "NOTICE" text file as part of its 5729 distribution, then any Derivative Works that You distribute must 5730 include a readable copy of the attribution notices contained 5731 within such NOTICE file, excluding those notices that do not 5732 pertain to any part of the Derivative Works, in at least one 5733 of the following places: within a NOTICE text file distributed 5734 as part of the Derivative Works; within the Source form or 5735 documentation, if provided along with the Derivative Works; or, 5736 within a display generated by the Derivative Works, if and 5737 wherever such third-party notices normally appear. The contents 5738 of the NOTICE file are for informational purposes only and 5739 do not modify the License. You may add Your own attribution 5740 notices within Derivative Works that You distribute, alongside 5741 or as an addendum to the NOTICE text from the Work, provided 5742 that such additional attribution notices cannot be construed 5743 as modifying the License. 5744 5745 You may add Your own copyright statement to Your modifications and 5746 may provide additional or different license terms and conditions 5747 for use, reproduction, or distribution of Your modifications, or 5748 for any such Derivative Works as a whole, provided Your use, 5749 reproduction, and distribution of the Work otherwise complies with 5750 the conditions stated in this License. 5751 5752 5. Submission of Contributions. Unless You explicitly state otherwise, 5753 any Contribution intentionally submitted for inclusion in the Work 5754 by You to the Licensor shall be under the terms and conditions of 5755 this License, without any additional terms or conditions. 5756 Notwithstanding the above, nothing herein shall supersede or modify 5757 the terms of any separate license agreement you may have executed 5758 with Licensor regarding such Contributions. 5759 5760 6. Trademarks. This License does not grant permission to use the trade 5761 names, trademarks, service marks, or product names of the Licensor, 5762 except as required for reasonable and customary use in describing the 5763 origin of the Work and reproducing the content of the NOTICE file. 5764 5765 7. Disclaimer of Warranty. Unless required by applicable law or 5766 agreed to in writing, Licensor provides the Work (and each 5767 Contributor provides its Contributions) on an "AS IS" BASIS, 5768 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 5769 implied, including, without limitation, any warranties or conditions 5770 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 5771 PARTICULAR PURPOSE. You are solely responsible for determining the 5772 appropriateness of using or redistributing the Work and assume any 5773 risks associated with Your exercise of permissions under this License. 5774 5775 8. Limitation of Liability. In no event and under no legal theory, 5776 whether in tort (including negligence), contract, or otherwise, 5777 unless required by applicable law (such as deliberate and grossly 5778 negligent acts) or agreed to in writing, shall any Contributor be 5779 liable to You for damages, including any direct, indirect, special, 5780 incidental, or consequential damages of any character arising as a 5781 result of this License or out of the use or inability to use the 5782 Work (including but not limited to damages for loss of goodwill, 5783 work stoppage, computer failure or malfunction, or any and all 5784 other commercial damages or losses), even if such Contributor 5785 has been advised of the possibility of such damages. 5786 5787 9. Accepting Warranty or Additional Liability. While redistributing 5788 the Work or Derivative Works thereof, You may choose to offer, 5789 and charge a fee for, acceptance of support, warranty, indemnity, 5790 or other liability obligations and/or rights consistent with this 5791 License. However, in accepting such obligations, You may act only 5792 on Your own behalf and on Your sole responsibility, not on behalf 5793 of any other Contributor, and only if You agree to indemnify, 5794 defend, and hold each Contributor harmless for any liability 5795 incurred by, or claims asserted against, such Contributor by reason 5796 of your accepting any such warranty or additional liability. 5797 5798 END OF TERMS AND CONDITIONS 5799 5800 APPENDIX: How to apply the Apache License to your work. 5801 5802 To apply the Apache License to your work, attach the following 5803 boilerplate notice, with the fields enclosed by brackets "[]" 5804 replaced with your own identifying information. (Don't include 5805 the brackets!) The text should be enclosed in the appropriate 5806 comment syntax for the file format. We also recommend that a 5807 file or class name and description of purpose be included on the 5808 same "printed page" as the copyright notice for easier 5809 identification within third-party archives. 5810 5811 Copyright [yyyy] [name of copyright owner] 5812 5813 Licensed under the Apache License, Version 2.0 (the "License"); 5814 you may not use this file except in compliance with the License. 5815 You may obtain a copy of the License at 5816 5817 http://www.apache.org/licenses/LICENSE-2.0 5818 5819 Unless required by applicable law or agreed to in writing, software 5820 distributed under the License is distributed on an "AS IS" BASIS, 5821 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 5822 See the License for the specific language governing permissions and 5823 limitations under the License. 5824 5825 Copyright (c) 2007-2010 The Khronos Group Inc. 5826 5827 Permission is hereby granted, free of charge, to any person obtaining a 5828 copy of this software and/or associated documentation files (the 5829 "Materials"), to deal in the Materials without restriction, including 5830 without limitation the rights to use, copy, modify, merge, publish, 5831 distribute, sublicense, and/or sell copies of the Materials, and to 5832 permit persons to whom the Materials are furnished to do so, subject to 5833 the following conditions: 5834 5835 The above copyright notice and this permission notice shall be included 5836 in all copies or substantial portions of the Materials. 5837 5838 THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 5839 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 5840 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 5841 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 5842 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 5843 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 5844 MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 5845 5846 5847 SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) 5848 5849 Copyright (C) 1992 Silicon Graphics, Inc. All Rights Reserved. 5850 5851 Permission is hereby granted, free of charge, to any person obtaining a copy of 5852 this software and associated documentation files (the "Software"), to deal in 5853 the Software without restriction, including without limitation the rights to 5854 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 5855 of the Software, and to permit persons to whom the Software is furnished to do 5856 so, subject to the following conditions: 5857 5858 The above copyright notice including the dates of first publication and either 5859 this permission notice or a reference to http://oss.sgi.com/projects/FreeB/ 5860 shall be included in all copies or substantial portions of the Software. 5861 5862 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 5863 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 5864 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SILICON 5865 GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 5866 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 5867 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 5868 5869 Except as contained in this notice, the name of Silicon Graphics, Inc. shall 5870 not be used in advertising or otherwise to promote the sale, use or other 5871 dealings in this Software without prior written authorization from Silicon 5872 Graphics, Inc. 5873 5874 Redistribution and use in source and binary forms, with or without 5875 modification, are permitted provided that the following conditions are 5876 met: 5877 5878 * Redistributions of source code must retain the above copyright 5879 notice, this list of conditions and the following disclaimer. 5880 5881 * Redistributions in binary form must reproduce the above 5882 copyright notice, this list of conditions and the following 5883 disclaimer in the documentation and/or other materials provided 5884 with the distribution. 5885 5886 * Neither the name of the copyright holders nor the names of its 5887 contributors may be used to endorse or promote products derived 5888 from this software without specific prior written permission. 5889 5890 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 5891 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 5892 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 5893 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 5894 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 5895 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 5896 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 5897 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 5898 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 5899 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 5900 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5901 5902 GNU GENERAL PUBLIC LICENSE 5903 Version 2, June 1991 5904 5905 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5906 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 5907 Everyone is permitted to copy and distribute verbatim copies 5908 of this license document, but changing it is not allowed. 5909 5910 Preamble 5911 5912 The licenses for most software are designed to take away your 5913 freedom to share and change it. By contrast, the GNU General Public 5914 License is intended to guarantee your freedom to share and change free 5915 software--to make sure the software is free for all its users. This 5916 General Public License applies to most of the Free Software 5917 Foundation's software and to any other program whose authors commit to 5918 using it. (Some other Free Software Foundation software is covered by 5919 the GNU Lesser General Public License instead.) You can apply it to 5920 your programs, too. 5921 5922 When we speak of free software, we are referring to freedom, not 5923 price. Our General Public Licenses are designed to make sure that you 5924 have the freedom to distribute copies of free software (and charge for 5925 this service if you wish), that you receive source code or can get it 5926 if you want it, that you can change the software or use pieces of it 5927 in new free programs; and that you know you can do these things. 5928 5929 To protect your rights, we need to make restrictions that forbid 5930 anyone to deny you these rights or to ask you to surrender the rights. 5931 These restrictions translate to certain responsibilities for you if you 5932 distribute copies of the software, or if you modify it. 5933 5934 For example, if you distribute copies of such a program, whether 5935 gratis or for a fee, you must give the recipients all the rights that 5936 you have. You must make sure that they, too, receive or can get the 5937 source code. And you must show them these terms so they know their 5938 rights. 5939 5940 We protect your rights with two steps: (1) copyright the software, and 5941 (2) offer you this license which gives you legal permission to copy, 5942 distribute and/or modify the software. 5943 5944 Also, for each author's protection and ours, we want to make certain 5945 that everyone understands that there is no warranty for this free 5946 software. If the software is modified by someone else and passed on, we 5947 want its recipients to know that what they have is not the original, so 5948 that any problems introduced by others will not reflect on the original 5949 authors' reputations. 5950 5951 Finally, any free program is threatened constantly by software 5952 patents. We wish to avoid the danger that redistributors of a free 5953 program will individually obtain patent licenses, in effect making the 5954 program proprietary. To prevent this, we have made it clear that any 5955 patent must be licensed for everyone's free use or not licensed at all. 5956 5957 The precise terms and conditions for copying, distribution and 5958 modification follow. 5959 5960 GNU GENERAL PUBLIC LICENSE 5961 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 5962 5963 0. This License applies to any program or other work which contains 5964 a notice placed by the copyright holder saying it may be distributed 5965 under the terms of this General Public License. The "Program", below, 5966 refers to any such program or work, and a "work based on the Program" 5967 means either the Program or any derivative work under copyright law: 5968 that is to say, a work containing the Program or a portion of it, 5969 either verbatim or with modifications and/or translated into another 5970 language. (Hereinafter, translation is included without limitation in 5971 the term "modification".) Each licensee is addressed as "you". 5972 5973 Activities other than copying, distribution and modification are not 5974 covered by this License; they are outside its scope. The act of 5975 running the Program is not restricted, and the output from the Program 5976 is covered only if its contents constitute a work based on the 5977 Program (independent of having been made by running the Program). 5978 Whether that is true depends on what the Program does. 5979 5980 1. You may copy and distribute verbatim copies of the Program's 5981 source code as you receive it, in any medium, provided that you 5982 conspicuously and appropriately publish on each copy an appropriate 5983 copyright notice and disclaimer of warranty; keep intact all the 5984 notices that refer to this License and to the absence of any warranty; 5985 and give any other recipients of the Program a copy of this License 5986 along with the Program. 5987 5988 You may charge a fee for the physical act of transferring a copy, and 5989 you may at your option offer warranty protection in exchange for a fee. 5990 5991 2. You may modify your copy or copies of the Program or any portion 5992 of it, thus forming a work based on the Program, and copy and 5993 distribute such modifications or work under the terms of Section 1 5994 above, provided that you also meet all of these conditions: 5995 5996 a) You must cause the modified files to carry prominent notices 5997 stating that you changed the files and the date of any change. 5998 5999 b) You must cause any work that you distribute or publish, that in 6000 whole or in part contains or is derived from the Program or any 6001 part thereof, to be licensed as a whole at no charge to all third 6002 parties under the terms of this License. 6003 6004 c) If the modified program normally reads commands interactively 6005 when run, you must cause it, when started running for such 6006 interactive use in the most ordinary way, to print or display an 6007 announcement including an appropriate copyright notice and a 6008 notice that there is no warranty (or else, saying that you provide 6009 a warranty) and that users may redistribute the program under 6010 these conditions, and telling the user how to view a copy of this 6011 License. (Exception: if the Program itself is interactive but 6012 does not normally print such an announcement, your work based on 6013 the Program is not required to print an announcement.) 6014 6015 These requirements apply to the modified work as a whole. If 6016 identifiable sections of that work are not derived from the Program, 6017 and can be reasonably considered independent and separate works in 6018 themselves, then this License, and its terms, do not apply to those 6019 sections when you distribute them as separate works. But when you 6020 distribute the same sections as part of a whole which is a work based 6021 on the Program, the distribution of the whole must be on the terms of 6022 this License, whose permissions for other licensees extend to the 6023 entire whole, and thus to each and every part regardless of who wrote it. 6024 6025 Thus, it is not the intent of this section to claim rights or contest 6026 your rights to work written entirely by you; rather, the intent is to 6027 exercise the right to control the distribution of derivative or 6028 collective works based on the Program. 6029 6030 In addition, mere aggregation of another work not based on the Program 6031 with the Program (or with a work based on the Program) on a volume of 6032 a storage or distribution medium does not bring the other work under 6033 the scope of this License. 6034 6035 3. You may copy and distribute the Program (or a work based on it, 6036 under Section 2) in object code or executable form under the terms of 6037 Sections 1 and 2 above provided that you also do one of the following: 6038 6039 a) Accompany it with the complete corresponding machine-readable 6040 source code, which must be distributed under the terms of Sections 6041 1 and 2 above on a medium customarily used for software interchange; or, 6042 6043 b) Accompany it with a written offer, valid for at least three 6044 years, to give any third party, for a charge no more than your 6045 cost of physically performing source distribution, a complete 6046 machine-readable copy of the corresponding source code, to be 6047 distributed under the terms of Sections 1 and 2 above on a medium 6048 customarily used for software interchange; or, 6049 6050 c) Accompany it with the information you received as to the offer 6051 to distribute corresponding source code. (This alternative is 6052 allowed only for noncommercial distribution and only if you 6053 received the program in object code or executable form with such 6054 an offer, in accord with Subsection b above.) 6055 6056 The source code for a work means the preferred form of the work for 6057 making modifications to it. For an executable work, complete source 6058 code means all the source code for all modules it contains, plus any 6059 associated interface definition files, plus the scripts used to 6060 control compilation and installation of the executable. However, as a 6061 special exception, the source code distributed need not include 6062 anything that is normally distributed (in either source or binary 6063 form) with the major components (compiler, kernel, and so on) of the 6064 operating system on which the executable runs, unless that component 6065 itself accompanies the executable. 6066 6067 If distribution of executable or object code is made by offering 6068 access to copy from a designated place, then offering equivalent 6069 access to copy the source code from the same place counts as 6070 distribution of the source code, even though third parties are not 6071 compelled to copy the source along with the object code. 6072 6073 4. You may not copy, modify, sublicense, or distribute the Program 6074 except as expressly provided under this License. Any attempt 6075 otherwise to copy, modify, sublicense or distribute the Program is 6076 void, and will automatically terminate your rights under this License. 6077 However, parties who have received copies, or rights, from you under 6078 this License will not have their licenses terminated so long as such 6079 parties remain in full compliance. 6080 6081 5. You are not required to accept this License, since you have not 6082 signed it. However, nothing else grants you permission to modify or 6083 distribute the Program or its derivative works. These actions are 6084 prohibited by law if you do not accept this License. Therefore, by 6085 modifying or distributing the Program (or any work based on the 6086 Program), you indicate your acceptance of this License to do so, and 6087 all its terms and conditions for copying, distributing or modifying 6088 the Program or works based on it. 6089 6090 6. Each time you redistribute the Program (or any work based on the 6091 Program), the recipient automatically receives a license from the 6092 original licensor to copy, distribute or modify the Program subject to 6093 these terms and conditions. You may not impose any further 6094 restrictions on the recipients' exercise of the rights granted herein. 6095 You are not responsible for enforcing compliance by third parties to 6096 this License. 6097 6098 7. If, as a consequence of a court judgment or allegation of patent 6099 infringement or for any other reason (not limited to patent issues), 6100 conditions are imposed on you (whether by court order, agreement or 6101 otherwise) that contradict the conditions of this License, they do not 6102 excuse you from the conditions of this License. If you cannot 6103 distribute so as to satisfy simultaneously your obligations under this 6104 License and any other pertinent obligations, then as a consequence you 6105 may not distribute the Program at all. For example, if a patent 6106 license would not permit royalty-free redistribution of the Program by 6107 all those who receive copies directly or indirectly through you, then 6108 the only way you could satisfy both it and this License would be to 6109 refrain entirely from distribution of the Program. 6110 6111 If any portion of this section is held invalid or unenforceable under 6112 any particular circumstance, the balance of the section is intended to 6113 apply and the section as a whole is intended to apply in other 6114 circumstances. 6115 6116 It is not the purpose of this section to induce you to infringe any 6117 patents or other property right claims or to contest validity of any 6118 such claims; this section has the sole purpose of protecting the 6119 integrity of the free software distribution system, which is 6120 implemented by public license practices. Many people have made 6121 generous contributions to the wide range of software distributed 6122 through that system in reliance on consistent application of that 6123 system; it is up to the author/donor to decide if he or she is willing 6124 to distribute software through any other system and a licensee cannot 6125 impose that choice. 6126 6127 This section is intended to make thoroughly clear what is believed to 6128 be a consequence of the rest of this License. 6129 6130 8. If the distribution and/or use of the Program is restricted in 6131 certain countries either by patents or by copyrighted interfaces, the 6132 original copyright holder who places the Program under this License 6133 may add an explicit geographical distribution limitation excluding 6134 those countries, so that distribution is permitted only in or among 6135 countries not thus excluded. In such case, this License incorporates 6136 the limitation as if written in the body of this License. 6137 6138 9. The Free Software Foundation may publish revised and/or new versions 6139 of the General Public License from time to time. Such new versions will 6140 be similar in spirit to the present version, but may differ in detail to 6141 address new problems or concerns. 6142 6143 Each version is given a distinguishing version number. If the Program 6144 specifies a version number of this License which applies to it and "any 6145 later version", you have the option of following the terms and conditions 6146 either of that version or of any later version published by the Free 6147 Software Foundation. If the Program does not specify a version number of 6148 this License, you may choose any version ever published by the Free Software 6149 Foundation. 6150 6151 10. If you wish to incorporate parts of the Program into other free 6152 programs whose distribution conditions are different, write to the author 6153 to ask for permission. For software which is copyrighted by the Free 6154 Software Foundation, write to the Free Software Foundation; we sometimes 6155 make exceptions for this. Our decision will be guided by the two goals 6156 of preserving the free status of all derivatives of our free software and 6157 of promoting the sharing and reuse of software generally. 6158 6159 NO WARRANTY 6160 6161 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 6162 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 6163 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 6164 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 6165 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 6166 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 6167 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 6168 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 6169 REPAIR OR CORRECTION. 6170 6171 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 6172 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 6173 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 6174 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 6175 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 6176 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 6177 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 6178 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 6179 POSSIBILITY OF SUCH DAMAGES. 6180 6181 END OF TERMS AND CONDITIONS 6182 6183 How to Apply These Terms to Your New Programs 6184 6185 If you develop a new program, and you want it to be of the greatest 6186 possible use to the public, the best way to achieve this is to make it 6187 free software which everyone can redistribute and change under these terms. 6188 6189 To do so, attach the following notices to the program. It is safest 6190 to attach them to the start of each source file to most effectively 6191 convey the exclusion of warranty; and each file should have at least 6192 the "copyright" line and a pointer to where the full notice is found. 6193 6194 <one line to give the program's name and a brief idea of what it does.> 6195 Copyright (C) <year> <name of author> 6196 6197 This program is free software; you can redistribute it and/or modify 6198 it under the terms of the GNU General Public License as published by 6199 the Free Software Foundation; either version 2 of the License, or 6200 (at your option) any later version. 6201 6202 This program is distributed in the hope that it will be useful, 6203 but WITHOUT ANY WARRANTY; without even the implied warranty of 6204 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6205 GNU General Public License for more details. 6206 6207 You should have received a copy of the GNU General Public License along 6208 with this program; if not, write to the Free Software Foundation, Inc., 6209 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 6210 6211 Also add information on how to contact you by electronic and paper mail. 6212 6213 If the program is interactive, make it output a short notice like this 6214 when it starts in an interactive mode: 6215 6216 Gnomovision version 69, Copyright (C) year name of author 6217 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 6218 This is free software, and you are welcome to redistribute it 6219 under certain conditions; type `show c' for details. 6220 6221 The hypothetical commands `show w' and `show c' should show the appropriate 6222 parts of the General Public License. Of course, the commands you use may 6223 be called something other than `show w' and `show c'; they could even be 6224 mouse-clicks or menu items--whatever suits your program. 6225 6226 You should also get your employer (if you work as a programmer) or your 6227 school, if any, to sign a "copyright disclaimer" for the program, if 6228 necessary. Here is a sample; alter the names: 6229 6230 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 6231 `Gnomovision' (which makes passes at compilers) written by James Hacker. 6232 6233 <signature of Ty Coon>, 1 April 1989 6234 Ty Coon, President of Vice 6235 6236 This General Public License does not permit incorporating your program into 6237 proprietary programs. If your program is a subroutine library, you may 6238 consider it more useful to permit linking proprietary applications with the 6239 library. If this is what you want to do, use the GNU Lesser General 6240 Public License instead of this License. 6241 6242 Copyright (c) 2011 The LevelDB Authors. All rights reserved. 6243 6244 Redistribution and use in source and binary forms, with or without 6245 modification, are permitted provided that the following conditions are 6246 met: 6247 6248 * Redistributions of source code must retain the above copyright 6249 notice, this list of conditions and the following disclaimer. 6250 * Redistributions in binary form must reproduce the above 6251 copyright notice, this list of conditions and the following disclaimer 6252 in the documentation and/or other materials provided with the 6253 distribution. 6254 * Neither the name of Google Inc. nor the names of its 6255 contributors may be used to endorse or promote products derived from 6256 this software without specific prior written permission. 6257 6258 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 6259 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 6260 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 6261 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 6262 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 6263 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 6264 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 6265 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 6266 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 6267 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 6268 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 6269 6270 /* 6271 * Copyright (c) 2008 NVIDIA, Corporation 6272 * 6273 * Permission is hereby granted, free of charge, to any person obtaining a copy 6274 * of this software and associated documentation files (the "Software"), to deal 6275 * in the Software without restriction, including without limitation the rights 6276 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 6277 * copies of the Software, and to permit persons to whom the Software is 6278 * furnished to do so, subject to the following conditions: 6279 * 6280 * The above copyright notice and this permission notice (including the next 6281 * paragraph) shall be included in all copies or substantial portions of the 6282 * Software. 6283 * 6284 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 6285 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 6286 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6287 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 6288 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 6289 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 6290 * SOFTWARE. 6291 */ 6292 6293 Apache License 6294 Version 2.0, January 2004 6295 http://www.apache.org/licenses/ 6296 6297 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6298 6299 1. Definitions. 6300 6301 "License" shall mean the terms and conditions for use, reproduction, 6302 and distribution as defined by Sections 1 through 9 of this document. 6303 6304 "Licensor" shall mean the copyright owner or entity authorized by 6305 the copyright owner that is granting the License. 6306 6307 "Legal Entity" shall mean the union of the acting entity and all 6308 other entities that control, are controlled by, or are under common 6309 control with that entity. For the purposes of this definition, 6310 "control" means (i) the power, direct or indirect, to cause the 6311 direction or management of such entity, whether by contract or 6312 otherwise, or (ii) ownership of fifty percent (50%) or more of the 6313 outstanding shares, or (iii) beneficial ownership of such entity. 6314 6315 "You" (or "Your") shall mean an individual or Legal Entity 6316 exercising permissions granted by this License. 6317 6318 "Source" form shall mean the preferred form for making modifications, 6319 including but not limited to software source code, documentation 6320 source, and configuration files. 6321 6322 "Object" form shall mean any form resulting from mechanical 6323 transformation or translation of a Source form, including but 6324 not limited to compiled object code, generated documentation, 6325 and conversions to other media types. 6326 6327 "Work" shall mean the work of authorship, whether in Source or 6328 Object form, made available under the License, as indicated by a 6329 copyright notice that is included in or attached to the work 6330 (an example is provided in the Appendix below). 6331 6332 "Derivative Works" shall mean any work, whether in Source or Object 6333 form, that is based on (or derived from) the Work and for which the 6334 editorial revisions, annotations, elaborations, or other modifications 6335 represent, as a whole, an original work of authorship. For the purposes 6336 of this License, Derivative Works shall not include works that remain 6337 separable from, or merely link (or bind by name) to the interfaces of, 6338 the Work and Derivative Works thereof. 6339 6340 "Contribution" shall mean any work of authorship, including 6341 the original version of the Work and any modifications or additions 6342 to that Work or Derivative Works thereof, that is intentionally 6343 submitted to Licensor for inclusion in the Work by the copyright owner 6344 or by an individual or Legal Entity authorized to submit on behalf of 6345 the copyright owner. For the purposes of this definition, "submitted" 6346 means any form of electronic, verbal, or written communication sent 6347 to the Licensor or its representatives, including but not limited to 6348 communication on electronic mailing lists, source code control systems, 6349 and issue tracking systems that are managed by, or on behalf of, the 6350 Licensor for the purpose of discussing and improving the Work, but 6351 excluding communication that is conspicuously marked or otherwise 6352 designated in writing by the copyright owner as "Not a Contribution." 6353 6354 "Contributor" shall mean Licensor and any individual or Legal Entity 6355 on behalf of whom a Contribution has been received by Licensor and 6356 subsequently incorporated within the Work. 6357 6358 2. Grant of Copyright License. Subject to the terms and conditions of 6359 this License, each Contributor hereby grants to You a perpetual, 6360 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 6361 copyright license to reproduce, prepare Derivative Works of, 6362 publicly display, publicly perform, sublicense, and distribute the 6363 Work and such Derivative Works in Source or Object form. 6364 6365 3. Grant of Patent License. Subject to the terms and conditions of 6366 this License, each Contributor hereby grants to You a perpetual, 6367 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 6368 (except as stated in this section) patent license to make, have made, 6369 use, offer to sell, sell, import, and otherwise transfer the Work, 6370 where such license applies only to those patent claims licensable 6371 by such Contributor that are necessarily infringed by their 6372 Contribution(s) alone or by combination of their Contribution(s) 6373 with the Work to which such Contribution(s) was submitted. If You 6374 institute patent litigation against any entity (including a 6375 cross-claim or counterclaim in a lawsuit) alleging that the Work 6376 or a Contribution incorporated within the Work constitutes direct 6377 or contributory patent infringement, then any patent licenses 6378 granted to You under this License for that Work shall terminate 6379 as of the date such litigation is filed. 6380 6381 4. Redistribution. You may reproduce and distribute copies of the 6382 Work or Derivative Works thereof in any medium, with or without 6383 modifications, and in Source or Object form, provided that You 6384 meet the following conditions: 6385 6386 (a) You must give any other recipients of the Work or 6387 Derivative Works a copy of this License; and 6388 6389 (b) You must cause any modified files to carry prominent notices 6390 stating that You changed the files; and 6391 6392 (c) You must retain, in the Source form of any Derivative Works 6393 that You distribute, all copyright, patent, trademark, and 6394 attribution notices from the Source form of the Work, 6395 excluding those notices that do not pertain to any part of 6396 the Derivative Works; and 6397 6398 (d) If the Work includes a "NOTICE" text file as part of its 6399 distribution, then any Derivative Works that You distribute must 6400 include a readable copy of the attribution notices contained 6401 within such NOTICE file, excluding those notices that do not 6402 pertain to any part of the Derivative Works, in at least one 6403 of the following places: within a NOTICE text file distributed 6404 as part of the Derivative Works; within the Source form or 6405 documentation, if provided along with the Derivative Works; or, 6406 within a display generated by the Derivative Works, if and 6407 wherever such third-party notices normally appear. The contents 6408 of the NOTICE file are for informational purposes only and 6409 do not modify the License. You may add Your own attribution 6410 notices within Derivative Works that You distribute, alongside 6411 or as an addendum to the NOTICE text from the Work, provided 6412 that such additional attribution notices cannot be construed 6413 as modifying the License. 6414 6415 You may add Your own copyright statement to Your modifications and 6416 may provide additional or different license terms and conditions 6417 for use, reproduction, or distribution of Your modifications, or 6418 for any such Derivative Works as a whole, provided Your use, 6419 reproduction, and distribution of the Work otherwise complies with 6420 the conditions stated in this License. 6421 6422 5. Submission of Contributions. Unless You explicitly state otherwise, 6423 any Contribution intentionally submitted for inclusion in the Work 6424 by You to the Licensor shall be under the terms and conditions of 6425 this License, without any additional terms or conditions. 6426 Notwithstanding the above, nothing herein shall supersede or modify 6427 the terms of any separate license agreement you may have executed 6428 with Licensor regarding such Contributions. 6429 6430 6. Trademarks. This License does not grant permission to use the trade 6431 names, trademarks, service marks, or product names of the Licensor, 6432 except as required for reasonable and customary use in describing the 6433 origin of the Work and reproducing the content of the NOTICE file. 6434 6435 7. Disclaimer of Warranty. Unless required by applicable law or 6436 agreed to in writing, Licensor provides the Work (and each 6437 Contributor provides its Contributions) on an "AS IS" BASIS, 6438 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 6439 implied, including, without limitation, any warranties or conditions 6440 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 6441 PARTICULAR PURPOSE. You are solely responsible for determining the 6442 appropriateness of using or redistributing the Work and assume any 6443 risks associated with Your exercise of permissions under this License. 6444 6445 8. Limitation of Liability. In no event and under no legal theory, 6446 whether in tort (including negligence), contract, or otherwise, 6447 unless required by applicable law (such as deliberate and grossly 6448 negligent acts) or agreed to in writing, shall any Contributor be 6449 liable to You for damages, including any direct, indirect, special, 6450 incidental, or consequential damages of any character arising as a 6451 result of this License or out of the use or inability to use the 6452 Work (including but not limited to damages for loss of goodwill, 6453 work stoppage, computer failure or malfunction, or any and all 6454 other commercial damages or losses), even if such Contributor 6455 has been advised of the possibility of such damages. 6456 6457 9. Accepting Warranty or Additional Liability. While redistributing 6458 the Work or Derivative Works thereof, You may choose to offer, 6459 and charge a fee for, acceptance of support, warranty, indemnity, 6460 or other liability obligations and/or rights consistent with this 6461 License. However, in accepting such obligations, You may act only 6462 on Your own behalf and on Your sole responsibility, not on behalf 6463 of any other Contributor, and only if You agree to indemnify, 6464 defend, and hold each Contributor harmless for any liability 6465 incurred by, or claims asserted against, such Contributor by reason 6466 of your accepting any such warranty or additional liability. 6467 6468 END OF TERMS AND CONDITIONS 6469 6470 APPENDIX: How to apply the Apache License to your work. 6471 6472 To apply the Apache License to your work, attach the following 6473 boilerplate notice, with the fields enclosed by brackets "[]" 6474 replaced with your own identifying information. (Don't include 6475 the brackets!) The text should be enclosed in the appropriate 6476 comment syntax for the file format. We also recommend that a 6477 file or class name and description of purpose be included on the 6478 same "printed page" as the copyright notice for easier 6479 identification within third-party archives. 6480 6481 Copyright [yyyy] [name of copyright owner] 6482 6483 Licensed under the Apache License, Version 2.0 (the "License"); 6484 you may not use this file except in compliance with the License. 6485 You may obtain a copy of the License at 6486 6487 http://www.apache.org/licenses/LICENSE-2.0 6488 6489 Unless required by applicable law or agreed to in writing, software 6490 distributed under the License is distributed on an "AS IS" BASIS, 6491 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 6492 See the License for the specific language governing permissions and 6493 limitations under the License. 6494 6495 Copyright 2000-2007 Niels Provos <provos (a] citi.umich.edu> 6496 Copyright 2007-2009 Niels Provos and Nick Mathewson 6497 6498 Redistribution and use in source and binary forms, with or without 6499 modification, are permitted provided that the following conditions 6500 are met: 6501 1. Redistributions of source code must retain the above copyright 6502 notice, this list of conditions and the following disclaimer. 6503 2. Redistributions in binary form must reproduce the above copyright 6504 notice, this list of conditions and the following disclaimer in the 6505 documentation and/or other materials provided with the distribution. 6506 3. The name of the author may not be used to endorse or promote products 6507 derived from this software without specific prior written permission. 6508 6509 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 6510 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 6511 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 6512 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 6513 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 6514 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 6515 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 6516 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 6517 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 6518 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 6519 6520 Copyright (c) 2013, Google Inc. 6521 All rights reserved. 6522 6523 Redistribution and use in source and binary forms, with or without modification, 6524 are permitted provided that the following conditions are met: 6525 6526 * Redistributions of source code must retain the above copyright notice, 6527 this list of conditions and the following disclaimer. 6528 * Redistributions in binary form must reproduce the above copyright notice, 6529 this list of conditions and the following disclaimer in the documentation 6530 and/or other materials provided with the distribution. 6531 * The name of the author may not be used to endorse or promote products 6532 derived from this software without specific prior written permission. 6533 6534 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 6535 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6536 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6537 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 6538 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 6539 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 6540 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6541 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 6542 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 6543 WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6544 SUCH DAMAGE. 6545 (Copied from the README.) 6546 6547 -------------------------------------------------------------------------------- 6548 6549 The authors make NO WARRANTY or representation, either express or implied, 6550 with respect to this software, its quality, accuracy, merchantability, or 6551 fitness for a particular purpose. This software is provided "AS IS", and you, 6552 its user, assume the entire risk as to its quality and accuracy. 6553 6554 This software is copyright (C) 1991-1998, Thomas G. Lane. 6555 All Rights Reserved except as specified below. 6556 6557 Permission is hereby granted to use, copy, modify, and distribute this 6558 software (or portions thereof) for any purpose, without fee, subject to these 6559 conditions: 6560 (1) If any part of the source code for this software is distributed, then this 6561 README file must be included, with this copyright and no-warranty notice 6562 unaltered; and any additions, deletions, or changes to the original files 6563 must be clearly indicated in accompanying documentation. 6564 (2) If only executable code is distributed, then the accompanying 6565 documentation must state that "this software is based in part on the work of 6566 the Independent JPEG Group". 6567 (3) Permission for use of this software is granted only if the user accepts 6568 full responsibility for any undesirable consequences; the authors accept 6569 NO LIABILITY for damages of any kind. 6570 6571 These conditions apply to any software derived from or based on the IJG code, 6572 not just to the unmodified library. If you use our work, you ought to 6573 acknowledge us. 6574 6575 Permission is NOT granted for the use of any IJG author's name or company name 6576 in advertising or publicity relating to this software or products derived from 6577 it. This software may be referred to only as "the Independent JPEG Group's 6578 software". 6579 6580 We specifically permit and encourage the use of this software as the basis of 6581 commercial products, provided that all warranty or liability claims are 6582 assumed by the product vendor. 6583 6584 6585 ansi2knr.c is included in this distribution by permission of L. Peter Deutsch, 6586 sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA. 6587 ansi2knr.c is NOT covered by the above copyright and conditions, but instead 6588 by the usual distribution terms of the Free Software Foundation; principally, 6589 that you must include source code if you redistribute it. (See the file 6590 ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part 6591 of any program generated from the IJG code, this does not limit you more than 6592 the foregoing paragraphs do. 6593 6594 The Unix configuration script "configure" was produced with GNU Autoconf. 6595 It is copyright by the Free Software Foundation but is freely distributable. 6596 The same holds for its supporting scripts (config.guess, config.sub, 6597 ltconfig, ltmain.sh). Another support script, install-sh, is copyright 6598 by M.I.T. but is also freely distributable. 6599 6600 It appears that the arithmetic coding option of the JPEG spec is covered by 6601 patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot 6602 legally be used without obtaining one or more licenses. For this reason, 6603 support for arithmetic coding has been removed from the free JPEG software. 6604 (Since arithmetic coding provides only a marginal gain over the unpatented 6605 Huffman mode, it is unlikely that very many implementations will support it.) 6606 So far as we are aware, there are no patent restrictions on the remaining 6607 code. 6608 6609 The IJG distribution formerly included code to read and write GIF files. 6610 To avoid entanglement with the Unisys LZW patent, GIF reading support has 6611 been removed altogether, and the GIF writer has been simplified to produce 6612 "uncompressed GIFs". This technique does not use the LZW algorithm; the 6613 resulting GIF files are larger than usual, but are readable by all standard 6614 GIF decoders. 6615 6616 We are required to state that 6617 "The Graphics Interchange Format(c) is the Copyright property of 6618 CompuServe Incorporated. GIF(sm) is a Service Mark property of 6619 CompuServe Incorporated." 6620 6621 Copyright (C) 2011 Google Inc. 6622 6623 Licensed under the Apache License, Version 2.0 (the "License"); 6624 you may not use this file except in compliance with the License. 6625 You may obtain a copy of the License at 6626 6627 http://www.apache.org/licenses/LICENSE-2.0 6628 6629 Unless required by applicable law or agreed to in writing, software 6630 distributed under the License is distributed on an "AS IS" BASIS, 6631 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 6632 See the License for the specific language governing permissions and 6633 limitations under the License. 6634 6635 6636 This copy of the libpng notices is provided for your convenience. In case of 6637 any discrepancy between this copy and the notices in the file png.h that is 6638 included in the libpng distribution, the latter shall prevail. 6639 6640 COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: 6641 6642 If you modify libpng you may insert additional notices immediately following 6643 this sentence. 6644 6645 This code is released under the libpng license. 6646 6647 libpng versions 1.2.6, August 15, 2004, through 1.2.45, July 7, 2011, are 6648 Copyright (c) 2004, 2006-2009 Glenn Randers-Pehrson, and are 6649 distributed according to the same disclaimer and license as libpng-1.2.5 6650 with the following individual added to the list of Contributing Authors 6651 6652 Cosmin Truta 6653 6654 libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are 6655 Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are 6656 distributed according to the same disclaimer and license as libpng-1.0.6 6657 with the following individuals added to the list of Contributing Authors 6658 6659 Simon-Pierre Cadieux 6660 Eric S. Raymond 6661 Gilles Vollant 6662 6663 and with the following additions to the disclaimer: 6664 6665 There is no warranty against interference with your enjoyment of the 6666 library or against infringement. There is no warranty that our 6667 efforts or the library will fulfill any of your particular purposes 6668 or needs. This library is provided with all faults, and the entire 6669 risk of satisfactory quality, performance, accuracy, and effort is with 6670 the user. 6671 6672 libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are 6673 Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are 6674 distributed according to the same disclaimer and license as libpng-0.96, 6675 with the following individuals added to the list of Contributing Authors: 6676 6677 Tom Lane 6678 Glenn Randers-Pehrson 6679 Willem van Schaik 6680 6681 libpng versions 0.89, June 1996, through 0.96, May 1997, are 6682 Copyright (c) 1996, 1997 Andreas Dilger 6683 Distributed according to the same disclaimer and license as libpng-0.88, 6684 with the following individuals added to the list of Contributing Authors: 6685 6686 John Bowler 6687 Kevin Bracey 6688 Sam Bushell 6689 Magnus Holmgren 6690 Greg Roelofs 6691 Tom Tanner 6692 6693 libpng versions 0.5, May 1995, through 0.88, January 1996, are 6694 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. 6695 6696 For the purposes of this copyright and license, "Contributing Authors" 6697 is defined as the following set of individuals: 6698 6699 Andreas Dilger 6700 Dave Martindale 6701 Guy Eric Schalnat 6702 Paul Schmidt 6703 Tim Wegner 6704 6705 The PNG Reference Library is supplied "AS IS". The Contributing Authors 6706 and Group 42, Inc. disclaim all warranties, expressed or implied, 6707 including, without limitation, the warranties of merchantability and of 6708 fitness for any purpose. The Contributing Authors and Group 42, Inc. 6709 assume no liability for direct, indirect, incidental, special, exemplary, 6710 or consequential damages, which may result from the use of the PNG 6711 Reference Library, even if advised of the possibility of such damage. 6712 6713 Permission is hereby granted to use, copy, modify, and distribute this 6714 source code, or portions hereof, for any purpose, without fee, subject 6715 to the following restrictions: 6716 6717 1. The origin of this source code must not be misrepresented. 6718 6719 2. Altered versions must be plainly marked as such and must not 6720 be misrepresented as being the original source. 6721 6722 3. This Copyright notice may not be removed or altered from any 6723 source or altered source distribution. 6724 6725 The Contributing Authors and Group 42, Inc. specifically permit, without 6726 fee, and encourage the use of this source code as a component to 6727 supporting the PNG file format in commercial products. If you use this 6728 source code in a product, acknowledgment is not required but would be 6729 appreciated. 6730 6731 6732 A "png_get_copyright" function is available, for convenient use in "about" 6733 boxes and the like: 6734 6735 printf("%s",png_get_copyright(NULL)); 6736 6737 Also, the PNG logo (in PNG format, of course) is supplied in the 6738 files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). 6739 6740 Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a 6741 certification mark of the Open Source Initiative. 6742 6743 Glenn Randers-Pehrson 6744 glennrp at users.sourceforge.net 6745 July 7, 2011 6746 6747 /* 6748 * 6749 * Copyright (c) 2001-2006 Cisco Systems, Inc. 6750 * All rights reserved. 6751 * 6752 * Redistribution and use in source and binary forms, with or without 6753 * modification, are permitted provided that the following conditions 6754 * are met: 6755 * 6756 * Redistributions of source code must retain the above copyright 6757 * notice, this list of conditions and the following disclaimer. 6758 * 6759 * Redistributions in binary form must reproduce the above 6760 * copyright notice, this list of conditions and the following 6761 * disclaimer in the documentation and/or other materials provided 6762 * with the distribution. 6763 * 6764 * Neither the name of the Cisco Systems, Inc. nor the names of its 6765 * contributors may be used to endorse or promote products derived 6766 * from this software without specific prior written permission. 6767 * 6768 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 6769 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 6770 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 6771 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 6772 * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 6773 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 6774 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 6775 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6776 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 6777 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 6778 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 6779 * OF THE POSSIBILITY OF SUCH DAMAGE. 6780 * 6781 */ 6782 6783 GNU LESSER GENERAL PUBLIC LICENSE 6784 Version 2.1, February 1999 6785 6786 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 6787 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6788 Everyone is permitted to copy and distribute verbatim copies 6789 of this license document, but changing it is not allowed. 6790 6791 [This is the first released version of the Lesser GPL. It also counts 6792 as the successor of the GNU Library Public License, version 2, hence 6793 the version number 2.1.] 6794 6795 Preamble 6796 6797 The licenses for most software are designed to take away your 6798 freedom to share and change it. By contrast, the GNU General Public 6799 Licenses are intended to guarantee your freedom to share and change 6800 free software--to make sure the software is free for all its users. 6801 6802 This license, the Lesser General Public License, applies to some 6803 specially designated software packages--typically libraries--of the 6804 Free Software Foundation and other authors who decide to use it. You 6805 can use it too, but we suggest you first think carefully about whether 6806 this license or the ordinary General Public License is the better 6807 strategy to use in any particular case, based on the explanations below. 6808 6809 When we speak of free software, we are referring to freedom of use, 6810 not price. Our General Public Licenses are designed to make sure that 6811 you have the freedom to distribute copies of free software (and charge 6812 for this service if you wish); that you receive source code or can get 6813 it if you want it; that you can change the software and use pieces of 6814 it in new free programs; and that you are informed that you can do 6815 these things. 6816 6817 To protect your rights, we need to make restrictions that forbid 6818 distributors to deny you these rights or to ask you to surrender these 6819 rights. These restrictions translate to certain responsibilities for 6820 you if you distribute copies of the library or if you modify it. 6821 6822 For example, if you distribute copies of the library, whether gratis 6823 or for a fee, you must give the recipients all the rights that we gave 6824 you. You must make sure that they, too, receive or can get the source 6825 code. If you link other code with the library, you must provide 6826 complete object files to the recipients, so that they can relink them 6827 with the library after making changes to the library and recompiling 6828 it. And you must show them these terms so they know their rights. 6829 6830 We protect your rights with a two-step method: (1) we copyright the 6831 library, and (2) we offer you this license, which gives you legal 6832 permission to copy, distribute and/or modify the library. 6833 6834 To protect each distributor, we want to make it very clear that 6835 there is no warranty for the free library. Also, if the library is 6836 modified by someone else and passed on, the recipients should know 6837 that what they have is not the original version, so that the original 6838 author's reputation will not be affected by problems that might be 6839 introduced by others. 6840 6842 Finally, software patents pose a constant threat to the existence of 6843 any free program. We wish to make sure that a company cannot 6844 effectively restrict the users of a free program by obtaining a 6845 restrictive license from a patent holder. Therefore, we insist that 6846 any patent license obtained for a version of the library must be 6847 consistent with the full freedom of use specified in this license. 6848 6849 Most GNU software, including some libraries, is covered by the 6850 ordinary GNU General Public License. This license, the GNU Lesser 6851 General Public License, applies to certain designated libraries, and 6852 is quite different from the ordinary General Public License. We use 6853 this license for certain libraries in order to permit linking those 6854 libraries into non-free programs. 6855 6856 When a program is linked with a library, whether statically or using 6857 a shared library, the combination of the two is legally speaking a 6858 combined work, a derivative of the original library. The ordinary 6859 General Public License therefore permits such linking only if the 6860 entire combination fits its criteria of freedom. The Lesser General 6861 Public License permits more lax criteria for linking other code with 6862 the library. 6863 6864 We call this license the "Lesser" General Public License because it 6865 does Less to protect the user's freedom than the ordinary General 6866 Public License. It also provides other free software developers Less 6867 of an advantage over competing non-free programs. These disadvantages 6868 are the reason we use the ordinary General Public License for many 6869 libraries. However, the Lesser license provides advantages in certain 6870 special circumstances. 6871 6872 For example, on rare occasions, there may be a special need to 6873 encourage the widest possible use of a certain library, so that it becomes 6874 a de-facto standard. To achieve this, non-free programs must be 6875 allowed to use the library. A more frequent case is that a free 6876 library does the same job as widely used non-free libraries. In this 6877 case, there is little to gain by limiting the free library to free 6878 software only, so we use the Lesser General Public License. 6879 6880 In other cases, permission to use a particular library in non-free 6881 programs enables a greater number of people to use a large body of 6882 free software. For example, permission to use the GNU C Library in 6883 non-free programs enables many more people to use the whole GNU 6884 operating system, as well as its variant, the GNU/Linux operating 6885 system. 6886 6887 Although the Lesser General Public License is Less protective of the 6888 users' freedom, it does ensure that the user of a program that is 6889 linked with the Library has the freedom and the wherewithal to run 6890 that program using a modified version of the Library. 6891 6892 The precise terms and conditions for copying, distribution and 6893 modification follow. Pay close attention to the difference between a 6894 "work based on the library" and a "work that uses the library". The 6895 former contains code derived from the library, whereas the latter must 6896 be combined with the library in order to run. 6897 6899 GNU LESSER GENERAL PUBLIC LICENSE 6900 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 6901 6902 0. This License Agreement applies to any software library or other 6903 program which contains a notice placed by the copyright holder or 6904 other authorized party saying it may be distributed under the terms of 6905 this Lesser General Public License (also called "this License"). 6906 Each licensee is addressed as "you". 6907 6908 A "library" means a collection of software functions and/or data 6909 prepared so as to be conveniently linked with application programs 6910 (which use some of those functions and data) to form executables. 6911 6912 The "Library", below, refers to any such software library or work 6913 which has been distributed under these terms. A "work based on the 6914 Library" means either the Library or any derivative work under 6915 copyright law: that is to say, a work containing the Library or a 6916 portion of it, either verbatim or with modifications and/or translated 6917 straightforwardly into another language. (Hereinafter, translation is 6918 included without limitation in the term "modification".) 6919 6920 "Source code" for a work means the preferred form of the work for 6921 making modifications to it. For a library, complete source code means 6922 all the source code for all modules it contains, plus any associated 6923 interface definition files, plus the scripts used to control compilation 6924 and installation of the library. 6925 6926 Activities other than copying, distribution and modification are not 6927 covered by this License; they are outside its scope. The act of 6928 running a program using the Library is not restricted, and output from 6929 such a program is covered only if its contents constitute a work based 6930 on the Library (independent of the use of the Library in a tool for 6931 writing it). Whether that is true depends on what the Library does 6932 and what the program that uses the Library does. 6933 6934 1. You may copy and distribute verbatim copies of the Library's 6935 complete source code as you receive it, in any medium, provided that 6936 you conspicuously and appropriately publish on each copy an 6937 appropriate copyright notice and disclaimer of warranty; keep intact 6938 all the notices that refer to this License and to the absence of any 6939 warranty; and distribute a copy of this License along with the 6940 Library. 6941 6942 You may charge a fee for the physical act of transferring a copy, 6943 and you may at your option offer warranty protection in exchange for a 6944 fee. 6945 6947 2. You may modify your copy or copies of the Library or any portion 6948 of it, thus forming a work based on the Library, and copy and 6949 distribute such modifications or work under the terms of Section 1 6950 above, provided that you also meet all of these conditions: 6951 6952 a) The modified work must itself be a software library. 6953 6954 b) You must cause the files modified to carry prominent notices 6955 stating that you changed the files and the date of any change. 6956 6957 c) You must cause the whole of the work to be licensed at no 6958 charge to all third parties under the terms of this License. 6959 6960 d) If a facility in the modified Library refers to a function or a 6961 table of data to be supplied by an application program that uses 6962 the facility, other than as an argument passed when the facility 6963 is invoked, then you must make a good faith effort to ensure that, 6964 in the event an application does not supply such function or 6965 table, the facility still operates, and performs whatever part of 6966 its purpose remains meaningful. 6967 6968 (For example, a function in a library to compute square roots has 6969 a purpose that is entirely well-defined independent of the 6970 application. Therefore, Subsection 2d requires that any 6971 application-supplied function or table used by this function must 6972 be optional: if the application does not supply it, the square 6973 root function must still compute square roots.) 6974 6975 These requirements apply to the modified work as a whole. If 6976 identifiable sections of that work are not derived from the Library, 6977 and can be reasonably considered independent and separate works in 6978 themselves, then this License, and its terms, do not apply to those 6979 sections when you distribute them as separate works. But when you 6980 distribute the same sections as part of a whole which is a work based 6981 on the Library, the distribution of the whole must be on the terms of 6982 this License, whose permissions for other licensees extend to the 6983 entire whole, and thus to each and every part regardless of who wrote 6984 it. 6985 6986 Thus, it is not the intent of this section to claim rights or contest 6987 your rights to work written entirely by you; rather, the intent is to 6988 exercise the right to control the distribution of derivative or 6989 collective works based on the Library. 6990 6991 In addition, mere aggregation of another work not based on the Library 6992 with the Library (or with a work based on the Library) on a volume of 6993 a storage or distribution medium does not bring the other work under 6994 the scope of this License. 6995 6996 3. You may opt to apply the terms of the ordinary GNU General Public 6997 License instead of this License to a given copy of the Library. To do 6998 this, you must alter all the notices that refer to this License, so 6999 that they refer to the ordinary GNU General Public License, version 2, 7000 instead of to this License. (If a newer version than version 2 of the 7001 ordinary GNU General Public License has appeared, then you can specify 7002 that version instead if you wish.) Do not make any other change in 7003 these notices. 7004 7006 Once this change is made in a given copy, it is irreversible for 7007 that copy, so the ordinary GNU General Public License applies to all 7008 subsequent copies and derivative works made from that copy. 7009 7010 This option is useful when you wish to copy part of the code of 7011 the Library into a program that is not a library. 7012 7013 4. You may copy and distribute the Library (or a portion or 7014 derivative of it, under Section 2) in object code or executable form 7015 under the terms of Sections 1 and 2 above provided that you accompany 7016 it with the complete corresponding machine-readable source code, which 7017 must be distributed under the terms of Sections 1 and 2 above on a 7018 medium customarily used for software interchange. 7019 7020 If distribution of object code is made by offering access to copy 7021 from a designated place, then offering equivalent access to copy the 7022 source code from the same place satisfies the requirement to 7023 distribute the source code, even though third parties are not 7024 compelled to copy the source along with the object code. 7025 7026 5. A program that contains no derivative of any portion of the 7027 Library, but is designed to work with the Library by being compiled or 7028 linked with it, is called a "work that uses the Library". Such a 7029 work, in isolation, is not a derivative work of the Library, and 7030 therefore falls outside the scope of this License. 7031 7032 However, linking a "work that uses the Library" with the Library 7033 creates an executable that is a derivative of the Library (because it 7034 contains portions of the Library), rather than a "work that uses the 7035 library". The executable is therefore covered by this License. 7036 Section 6 states terms for distribution of such executables. 7037 7038 When a "work that uses the Library" uses material from a header file 7039 that is part of the Library, the object code for the work may be a 7040 derivative work of the Library even though the source code is not. 7041 Whether this is true is especially significant if the work can be 7042 linked without the Library, or if the work is itself a library. The 7043 threshold for this to be true is not precisely defined by law. 7044 7045 If such an object file uses only numerical parameters, data 7046 structure layouts and accessors, and small macros and small inline 7047 functions (ten lines or less in length), then the use of the object 7048 file is unrestricted, regardless of whether it is legally a derivative 7049 work. (Executables containing this object code plus portions of the 7050 Library will still fall under Section 6.) 7051 7052 Otherwise, if the work is a derivative of the Library, you may 7053 distribute the object code for the work under the terms of Section 6. 7054 Any executables containing that work also fall under Section 6, 7055 whether or not they are linked directly with the Library itself. 7056 7058 6. As an exception to the Sections above, you may also combine or 7059 link a "work that uses the Library" with the Library to produce a 7060 work containing portions of the Library, and distribute that work 7061 under terms of your choice, provided that the terms permit 7062 modification of the work for the customer's own use and reverse 7063 engineering for debugging such modifications. 7064 7065 You must give prominent notice with each copy of the work that the 7066 Library is used in it and that the Library and its use are covered by 7067 this License. You must supply a copy of this License. If the work 7068 during execution displays copyright notices, you must include the 7069 copyright notice for the Library among them, as well as a reference 7070 directing the user to the copy of this License. Also, you must do one 7071 of these things: 7072 7073 a) Accompany the work with the complete corresponding 7074 machine-readable source code for the Library including whatever 7075 changes were used in the work (which must be distributed under 7076 Sections 1 and 2 above); and, if the work is an executable linked 7077 with the Library, with the complete machine-readable "work that 7078 uses the Library", as object code and/or source code, so that the 7079 user can modify the Library and then relink to produce a modified 7080 executable containing the modified Library. (It is understood 7081 that the user who changes the contents of definitions files in the 7082 Library will not necessarily be able to recompile the application 7083 to use the modified definitions.) 7084 7085 b) Use a suitable shared library mechanism for linking with the 7086 Library. A suitable mechanism is one that (1) uses at run time a 7087 copy of the library already present on the user's computer system, 7088 rather than copying library functions into the executable, and (2) 7089 will operate properly with a modified version of the library, if 7090 the user installs one, as long as the modified version is 7091 interface-compatible with the version that the work was made with. 7092 7093 c) Accompany the work with a written offer, valid for at 7094 least three years, to give the same user the materials 7095 specified in Subsection 6a, above, for a charge no more 7096 than the cost of performing this distribution. 7097 7098 d) If distribution of the work is made by offering access to copy 7099 from a designated place, offer equivalent access to copy the above 7100 specified materials from the same place. 7101 7102 e) Verify that the user has already received a copy of these 7103 materials or that you have already sent this user a copy. 7104 7105 For an executable, the required form of the "work that uses the 7106 Library" must include any data and utility programs needed for 7107 reproducing the executable from it. However, as a special exception, 7108 the materials to be distributed need not include anything that is 7109 normally distributed (in either source or binary form) with the major 7110 components (compiler, kernel, and so on) of the operating system on 7111 which the executable runs, unless that component itself accompanies 7112 the executable. 7113 7114 It may happen that this requirement contradicts the license 7115 restrictions of other proprietary libraries that do not normally 7116 accompany the operating system. Such a contradiction means you cannot 7117 use both them and the Library together in an executable that you 7118 distribute. 7119 7121 7. You may place library facilities that are a work based on the 7122 Library side-by-side in a single library together with other library 7123 facilities not covered by this License, and distribute such a combined 7124 library, provided that the separate distribution of the work based on 7125 the Library and of the other library facilities is otherwise 7126 permitted, and provided that you do these two things: 7127 7128 a) Accompany the combined library with a copy of the same work 7129 based on the Library, uncombined with any other library 7130 facilities. This must be distributed under the terms of the 7131 Sections above. 7132 7133 b) Give prominent notice with the combined library of the fact 7134 that part of it is a work based on the Library, and explaining 7135 where to find the accompanying uncombined form of the same work. 7136 7137 8. You may not copy, modify, sublicense, link with, or distribute 7138 the Library except as expressly provided under this License. Any 7139 attempt otherwise to copy, modify, sublicense, link with, or 7140 distribute the Library is void, and will automatically terminate your 7141 rights under this License. However, parties who have received copies, 7142 or rights, from you under this License will not have their licenses 7143 terminated so long as such parties remain in full compliance. 7144 7145 9. You are not required to accept this License, since you have not 7146 signed it. However, nothing else grants you permission to modify or 7147 distribute the Library or its derivative works. These actions are 7148 prohibited by law if you do not accept this License. Therefore, by 7149 modifying or distributing the Library (or any work based on the 7150 Library), you indicate your acceptance of this License to do so, and 7151 all its terms and conditions for copying, distributing or modifying 7152 the Library or works based on it. 7153 7154 10. Each time you redistribute the Library (or any work based on the 7155 Library), the recipient automatically receives a license from the 7156 original licensor to copy, distribute, link with or modify the Library 7157 subject to these terms and conditions. You may not impose any further 7158 restrictions on the recipients' exercise of the rights granted herein. 7159 You are not responsible for enforcing compliance by third parties with 7160 this License. 7161 7163 11. If, as a consequence of a court judgment or allegation of patent 7164 infringement or for any other reason (not limited to patent issues), 7165 conditions are imposed on you (whether by court order, agreement or 7166 otherwise) that contradict the conditions of this License, they do not 7167 excuse you from the conditions of this License. If you cannot 7168 distribute so as to satisfy simultaneously your obligations under this 7169 License and any other pertinent obligations, then as a consequence you 7170 may not distribute the Library at all. For example, if a patent 7171 license would not permit royalty-free redistribution of the Library by 7172 all those who receive copies directly or indirectly through you, then 7173 the only way you could satisfy both it and this License would be to 7174 refrain entirely from distribution of the Library. 7175 7176 If any portion of this section is held invalid or unenforceable under any 7177 particular circumstance, the balance of the section is intended to apply, 7178 and the section as a whole is intended to apply in other circumstances. 7179 7180 It is not the purpose of this section to induce you to infringe any 7181 patents or other property right claims or to contest validity of any 7182 such claims; this section has the sole purpose of protecting the 7183 integrity of the free software distribution system which is 7184 implemented by public license practices. Many people have made 7185 generous contributions to the wide range of software distributed 7186 through that system in reliance on consistent application of that 7187 system; it is up to the author/donor to decide if he or she is willing 7188 to distribute software through any other system and a licensee cannot 7189 impose that choice. 7190 7191 This section is intended to make thoroughly clear what is believed to 7192 be a consequence of the rest of this License. 7193 7194 12. If the distribution and/or use of the Library is restricted in 7195 certain countries either by patents or by copyrighted interfaces, the 7196 original copyright holder who places the Library under this License may add 7197 an explicit geographical distribution limitation excluding those countries, 7198 so that distribution is permitted only in or among countries not thus 7199 excluded. In such case, this License incorporates the limitation as if 7200 written in the body of this License. 7201 7202 13. The Free Software Foundation may publish revised and/or new 7203 versions of the Lesser General Public License from time to time. 7204 Such new versions will be similar in spirit to the present version, 7205 but may differ in detail to address new problems or concerns. 7206 7207 Each version is given a distinguishing version number. If the Library 7208 specifies a version number of this License which applies to it and 7209 "any later version", you have the option of following the terms and 7210 conditions either of that version or of any later version published by 7211 the Free Software Foundation. If the Library does not specify a 7212 license version number, you may choose any version ever published by 7213 the Free Software Foundation. 7214 7216 14. If you wish to incorporate parts of the Library into other free 7217 programs whose distribution conditions are incompatible with these, 7218 write to the author to ask for permission. For software which is 7219 copyrighted by the Free Software Foundation, write to the Free 7220 Software Foundation; we sometimes make exceptions for this. Our 7221 decision will be guided by the two goals of preserving the free status 7222 of all derivatives of our free software and of promoting the sharing 7223 and reuse of software generally. 7224 7225 NO WARRANTY 7226 7227 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 7228 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 7229 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 7230 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 7231 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 7232 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 7233 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 7234 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 7235 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 7236 7237 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 7238 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 7239 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 7240 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 7241 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 7242 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 7243 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 7244 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 7245 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 7246 DAMAGES. 7247 7248 END OF TERMS AND CONDITIONS 7249 7251 How to Apply These Terms to Your New Libraries 7252 7253 If you develop a new library, and you want it to be of the greatest 7254 possible use to the public, we recommend making it free software that 7255 everyone can redistribute and change. You can do so by permitting 7256 redistribution under these terms (or, alternatively, under the terms of the 7257 ordinary General Public License). 7258 7259 To apply these terms, attach the following notices to the library. It is 7260 safest to attach them to the start of each source file to most effectively 7261 convey the exclusion of warranty; and each file should have at least the 7262 "copyright" line and a pointer to where the full notice is found. 7263 7264 <one line to give the library's name and a brief idea of what it does.> 7265 Copyright (C) <year> <name of author> 7266 7267 This library is free software; you can redistribute it and/or 7268 modify it under the terms of the GNU Lesser General Public 7269 License as published by the Free Software Foundation; either 7270 version 2.1 of the License, or (at your option) any later version. 7271 7272 This library is distributed in the hope that it will be useful, 7273 but WITHOUT ANY WARRANTY; without even the implied warranty of 7274 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 7275 Lesser General Public License for more details. 7276 7277 You should have received a copy of the GNU Lesser General Public 7278 License along with this library; if not, write to the Free Software 7279 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 7280 7281 Also add information on how to contact you by electronic and paper mail. 7282 7283 You should also get your employer (if you work as a programmer) or your 7284 school, if any, to sign a "copyright disclaimer" for the library, if 7285 necessary. Here is a sample; alter the names: 7286 7287 Yoyodyne, Inc., hereby disclaims all copyright interest in the 7288 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 7289 7290 <signature of Ty Coon>, 1 April 1990 7291 Ty Coon, President of Vice 7292 7293 That's all there is to it! 7294 7295 7296 7297 Permission is hereby granted, free of charge, to any person obtaining a 7298 copy of this software and associated documentation files (the 7299 "Software"), to deal in the Software without restriction, including 7300 without limitation the rights to use, copy, modify, merge, publish, 7301 distribute, sub license, and/or sell copies of the Software, and to 7302 permit persons to whom the Software is furnished to do so, subject to 7303 the following conditions: 7304 7305 The above copyright notice and this permission notice (including the 7306 next paragraph) shall be included in all copies or substantial portions 7307 of the Software. 7308 7309 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 7310 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 7311 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 7312 IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR 7313 ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 7314 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 7315 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 7316 7317 Copyright (c) 2010, The WebM Project authors. All rights reserved. 7318 7319 Redistribution and use in source and binary forms, with or without 7320 modification, are permitted provided that the following conditions are 7321 met: 7322 7323 * Redistributions of source code must retain the above copyright 7324 notice, this list of conditions and the following disclaimer. 7325 7326 * Redistributions in binary form must reproduce the above copyright 7327 notice, this list of conditions and the following disclaimer in 7328 the documentation and/or other materials provided with the 7329 distribution. 7330 7331 * Neither the name of Google, nor the WebM Project, nor the names 7332 of its contributors may be used to endorse or promote products 7333 derived from this software without specific prior written 7334 permission. 7335 7336 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 7337 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 7338 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 7339 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 7340 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 7341 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 7342 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 7343 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 7344 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 7345 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 7346 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7347 7348 7349 Copyright (c) 2010, Google Inc. All rights reserved. 7350 7351 Redistribution and use in source and binary forms, with or without 7352 modification, are permitted provided that the following conditions are 7353 met: 7354 7355 * Redistributions of source code must retain the above copyright 7356 notice, this list of conditions and the following disclaimer. 7357 7358 * Redistributions in binary form must reproduce the above copyright 7359 notice, this list of conditions and the following disclaimer in 7360 the documentation and/or other materials provided with the 7361 distribution. 7362 7363 * Neither the name of Google nor the names of its contributors may 7364 be used to endorse or promote products derived from this software 7365 without specific prior written permission. 7366 7367 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 7368 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 7369 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 7370 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 7371 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 7372 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 7373 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 7374 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 7375 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 7376 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 7377 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7378 7379 Additional IP Rights Grant (Patents) 7380 7381 "This implementation" means the copyrightable works distributed by 7382 Google as part of the WebM Project. 7383 7384 Google hereby grants to you a perpetual, worldwide, non-exclusive, 7385 no-charge, royalty-free, irrevocable (except as stated in this section) 7386 patent license to make, have made, use, offer to sell, sell, import, 7387 transfer, and otherwise run, modify and propagate the contents of this 7388 implementation of VP8, where such license applies only to those patent 7389 claims, both currently owned by Google and acquired in the future, 7390 licensable by Google that are necessarily infringed by this 7391 implementation of VP8. This grant does not include claims that would be 7392 infringed only as a consequence of further modification of this 7393 implementation. If you or your agent or exclusive licensee institute or 7394 order or agree to the institution of patent litigation against any 7395 entity (including a cross-claim or counterclaim in a lawsuit) alleging 7396 that this implementation of VP8 or any code incorporated within this 7397 implementation of VP8 constitutes direct or contributory patent 7398 infringement, or inducement of patent infringement, then any patent 7399 rights granted to you under this License for this implementation of VP8 7400 shall terminate as of the date such litigation is filed. 7401 7402 Except where otherwise noted in the source code (e.g. the files hash.c, 7403 list.c and the trio files, which are covered by a similar licence but 7404 with different Copyright notices) all the files are: 7405 7406 Copyright (C) 1998-2003 Daniel Veillard. All Rights Reserved. 7407 7408 Permission is hereby granted, free of charge, to any person obtaining a copy 7409 of this software and associated documentation files (the "Software"), to deal 7410 in the Software without restriction, including without limitation the rights 7411 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7412 copies of the Software, and to permit persons to whom the Software is fur- 7413 nished to do so, subject to the following conditions: 7414 7415 The above copyright notice and this permission notice shall be included in 7416 all copies or substantial portions of the Software. 7417 7418 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 7419 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- 7420 NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 7421 DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 7422 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- 7423 NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 7424 7425 Except as contained in this notice, the name of Daniel Veillard shall not 7426 be used in advertising or otherwise to promote the sale, use or other deal- 7427 ings in this Software without prior written authorization from him. 7428 7429 7430 Licence for libxslt except libexslt 7431 ---------------------------------------------------------------------- 7432 Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved. 7433 7434 Permission is hereby granted, free of charge, to any person obtaining a copy 7435 of this software and associated documentation files (the "Software"), to deal 7436 in the Software without restriction, including without limitation the rights 7437 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7438 copies of the Software, and to permit persons to whom the Software is fur- 7439 nished to do so, subject to the following conditions: 7440 7441 The above copyright notice and this permission notice shall be included in 7442 all copies or substantial portions of the Software. 7443 7444 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 7445 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- 7446 NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 7447 DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 7448 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- 7449 NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 7450 7451 Except as contained in this notice, the name of Daniel Veillard shall not 7452 be used in advertising or otherwise to promote the sale, use or other deal- 7453 ings in this Software without prior written authorization from him. 7454 7455 ---------------------------------------------------------------------- 7456 7457 Licence for libexslt 7458 ---------------------------------------------------------------------- 7459 Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard. 7460 All Rights Reserved. 7461 7462 Permission is hereby granted, free of charge, to any person obtaining a copy 7463 of this software and associated documentation files (the "Software"), to deal 7464 in the Software without restriction, including without limitation the rights 7465 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7466 copies of the Software, and to permit persons to whom the Software is fur- 7467 nished to do so, subject to the following conditions: 7468 7469 The above copyright notice and this permission notice shall be included in 7470 all copies or substantial portions of the Software. 7471 7472 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 7473 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- 7474 NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 7475 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 7476 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- 7477 NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 7478 7479 Except as contained in this notice, the name of the authors shall not 7480 be used in advertising or otherwise to promote the sale, use or other deal- 7481 ings in this Software without prior written authorization from him. 7482 ---------------------------------------------------------------------- 7483 7484 Copyright 2011 The LibYuv Project Authors. All rights reserved. 7485 7486 Redistribution and use in source and binary forms, with or without 7487 modification, are permitted provided that the following conditions are 7488 met: 7489 7490 * Redistributions of source code must retain the above copyright 7491 notice, this list of conditions and the following disclaimer. 7492 7493 * Redistributions in binary form must reproduce the above copyright 7494 notice, this list of conditions and the following disclaimer in 7495 the documentation and/or other materials provided with the 7496 distribution. 7497 7498 * Neither the name of Google nor the names of its contributors may 7499 be used to endorse or promote products derived from this software 7500 without specific prior written permission. 7501 7502 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 7503 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 7504 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 7505 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 7506 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 7507 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 7508 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 7509 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 7510 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 7511 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 7512 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7513 7514 LZMA SDK is placed in the public domain. 7515 7516 Copyright (c) 2003-2012 Jonathan 'Wolf' Rentzsch: http://rentzsch.com 7517 Some rights reserved: http://opensource.org/licenses/mit 7518 7519 mach_override includes a copy of libudis86, licensed as follows: 7520 7521 Copyright (c) 2002-2009 Vivek Thampi 7522 All rights reserved. 7523 7524 Redistribution and use in source and binary forms, with or without modification, 7525 are permitted provided that the following conditions are met: 7526 7527 * Redistributions of source code must retain the above copyright notice, 7528 this list of conditions and the following disclaimer. 7529 * Redistributions in binary form must reproduce the above copyright notice, 7530 this list of conditions and the following disclaimer in the documentation 7531 and/or other materials provided with the distribution. 7532 7533 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 7534 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 7535 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 7536 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 7537 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 7538 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 7539 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 7540 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 7541 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 7542 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7543 7544 Copyright 2007, 2008 The Python Markdown Project (v. 1.7 and later) 7545 Copyright 2004, 2005, 2006 Yuri Takhteyev (v. 0.2-1.6b) 7546 Copyright 2004 Manfred Stienstra (the original version) 7547 7548 All rights reserved. 7549 7550 Redistribution and use in source and binary forms, with or without 7551 modification, are permitted provided that the following conditions are met: 7552 7553 * Redistributions of source code must retain the above copyright 7554 notice, this list of conditions and the following disclaimer. 7555 * Redistributions in binary form must reproduce the above copyright 7556 notice, this list of conditions and the following disclaimer in the 7557 documentation and/or other materials provided with the distribution. 7558 * Neither the name of the <organization> nor the 7559 names of its contributors may be used to endorse or promote products 7560 derived from this software without specific prior written permission. 7561 7562 THIS SOFTWARE IS PROVIDED BY THE PYTHON MARKDOWN PROJECT ''AS IS'' AND ANY 7563 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 7564 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 7565 DISCLAIMED. IN NO EVENT SHALL ANY CONTRIBUTORS TO THE PYTHON MARKDOWN PROJECT 7566 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 7567 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 7568 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 7569 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 7570 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 7571 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 7572 POSSIBILITY OF SUCH DAMAGE. 7573 7574 7575 The default Mesa license is as follows: 7576 7577 Copyright (C) 1999-2007 Brian Paul All Rights Reserved. 7578 7579 Permission is hereby granted, free of charge, to any person obtaining a 7580 copy of this software and associated documentation files (the "Software"), 7581 to deal in the Software without restriction, including without limitation 7582 the rights to use, copy, modify, merge, publish, distribute, sublicense, 7583 and/or sell copies of the Software, and to permit persons to whom the 7584 Software is furnished to do so, subject to the following conditions: 7585 7586 The above copyright notice and this permission notice shall be included 7587 in all copies or substantial portions of the Software. 7588 7589 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 7590 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 7591 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 7592 BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 7593 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 7594 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 7595 7596 7597 7598 Some parts of Mesa are copyrighted under the GNU LGPL. See the 7599 Mesa/docs/COPYRIGHT file for details. 7600 7601 The following is the standard GNU copyright file. 7602 ---------------------------------------------------------------------- 7603 7604 7605 GNU LIBRARY GENERAL PUBLIC LICENSE 7606 Version 2, June 1991 7607 7608 Copyright (C) 1991 Free Software Foundation, Inc. 7609 675 Mass Ave, Cambridge, MA 02139, USA 7610 Everyone is permitted to copy and distribute verbatim copies 7611 of this license document, but changing it is not allowed. 7612 7613 [This is the first released version of the library GPL. It is 7614 numbered 2 because it goes with version 2 of the ordinary GPL.] 7615 7616 Preamble 7617 7618 The licenses for most software are designed to take away your 7619 freedom to share and change it. By contrast, the GNU General Public 7620 Licenses are intended to guarantee your freedom to share and change 7621 free software--to make sure the software is free for all its users. 7622 7623 This license, the Library General Public License, applies to some 7624 specially designated Free Software Foundation software, and to any 7625 other libraries whose authors decide to use it. You can use it for 7626 your libraries, too. 7627 7628 When we speak of free software, we are referring to freedom, not 7629 price. Our General Public Licenses are designed to make sure that you 7630 have the freedom to distribute copies of free software (and charge for 7631 this service if you wish), that you receive source code or can get it 7632 if you want it, that you can change the software or use pieces of it 7633 in new free programs; and that you know you can do these things. 7634 7635 To protect your rights, we need to make restrictions that forbid 7636 anyone to deny you these rights or to ask you to surrender the rights. 7637 These restrictions translate to certain responsibilities for you if 7638 you distribute copies of the library, or if you modify it. 7639 7640 For example, if you distribute copies of the library, whether gratis 7641 or for a fee, you must give the recipients all the rights that we gave 7642 you. You must make sure that they, too, receive or can get the source 7643 code. If you link a program with the library, you must provide 7644 complete object files to the recipients so that they can relink them 7645 with the library, after making changes to the library and recompiling 7646 it. And you must show them these terms so they know their rights. 7647 7648 Our method of protecting your rights has two steps: (1) copyright 7649 the library, and (2) offer you this license which gives you legal 7650 permission to copy, distribute and/or modify the library. 7651 7652 Also, for each distributor's protection, we want to make certain 7653 that everyone understands that there is no warranty for this free 7654 library. If the library is modified by someone else and passed on, we 7655 want its recipients to know that what they have is not the original 7656 version, so that any problems introduced by others will not reflect on 7657 the original authors' reputations. 7658 7660 Finally, any free program is threatened constantly by software 7661 patents. We wish to avoid the danger that companies distributing free 7662 software will individually obtain patent licenses, thus in effect 7663 transforming the program into proprietary software. To prevent this, 7664 we have made it clear that any patent must be licensed for everyone's 7665 free use or not licensed at all. 7666 7667 Most GNU software, including some libraries, is covered by the ordinary 7668 GNU General Public License, which was designed for utility programs. This 7669 license, the GNU Library General Public License, applies to certain 7670 designated libraries. This license is quite different from the ordinary 7671 one; be sure to read it in full, and don't assume that anything in it is 7672 the same as in the ordinary license. 7673 7674 The reason we have a separate public license for some libraries is that 7675 they blur the distinction we usually make between modifying or adding to a 7676 program and simply using it. Linking a program with a library, without 7677 changing the library, is in some sense simply using the library, and is 7678 analogous to running a utility program or application program. However, in 7679 a textual and legal sense, the linked executable is a combined work, a 7680 derivative of the original library, and the ordinary General Public License 7681 treats it as such. 7682 7683 Because of this blurred distinction, using the ordinary General 7684 Public License for libraries did not effectively promote software 7685 sharing, because most developers did not use the libraries. We 7686 concluded that weaker conditions might promote sharing better. 7687 7688 However, unrestricted linking of non-free programs would deprive the 7689 users of those programs of all benefit from the free status of the 7690 libraries themselves. This Library General Public License is intended to 7691 permit developers of non-free programs to use free libraries, while 7692 preserving your freedom as a user of such programs to change the free 7693 libraries that are incorporated in them. (We have not seen how to achieve 7694 this as regards changes in header files, but we have achieved it as regards 7695 changes in the actual functions of the Library.) The hope is that this 7696 will lead to faster development of free libraries. 7697 7698 The precise terms and conditions for copying, distribution and 7699 modification follow. Pay close attention to the difference between a 7700 "work based on the library" and a "work that uses the library". The 7701 former contains code derived from the library, while the latter only 7702 works together with the library. 7703 7704 Note that it is possible for a library to be covered by the ordinary 7705 General Public License rather than by this special one. 7706 7708 GNU LIBRARY GENERAL PUBLIC LICENSE 7709 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 7710 7711 0. This License Agreement applies to any software library which 7712 contains a notice placed by the copyright holder or other authorized 7713 party saying it may be distributed under the terms of this Library 7714 General Public License (also called "this License"). Each licensee is 7715 addressed as "you". 7716 7717 A "library" means a collection of software functions and/or data 7718 prepared so as to be conveniently linked with application programs 7719 (which use some of those functions and data) to form executables. 7720 7721 The "Library", below, refers to any such software library or work 7722 which has been distributed under these terms. A "work based on the 7723 Library" means either the Library or any derivative work under 7724 copyright law: that is to say, a work containing the Library or a 7725 portion of it, either verbatim or with modifications and/or translated 7726 straightforwardly into another language. (Hereinafter, translation is 7727 included without limitation in the term "modification".) 7728 7729 "Source code" for a work means the preferred form of the work for 7730 making modifications to it. For a library, complete source code means 7731 all the source code for all modules it contains, plus any associated 7732 interface definition files, plus the scripts used to control compilation 7733 and installation of the library. 7734 7735 Activities other than copying, distribution and modification are not 7736 covered by this License; they are outside its scope. The act of 7737 running a program using the Library is not restricted, and output from 7738 such a program is covered only if its contents constitute a work based 7739 on the Library (independent of the use of the Library in a tool for 7740 writing it). Whether that is true depends on what the Library does 7741 and what the program that uses the Library does. 7742 7743 1. You may copy and distribute verbatim copies of the Library's 7744 complete source code as you receive it, in any medium, provided that 7745 you conspicuously and appropriately publish on each copy an 7746 appropriate copyright notice and disclaimer of warranty; keep intact 7747 all the notices that refer to this License and to the absence of any 7748 warranty; and distribute a copy of this License along with the 7749 Library. 7750 7751 You may charge a fee for the physical act of transferring a copy, 7752 and you may at your option offer warranty protection in exchange for a 7753 fee. 7754 7756 2. You may modify your copy or copies of the Library or any portion 7757 of it, thus forming a work based on the Library, and copy and 7758 distribute such modifications or work under the terms of Section 1 7759 above, provided that you also meet all of these conditions: 7760 7761 a) The modified work must itself be a software library. 7762 7763 b) You must cause the files modified to carry prominent notices 7764 stating that you changed the files and the date of any change. 7765 7766 c) You must cause the whole of the work to be licensed at no 7767 charge to all third parties under the terms of this License. 7768 7769 d) If a facility in the modified Library refers to a function or a 7770 table of data to be supplied by an application program that uses 7771 the facility, other than as an argument passed when the facility 7772 is invoked, then you must make a good faith effort to ensure that, 7773 in the event an application does not supply such function or 7774 table, the facility still operates, and performs whatever part of 7775 its purpose remains meaningful. 7776 7777 (For example, a function in a library to compute square roots has 7778 a purpose that is entirely well-defined independent of the 7779 application. Therefore, Subsection 2d requires that any 7780 application-supplied function or table used by this function must 7781 be optional: if the application does not supply it, the square 7782 root function must still compute square roots.) 7783 7784 These requirements apply to the modified work as a whole. If 7785 identifiable sections of that work are not derived from the Library, 7786 and can be reasonably considered independent and separate works in 7787 themselves, then this License, and its terms, do not apply to those 7788 sections when you distribute them as separate works. But when you 7789 distribute the same sections as part of a whole which is a work based 7790 on the Library, the distribution of the whole must be on the terms of 7791 this License, whose permissions for other licensees extend to the 7792 entire whole, and thus to each and every part regardless of who wrote 7793 it. 7794 7795 Thus, it is not the intent of this section to claim rights or contest 7796 your rights to work written entirely by you; rather, the intent is to 7797 exercise the right to control the distribution of derivative or 7798 collective works based on the Library. 7799 7800 In addition, mere aggregation of another work not based on the Library 7801 with the Library (or with a work based on the Library) on a volume of 7802 a storage or distribution medium does not bring the other work under 7803 the scope of this License. 7804 7805 3. You may opt to apply the terms of the ordinary GNU General Public 7806 License instead of this License to a given copy of the Library. To do 7807 this, you must alter all the notices that refer to this License, so 7808 that they refer to the ordinary GNU General Public License, version 2, 7809 instead of to this License. (If a newer version than version 2 of the 7810 ordinary GNU General Public License has appeared, then you can specify 7811 that version instead if you wish.) Do not make any other change in 7812 these notices. 7813 7815 Once this change is made in a given copy, it is irreversible for 7816 that copy, so the ordinary GNU General Public License applies to all 7817 subsequent copies and derivative works made from that copy. 7818 7819 This option is useful when you wish to copy part of the code of 7820 the Library into a program that is not a library. 7821 7822 4. You may copy and distribute the Library (or a portion or 7823 derivative of it, under Section 2) in object code or executable form 7824 under the terms of Sections 1 and 2 above provided that you accompany 7825 it with the complete corresponding machine-readable source code, which 7826 must be distributed under the terms of Sections 1 and 2 above on a 7827 medium customarily used for software interchange. 7828 7829 If distribution of object code is made by offering access to copy 7830 from a designated place, then offering equivalent access to copy the 7831 source code from the same place satisfies the requirement to 7832 distribute the source code, even though third parties are not 7833 compelled to copy the source along with the object code. 7834 7835 5. A program that contains no derivative of any portion of the 7836 Library, but is designed to work with the Library by being compiled or 7837 linked with it, is called a "work that uses the Library". Such a 7838 work, in isolation, is not a derivative work of the Library, and 7839 therefore falls outside the scope of this License. 7840 7841 However, linking a "work that uses the Library" with the Library 7842 creates an executable that is a derivative of the Library (because it 7843 contains portions of the Library), rather than a "work that uses the 7844 library". The executable is therefore covered by this License. 7845 Section 6 states terms for distribution of such executables. 7846 7847 When a "work that uses the Library" uses material from a header file 7848 that is part of the Library, the object code for the work may be a 7849 derivative work of the Library even though the source code is not. 7850 Whether this is true is especially significant if the work can be 7851 linked without the Library, or if the work is itself a library. The 7852 threshold for this to be true is not precisely defined by law. 7853 7854 If such an object file uses only numerical parameters, data 7855 structure layouts and accessors, and small macros and small inline 7856 functions (ten lines or less in length), then the use of the object 7857 file is unrestricted, regardless of whether it is legally a derivative 7858 work. (Executables containing this object code plus portions of the 7859 Library will still fall under Section 6.) 7860 7861 Otherwise, if the work is a derivative of the Library, you may 7862 distribute the object code for the work under the terms of Section 6. 7863 Any executables containing that work also fall under Section 6, 7864 whether or not they are linked directly with the Library itself. 7865 7867 6. As an exception to the Sections above, you may also compile or 7868 link a "work that uses the Library" with the Library to produce a 7869 work containing portions of the Library, and distribute that work 7870 under terms of your choice, provided that the terms permit 7871 modification of the work for the customer's own use and reverse 7872 engineering for debugging such modifications. 7873 7874 You must give prominent notice with each copy of the work that the 7875 Library is used in it and that the Library and its use are covered by 7876 this License. You must supply a copy of this License. If the work 7877 during execution displays copyright notices, you must include the 7878 copyright notice for the Library among them, as well as a reference 7879 directing the user to the copy of this License. Also, you must do one 7880 of these things: 7881 7882 a) Accompany the work with the complete corresponding 7883 machine-readable source code for the Library including whatever 7884 changes were used in the work (which must be distributed under 7885 Sections 1 and 2 above); and, if the work is an executable linked 7886 with the Library, with the complete machine-readable "work that 7887 uses the Library", as object code and/or source code, so that the 7888 user can modify the Library and then relink to produce a modified 7889 executable containing the modified Library. (It is understood 7890 that the user who changes the contents of definitions files in the 7891 Library will not necessarily be able to recompile the application 7892 to use the modified definitions.) 7893 7894 b) Accompany the work with a written offer, valid for at 7895 least three years, to give the same user the materials 7896 specified in Subsection 6a, above, for a charge no more 7897 than the cost of performing this distribution. 7898 7899 c) If distribution of the work is made by offering access to copy 7900 from a designated place, offer equivalent access to copy the above 7901 specified materials from the same place. 7902 7903 d) Verify that the user has already received a copy of these 7904 materials or that you have already sent this user a copy. 7905 7906 For an executable, the required form of the "work that uses the 7907 Library" must include any data and utility programs needed for 7908 reproducing the executable from it. However, as a special exception, 7909 the source code distributed need not include anything that is normally 7910 distributed (in either source or binary form) with the major 7911 components (compiler, kernel, and so on) of the operating system on 7912 which the executable runs, unless that component itself accompanies 7913 the executable. 7914 7915 It may happen that this requirement contradicts the license 7916 restrictions of other proprietary libraries that do not normally 7917 accompany the operating system. Such a contradiction means you cannot 7918 use both them and the Library together in an executable that you 7919 distribute. 7920 7922 7. You may place library facilities that are a work based on the 7923 Library side-by-side in a single library together with other library 7924 facilities not covered by this License, and distribute such a combined 7925 library, provided that the separate distribution of the work based on 7926 the Library and of the other library facilities is otherwise 7927 permitted, and provided that you do these two things: 7928 7929 a) Accompany the combined library with a copy of the same work 7930 based on the Library, uncombined with any other library 7931 facilities. This must be distributed under the terms of the 7932 Sections above. 7933 7934 b) Give prominent notice with the combined library of the fact 7935 that part of it is a work based on the Library, and explaining 7936 where to find the accompanying uncombined form of the same work. 7937 7938 8. You may not copy, modify, sublicense, link with, or distribute 7939 the Library except as expressly provided under this License. Any 7940 attempt otherwise to copy, modify, sublicense, link with, or 7941 distribute the Library is void, and will automatically terminate your 7942 rights under this License. However, parties who have received copies, 7943 or rights, from you under this License will not have their licenses 7944 terminated so long as such parties remain in full compliance. 7945 7946 9. You are not required to accept this License, since you have not 7947 signed it. However, nothing else grants you permission to modify or 7948 distribute the Library or its derivative works. These actions are 7949 prohibited by law if you do not accept this License. Therefore, by 7950 modifying or distributing the Library (or any work based on the 7951 Library), you indicate your acceptance of this License to do so, and 7952 all its terms and conditions for copying, distributing or modifying 7953 the Library or works based on it. 7954 7955 10. Each time you redistribute the Library (or any work based on the 7956 Library), the recipient automatically receives a license from the 7957 original licensor to copy, distribute, link with or modify the Library 7958 subject to these terms and conditions. You may not impose any further 7959 restrictions on the recipients' exercise of the rights granted herein. 7960 You are not responsible for enforcing compliance by third parties to 7961 this License. 7962 7964 11. If, as a consequence of a court judgment or allegation of patent 7965 infringement or for any other reason (not limited to patent issues), 7966 conditions are imposed on you (whether by court order, agreement or 7967 otherwise) that contradict the conditions of this License, they do not 7968 excuse you from the conditions of this License. If you cannot 7969 distribute so as to satisfy simultaneously your obligations under this 7970 License and any other pertinent obligations, then as a consequence you 7971 may not distribute the Library at all. For example, if a patent 7972 license would not permit royalty-free redistribution of the Library by 7973 all those who receive copies directly or indirectly through you, then 7974 the only way you could satisfy both it and this License would be to 7975 refrain entirely from distribution of the Library. 7976 7977 If any portion of this section is held invalid or unenforceable under any 7978 particular circumstance, the balance of the section is intended to apply, 7979 and the section as a whole is intended to apply in other circumstances. 7980 7981 It is not the purpose of this section to induce you to infringe any 7982 patents or other property right claims or to contest validity of any 7983 such claims; this section has the sole purpose of protecting the 7984 integrity of the free software distribution system which is 7985 implemented by public license practices. Many people have made 7986 generous contributions to the wide range of software distributed 7987 through that system in reliance on consistent application of that 7988 system; it is up to the author/donor to decide if he or she is willing 7989 to distribute software through any other system and a licensee cannot 7990 impose that choice. 7991 7992 This section is intended to make thoroughly clear what is believed to 7993 be a consequence of the rest of this License. 7994 7995 12. If the distribution and/or use of the Library is restricted in 7996 certain countries either by patents or by copyrighted interfaces, the 7997 original copyright holder who places the Library under this License may add 7998 an explicit geographical distribution limitation excluding those countries, 7999 so that distribution is permitted only in or among countries not thus 8000 excluded. In such case, this License incorporates the limitation as if 8001 written in the body of this License. 8002 8003 13. The Free Software Foundation may publish revised and/or new 8004 versions of the Library General Public License from time to time. 8005 Such new versions will be similar in spirit to the present version, 8006 but may differ in detail to address new problems or concerns. 8007 8008 Each version is given a distinguishing version number. If the Library 8009 specifies a version number of this License which applies to it and 8010 "any later version", you have the option of following the terms and 8011 conditions either of that version or of any later version published by 8012 the Free Software Foundation. If the Library does not specify a 8013 license version number, you may choose any version ever published by 8014 the Free Software Foundation. 8015 8017 14. If you wish to incorporate parts of the Library into other free 8018 programs whose distribution conditions are incompatible with these, 8019 write to the author to ask for permission. For software which is 8020 copyrighted by the Free Software Foundation, write to the Free 8021 Software Foundation; we sometimes make exceptions for this. Our 8022 decision will be guided by the two goals of preserving the free status 8023 of all derivatives of our free software and of promoting the sharing 8024 and reuse of software generally. 8025 8026 NO WARRANTY 8027 8028 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 8029 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 8030 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 8031 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 8032 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 8033 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 8034 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 8035 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 8036 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 8037 8038 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 8039 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 8040 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 8041 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 8042 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 8043 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 8044 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 8045 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 8046 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 8047 DAMAGES. 8048 8049 END OF TERMS AND CONDITIONS 8050 8052 Appendix: How to Apply These Terms to Your New Libraries 8053 8054 If you develop a new library, and you want it to be of the greatest 8055 possible use to the public, we recommend making it free software that 8056 everyone can redistribute and change. You can do so by permitting 8057 redistribution under these terms (or, alternatively, under the terms of the 8058 ordinary General Public License). 8059 8060 To apply these terms, attach the following notices to the library. It is 8061 safest to attach them to the start of each source file to most effectively 8062 convey the exclusion of warranty; and each file should have at least the 8063 "copyright" line and a pointer to where the full notice is found. 8064 8065 <one line to give the library's name and a brief idea of what it does.> 8066 Copyright (C) <year> <name of author> 8067 8068 This library is free software; you can redistribute it and/or 8069 modify it under the terms of the GNU Library General Public 8070 License as published by the Free Software Foundation; either 8071 version 2 of the License, or (at your option) any later version. 8072 8073 This library is distributed in the hope that it will be useful, 8074 but WITHOUT ANY WARRANTY; without even the implied warranty of 8075 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 8076 Library General Public License for more details. 8077 8078 You should have received a copy of the GNU Library General Public 8079 License along with this library; if not, write to the Free 8080 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 8081 8082 Also add information on how to contact you by electronic and paper mail. 8083 8084 You should also get your employer (if you work as a programmer) or your 8085 school, if any, to sign a "copyright disclaimer" for the library, if 8086 necessary. Here is a sample; alter the names: 8087 8088 Yoyodyne, Inc., hereby disclaims all copyright interest in the 8089 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 8090 8091 <signature of Ty Coon>, 1 April 1990 8092 Ty Coon, President of Vice 8093 8094 That's all there is to it! 8095 8096 8097 * MODP_B64 - High performance base64 encoder/decoder 8098 * Version 1.3 -- 17-Mar-2006 8099 * http://modp.com/release/base64 8100 * 8101 * Copyright (c) 2005, 2006 Nick Galbreath -- nickg [at] modp [dot] com 8102 * All rights reserved. 8103 * 8104 * Redistribution and use in source and binary forms, with or without 8105 * modification, are permitted provided that the following conditions are 8106 * met: 8107 * 8108 * Redistributions of source code must retain the above copyright 8109 * notice, this list of conditions and the following disclaimer. 8110 * 8111 * Redistributions in binary form must reproduce the above copyright 8112 * notice, this list of conditions and the following disclaimer in the 8113 * documentation and/or other materials provided with the distribution. 8114 * 8115 * Neither the name of the modp.com nor the names of its 8116 * contributors may be used to endorse or promote products derived from 8117 * this software without specific prior written permission. 8118 * 8119 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8120 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8121 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8122 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8123 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8124 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8125 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8126 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8127 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8128 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8129 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8130 8131 Copyright 2008 MolokoCacao 8132 All rights reserved 8133 8134 Redistribution and use in source and binary forms, with or without 8135 modification, are permitted providing that the following conditions 8136 are met: 8137 1. Redistributions of source code must retain the above copyright 8138 notice, this list of conditions and the following disclaimer. 8139 2. Redistributions in binary form must reproduce the above copyright 8140 notice, this list of conditions and the following disclaimer in the 8141 documentation and/or other materials provided with the distribution. 8142 8143 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 8144 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 8145 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 8146 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 8147 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 8148 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 8149 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8150 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 8151 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 8152 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 8153 POSSIBILITY OF SUCH DAMAGE. 8154 8155 Copyright 2010-2011, Google Inc. 8156 All rights reserved. 8157 8158 Redistribution and use in source and binary forms, with or without 8159 modification, are permitted provided that the following conditions are 8160 met: 8161 8162 * Redistributions of source code must retain the above copyright 8163 notice, this list of conditions and the following disclaimer. 8164 * Redistributions in binary form must reproduce the above 8165 copyright notice, this list of conditions and the following disclaimer 8166 in the documentation and/or other materials provided with the 8167 distribution. 8168 * Neither the name of Google Inc. nor the names of its 8169 contributors may be used to endorse or promote products derived from 8170 this software without specific prior written permission. 8171 8172 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8173 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8174 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8175 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8176 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8177 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8178 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8179 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8180 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8181 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8182 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8183 8184 8185 /* ***** BEGIN LICENSE BLOCK ***** 8186 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 8187 * 8188 * The contents of this file are subject to the Mozilla Public License Version 8189 * 1.1 (the "License"); you may not use this file except in compliance with 8190 * the License. You may obtain a copy of the License at 8191 * http://www.mozilla.org/MPL/ 8192 * 8193 * Software distributed under the License is distributed on an "AS IS" basis, 8194 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 8195 * for the specific language governing rights and limitations under the 8196 * License. 8197 * 8198 * The Original Code is mozilla.org code. 8199 * 8200 * The Initial Developer of the Original Code is 8201 * Netscape Communications Corporation. 8202 * Portions created by the Initial Developer are Copyright (C) 2002 8203 * the Initial Developer. All Rights Reserved. 8204 * 8205 * Contributor(s): 8206 * 8207 * Alternatively, the contents of this file may be used under the terms of 8208 * either the GNU General Public License Version 2 or later (the "GPL"), or 8209 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 8210 * in which case the provisions of the GPL or the LGPL are applicable instead 8211 * of those above. If you wish to allow use of your version of this file only 8212 * under the terms of either the GPL or the LGPL, and not to allow others to 8213 * use your version of this file under the terms of the MPL, indicate your 8214 * decision by deleting the provisions above and replace them with the notice 8215 * and other provisions required by the GPL or the LGPL. If you do not delete 8216 * the provisions above, a recipient may use your version of this file under 8217 * the terms of any one of the MPL, the GPL or the LGPL. 8218 * 8219 * ***** END LICENSE BLOCK ***** */ 8220 8221 A C-program for MT19937, with initialization improved 2002/1/26. 8222 Coded by Takuji Nishimura and Makoto Matsumoto. 8223 8224 Before using, initialize the state by using init_genrand(seed) 8225 or init_by_array(init_key, key_length). 8226 8227 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, 8228 All rights reserved. 8229 8230 Redistribution and use in source and binary forms, with or without 8231 modification, are permitted provided that the following conditions 8232 are met: 8233 8234 1. Redistributions of source code must retain the above copyright 8235 notice, this list of conditions and the following disclaimer. 8236 8237 2. Redistributions in binary form must reproduce the above copyright 8238 notice, this list of conditions and the following disclaimer in the 8239 documentation and/or other materials provided with the distribution. 8240 8241 3. The names of its contributors may not be used to endorse or promote 8242 products derived from this software without specific prior written 8243 permission. 8244 8245 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8246 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8247 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8248 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 8249 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 8250 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 8251 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 8252 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 8253 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 8254 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 8255 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8256 8257 Version: MPL 1.1/GPL 2.0/LGPL 2.1 8258 8259 The contents of this file are subject to the Mozilla Public License Version 8260 1.1 (the "License"); you may not use this file except in compliance with 8261 the License. You may obtain a copy of the License at 8262 http://www.mozilla.org/MPL/ 8263 8264 Software distributed under the License is distributed on an "AS IS" basis, 8265 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 8266 for the specific language governing rights and limitations under the 8267 License. 8268 8269 The Original Code is mozilla.org code. 8270 8271 The Initial Developer of the Original Code is 8272 Netscape Communications Corporation. 8273 Portions created by the Initial Developer are Copyright (C) 1998 8274 the Initial Developer. All Rights Reserved. 8275 8276 Contributor(s): 8277 8278 Alternatively, the contents of this file may be used under the terms of 8279 either the GNU General Public License Version 2 or later (the "GPL"), or 8280 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 8281 in which case the provisions of the GPL or the LGPL are applicable instead 8282 of those above. If you wish to allow use of your version of this file only 8283 under the terms of either the GPL or the LGPL, and not to allow others to 8284 use your version of this file under the terms of the MPL, indicate your 8285 decision by deleting the provisions above and replace them with the notice 8286 and other provisions required by the GPL or the LGPL. If you do not delete 8287 the provisions above, a recipient may use your version of this file under 8288 the terms of any one of the MPL, the GPL or the LGPL. 8289 8290 8291 Copyright (c) 2004-2012 by Mulle Kybernetik. All rights reserved. 8292 8293 Permission to use, copy, modify and distribute this software and its documentation 8294 is hereby granted, provided that both the copyright notice and this permission 8295 notice appear in all copies of the software, derivative works or modified versions, 8296 and any portions thereof, and that both notices appear in supporting documentation, 8297 and that credit is given to Mulle Kybernetik in all documents and publicity 8298 pertaining to direct or indirect use of this code or its derivatives. 8299 8300 THIS IS EXPERIMENTAL SOFTWARE AND IT IS KNOWN TO HAVE BUGS, SOME OF WHICH MAY HAVE 8301 SERIOUS CONSEQUENCES. THE COPYRIGHT HOLDER ALLOWS FREE USE OF THIS SOFTWARE IN ITS 8302 "AS IS" CONDITION. THE COPYRIGHT HOLDER DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY 8303 DAMAGES WHATSOEVER RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE 8304 OR OF ANY DERIVATIVE WORK. 8305 Use of this source code is governed by a BSD-style license that can be 8306 found in the LICENSE file in the root of the source tree. All 8307 contributing project authors may be found in the AUTHORS file in the 8308 root of the source tree. 8309 8310 The files were originally licensed by ARM Limited. 8311 8312 The following files: 8313 8314 * dl/api/omxtypes.h 8315 * dl/sp/api/omxSP.h 8316 8317 are licensed by Khronos: 8318 8319 Copyright 2005-2008 The Khronos Group Inc. All Rights Reserved. 8320 8321 These materials are protected by copyright laws and contain material 8322 proprietary to the Khronos Group, Inc. You may use these materials 8323 for implementing Khronos specifications, without altering or removing 8324 any trademark, copyright or other notice from the specification. 8325 8326 Khronos Group makes no, and expressly disclaims any, representations 8327 or warranties, express or implied, regarding these materials, including, 8328 without limitation, any implied warranties of merchantability or fitness 8329 for a particular purpose or non-infringement of any intellectual property. 8330 Khronos Group makes no, and expressly disclaims any, warranties, express 8331 or implied, regarding the correctness, accuracy, completeness, timeliness, 8332 and reliability of these materials. 8333 8334 Under no circumstances will the Khronos Group, or any of its Promoters, 8335 Contributors or Members or their respective partners, officers, directors, 8336 employees, agents or representatives be liable for any damages, whether 8337 direct, indirect, special or consequential damages for lost revenues, 8338 lost profits, or otherwise, arising from or in connection with these 8339 materials. 8340 8341 Khronos and OpenMAX are trademarks of the Khronos Group Inc. 8342 8343 8344 LICENSE ISSUES 8345 ============== 8346 8347 The OpenSSL toolkit stays under a dual license, i.e. both the conditions of 8348 the OpenSSL License and the original SSLeay license apply to the toolkit. 8349 See below for the actual license texts. Actually both licenses are BSD-style 8350 Open Source licenses. In case of any license issues related to OpenSSL 8351 please contact openssl-core (a] openssl.org. 8352 8353 OpenSSL License 8354 --------------- 8355 8356 /* ==================================================================== 8357 * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved. 8358 * 8359 * Redistribution and use in source and binary forms, with or without 8360 * modification, are permitted provided that the following conditions 8361 * are met: 8362 * 8363 * 1. Redistributions of source code must retain the above copyright 8364 * notice, this list of conditions and the following disclaimer. 8365 * 8366 * 2. Redistributions in binary form must reproduce the above copyright 8367 * notice, this list of conditions and the following disclaimer in 8368 * the documentation and/or other materials provided with the 8369 * distribution. 8370 * 8371 * 3. All advertising materials mentioning features or use of this 8372 * software must display the following acknowledgment: 8373 * "This product includes software developed by the OpenSSL Project 8374 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 8375 * 8376 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to 8377 * endorse or promote products derived from this software without 8378 * prior written permission. For written permission, please contact 8379 * openssl-core (a] openssl.org. 8380 * 8381 * 5. Products derived from this software may not be called "OpenSSL" 8382 * nor may "OpenSSL" appear in their names without prior written 8383 * permission of the OpenSSL Project. 8384 * 8385 * 6. Redistributions of any form whatsoever must retain the following 8386 * acknowledgment: 8387 * "This product includes software developed by the OpenSSL Project 8388 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 8389 * 8390 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY 8391 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 8392 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 8393 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 8394 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8395 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 8396 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 8397 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8398 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 8399 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 8400 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 8401 * OF THE POSSIBILITY OF SUCH DAMAGE. 8402 * ==================================================================== 8403 * 8404 * This product includes cryptographic software written by Eric Young 8405 * (eay (a] cryptsoft.com). This product includes software written by Tim 8406 * Hudson (tjh (a] cryptsoft.com). 8407 * 8408 */ 8409 8410 Original SSLeay License 8411 ----------------------- 8412 8413 /* Copyright (C) 1995-1998 Eric Young (eay (a] cryptsoft.com) 8414 * All rights reserved. 8415 * 8416 * This package is an SSL implementation written 8417 * by Eric Young (eay (a] cryptsoft.com). 8418 * The implementation was written so as to conform with Netscapes SSL. 8419 * 8420 * This library is free for commercial and non-commercial use as long as 8421 * the following conditions are aheared to. The following conditions 8422 * apply to all code found in this distribution, be it the RC4, RSA, 8423 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 8424 * included with this distribution is covered by the same copyright terms 8425 * except that the holder is Tim Hudson (tjh (a] cryptsoft.com). 8426 * 8427 * Copyright remains Eric Young's, and as such any Copyright notices in 8428 * the code are not to be removed. 8429 * If this package is used in a product, Eric Young should be given attribution 8430 * as the author of the parts of the library used. 8431 * This can be in the form of a textual message at program startup or 8432 * in documentation (online or textual) provided with the package. 8433 * 8434 * Redistribution and use in source and binary forms, with or without 8435 * modification, are permitted provided that the following conditions 8436 * are met: 8437 * 1. Redistributions of source code must retain the copyright 8438 * notice, this list of conditions and the following disclaimer. 8439 * 2. Redistributions in binary form must reproduce the above copyright 8440 * notice, this list of conditions and the following disclaimer in the 8441 * documentation and/or other materials provided with the distribution. 8442 * 3. All advertising materials mentioning features or use of this software 8443 * must display the following acknowledgement: 8444 * "This product includes cryptographic software written by 8445 * Eric Young (eay (a] cryptsoft.com)" 8446 * The word 'cryptographic' can be left out if the rouines from the library 8447 * being used are not cryptographic related :-). 8448 * 4. If you include any Windows specific code (or a derivative thereof) from 8449 * the apps directory (application code) you must include an acknowledgement: 8450 * "This product includes software written by Tim Hudson (tjh (a] cryptsoft.com)" 8451 * 8452 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND 8453 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 8454 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 8455 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 8456 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 8457 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 8458 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8459 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 8460 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 8461 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 8462 * SUCH DAMAGE. 8463 * 8464 * The licence and distribution terms for any publically available version or 8465 * derivative of this code cannot be changed. i.e. this code cannot simply be 8466 * copied and put under another distribution licence 8467 * [including the GNU Public Licence.] 8468 */ 8469 8470 8471 Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic, 8472 Jean-Marc Valin, Timothy B. Terriberry, 8473 CSIRO, Gregory Maxwell, Mark Borgerding, 8474 Erik de Castro Lopo 8475 8476 Redistribution and use in source and binary forms, with or without 8477 modification, are permitted provided that the following conditions 8478 are met: 8479 8480 - Redistributions of source code must retain the above copyright 8481 notice, this list of conditions and the following disclaimer. 8482 8483 - Redistributions in binary form must reproduce the above copyright 8484 notice, this list of conditions and the following disclaimer in the 8485 documentation and/or other materials provided with the distribution. 8486 8487 - Neither the name of Internet Society, IETF or IETF Trust, nor the 8488 names of specific contributors, may be used to endorse or promote 8489 products derived from this software without specific prior written 8490 permission. 8491 8492 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8493 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8494 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8495 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 8496 OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 8497 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 8498 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 8499 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 8500 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 8501 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 8502 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8503 8504 Opus is subject to the royalty-free patent licenses which are 8505 specified at: 8506 8507 Xiph.Org Foundation: 8508 https://datatracker.ietf.org/ipr/1524/ 8509 8510 Microsoft Corporation: 8511 https://datatracker.ietf.org/ipr/1914/ 8512 8513 Broadcom Corporation: 8514 https://datatracker.ietf.org/ipr/1526/ 8515 8516 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 8517 // 8518 // Redistribution and use in source and binary forms, with or without 8519 // modification, are permitted provided that the following conditions are 8520 // met: 8521 // 8522 // * Redistributions of source code must retain the above copyright 8523 // notice, this list of conditions and the following disclaimer. 8524 // * Redistributions in binary form must reproduce the above 8525 // copyright notice, this list of conditions and the following disclaimer 8526 // in the documentation and/or other materials provided with the 8527 // distribution. 8528 // * Neither the name of Google Inc. nor the names of its 8529 // contributors may be used to endorse or promote products derived from 8530 // this software without specific prior written permission. 8531 // 8532 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8533 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8534 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8535 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8536 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8537 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8538 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8539 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8540 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8541 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8542 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8543 8544 PLY (Python Lex-Yacc) Version 3.4 8545 8546 Copyright (C) 2001-2011, 8547 David M. Beazley (Dabeaz LLC) 8548 All rights reserved. 8549 8550 Redistribution and use in source and binary forms, with or without 8551 modification, are permitted provided that the following conditions are 8552 met: 8553 8554 * Redistributions of source code must retain the above copyright notice, 8555 this list of conditions and the following disclaimer. 8556 * Redistributions in binary form must reproduce the above copyright notice, 8557 this list of conditions and the following disclaimer in the documentation 8558 and/or other materials provided with the distribution. 8559 * Neither the name of the David Beazley or Dabeaz LLC may be used to 8560 endorse or promote products derived from this software without 8561 specific prior written permission. 8562 8563 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8564 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8565 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8566 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8567 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8568 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8569 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8570 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8571 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8572 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8573 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8574 // Copyright (c) 2012 The Polymer Authors. All rights reserved. 8575 // 8576 // Redistribution and use in source and binary forms, with or without 8577 // modification, are permitted provided that the following conditions are 8578 // met: 8579 // 8580 // * Redistributions of source code must retain the above copyright 8581 // notice, this list of conditions and the following disclaimer. 8582 // * Redistributions in binary form must reproduce the above 8583 // copyright notice, this list of conditions and the following disclaimer 8584 // in the documentation and/or other materials provided with the 8585 // distribution. 8586 // * Neither the name of Google Inc. nor the names of its 8587 // contributors may be used to endorse or promote products derived from 8588 // this software without specific prior written permission. 8589 // 8590 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8591 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8592 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8593 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8594 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8595 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8596 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8597 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8598 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8599 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8600 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8601 8602 Copyright (c) 2014, Intel Corporation 8603 All rights reserved. 8604 8605 Redistribution and use in source and binary forms, with or without 8606 modification, are permitted provided that the following conditions are 8607 met: 8608 8609 * Redistributions of source code must retain the above copyright 8610 notice, this list of conditions and the following disclaimer. 8611 * Redistributions in binary form must reproduce the above 8612 copyright notice, this list of conditions and the following disclaimer 8613 in the documentation and/or other materials provided with the 8614 distribution. 8615 * Neither the name of Intel Corporation nor the names of its 8616 contributors may be used to endorse or promote products derived from 8617 this software without specific prior written permission. 8618 8619 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8620 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8621 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8622 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8623 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8624 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8625 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8626 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8627 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8628 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8629 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8630 Copyright 2008, Google Inc. 8631 All rights reserved. 8632 8633 Redistribution and use in source and binary forms, with or without 8634 modification, are permitted provided that the following conditions are 8635 met: 8636 8637 * Redistributions of source code must retain the above copyright 8638 notice, this list of conditions and the following disclaimer. 8639 * Redistributions in binary form must reproduce the above 8640 copyright notice, this list of conditions and the following disclaimer 8641 in the documentation and/or other materials provided with the 8642 distribution. 8643 * Neither the name of Google Inc. nor the names of its 8644 contributors may be used to endorse or promote products derived from 8645 this software without specific prior written permission. 8646 8647 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8648 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8649 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8650 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8651 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8652 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8653 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8654 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8655 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8656 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8657 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8658 8659 Code generated by the Protocol Buffer compiler is owned by the owner 8660 of the input file used when generating it. This code is not 8661 standalone and requires a support library to be linked with it. This 8662 support library is itself covered by the above license. 8663 8664 Copyright (c) 2003-2012, Michael Foord 8665 All rights reserved. 8666 8667 Redistribution and use in source and binary forms, with or without 8668 modification, are permitted provided that the following conditions are 8669 met: 8670 8671 * Redistributions of source code must retain the above copyright 8672 notice, this list of conditions and the following disclaimer. 8673 8674 * Redistributions in binary form must reproduce the above 8675 copyright notice, this list of conditions and the following 8676 disclaimer in the documentation and/or other materials provided 8677 with the distribution. 8678 8679 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8680 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8681 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8682 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8683 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8684 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8685 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8686 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8687 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8688 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8689 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8690 8691 qcms 8692 Copyright (C) 2009 Mozilla Corporation 8693 Copyright (C) 1998-2007 Marti Maria 8694 8695 Permission is hereby granted, free of charge, to any person obtaining 8696 a copy of this software and associated documentation files (the "Software"), 8697 to deal in the Software without restriction, including without limitation 8698 the rights to use, copy, modify, merge, publish, distribute, sublicense, 8699 and/or sell copies of the Software, and to permit persons to whom the Software 8700 is furnished to do so, subject to the following conditions: 8701 8702 The above copyright notice and this permission notice shall be included in 8703 all copies or substantial portions of the Software. 8704 8705 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 8706 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO 8707 THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 8708 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 8709 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 8710 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 8711 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8712 8713 Copyright 2014 jQuery Foundation and other contributors 8714 http://jquery.com/ 8715 8716 Permission is hereby granted, free of charge, to any person obtaining 8717 a copy of this software and associated documentation files (the 8718 "Software"), to deal in the Software without restriction, including 8719 without limitation the rights to use, copy, modify, merge, publish, 8720 distribute, sublicense, and/or sell copies of the Software, and to 8721 permit persons to whom the Software is furnished to do so, subject to 8722 the following conditions: 8723 8724 The above copyright notice and this permission notice shall be 8725 included in all copies or substantial portions of the Software. 8726 8727 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 8728 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 8729 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 8730 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 8731 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 8732 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 8733 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8734 // Copyright (c) 2009 The RE2 Authors. All rights reserved. 8735 // 8736 // Redistribution and use in source and binary forms, with or without 8737 // modification, are permitted provided that the following conditions are 8738 // met: 8739 // 8740 // * Redistributions of source code must retain the above copyright 8741 // notice, this list of conditions and the following disclaimer. 8742 // * Redistributions in binary form must reproduce the above 8743 // copyright notice, this list of conditions and the following disclaimer 8744 // in the documentation and/or other materials provided with the 8745 // distribution. 8746 // * Neither the name of Google Inc. nor the names of its 8747 // contributors may be used to endorse or promote products derived from 8748 // this software without specific prior written permission. 8749 // 8750 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8751 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8752 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8753 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8754 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8755 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8756 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8757 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8758 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8759 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8760 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8761 8762 Copyright 2010 Arc90 Inc 8763 8764 Licensed under the Apache License, Version 2.0 (the "License"); 8765 you may not use this file except in compliance with the License. 8766 You may obtain a copy of the License at 8767 8768 http://www.apache.org/licenses/LICENSE-2.0 8769 8770 Unless required by applicable law or agreed to in writing, software 8771 distributed under the License is distributed on an "AS IS" BASIS, 8772 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 8773 See the License for the specific language governing permissions and 8774 limitations under the License. 8775 8776 8777 Apache License 8778 Version 2.0, January 2004 8779 http://www.apache.org/licenses/ 8780 8781 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 8782 8783 1. Definitions. 8784 8785 "License" shall mean the terms and conditions for use, reproduction, 8786 and distribution as defined by Sections 1 through 9 of this document. 8787 8788 "Licensor" shall mean the copyright owner or entity authorized by 8789 the copyright owner that is granting the License. 8790 8791 "Legal Entity" shall mean the union of the acting entity and all 8792 other entities that control, are controlled by, or are under common 8793 control with that entity. For the purposes of this definition, 8794 "control" means (i) the power, direct or indirect, to cause the 8795 direction or management of such entity, whether by contract or 8796 otherwise, or (ii) ownership of fifty percent (50%) or more of the 8797 outstanding shares, or (iii) beneficial ownership of such entity. 8798 8799 "You" (or "Your") shall mean an individual or Legal Entity 8800 exercising permissions granted by this License. 8801 8802 "Source" form shall mean the preferred form for making modifications, 8803 including but not limited to software source code, documentation 8804 source, and configuration files. 8805 8806 "Object" form shall mean any form resulting from mechanical 8807 transformation or translation of a Source form, including but 8808 not limited to compiled object code, generated documentation, 8809 and conversions to other media types. 8810 8811 "Work" shall mean the work of authorship, whether in Source or 8812 Object form, made available under the License, as indicated by a 8813 copyright notice that is included in or attached to the work 8814 (an example is provided in the Appendix below). 8815 8816 "Derivative Works" shall mean any work, whether in Source or Object 8817 form, that is based on (or derived from) the Work and for which the 8818 editorial revisions, annotations, elaborations, or other modifications 8819 represent, as a whole, an original work of authorship. For the purposes 8820 of this License, Derivative Works shall not include works that remain 8821 separable from, or merely link (or bind by name) to the interfaces of, 8822 the Work and Derivative Works thereof. 8823 8824 "Contribution" shall mean any work of authorship, including 8825 the original version of the Work and any modifications or additions 8826 to that Work or Derivative Works thereof, that is intentionally 8827 submitted to Licensor for inclusion in the Work by the copyright owner 8828 or by an individual or Legal Entity authorized to submit on behalf of 8829 the copyright owner. For the purposes of this definition, "submitted" 8830 means any form of electronic, verbal, or written communication sent 8831 to the Licensor or its representatives, including but not limited to 8832 communication on electronic mailing lists, source code control systems, 8833 and issue tracking systems that are managed by, or on behalf of, the 8834 Licensor for the purpose of discussing and improving the Work, but 8835 excluding communication that is conspicuously marked or otherwise 8836 designated in writing by the copyright owner as "Not a Contribution." 8837 8838 "Contributor" shall mean Licensor and any individual or Legal Entity 8839 on behalf of whom a Contribution has been received by Licensor and 8840 subsequently incorporated within the Work. 8841 8842 2. Grant of Copyright License. Subject to the terms and conditions of 8843 this License, each Contributor hereby grants to You a perpetual, 8844 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 8845 copyright license to reproduce, prepare Derivative Works of, 8846 publicly display, publicly perform, sublicense, and distribute the 8847 Work and such Derivative Works in Source or Object form. 8848 8849 3. Grant of Patent License. Subject to the terms and conditions of 8850 this License, each Contributor hereby grants to You a perpetual, 8851 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 8852 (except as stated in this section) patent license to make, have made, 8853 use, offer to sell, sell, import, and otherwise transfer the Work, 8854 where such license applies only to those patent claims licensable 8855 by such Contributor that are necessarily infringed by their 8856 Contribution(s) alone or by combination of their Contribution(s) 8857 with the Work to which such Contribution(s) was submitted. If You 8858 institute patent litigation against any entity (including a 8859 cross-claim or counterclaim in a lawsuit) alleging that the Work 8860 or a Contribution incorporated within the Work constitutes direct 8861 or contributory patent infringement, then any patent licenses 8862 granted to You under this License for that Work shall terminate 8863 as of the date such litigation is filed. 8864 8865 4. Redistribution. You may reproduce and distribute copies of the 8866 Work or Derivative Works thereof in any medium, with or without 8867 modifications, and in Source or Object form, provided that You 8868 meet the following conditions: 8869 8870 (a) You must give any other recipients of the Work or 8871 Derivative Works a copy of this License; and 8872 8873 (b) You must cause any modified files to carry prominent notices 8874 stating that You changed the files; and 8875 8876 (c) You must retain, in the Source form of any Derivative Works 8877 that You distribute, all copyright, patent, trademark, and 8878 attribution notices from the Source form of the Work, 8879 excluding those notices that do not pertain to any part of 8880 the Derivative Works; and 8881 8882 (d) If the Work includes a "NOTICE" text file as part of its 8883 distribution, then any Derivative Works that You distribute must 8884 include a readable copy of the attribution notices contained 8885 within such NOTICE file, excluding those notices that do not 8886 pertain to any part of the Derivative Works, in at least one 8887 of the following places: within a NOTICE text file distributed 8888 as part of the Derivative Works; within the Source form or 8889 documentation, if provided along with the Derivative Works; or, 8890 within a display generated by the Derivative Works, if and 8891 wherever such third-party notices normally appear. The contents 8892 of the NOTICE file are for informational purposes only and 8893 do not modify the License. You may add Your own attribution 8894 notices within Derivative Works that You distribute, alongside 8895 or as an addendum to the NOTICE text from the Work, provided 8896 that such additional attribution notices cannot be construed 8897 as modifying the License. 8898 8899 You may add Your own copyright statement to Your modifications and 8900 may provide additional or different license terms and conditions 8901 for use, reproduction, or distribution of Your modifications, or 8902 for any such Derivative Works as a whole, provided Your use, 8903 reproduction, and distribution of the Work otherwise complies with 8904 the conditions stated in this License. 8905 8906 5. Submission of Contributions. Unless You explicitly state otherwise, 8907 any Contribution intentionally submitted for inclusion in the Work 8908 by You to the Licensor shall be under the terms and conditions of 8909 this License, without any additional terms or conditions. 8910 Notwithstanding the above, nothing herein shall supersede or modify 8911 the terms of any separate license agreement you may have executed 8912 with Licensor regarding such Contributions. 8913 8914 6. Trademarks. This License does not grant permission to use the trade 8915 names, trademarks, service marks, or product names of the Licensor, 8916 except as required for reasonable and customary use in describing the 8917 origin of the Work and reproducing the content of the NOTICE file. 8918 8919 7. Disclaimer of Warranty. Unless required by applicable law or 8920 agreed to in writing, Licensor provides the Work (and each 8921 Contributor provides its Contributions) on an "AS IS" BASIS, 8922 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 8923 implied, including, without limitation, any warranties or conditions 8924 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 8925 PARTICULAR PURPOSE. You are solely responsible for determining the 8926 appropriateness of using or redistributing the Work and assume any 8927 risks associated with Your exercise of permissions under this License. 8928 8929 8. Limitation of Liability. In no event and under no legal theory, 8930 whether in tort (including negligence), contract, or otherwise, 8931 unless required by applicable law (such as deliberate and grossly 8932 negligent acts) or agreed to in writing, shall any Contributor be 8933 liable to You for damages, including any direct, indirect, special, 8934 incidental, or consequential damages of any character arising as a 8935 result of this License or out of the use or inability to use the 8936 Work (including but not limited to damages for loss of goodwill, 8937 work stoppage, computer failure or malfunction, or any and all 8938 other commercial damages or losses), even if such Contributor 8939 has been advised of the possibility of such damages. 8940 8941 9. Accepting Warranty or Additional Liability. While redistributing 8942 the Work or Derivative Works thereof, You may choose to offer, 8943 and charge a fee for, acceptance of support, warranty, indemnity, 8944 or other liability obligations and/or rights consistent with this 8945 License. However, in accepting such obligations, You may act only 8946 on Your own behalf and on Your sole responsibility, not on behalf 8947 of any other Contributor, and only if You agree to indemnify, 8948 defend, and hold each Contributor harmless for any liability 8949 incurred by, or claims asserted against, such Contributor by reason 8950 of your accepting any such warranty or additional liability. 8951 8952 END OF TERMS AND CONDITIONS 8953 8954 APPENDIX: How to apply the Apache License to your work. 8955 8956 To apply the Apache License to your work, attach the following 8957 boilerplate notice, with the fields enclosed by brackets "[]" 8958 replaced with your own identifying information. (Don't include 8959 the brackets!) The text should be enclosed in the appropriate 8960 comment syntax for the file format. We also recommend that a 8961 file or class name and description of purpose be included on the 8962 same "printed page" as the copyright notice for easier 8963 identification within third-party archives. 8964 8965 Copyright 2011 Google Inc. All Rights Reserved. 8966 8967 Licensed under the Apache License, Version 2.0 (the "License"); 8968 you may not use this file except in compliance with the License. 8969 You may obtain a copy of the License at 8970 8971 http://www.apache.org/licenses/LICENSE-2.0 8972 8973 Unless required by applicable law or agreed to in writing, software 8974 distributed under the License is distributed on an "AS IS" BASIS, 8975 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 8976 See the License for the specific language governing permissions and 8977 limitations under the License. 8978 8979 8980 Copyright (c) 2006 Bob Ippolito 8981 8982 Permission is hereby granted, free of charge, to any person obtaining a copy of 8983 this software and associated documentation files (the "Software"), to deal in 8984 the Software without restriction, including without limitation the rights to 8985 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 8986 of the Software, and to permit persons to whom the Software is furnished to do 8987 so, subject to the following conditions: 8988 8989 The above copyright notice and this permission notice shall be included in all 8990 copies or substantial portions of the Software. 8991 8992 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 8993 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 8994 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 8995 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 8996 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 8997 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 8998 SOFTWARE. 8999 9000 (The BSD License) 9001 9002 Copyright (c) 2010-2014, Christian Johansen, christian (a] cjohansen.no 9003 All rights reserved. 9004 9005 Redistribution and use in source and binary forms, with or without modification, 9006 are permitted provided that the following conditions are met: 9007 9008 * Redistributions of source code must retain the above copyright notice, 9009 this list of conditions and the following disclaimer. 9010 * Redistributions in binary form must reproduce the above copyright notice, 9011 this list of conditions and the following disclaimer in the documentation 9012 and/or other materials provided with the distribution. 9013 * Neither the name of Christian Johansen nor the names of his contributors 9014 may be used to endorse or promote products derived from this software 9015 without specific prior written permission. 9016 9017 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 9018 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 9019 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 9020 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 9021 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 9022 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 9023 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 9024 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 9025 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 9026 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9027 9028 // Copyright (c) 2011 Google Inc. All rights reserved. 9029 // 9030 // Redistribution and use in source and binary forms, with or without 9031 // modification, are permitted provided that the following conditions are 9032 // met: 9033 // 9034 // * Redistributions of source code must retain the above copyright 9035 // notice, this list of conditions and the following disclaimer. 9036 // * Redistributions in binary form must reproduce the above 9037 // copyright notice, this list of conditions and the following disclaimer 9038 // in the documentation and/or other materials provided with the 9039 // distribution. 9040 // * Neither the name of Google Inc. nor the names of its 9041 // contributors may be used to endorse or promote products derived from 9042 // this software without specific prior written permission. 9043 // 9044 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9045 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9046 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9047 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9048 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9049 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9050 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9051 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9052 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9053 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9054 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9055 9056 All MurmurHash source files are placed in the public domain. 9057 9058 The license below applies to all other code in SMHasher: 9059 9060 Copyright (c) 2011 Google, Inc. 9061 9062 Permission is hereby granted, free of charge, to any person obtaining a copy 9063 of this software and associated documentation files (the "Software"), to deal 9064 in the Software without restriction, including without limitation the rights 9065 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9066 copies of the Software, and to permit persons to whom the Software is 9067 furnished to do so, subject to the following conditions: 9068 9069 The above copyright notice and this permission notice shall be included in 9070 all copies or substantial portions of the Software. 9071 9072 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9073 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 9074 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 9075 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 9076 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 9077 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 9078 THE SOFTWARE. 9079 9080 The author disclaims copyright to this source code. In place of 9081 a legal notice, here is a blessing: 9082 9083 May you do good and not evil. 9084 May you find forgiveness for yourself and forgive others. 9085 May you share freely, never taking more than you give. 9086 9087 SWIG is distributed under the following terms: 9088 9089 I. 9090 9091 Copyright (c) 1995-1998 9092 The University of Utah and the Regents of the University of California 9093 All Rights Reserved 9094 9095 Permission is hereby granted, without written agreement and without 9096 license or royalty fees, to use, copy, modify, and distribute this 9097 software and its documentation for any purpose, provided that 9098 (1) The above copyright notice and the following two paragraphs 9099 appear in all copies of the source code and (2) redistributions 9100 including binaries reproduces these notices in the supporting 9101 documentation. Substantial modifications to this software may be 9102 copyrighted by their authors and need not follow the licensing terms 9103 described here, provided that the new terms are clearly indicated in 9104 all files where they apply. 9105 9106 IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE 9107 UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY 9108 PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL 9109 DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, 9110 EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF 9111 THE POSSIBILITY OF SUCH DAMAGE. 9112 9113 THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH 9114 SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO, 9115 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 9116 PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND 9117 THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, 9118 SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 9119 9120 9121 II. 9122 9123 This software includes contributions that are Copyright (c) 1998-2005 9124 University of Chicago. 9125 All rights reserved. 9126 9127 Redistribution and use in source and binary forms, with or without 9128 modification, are permitted provided that the following conditions are 9129 met: 9130 9131 Redistributions of source code must retain the above copyright notice, 9132 this list of conditions and the following disclaimer. Redistributions 9133 in binary form must reproduce the above copyright notice, this list of 9134 conditions and the following disclaimer in the documentation and/or 9135 other materials provided with the distribution. Neither the name of 9136 the University of Chicago nor the names of its contributors may be 9137 used to endorse or promote products derived from this software without 9138 specific prior written permission. 9139 9140 THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF CHICAGO AND CONTRIBUTORS 9141 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9142 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 9143 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF 9144 CHICAGO OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9145 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 9146 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 9147 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 9148 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 9149 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 9150 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9151 9152 9153 III. 9154 9155 This software includes contributions that are Copyright (c) 2005-2006 9156 Arizona Board of Regents (University of Arizona). 9157 All Rights Reserved 9158 9159 Permission is hereby granted, without written agreement and without 9160 license or royalty fees, to use, copy, modify, and distribute this 9161 software and its documentation for any purpose, provided that 9162 (1) The above copyright notice and the following two paragraphs 9163 appear in all copies of the source code and (2) redistributions 9164 including binaries reproduces these notices in the supporting 9165 documentation. Substantial modifications to this software may be 9166 copyrighted by their authors and need not follow the licensing terms 9167 described here, provided that the new terms are clearly indicated in 9168 all files where they apply. 9169 9170 THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA AND CONTRIBUTORS 9171 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9172 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 9173 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF 9174 ARIZONA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9175 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 9176 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 9177 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 9178 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 9179 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 9180 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9181 9182 9183 // Copyright (c) 2005, Google Inc. 9184 // All rights reserved. 9185 // 9186 // Redistribution and use in source and binary forms, with or without 9187 // modification, are permitted provided that the following conditions are 9188 // met: 9189 // 9190 // * Redistributions of source code must retain the above copyright 9191 // notice, this list of conditions and the following disclaimer. 9192 // * Redistributions in binary form must reproduce the above 9193 // copyright notice, this list of conditions and the following disclaimer 9194 // in the documentation and/or other materials provided with the 9195 // distribution. 9196 // * Neither the name of Google Inc. nor the names of its 9197 // contributors may be used to endorse or promote products derived from 9198 // this software without specific prior written permission. 9199 // 9200 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9201 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9202 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9203 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9204 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9205 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9206 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9207 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9208 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9209 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9210 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9211 9212 9213 TLS Lite includes code from different sources. All code is either dedicated to 9214 the public domain by its authors, or available under a BSD-style license. In 9215 particular: 9216 9217 - 9218 9219 Code written by Trevor Perrin, Kees Bos, Sam Rushing, Dimitris Moraitis, 9220 Marcelo Fernandez, Martin von Loewis, and Dave Baggett is available under the 9221 following terms: 9222 9223 This is free and unencumbered software released into the public domain. 9224 9225 Anyone is free to copy, modify, publish, use, compile, sell, or distribute 9226 this software, either in source code form or as a compiled binary, for any 9227 purpose, commercial or non-commercial, and by any means. 9228 9229 In jurisdictions that recognize copyright laws, the author or authors of this 9230 software dedicate any and all copyright interest in the software to the public 9231 domain. We make this dedication for the benefit of the public at large and to 9232 the detriment of our heirs and successors. We intend this dedication to be an 9233 overt act of relinquishment in perpetuity of all present and future rights to 9234 this software under copyright law. 9235 9236 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9237 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 9238 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 9239 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 9240 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 9241 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9242 9243 - 9244 9245 Code written by Bram Cohen (rijndael.py) was dedicated to the public domain by 9246 its author. See rijndael.py for details. 9247 9248 - 9249 9250 Code written by Google is available under the following terms: 9251 9252 Copyright (c) 2008, The Chromium Authors 9253 All rights reserved. 9254 9255 Redistribution and use in source and binary forms, with or without 9256 modification, are permitted provided that the following conditions are met: 9257 9258 * Redistributions of source code must retain the above copyright notice, this 9259 list of conditions and the following disclaimer. 9260 9261 * Redistributions in binary form must reproduce the above copyright notice, 9262 this list of conditions and the following disclaimer in the documentation 9263 and/or other materials provided with the distribution. 9264 9265 * Neither the name of the Google Inc. nor the names of its contributors may 9266 be used to endorse or promote products derived from this software without 9267 specific prior written permission. 9268 9269 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 9270 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 9271 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 9272 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 9273 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 9274 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 9275 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 9276 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 9277 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9278 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9279 9280 Copyright (c) 2012, Linux USB Project 9281 All rights reserved. 9282 9283 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 9284 9285 o Redistributions of source code must retain the above copyright notice, 9286 this list of conditions and the following disclaimer. 9287 9288 o Redistributions in binary form must reproduce the above copyright 9289 notice, this list of conditions and the following disclaimer in the 9290 documentation and/or other materials provided with the distribution. 9291 9292 o Neither the name of the Linux USB Project nor the names of its 9293 contributors may be used to endorse or promote products derived from 9294 this software without specific prior written permission. 9295 9296 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9297 9298 (Copied from the COPYRIGHT file of 9299 https://code.google.com/p/sctp-refimpl/source/browse/trunk/COPYRIGHT) 9300 -------------------------------------------------------------------------------- 9301 9302 Copyright (c) 2001, 2002 Cisco Systems, Inc. 9303 Copyright (c) 2002-12 Randall R. Stewart 9304 Copyright (c) 2002-12 Michael Tuexen 9305 All rights reserved. 9306 9307 Redistribution and use in source and binary forms, with or without 9308 modification, are permitted provided that the following conditions 9309 are met: 9310 9311 1. Redistributions of source code must retain the above copyright 9312 notice, this list of conditions and the following disclaimer. 9313 2. Redistributions in binary form must reproduce the above copyright 9314 notice, this list of conditions and the following disclaimer in the 9315 documentation and/or other materials provided with the distribution. 9316 9317 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 9318 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 9319 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 9320 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 9321 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 9322 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 9323 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 9324 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 9325 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 9326 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 9327 SUCH DAMAGE. 9328 9329 Copyright (c) 2011, The WebRTC project authors. All rights reserved. 9330 9331 Redistribution and use in source and binary forms, with or without 9332 modification, are permitted provided that the following conditions are 9333 met: 9334 9335 * Redistributions of source code must retain the above copyright 9336 notice, this list of conditions and the following disclaimer. 9337 9338 * Redistributions in binary form must reproduce the above copyright 9339 notice, this list of conditions and the following disclaimer in 9340 the documentation and/or other materials provided with the 9341 distribution. 9342 9343 * Neither the name of Google nor the names of its contributors may 9344 be used to endorse or promote products derived from this software 9345 without specific prior written permission. 9346 9347 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9348 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9349 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9350 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9351 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9352 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9353 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9354 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9355 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9356 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9357 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9358 9359 9360 Apache License 9361 Version 2.0, January 2010 9362 http://www.apache.org/licenses/ 9363 9364 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 9365 9366 1. Definitions. 9367 9368 "License" shall mean the terms and conditions for use, reproduction, 9369 and distribution as defined by Sections 1 through 9 of this document. 9370 9371 "Licensor" shall mean the copyright owner or entity authorized by 9372 the copyright owner that is granting the License. 9373 9374 "Legal Entity" shall mean the union of the acting entity and all 9375 other entities that control, are controlled by, or are under common 9376 control with that entity. For the purposes of this definition, 9377 "control" means (i) the power, direct or indirect, to cause the 9378 direction or management of such entity, whether by contract or 9379 otherwise, or (ii) ownership of fifty percent (50%) or more of the 9380 outstanding shares, or (iii) beneficial ownership of such entity. 9381 9382 "You" (or "Your") shall mean an individual or Legal Entity 9383 exercising permissions granted by this License. 9384 9385 "Source" form shall mean the preferred form for making modifications, 9386 including but not limited to software source code, documentation 9387 source, and configuration files. 9388 9389 "Object" form shall mean any form resulting from mechanical 9390 transformation or translation of a Source form, including but 9391 not limited to compiled object code, generated documentation, 9392 and conversions to other media types. 9393 9394 "Work" shall mean the work of authorship, whether in Source or 9395 Object form, made available under the License, as indicated by a 9396 copyright notice that is included in or attached to the work 9397 (an example is provided in the Appendix below). 9398 9399 "Derivative Works" shall mean any work, whether in Source or Object 9400 form, that is based on (or derived from) the Work and for which the 9401 editorial revisions, annotations, elaborations, or other modifications 9402 represent, as a whole, an original work of authorship. For the purposes 9403 of this License, Derivative Works shall not include works that remain 9404 separable from, or merely link (or bind by name) to the interfaces of, 9405 the Work and Derivative Works thereof. 9406 9407 "Contribution" shall mean any work of authorship, including 9408 the original version of the Work and any modifications or additions 9409 to that Work or Derivative Works thereof, that is intentionally 9410 submitted to Licensor for inclusion in the Work by the copyright owner 9411 or by an individual or Legal Entity authorized to submit on behalf of 9412 the copyright owner. For the purposes of this definition, "submitted" 9413 means any form of electronic, verbal, or written communication sent 9414 to the Licensor or its representatives, including but not limited to 9415 communication on electronic mailing lists, source code control systems, 9416 and issue tracking systems that are managed by, or on behalf of, the 9417 Licensor for the purpose of discussing and improving the Work, but 9418 excluding communication that is conspicuously marked or otherwise 9419 designated in writing by the copyright owner as "Not a Contribution." 9420 9421 "Contributor" shall mean Licensor and any individual or Legal Entity 9422 on behalf of whom a Contribution has been received by Licensor and 9423 subsequently incorporated within the Work. 9424 9425 2. Grant of Copyright License. Subject to the terms and conditions of 9426 this License, each Contributor hereby grants to You a perpetual, 9427 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 9428 copyright license to reproduce, prepare Derivative Works of, 9429 publicly display, publicly perform, sublicense, and distribute the 9430 Work and such Derivative Works in Source or Object form. 9431 9432 3. Grant of Patent License. Subject to the terms and conditions of 9433 this License, each Contributor hereby grants to You a perpetual, 9434 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 9435 (except as stated in this section) patent license to make, have made, 9436 use, offer to sell, sell, import, and otherwise transfer the Work, 9437 where such license applies only to those patent claims licensable 9438 by such Contributor that are necessarily infringed by their 9439 Contribution(s) alone or by combination of their Contribution(s) 9440 with the Work to which such Contribution(s) was submitted. If You 9441 institute patent litigation against any entity (including a 9442 cross-claim or counterclaim in a lawsuit) alleging that the Work 9443 or a Contribution incorporated within the Work constitutes direct 9444 or contributory patent infringement, then any patent licenses 9445 granted to You under this License for that Work shall terminate 9446 as of the date such litigation is filed. 9447 9448 4. Redistribution. You may reproduce and distribute copies of the 9449 Work or Derivative Works thereof in any medium, with or without 9450 modifications, and in Source or Object form, provided that You 9451 meet the following conditions: 9452 9453 (a) You must give any other recipients of the Work or 9454 Derivative Works a copy of this License; and 9455 9456 (b) You must cause any modified files to carry prominent notices 9457 stating that You changed the files; and 9458 9459 (c) You must retain, in the Source form of any Derivative Works 9460 that You distribute, all copyright, patent, trademark, and 9461 attribution notices from the Source form of the Work, 9462 excluding those notices that do not pertain to any part of 9463 the Derivative Works; and 9464 9465 (d) If the Work includes a "NOTICE" text file as part of its 9466 distribution, then any Derivative Works that You distribute must 9467 include a readable copy of the attribution notices contained 9468 within such NOTICE file, excluding those notices that do not 9469 pertain to any part of the Derivative Works, in at least one 9470 of the following places: within a NOTICE text file distributed 9471 as part of the Derivative Works; within the Source form or 9472 documentation, if provided along with the Derivative Works; or, 9473 within a display generated by the Derivative Works, if and 9474 wherever such third-party notices normally appear. The contents 9475 of the NOTICE file are for informational purposes only and 9476 do not modify the License. You may add Your own attribution 9477 notices within Derivative Works that You distribute, alongside 9478 or as an addendum to the NOTICE text from the Work, provided 9479 that such additional attribution notices cannot be construed 9480 as modifying the License. 9481 9482 You may add Your own copyright statement to Your modifications and 9483 may provide additional or different license terms and conditions 9484 for use, reproduction, or distribution of Your modifications, or 9485 for any such Derivative Works as a whole, provided Your use, 9486 reproduction, and distribution of the Work otherwise complies with 9487 the conditions stated in this License. 9488 9489 5. Submission of Contributions. Unless You explicitly state otherwise, 9490 any Contribution intentionally submitted for inclusion in the Work 9491 by You to the Licensor shall be under the terms and conditions of 9492 this License, without any additional terms or conditions. 9493 Notwithstanding the above, nothing herein shall supersede or modify 9494 the terms of any separate license agreement you may have executed 9495 with Licensor regarding such Contributions. 9496 9497 6. Trademarks. This License does not grant permission to use the trade 9498 names, trademarks, service marks, or product names of the Licensor, 9499 except as required for reasonable and customary use in describing the 9500 origin of the Work and reproducing the content of the NOTICE file. 9501 9502 7. Disclaimer of Warranty. Unless required by applicable law or 9503 agreed to in writing, Licensor provides the Work (and each 9504 Contributor provides its Contributions) on an "AS IS" BASIS, 9505 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 9506 implied, including, without limitation, any warranties or conditions 9507 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 9508 PARTICULAR PURPOSE. You are solely responsible for determining the 9509 appropriateness of using or redistributing the Work and assume any 9510 risks associated with Your exercise of permissions under this License. 9511 9512 8. Limitation of Liability. In no event and under no legal theory, 9513 whether in tort (including negligence), contract, or otherwise, 9514 unless required by applicable law (such as deliberate and grossly 9515 negligent acts) or agreed to in writing, shall any Contributor be 9516 liable to You for damages, including any direct, indirect, special, 9517 incidental, or consequential damages of any character arising as a 9518 result of this License or out of the use or inability to use the 9519 Work (including but not limited to damages for loss of goodwill, 9520 work stoppage, computer failure or malfunction, or any and all 9521 other commercial damages or losses), even if such Contributor 9522 has been advised of the possibility of such damages. 9523 9524 9. Accepting Warranty or Additional Liability. While redistributing 9525 the Work or Derivative Works thereof, You may choose to offer, 9526 and charge a fee for, acceptance of support, warranty, indemnity, 9527 or other liability obligations and/or rights consistent with this 9528 License. However, in accepting such obligations, You may act only 9529 on Your own behalf and on Your sole responsibility, not on behalf 9530 of any other Contributor, and only if You agree to indemnify, 9531 defend, and hold each Contributor harmless for any liability 9532 incurred by, or claims asserted against, such Contributor by reason 9533 of your accepting any such warranty or additional liability. 9534 9535 END OF TERMS AND CONDITIONS 9536 9537 APPENDIX: How to apply the Apache License to your work. 9538 9539 To apply the Apache License to your work, attach the following 9540 boilerplate notice, with the fields enclosed by brackets "[]" 9541 replaced with your own identifying information. (Don't include 9542 the brackets!) The text should be enclosed in the appropriate 9543 comment syntax for the file format. We also recommend that a 9544 file or class name and description of purpose be included on the 9545 same "printed page" as the copyright notice for easier 9546 identification within third-party archives. 9547 9548 Copyright [yyyy] [name of copyright owner] 9549 9550 Licensed under the Apache License, Version 2.0 (the "License"); 9551 you may not use this file except in compliance with the License. 9552 You may obtain a copy of the License at 9553 9554 http://www.apache.org/licenses/LICENSE-2.0 9555 9556 Unless required by applicable law or agreed to in writing, software 9557 distributed under the License is distributed on an "AS IS" BASIS, 9558 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 9559 See the License for the specific language governing permissions and 9560 limitations under the License. 9561 9562 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 9563 // 9564 // Redistribution and use in source and binary forms, with or without 9565 // modification, are permitted provided that the following conditions are 9566 // met: 9567 // 9568 // * Redistributions of source code must retain the above copyright 9569 // notice, this list of conditions and the following disclaimer. 9570 // * Redistributions in binary form must reproduce the above 9571 // copyright notice, this list of conditions and the following disclaimer 9572 // in the documentation and/or other materials provided with the 9573 // distribution. 9574 // * Neither the name of Google Inc. nor the names of its 9575 // contributors may be used to endorse or promote products derived from 9576 // this software without specific prior written permission. 9577 // 9578 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9579 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9580 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9581 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9582 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9583 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9584 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9585 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9586 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9587 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9588 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9589 9590 ;***************************************************************************** 9591 ;* x86inc.asm 9592 ;***************************************************************************** 9593 ;* Copyright (C) 2005-2011 x264 project 9594 ;* 9595 ;* Authors: Loren Merritt <lorenm (a] u.washington.edu> 9596 ;* Anton Mitrofanov <BugMaster (a] narod.ru> 9597 ;* Jason Garrett-Glaser <darkshikari (a] gmail.com> 9598 ;* 9599 ;* Permission to use, copy, modify, and/or distribute this software for any 9600 ;* purpose with or without fee is hereby granted, provided that the above 9601 ;* copyright notice and this permission notice appear in all copies. 9602 ;* 9603 ;* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9604 ;* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9605 ;* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 9606 ;* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 9607 ;* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 9608 ;* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 9609 ;* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 9610 ;***************************************************************************** 9611 9612 ; This is a header file for the x264ASM assembly language, which uses 9613 ; NASM/YASM syntax combined with a large number of macros to provide easy 9614 ; abstraction between different calling conventions (x86_32, win64, linux64). 9615 ; It also has various other useful features to simplify writing the kind of 9616 ; DSP functions that are most often used in x264. 9617 9618 ; Unlike the rest of x264, this file is available under an ISC license, as it 9619 ; has significant usefulness outside of x264 and we want it to be available 9620 ; to the largest audience possible. Of course, if you modify it for your own 9621 ; purposes to add a new feature, we strongly encourage contributing a patch 9622 ; as this feature might be useful for others as well. Send patches or ideas 9623 ; to x264-devel (a] videolan.org . 9624 9625 Yasm is Copyright (c) 2001-2010 Peter Johnson and other Yasm developers. 9626 9627 Yasm developers and/or contributors include: 9628 Peter Johnson 9629 Michael Urman 9630 Brian Gladman (Visual Studio build files, other fixes) 9631 Stanislav Karchebny (options parser) 9632 Mathieu Monnier (SSE4 instruction patches, NASM preprocessor additions) 9633 Anonymous "NASM64" developer (NASM preprocessor fixes) 9634 Stephen Polkowski (x86 instruction patches) 9635 Henryk Richter (Mach-O object format) 9636 Ben Skeggs (patches, bug reports) 9637 Alexei Svitkine (GAS preprocessor) 9638 Samuel Thibault (TASM parser and frontend) 9639 9640 ----------------------------------- 9641 Yasm licensing overview and summary 9642 ----------------------------------- 9643 9644 Note: This document does not provide legal advice nor is it the actual 9645 license of any part of Yasm. See the individual licenses for complete 9646 details. Consult a lawyer for legal advice. 9647 9648 The primary license of Yasm is the 2-clause BSD license. Please use this 9649 license if you plan on submitting code to the project. 9650 9651 Yasm has absolutely no warranty; not even for merchantibility or fitness 9652 for a particular purpose. 9653 9654 ------- 9655 Libyasm 9656 ------- 9657 Libyasm is 2-clause or 3-clause BSD licensed, with the exception of 9658 bitvect, which is triple-licensed under the Artistic license, GPL, and 9659 LGPL. Libyasm is thus GPL and LGPL compatible. In addition, this also 9660 means that libyasm is free for binary-only distribution as long as the 9661 terms of the 3-clause BSD license and Artistic license (as it applies to 9662 bitvect) are fulfilled. 9663 9664 ------- 9665 Modules 9666 ------- 9667 The modules are 2-clause or 3-clause BSD licensed. 9668 9669 --------- 9670 Frontends 9671 --------- 9672 The frontends are 2-clause BSD licensed. 9673 9674 ------------- 9675 License Texts 9676 ------------- 9677 The full text of all licenses are provided in separate files in the source 9678 distribution. Each source file may include the entire license (in the case 9679 of the BSD and Artistic licenses), or may reference the GPL or LGPL license 9680 file. 9681 9682 BSD.txt - 2-clause and 3-clause BSD licenses 9683 Artistic.txt - Artistic license 9684 GNU_GPL-2.0 - GNU General Public License 9685 GNU_LGPL-2.0 - GNU Library General Public License 9686 9687 /* zlib.h -- interface of the 'zlib' general purpose compression library 9688 version 1.2.4, March 14th, 2010 9689 9690 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler 9691 9692 This software is provided 'as-is', without any express or implied 9693 warranty. In no event will the authors be held liable for any damages 9694 arising from the use of this software. 9695 9696 Permission is granted to anyone to use this software for any purpose, 9697 including commercial applications, and to alter it and redistribute it 9698 freely, subject to the following restrictions: 9699 9700 1. The origin of this software must not be misrepresented; you must not 9701 claim that you wrote the original software. If you use this software 9702 in a product, an acknowledgment in the product documentation would be 9703 appreciated but is not required. 9704 2. Altered source versions must be plainly marked as such, and must not be 9705 misrepresented as being the original software. 9706 3. This notice may not be removed or altered from any source distribution. 9707 9708 Jean-loup Gailly 9709 Mark Adler 9710 9711 */ 9712 9713 9714 Apache License 9715 Version 2.0, January 2004 9716 http://www.apache.org/licenses/ 9717 9718 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 9719 9720 1. Definitions. 9721 9722 "License" shall mean the terms and conditions for use, reproduction, 9723 and distribution as defined by Sections 1 through 9 of this document. 9724 9725 "Licensor" shall mean the copyright owner or entity authorized by 9726 the copyright owner that is granting the License. 9727 9728 "Legal Entity" shall mean the union of the acting entity and all 9729 other entities that control, are controlled by, or are under common 9730 control with that entity. For the purposes of this definition, 9731 "control" means (i) the power, direct or indirect, to cause the 9732 direction or management of such entity, whether by contract or 9733 otherwise, or (ii) ownership of fifty percent (50%) or more of the 9734 outstanding shares, or (iii) beneficial ownership of such entity. 9735 9736 "You" (or "Your") shall mean an individual or Legal Entity 9737 exercising permissions granted by this License. 9738 9739 "Source" form shall mean the preferred form for making modifications, 9740 including but not limited to software source code, documentation 9741 source, and configuration files. 9742 9743 "Object" form shall mean any form resulting from mechanical 9744 transformation or translation of a Source form, including but 9745 not limited to compiled object code, generated documentation, 9746 and conversions to other media types. 9747 9748 "Work" shall mean the work of authorship, whether in Source or 9749 Object form, made available under the License, as indicated by a 9750 copyright notice that is included in or attached to the work 9751 (an example is provided in the Appendix below). 9752 9753 "Derivative Works" shall mean any work, whether in Source or Object 9754 form, that is based on (or derived from) the Work and for which the 9755 editorial revisions, annotations, elaborations, or other modifications 9756 represent, as a whole, an original work of authorship. For the purposes 9757 of this License, Derivative Works shall not include works that remain 9758 separable from, or merely link (or bind by name) to the interfaces of, 9759 the Work and Derivative Works thereof. 9760 9761 "Contribution" shall mean any work of authorship, including 9762 the original version of the Work and any modifications or additions 9763 to that Work or Derivative Works thereof, that is intentionally 9764 submitted to Licensor for inclusion in the Work by the copyright owner 9765 or by an individual or Legal Entity authorized to submit on behalf of 9766 the copyright owner. For the purposes of this definition, "submitted" 9767 means any form of electronic, verbal, or written communication sent 9768 to the Licensor or its representatives, including but not limited to 9769 communication on electronic mailing lists, source code control systems, 9770 and issue tracking systems that are managed by, or on behalf of, the 9771 Licensor for the purpose of discussing and improving the Work, but 9772 excluding communication that is conspicuously marked or otherwise 9773 designated in writing by the copyright owner as "Not a Contribution." 9774 9775 "Contributor" shall mean Licensor and any individual or Legal Entity 9776 on behalf of whom a Contribution has been received by Licensor and 9777 subsequently incorporated within the Work. 9778 9779 2. Grant of Copyright License. Subject to the terms and conditions of 9780 this License, each Contributor hereby grants to You a perpetual, 9781 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 9782 copyright license to reproduce, prepare Derivative Works of, 9783 publicly display, publicly perform, sublicense, and distribute the 9784 Work and such Derivative Works in Source or Object form. 9785 9786 3. Grant of Patent License. Subject to the terms and conditions of 9787 this License, each Contributor hereby grants to You a perpetual, 9788 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 9789 (except as stated in this section) patent license to make, have made, 9790 use, offer to sell, sell, import, and otherwise transfer the Work, 9791 where such license applies only to those patent claims licensable 9792 by such Contributor that are necessarily infringed by their 9793 Contribution(s) alone or by combination of their Contribution(s) 9794 with the Work to which such Contribution(s) was submitted. If You 9795 institute patent litigation against any entity (including a 9796 cross-claim or counterclaim in a lawsuit) alleging that the Work 9797 or a Contribution incorporated within the Work constitutes direct 9798 or contributory patent infringement, then any patent licenses 9799 granted to You under this License for that Work shall terminate 9800 as of the date such litigation is filed. 9801 9802 4. Redistribution. You may reproduce and distribute copies of the 9803 Work or Derivative Works thereof in any medium, with or without 9804 modifications, and in Source or Object form, provided that You 9805 meet the following conditions: 9806 9807 (a) You must give any other recipients of the Work or 9808 Derivative Works a copy of this License; and 9809 9810 (b) You must cause any modified files to carry prominent notices 9811 stating that You changed the files; and 9812 9813 (c) You must retain, in the Source form of any Derivative Works 9814 that You distribute, all copyright, patent, trademark, and 9815 attribution notices from the Source form of the Work, 9816 excluding those notices that do not pertain to any part of 9817 the Derivative Works; and 9818 9819 (d) If the Work includes a "NOTICE" text file as part of its 9820 distribution, then any Derivative Works that You distribute must 9821 include a readable copy of the attribution notices contained 9822 within such NOTICE file, excluding those notices that do not 9823 pertain to any part of the Derivative Works, in at least one 9824 of the following places: within a NOTICE text file distributed 9825 as part of the Derivative Works; within the Source form or 9826 documentation, if provided along with the Derivative Works; or, 9827 within a display generated by the Derivative Works, if and 9828 wherever such third-party notices normally appear. The contents 9829 of the NOTICE file are for informational purposes only and 9830 do not modify the License. You may add Your own attribution 9831 notices within Derivative Works that You distribute, alongside 9832 or as an addendum to the NOTICE text from the Work, provided 9833 that such additional attribution notices cannot be construed 9834 as modifying the License. 9835 9836 You may add Your own copyright statement to Your modifications and 9837 may provide additional or different license terms and conditions 9838 for use, reproduction, or distribution of Your modifications, or 9839 for any such Derivative Works as a whole, provided Your use, 9840 reproduction, and distribution of the Work otherwise complies with 9841 the conditions stated in this License. 9842 9843 5. Submission of Contributions. Unless You explicitly state otherwise, 9844 any Contribution intentionally submitted for inclusion in the Work 9845 by You to the Licensor shall be under the terms and conditions of 9846 this License, without any additional terms or conditions. 9847 Notwithstanding the above, nothing herein shall supersede or modify 9848 the terms of any separate license agreement you may have executed 9849 with Licensor regarding such Contributions. 9850 9851 6. Trademarks. This License does not grant permission to use the trade 9852 names, trademarks, service marks, or product names of the Licensor, 9853 except as required for reasonable and customary use in describing the 9854 origin of the Work and reproducing the content of the NOTICE file. 9855 9856 7. Disclaimer of Warranty. Unless required by applicable law or 9857 agreed to in writing, Licensor provides the Work (and each 9858 Contributor provides its Contributions) on an "AS IS" BASIS, 9859 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 9860 implied, including, without limitation, any warranties or conditions 9861 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 9862 PARTICULAR PURPOSE. You are solely responsible for determining the 9863 appropriateness of using or redistributing the Work and assume any 9864 risks associated with Your exercise of permissions under this License. 9865 9866 8. Limitation of Liability. In no event and under no legal theory, 9867 whether in tort (including negligence), contract, or otherwise, 9868 unless required by applicable law (such as deliberate and grossly 9869 negligent acts) or agreed to in writing, shall any Contributor be 9870 liable to You for damages, including any direct, indirect, special, 9871 incidental, or consequential damages of any character arising as a 9872 result of this License or out of the use or inability to use the 9873 Work (including but not limited to damages for loss of goodwill, 9874 work stoppage, computer failure or malfunction, or any and all 9875 other commercial damages or losses), even if such Contributor 9876 has been advised of the possibility of such damages. 9877 9878 9. Accepting Warranty or Additional Liability. While redistributing 9879 the Work or Derivative Works thereof, You may choose to offer, 9880 and charge a fee for, acceptance of support, warranty, indemnity, 9881 or other liability obligations and/or rights consistent with this 9882 License. However, in accepting such obligations, You may act only 9883 on Your own behalf and on Your sole responsibility, not on behalf 9884 of any other Contributor, and only if You agree to indemnify, 9885 defend, and hold each Contributor harmless for any liability 9886 incurred by, or claims asserted against, such Contributor by reason 9887 of your accepting any such warranty or additional liability. 9888 9889 END OF TERMS AND CONDITIONS 9890 9891 APPENDIX: How to apply the Apache License to your work. 9892 9893 To apply the Apache License to your work, attach the following 9894 boilerplate notice, with the fields enclosed by brackets "[]" 9895 replaced with your own identifying information. (Don't include 9896 the brackets!) The text should be enclosed in the appropriate 9897 comment syntax for the file format. We also recommend that a 9898 file or class name and description of purpose be included on the 9899 same "printed page" as the copyright notice for easier 9900 identification within third-party archives. 9901 9902 Copyright 2011 Marco Braak 9903 9904 Licensed under the Apache License, Version 2.0 (the "License"); 9905 you may not use this file except in compliance with the License. 9906 You may obtain a copy of the License at 9907 9908 http://www.apache.org/licenses/LICENSE-2.0 9909 9910 Unless required by applicable law or agreed to in writing, software 9911 distributed under the License is distributed on an "AS IS" BASIS, 9912 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 9913 See the License for the specific language governing permissions and 9914 limitations under the License. 9915 9916 Copyright (c) 2011, The WebRTC project authors. All rights reserved. 9917 9918 Redistribution and use in source and binary forms, with or without 9919 modification, are permitted provided that the following conditions are 9920 met: 9921 9922 * Redistributions of source code must retain the above copyright 9923 notice, this list of conditions and the following disclaimer. 9924 9925 * Redistributions in binary form must reproduce the above copyright 9926 notice, this list of conditions and the following disclaimer in 9927 the documentation and/or other materials provided with the 9928 distribution. 9929 9930 * Neither the name of Google nor the names of its contributors may 9931 be used to endorse or promote products derived from this software 9932 without specific prior written permission. 9933 9934 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9935 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9936 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9937 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9938 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9939 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9940 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9941 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9942 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9943 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9944 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9945 9946 9947 Copyright (c) 2001-2013 Chris Liechti <cliechti (a] gmx.net>; 9948 All Rights Reserved. 9949 9950 This is the Python license. In short, you can use this product in 9951 commercial and non-commercial applications, modify it, redistribute it. 9952 A notification to the author when you use and/or modify it is welcome. 9953 9954 9955 TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING THIS SOFTWARE 9956 =================================================================== 9957 9958 LICENSE AGREEMENT 9959 ----------------- 9960 9961 1. This LICENSE AGREEMENT is between the copyright holder of this 9962 product, and the Individual or Organization ("Licensee") accessing 9963 and otherwise using this product in source or binary form and its 9964 associated documentation. 9965 9966 2. Subject to the terms and conditions of this License Agreement, 9967 the copyright holder hereby grants Licensee a nonexclusive, 9968 royalty-free, world-wide license to reproduce, analyze, test, 9969 perform and/or display publicly, prepare derivative works, distribute, 9970 and otherwise use this product alone or in any derivative version, 9971 provided, however, that copyright holders License Agreement and 9972 copyright holders notice of copyright are retained in this product 9973 alone or in any derivative version prepared by Licensee. 9974 9975 3. In the event Licensee prepares a derivative work that is based on 9976 or incorporates this product or any part thereof, and wants to make 9977 the derivative work available to others as provided herein, then 9978 Licensee hereby agrees to include in any such work a brief summary of 9979 the changes made to this product. 9980 9981 4. The copyright holder is making this product available to Licensee on 9982 an "AS IS" basis. THE COPYRIGHT HOLDER MAKES NO REPRESENTATIONS OR 9983 WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, 9984 THE COPYRIGHT HOLDER MAKES NO AND DISCLAIMS ANY REPRESENTATION OR 9985 WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR 9986 THAT THE USE OF THIS PRODUCT WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 9987 9988 5. THE COPYRIGHT HOLDER SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER 9989 USERS OF THIS PRODUCT FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL 9990 DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE 9991 USING THIS PRODUCT, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE 9992 POSSIBILITY THEREOF. 9993 9994 6. This License Agreement will automatically terminate upon a material 9995 breach of its terms and conditions. 9996 9997 7. Nothing in this License Agreement shall be deemed to create any 9998 relationship of agency, partnership, or joint venture between the 9999 copyright holder and Licensee. This License Agreement does not grant 10000 permission to use trademarks or trade names from the copyright holder 10001 in a trademark sense to endorse or promote products or services of 10002 Licensee, or any third party. 10003 10004 8. By copying, installing or otherwise using this product, Licensee 10005 agrees to be bound by the terms and conditions of this License 10006 Agreement. 10007 10008 10009 Copyright 2007, Google Inc. 10010 All rights reserved. 10011 10012 Redistribution and use in source and binary forms, with or without 10013 modification, are permitted provided that the following conditions are 10014 met: 10015 10016 * Redistributions of source code must retain the above copyright 10017 notice, this list of conditions and the following disclaimer. 10018 * Redistributions in binary form must reproduce the above 10019 copyright notice, this list of conditions and the following disclaimer 10020 in the documentation and/or other materials provided with the 10021 distribution. 10022 * Neither the name of Google Inc. nor the names of its 10023 contributors may be used to endorse or promote products derived from 10024 this software without specific prior written permission. 10025 10026 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 10027 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 10028 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 10029 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 10030 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 10031 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 10032 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 10033 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 10034 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 10035 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 10036 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10037 10038 ------------------------------------------------------------------------------- 10039 10040 The file url_parse.cc is based on nsURLParsers.cc from Mozilla. This file is 10041 licensed separately as follows: 10042 10043 The contents of this file are subject to the Mozilla Public License Version 10044 1.1 (the "License"); you may not use this file except in compliance with 10045 the License. You may obtain a copy of the License at 10046 http://www.mozilla.org/MPL/ 10047 10048 Software distributed under the License is distributed on an "AS IS" basis, 10049 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 10050 for the specific language governing rights and limitations under the 10051 License. 10052 10053 The Original Code is mozilla.org code. 10054 10055 The Initial Developer of the Original Code is 10056 Netscape Communications Corporation. 10057 Portions created by the Initial Developer are Copyright (C) 1998 10058 the Initial Developer. All Rights Reserved. 10059 10060 Contributor(s): 10061 Darin Fisher (original author) 10062 10063 Alternatively, the contents of this file may be used under the terms of 10064 either the GNU General Public License Version 2 or later (the "GPL"), or 10065 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 10066 in which case the provisions of the GPL or the LGPL are applicable instead 10067 of those above. If you wish to allow use of your version of this file only 10068 under the terms of either the GPL or the LGPL, and not to allow others to 10069 use your version of this file under the terms of the MPL, indicate your 10070 decision by deleting the provisions above and replace them with the notice 10071 and other provisions required by the GPL or the LGPL. If you do not delete 10072 the provisions above, a recipient may use your version of this file under 10073 the terms of any one of the MPL, the GPL or the LGPL. 10074 10075 This license applies to all parts of V8 that are not externally 10076 maintained libraries. The externally maintained libraries used by V8 10077 are: 10078 10079 - PCRE test suite, located in 10080 test/mjsunit/third_party/regexp-pcre.js. This is based on the 10081 test suite from PCRE-7.3, which is copyrighted by the University 10082 of Cambridge and Google, Inc. The copyright notice and license 10083 are embedded in regexp-pcre.js. 10084 10085 - Layout tests, located in test/mjsunit/third_party. These are 10086 based on layout tests from webkit.org which are copyrighted by 10087 Apple Computer, Inc. and released under a 3-clause BSD license. 10088 10089 - Strongtalk assembler, the basis of the files assembler-arm-inl.h, 10090 assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h, 10091 assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h, 10092 assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h, 10093 assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h. 10094 This code is copyrighted by Sun Microsystems Inc. and released 10095 under a 3-clause BSD license. 10096 10097 - Valgrind client API header, located at third_party/valgrind/valgrind.h 10098 This is release under the BSD license. 10099 10100 These libraries have their own licenses; we recommend you read them, 10101 as their terms may differ from the terms below. 10102 10103 Copyright 2014, the V8 project authors. All rights reserved. 10104 Redistribution and use in source and binary forms, with or without 10105 modification, are permitted provided that the following conditions are 10106 met: 10107 10108 * Redistributions of source code must retain the above copyright 10109 notice, this list of conditions and the following disclaimer. 10110 * Redistributions in binary form must reproduce the above 10111 copyright notice, this list of conditions and the following 10112 disclaimer in the documentation and/or other materials provided 10113 with the distribution. 10114 * Neither the name of Google Inc. nor the names of its 10115 contributors may be used to endorse or promote products derived 10116 from this software without specific prior written permission. 10117 10118 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 10119 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 10120 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 10121 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 10122 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 10123 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 10124 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 10125 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 10126 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 10127 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 10128 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10129