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 3035 LICENSE ISSUES 3036 ============== 3037 3038 The OpenSSL toolkit stays under a dual license, i.e. both the conditions of 3039 the OpenSSL License and the original SSLeay license apply to the toolkit. 3040 See below for the actual license texts. Actually both licenses are BSD-style 3041 Open Source licenses. In case of any license issues related to OpenSSL 3042 please contact openssl-core (a] openssl.org. 3043 3044 OpenSSL License 3045 --------------- 3046 3047 /* ==================================================================== 3048 * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved. 3049 * 3050 * Redistribution and use in source and binary forms, with or without 3051 * modification, are permitted provided that the following conditions 3052 * are met: 3053 * 3054 * 1. Redistributions of source code must retain the above copyright 3055 * notice, this list of conditions and the following disclaimer. 3056 * 3057 * 2. Redistributions in binary form must reproduce the above copyright 3058 * notice, this list of conditions and the following disclaimer in 3059 * the documentation and/or other materials provided with the 3060 * distribution. 3061 * 3062 * 3. All advertising materials mentioning features or use of this 3063 * software must display the following acknowledgment: 3064 * "This product includes software developed by the OpenSSL Project 3065 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 3066 * 3067 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to 3068 * endorse or promote products derived from this software without 3069 * prior written permission. For written permission, please contact 3070 * openssl-core (a] openssl.org. 3071 * 3072 * 5. Products derived from this software may not be called "OpenSSL" 3073 * nor may "OpenSSL" appear in their names without prior written 3074 * permission of the OpenSSL Project. 3075 * 3076 * 6. Redistributions of any form whatsoever must retain the following 3077 * acknowledgment: 3078 * "This product includes software developed by the OpenSSL Project 3079 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 3080 * 3081 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY 3082 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 3083 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 3084 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 3085 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3086 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 3087 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 3088 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3089 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 3090 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 3091 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 3092 * OF THE POSSIBILITY OF SUCH DAMAGE. 3093 * ==================================================================== 3094 * 3095 * This product includes cryptographic software written by Eric Young 3096 * (eay (a] cryptsoft.com). This product includes software written by Tim 3097 * Hudson (tjh (a] cryptsoft.com). 3098 * 3099 */ 3100 3101 Original SSLeay License 3102 ----------------------- 3103 3104 /* Copyright (C) 1995-1998 Eric Young (eay (a] cryptsoft.com) 3105 * All rights reserved. 3106 * 3107 * This package is an SSL implementation written 3108 * by Eric Young (eay (a] cryptsoft.com). 3109 * The implementation was written so as to conform with Netscapes SSL. 3110 * 3111 * This library is free for commercial and non-commercial use as long as 3112 * the following conditions are aheared to. The following conditions 3113 * apply to all code found in this distribution, be it the RC4, RSA, 3114 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 3115 * included with this distribution is covered by the same copyright terms 3116 * except that the holder is Tim Hudson (tjh (a] cryptsoft.com). 3117 * 3118 * Copyright remains Eric Young's, and as such any Copyright notices in 3119 * the code are not to be removed. 3120 * If this package is used in a product, Eric Young should be given attribution 3121 * as the author of the parts of the library used. 3122 * This can be in the form of a textual message at program startup or 3123 * in documentation (online or textual) provided with the package. 3124 * 3125 * Redistribution and use in source and binary forms, with or without 3126 * modification, are permitted provided that the following conditions 3127 * are met: 3128 * 1. Redistributions of source code must retain the copyright 3129 * notice, this list of conditions and the following disclaimer. 3130 * 2. Redistributions in binary form must reproduce the above copyright 3131 * notice, this list of conditions and the following disclaimer in the 3132 * documentation and/or other materials provided with the distribution. 3133 * 3. All advertising materials mentioning features or use of this software 3134 * must display the following acknowledgement: 3135 * "This product includes cryptographic software written by 3136 * Eric Young (eay (a] cryptsoft.com)" 3137 * The word 'cryptographic' can be left out if the rouines from the library 3138 * being used are not cryptographic related :-). 3139 * 4. If you include any Windows specific code (or a derivative thereof) from 3140 * the apps directory (application code) you must include an acknowledgement: 3141 * "This product includes software written by Tim Hudson (tjh (a] cryptsoft.com)" 3142 * 3143 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND 3144 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 3145 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 3146 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 3147 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3148 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3149 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3150 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3151 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3152 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3153 * SUCH DAMAGE. 3154 * 3155 * The licence and distribution terms for any publically available version or 3156 * derivative of this code cannot be changed. i.e. this code cannot simply be 3157 * copied and put under another distribution licence 3158 * [including the GNU Public Licence.] 3159 */ 3160 3161 3162 // Copyright (c) 2011 Google Inc. All rights reserved. 3163 // 3164 // Redistribution and use in source and binary forms, with or without 3165 // modification, are permitted provided that the following conditions are 3166 // met: 3167 // 3168 // * Redistributions of source code must retain the above copyright 3169 // notice, this list of conditions and the following disclaimer. 3170 // * Redistributions in binary form must reproduce the above 3171 // copyright notice, this list of conditions and the following disclaimer 3172 // in the documentation and/or other materials provided with the 3173 // distribution. 3174 // * Neither the name of Google Inc. nor the names of its 3175 // contributors may be used to endorse or promote products derived from 3176 // this software without specific prior written permission. 3177 // 3178 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 3179 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3180 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 3181 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3182 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3183 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3184 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3185 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3186 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3187 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3188 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3189 3190 GNU LESSER GENERAL PUBLIC LICENSE 3191 Version 2.1, February 1999 3192 3193 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 3194 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 3195 Everyone is permitted to copy and distribute verbatim copies 3196 of this license document, but changing it is not allowed. 3197 3198 [This is the first released version of the Lesser GPL. It also counts 3199 as the successor of the GNU Library Public License, version 2, hence 3200 the version number 2.1.] 3201 3202 Preamble 3203 3204 The licenses for most software are designed to take away your 3205 freedom to share and change it. By contrast, the GNU General Public 3206 Licenses are intended to guarantee your freedom to share and change 3207 free software--to make sure the software is free for all its users. 3208 3209 This license, the Lesser General Public License, applies to some 3210 specially designated software packages--typically libraries--of the 3211 Free Software Foundation and other authors who decide to use it. You 3212 can use it too, but we suggest you first think carefully about whether 3213 this license or the ordinary General Public License is the better 3214 strategy to use in any particular case, based on the explanations below. 3215 3216 When we speak of free software, we are referring to freedom of use, 3217 not price. Our General Public Licenses are designed to make sure that 3218 you have the freedom to distribute copies of free software (and charge 3219 for this service if you wish); that you receive source code or can get 3220 it if you want it; that you can change the software and use pieces of 3221 it in new free programs; and that you are informed that you can do 3222 these things. 3223 3224 To protect your rights, we need to make restrictions that forbid 3225 distributors to deny you these rights or to ask you to surrender these 3226 rights. These restrictions translate to certain responsibilities for 3227 you if you distribute copies of the library or if you modify it. 3228 3229 For example, if you distribute copies of the library, whether gratis 3230 or for a fee, you must give the recipients all the rights that we gave 3231 you. You must make sure that they, too, receive or can get the source 3232 code. If you link other code with the library, you must provide 3233 complete object files to the recipients, so that they can relink them 3234 with the library after making changes to the library and recompiling 3235 it. And you must show them these terms so they know their rights. 3236 3237 We protect your rights with a two-step method: (1) we copyright the 3238 library, and (2) we offer you this license, which gives you legal 3239 permission to copy, distribute and/or modify the library. 3240 3241 To protect each distributor, we want to make it very clear that 3242 there is no warranty for the free library. Also, if the library is 3243 modified by someone else and passed on, the recipients should know 3244 that what they have is not the original version, so that the original 3245 author's reputation will not be affected by problems that might be 3246 introduced by others. 3247 3249 Finally, software patents pose a constant threat to the existence of 3250 any free program. We wish to make sure that a company cannot 3251 effectively restrict the users of a free program by obtaining a 3252 restrictive license from a patent holder. Therefore, we insist that 3253 any patent license obtained for a version of the library must be 3254 consistent with the full freedom of use specified in this license. 3255 3256 Most GNU software, including some libraries, is covered by the 3257 ordinary GNU General Public License. This license, the GNU Lesser 3258 General Public License, applies to certain designated libraries, and 3259 is quite different from the ordinary General Public License. We use 3260 this license for certain libraries in order to permit linking those 3261 libraries into non-free programs. 3262 3263 When a program is linked with a library, whether statically or using 3264 a shared library, the combination of the two is legally speaking a 3265 combined work, a derivative of the original library. The ordinary 3266 General Public License therefore permits such linking only if the 3267 entire combination fits its criteria of freedom. The Lesser General 3268 Public License permits more lax criteria for linking other code with 3269 the library. 3270 3271 We call this license the "Lesser" General Public License because it 3272 does Less to protect the user's freedom than the ordinary General 3273 Public License. It also provides other free software developers Less 3274 of an advantage over competing non-free programs. These disadvantages 3275 are the reason we use the ordinary General Public License for many 3276 libraries. However, the Lesser license provides advantages in certain 3277 special circumstances. 3278 3279 For example, on rare occasions, there may be a special need to 3280 encourage the widest possible use of a certain library, so that it becomes 3281 a de-facto standard. To achieve this, non-free programs must be 3282 allowed to use the library. A more frequent case is that a free 3283 library does the same job as widely used non-free libraries. In this 3284 case, there is little to gain by limiting the free library to free 3285 software only, so we use the Lesser General Public License. 3286 3287 In other cases, permission to use a particular library in non-free 3288 programs enables a greater number of people to use a large body of 3289 free software. For example, permission to use the GNU C Library in 3290 non-free programs enables many more people to use the whole GNU 3291 operating system, as well as its variant, the GNU/Linux operating 3292 system. 3293 3294 Although the Lesser General Public License is Less protective of the 3295 users' freedom, it does ensure that the user of a program that is 3296 linked with the Library has the freedom and the wherewithal to run 3297 that program using a modified version of the Library. 3298 3299 The precise terms and conditions for copying, distribution and 3300 modification follow. Pay close attention to the difference between a 3301 "work based on the library" and a "work that uses the library". The 3302 former contains code derived from the library, whereas the latter must 3303 be combined with the library in order to run. 3304 3306 GNU LESSER GENERAL PUBLIC LICENSE 3307 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 3308 3309 0. This License Agreement applies to any software library or other 3310 program which contains a notice placed by the copyright holder or 3311 other authorized party saying it may be distributed under the terms of 3312 this Lesser General Public License (also called "this License"). 3313 Each licensee is addressed as "you". 3314 3315 A "library" means a collection of software functions and/or data 3316 prepared so as to be conveniently linked with application programs 3317 (which use some of those functions and data) to form executables. 3318 3319 The "Library", below, refers to any such software library or work 3320 which has been distributed under these terms. A "work based on the 3321 Library" means either the Library or any derivative work under 3322 copyright law: that is to say, a work containing the Library or a 3323 portion of it, either verbatim or with modifications and/or translated 3324 straightforwardly into another language. (Hereinafter, translation is 3325 included without limitation in the term "modification".) 3326 3327 "Source code" for a work means the preferred form of the work for 3328 making modifications to it. For a library, complete source code means 3329 all the source code for all modules it contains, plus any associated 3330 interface definition files, plus the scripts used to control compilation 3331 and installation of the library. 3332 3333 Activities other than copying, distribution and modification are not 3334 covered by this License; they are outside its scope. The act of 3335 running a program using the Library is not restricted, and output from 3336 such a program is covered only if its contents constitute a work based 3337 on the Library (independent of the use of the Library in a tool for 3338 writing it). Whether that is true depends on what the Library does 3339 and what the program that uses the Library does. 3340 3341 1. You may copy and distribute verbatim copies of the Library's 3342 complete source code as you receive it, in any medium, provided that 3343 you conspicuously and appropriately publish on each copy an 3344 appropriate copyright notice and disclaimer of warranty; keep intact 3345 all the notices that refer to this License and to the absence of any 3346 warranty; and distribute a copy of this License along with the 3347 Library. 3348 3349 You may charge a fee for the physical act of transferring a copy, 3350 and you may at your option offer warranty protection in exchange for a 3351 fee. 3352 3354 2. You may modify your copy or copies of the Library or any portion 3355 of it, thus forming a work based on the Library, and copy and 3356 distribute such modifications or work under the terms of Section 1 3357 above, provided that you also meet all of these conditions: 3358 3359 a) The modified work must itself be a software library. 3360 3361 b) You must cause the files modified to carry prominent notices 3362 stating that you changed the files and the date of any change. 3363 3364 c) You must cause the whole of the work to be licensed at no 3365 charge to all third parties under the terms of this License. 3366 3367 d) If a facility in the modified Library refers to a function or a 3368 table of data to be supplied by an application program that uses 3369 the facility, other than as an argument passed when the facility 3370 is invoked, then you must make a good faith effort to ensure that, 3371 in the event an application does not supply such function or 3372 table, the facility still operates, and performs whatever part of 3373 its purpose remains meaningful. 3374 3375 (For example, a function in a library to compute square roots has 3376 a purpose that is entirely well-defined independent of the 3377 application. Therefore, Subsection 2d requires that any 3378 application-supplied function or table used by this function must 3379 be optional: if the application does not supply it, the square 3380 root function must still compute square roots.) 3381 3382 These requirements apply to the modified work as a whole. If 3383 identifiable sections of that work are not derived from the Library, 3384 and can be reasonably considered independent and separate works in 3385 themselves, then this License, and its terms, do not apply to those 3386 sections when you distribute them as separate works. But when you 3387 distribute the same sections as part of a whole which is a work based 3388 on the Library, the distribution of the whole must be on the terms of 3389 this License, whose permissions for other licensees extend to the 3390 entire whole, and thus to each and every part regardless of who wrote 3391 it. 3392 3393 Thus, it is not the intent of this section to claim rights or contest 3394 your rights to work written entirely by you; rather, the intent is to 3395 exercise the right to control the distribution of derivative or 3396 collective works based on the Library. 3397 3398 In addition, mere aggregation of another work not based on the Library 3399 with the Library (or with a work based on the Library) on a volume of 3400 a storage or distribution medium does not bring the other work under 3401 the scope of this License. 3402 3403 3. You may opt to apply the terms of the ordinary GNU General Public 3404 License instead of this License to a given copy of the Library. To do 3405 this, you must alter all the notices that refer to this License, so 3406 that they refer to the ordinary GNU General Public License, version 2, 3407 instead of to this License. (If a newer version than version 2 of the 3408 ordinary GNU General Public License has appeared, then you can specify 3409 that version instead if you wish.) Do not make any other change in 3410 these notices. 3411 3413 Once this change is made in a given copy, it is irreversible for 3414 that copy, so the ordinary GNU General Public License applies to all 3415 subsequent copies and derivative works made from that copy. 3416 3417 This option is useful when you wish to copy part of the code of 3418 the Library into a program that is not a library. 3419 3420 4. You may copy and distribute the Library (or a portion or 3421 derivative of it, under Section 2) in object code or executable form 3422 under the terms of Sections 1 and 2 above provided that you accompany 3423 it with the complete corresponding machine-readable source code, which 3424 must be distributed under the terms of Sections 1 and 2 above on a 3425 medium customarily used for software interchange. 3426 3427 If distribution of object code is made by offering access to copy 3428 from a designated place, then offering equivalent access to copy the 3429 source code from the same place satisfies the requirement to 3430 distribute the source code, even though third parties are not 3431 compelled to copy the source along with the object code. 3432 3433 5. A program that contains no derivative of any portion of the 3434 Library, but is designed to work with the Library by being compiled or 3435 linked with it, is called a "work that uses the Library". Such a 3436 work, in isolation, is not a derivative work of the Library, and 3437 therefore falls outside the scope of this License. 3438 3439 However, linking a "work that uses the Library" with the Library 3440 creates an executable that is a derivative of the Library (because it 3441 contains portions of the Library), rather than a "work that uses the 3442 library". The executable is therefore covered by this License. 3443 Section 6 states terms for distribution of such executables. 3444 3445 When a "work that uses the Library" uses material from a header file 3446 that is part of the Library, the object code for the work may be a 3447 derivative work of the Library even though the source code is not. 3448 Whether this is true is especially significant if the work can be 3449 linked without the Library, or if the work is itself a library. The 3450 threshold for this to be true is not precisely defined by law. 3451 3452 If such an object file uses only numerical parameters, data 3453 structure layouts and accessors, and small macros and small inline 3454 functions (ten lines or less in length), then the use of the object 3455 file is unrestricted, regardless of whether it is legally a derivative 3456 work. (Executables containing this object code plus portions of the 3457 Library will still fall under Section 6.) 3458 3459 Otherwise, if the work is a derivative of the Library, you may 3460 distribute the object code for the work under the terms of Section 6. 3461 Any executables containing that work also fall under Section 6, 3462 whether or not they are linked directly with the Library itself. 3463 3465 6. As an exception to the Sections above, you may also combine or 3466 link a "work that uses the Library" with the Library to produce a 3467 work containing portions of the Library, and distribute that work 3468 under terms of your choice, provided that the terms permit 3469 modification of the work for the customer's own use and reverse 3470 engineering for debugging such modifications. 3471 3472 You must give prominent notice with each copy of the work that the 3473 Library is used in it and that the Library and its use are covered by 3474 this License. You must supply a copy of this License. If the work 3475 during execution displays copyright notices, you must include the 3476 copyright notice for the Library among them, as well as a reference 3477 directing the user to the copy of this License. Also, you must do one 3478 of these things: 3479 3480 a) Accompany the work with the complete corresponding 3481 machine-readable source code for the Library including whatever 3482 changes were used in the work (which must be distributed under 3483 Sections 1 and 2 above); and, if the work is an executable linked 3484 with the Library, with the complete machine-readable "work that 3485 uses the Library", as object code and/or source code, so that the 3486 user can modify the Library and then relink to produce a modified 3487 executable containing the modified Library. (It is understood 3488 that the user who changes the contents of definitions files in the 3489 Library will not necessarily be able to recompile the application 3490 to use the modified definitions.) 3491 3492 b) Use a suitable shared library mechanism for linking with the 3493 Library. A suitable mechanism is one that (1) uses at run time a 3494 copy of the library already present on the user's computer system, 3495 rather than copying library functions into the executable, and (2) 3496 will operate properly with a modified version of the library, if 3497 the user installs one, as long as the modified version is 3498 interface-compatible with the version that the work was made with. 3499 3500 c) Accompany the work with a written offer, valid for at 3501 least three years, to give the same user the materials 3502 specified in Subsection 6a, above, for a charge no more 3503 than the cost of performing this distribution. 3504 3505 d) If distribution of the work is made by offering access to copy 3506 from a designated place, offer equivalent access to copy the above 3507 specified materials from the same place. 3508 3509 e) Verify that the user has already received a copy of these 3510 materials or that you have already sent this user a copy. 3511 3512 For an executable, the required form of the "work that uses the 3513 Library" must include any data and utility programs needed for 3514 reproducing the executable from it. However, as a special exception, 3515 the materials to be distributed need not include anything that is 3516 normally distributed (in either source or binary form) with the major 3517 components (compiler, kernel, and so on) of the operating system on 3518 which the executable runs, unless that component itself accompanies 3519 the executable. 3520 3521 It may happen that this requirement contradicts the license 3522 restrictions of other proprietary libraries that do not normally 3523 accompany the operating system. Such a contradiction means you cannot 3524 use both them and the Library together in an executable that you 3525 distribute. 3526 3528 7. You may place library facilities that are a work based on the 3529 Library side-by-side in a single library together with other library 3530 facilities not covered by this License, and distribute such a combined 3531 library, provided that the separate distribution of the work based on 3532 the Library and of the other library facilities is otherwise 3533 permitted, and provided that you do these two things: 3534 3535 a) Accompany the combined library with a copy of the same work 3536 based on the Library, uncombined with any other library 3537 facilities. This must be distributed under the terms of the 3538 Sections above. 3539 3540 b) Give prominent notice with the combined library of the fact 3541 that part of it is a work based on the Library, and explaining 3542 where to find the accompanying uncombined form of the same work. 3543 3544 8. You may not copy, modify, sublicense, link with, or distribute 3545 the Library except as expressly provided under this License. Any 3546 attempt otherwise to copy, modify, sublicense, link with, or 3547 distribute the Library is void, and will automatically terminate your 3548 rights under this License. However, parties who have received copies, 3549 or rights, from you under this License will not have their licenses 3550 terminated so long as such parties remain in full compliance. 3551 3552 9. You are not required to accept this License, since you have not 3553 signed it. However, nothing else grants you permission to modify or 3554 distribute the Library or its derivative works. These actions are 3555 prohibited by law if you do not accept this License. Therefore, by 3556 modifying or distributing the Library (or any work based on the 3557 Library), you indicate your acceptance of this License to do so, and 3558 all its terms and conditions for copying, distributing or modifying 3559 the Library or works based on it. 3560 3561 10. Each time you redistribute the Library (or any work based on the 3562 Library), the recipient automatically receives a license from the 3563 original licensor to copy, distribute, link with or modify the Library 3564 subject to these terms and conditions. You may not impose any further 3565 restrictions on the recipients' exercise of the rights granted herein. 3566 You are not responsible for enforcing compliance by third parties with 3567 this License. 3568 3570 11. If, as a consequence of a court judgment or allegation of patent 3571 infringement or for any other reason (not limited to patent issues), 3572 conditions are imposed on you (whether by court order, agreement or 3573 otherwise) that contradict the conditions of this License, they do not 3574 excuse you from the conditions of this License. If you cannot 3575 distribute so as to satisfy simultaneously your obligations under this 3576 License and any other pertinent obligations, then as a consequence you 3577 may not distribute the Library at all. For example, if a patent 3578 license would not permit royalty-free redistribution of the Library by 3579 all those who receive copies directly or indirectly through you, then 3580 the only way you could satisfy both it and this License would be to 3581 refrain entirely from distribution of the Library. 3582 3583 If any portion of this section is held invalid or unenforceable under any 3584 particular circumstance, the balance of the section is intended to apply, 3585 and the section as a whole is intended to apply in other circumstances. 3586 3587 It is not the purpose of this section to induce you to infringe any 3588 patents or other property right claims or to contest validity of any 3589 such claims; this section has the sole purpose of protecting the 3590 integrity of the free software distribution system which is 3591 implemented by public license practices. Many people have made 3592 generous contributions to the wide range of software distributed 3593 through that system in reliance on consistent application of that 3594 system; it is up to the author/donor to decide if he or she is willing 3595 to distribute software through any other system and a licensee cannot 3596 impose that choice. 3597 3598 This section is intended to make thoroughly clear what is believed to 3599 be a consequence of the rest of this License. 3600 3601 12. If the distribution and/or use of the Library is restricted in 3602 certain countries either by patents or by copyrighted interfaces, the 3603 original copyright holder who places the Library under this License may add 3604 an explicit geographical distribution limitation excluding those countries, 3605 so that distribution is permitted only in or among countries not thus 3606 excluded. In such case, this License incorporates the limitation as if 3607 written in the body of this License. 3608 3609 13. The Free Software Foundation may publish revised and/or new 3610 versions of the Lesser General Public License from time to time. 3611 Such new versions will be similar in spirit to the present version, 3612 but may differ in detail to address new problems or concerns. 3613 3614 Each version is given a distinguishing version number. If the Library 3615 specifies a version number of this License which applies to it and 3616 "any later version", you have the option of following the terms and 3617 conditions either of that version or of any later version published by 3618 the Free Software Foundation. If the Library does not specify a 3619 license version number, you may choose any version ever published by 3620 the Free Software Foundation. 3621 3623 14. If you wish to incorporate parts of the Library into other free 3624 programs whose distribution conditions are incompatible with these, 3625 write to the author to ask for permission. For software which is 3626 copyrighted by the Free Software Foundation, write to the Free 3627 Software Foundation; we sometimes make exceptions for this. Our 3628 decision will be guided by the two goals of preserving the free status 3629 of all derivatives of our free software and of promoting the sharing 3630 and reuse of software generally. 3631 3632 NO WARRANTY 3633 3634 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 3635 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 3636 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 3637 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 3638 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 3639 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 3640 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 3641 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 3642 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 3643 3644 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 3645 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 3646 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 3647 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 3648 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 3649 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 3650 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 3651 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 3652 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 3653 DAMAGES. 3654 3655 END OF TERMS AND CONDITIONS 3656 3658 How to Apply These Terms to Your New Libraries 3659 3660 If you develop a new library, and you want it to be of the greatest 3661 possible use to the public, we recommend making it free software that 3662 everyone can redistribute and change. You can do so by permitting 3663 redistribution under these terms (or, alternatively, under the terms of the 3664 ordinary General Public License). 3665 3666 To apply these terms, attach the following notices to the library. It is 3667 safest to attach them to the start of each source file to most effectively 3668 convey the exclusion of warranty; and each file should have at least the 3669 "copyright" line and a pointer to where the full notice is found. 3670 3671 <one line to give the library's name and a brief idea of what it does.> 3672 Copyright (C) <year> <name of author> 3673 3674 This library is free software; you can redistribute it and/or 3675 modify it under the terms of the GNU Lesser General Public 3676 License as published by the Free Software Foundation; either 3677 version 2.1 of the License, or (at your option) any later version. 3678 3679 This library is distributed in the hope that it will be useful, 3680 but WITHOUT ANY WARRANTY; without even the implied warranty of 3681 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 3682 Lesser General Public License for more details. 3683 3684 You should have received a copy of the GNU Lesser General Public 3685 License along with this library; if not, write to the Free Software 3686 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 3687 3688 Also add information on how to contact you by electronic and paper mail. 3689 3690 You should also get your employer (if you work as a programmer) or your 3691 school, if any, to sign a "copyright disclaimer" for the library, if 3692 necessary. Here is a sample; alter the names: 3693 3694 Yoyodyne, Inc., hereby disclaims all copyright interest in the 3695 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 3696 3697 <signature of Ty Coon>, 1 April 1990 3698 Ty Coon, President of Vice 3699 3700 That's all there is to it! 3701 3702 3703 3704 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 3705 // 3706 // Redistribution and use in source and binary forms, with or without 3707 // modification, are permitted provided that the following conditions are 3708 // met: 3709 // 3710 // * Redistributions of source code must retain the above copyright 3711 // notice, this list of conditions and the following disclaimer. 3712 // * Redistributions in binary form must reproduce the above 3713 // copyright notice, this list of conditions and the following disclaimer 3714 // in the documentation and/or other materials provided with the 3715 // distribution. 3716 // * Neither the name of Google Inc. nor the names of its 3717 // contributors may be used to endorse or promote products derived from 3718 // this software without specific prior written permission. 3719 // 3720 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 3721 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3722 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 3723 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3724 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3725 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3726 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3727 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3728 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3729 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3730 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3731 3732 3733 Apache License 3734 Version 2.0, January 2004 3735 http://www.apache.org/licenses/ 3736 3737 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 3738 3739 1. Definitions. 3740 3741 "License" shall mean the terms and conditions for use, reproduction, 3742 and distribution as defined by Sections 1 through 9 of this document. 3743 3744 "Licensor" shall mean the copyright owner or entity authorized by 3745 the copyright owner that is granting the License. 3746 3747 "Legal Entity" shall mean the union of the acting entity and all 3748 other entities that control, are controlled by, or are under common 3749 control with that entity. For the purposes of this definition, 3750 "control" means (i) the power, direct or indirect, to cause the 3751 direction or management of such entity, whether by contract or 3752 otherwise, or (ii) ownership of fifty percent (50%) or more of the 3753 outstanding shares, or (iii) beneficial ownership of such entity. 3754 3755 "You" (or "Your") shall mean an individual or Legal Entity 3756 exercising permissions granted by this License. 3757 3758 "Source" form shall mean the preferred form for making modifications, 3759 including but not limited to software source code, documentation 3760 source, and configuration files. 3761 3762 "Object" form shall mean any form resulting from mechanical 3763 transformation or translation of a Source form, including but 3764 not limited to compiled object code, generated documentation, 3765 and conversions to other media types. 3766 3767 "Work" shall mean the work of authorship, whether in Source or 3768 Object form, made available under the License, as indicated by a 3769 copyright notice that is included in or attached to the work 3770 (an example is provided in the Appendix below). 3771 3772 "Derivative Works" shall mean any work, whether in Source or Object 3773 form, that is based on (or derived from) the Work and for which the 3774 editorial revisions, annotations, elaborations, or other modifications 3775 represent, as a whole, an original work of authorship. For the purposes 3776 of this License, Derivative Works shall not include works that remain 3777 separable from, or merely link (or bind by name) to the interfaces of, 3778 the Work and Derivative Works thereof. 3779 3780 "Contribution" shall mean any work of authorship, including 3781 the original version of the Work and any modifications or additions 3782 to that Work or Derivative Works thereof, that is intentionally 3783 submitted to Licensor for inclusion in the Work by the copyright owner 3784 or by an individual or Legal Entity authorized to submit on behalf of 3785 the copyright owner. For the purposes of this definition, "submitted" 3786 means any form of electronic, verbal, or written communication sent 3787 to the Licensor or its representatives, including but not limited to 3788 communication on electronic mailing lists, source code control systems, 3789 and issue tracking systems that are managed by, or on behalf of, the 3790 Licensor for the purpose of discussing and improving the Work, but 3791 excluding communication that is conspicuously marked or otherwise 3792 designated in writing by the copyright owner as "Not a Contribution." 3793 3794 "Contributor" shall mean Licensor and any individual or Legal Entity 3795 on behalf of whom a Contribution has been received by Licensor and 3796 subsequently incorporated within the Work. 3797 3798 2. Grant of Copyright License. Subject to the terms and conditions of 3799 this License, each Contributor hereby grants to You a perpetual, 3800 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 3801 copyright license to reproduce, prepare Derivative Works of, 3802 publicly display, publicly perform, sublicense, and distribute the 3803 Work and such Derivative Works in Source or Object form. 3804 3805 3. Grant of Patent License. Subject to the terms and conditions of 3806 this License, each Contributor hereby grants to You a perpetual, 3807 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 3808 (except as stated in this section) patent license to make, have made, 3809 use, offer to sell, sell, import, and otherwise transfer the Work, 3810 where such license applies only to those patent claims licensable 3811 by such Contributor that are necessarily infringed by their 3812 Contribution(s) alone or by combination of their Contribution(s) 3813 with the Work to which such Contribution(s) was submitted. If You 3814 institute patent litigation against any entity (including a 3815 cross-claim or counterclaim in a lawsuit) alleging that the Work 3816 or a Contribution incorporated within the Work constitutes direct 3817 or contributory patent infringement, then any patent licenses 3818 granted to You under this License for that Work shall terminate 3819 as of the date such litigation is filed. 3820 3821 4. Redistribution. You may reproduce and distribute copies of the 3822 Work or Derivative Works thereof in any medium, with or without 3823 modifications, and in Source or Object form, provided that You 3824 meet the following conditions: 3825 3826 (a) You must give any other recipients of the Work or 3827 Derivative Works a copy of this License; and 3828 3829 (b) You must cause any modified files to carry prominent notices 3830 stating that You changed the files; and 3831 3832 (c) You must retain, in the Source form of any Derivative Works 3833 that You distribute, all copyright, patent, trademark, and 3834 attribution notices from the Source form of the Work, 3835 excluding those notices that do not pertain to any part of 3836 the Derivative Works; and 3837 3838 (d) If the Work includes a "NOTICE" text file as part of its 3839 distribution, then any Derivative Works that You distribute must 3840 include a readable copy of the attribution notices contained 3841 within such NOTICE file, excluding those notices that do not 3842 pertain to any part of the Derivative Works, in at least one 3843 of the following places: within a NOTICE text file distributed 3844 as part of the Derivative Works; within the Source form or 3845 documentation, if provided along with the Derivative Works; or, 3846 within a display generated by the Derivative Works, if and 3847 wherever such third-party notices normally appear. The contents 3848 of the NOTICE file are for informational purposes only and 3849 do not modify the License. You may add Your own attribution 3850 notices within Derivative Works that You distribute, alongside 3851 or as an addendum to the NOTICE text from the Work, provided 3852 that such additional attribution notices cannot be construed 3853 as modifying the License. 3854 3855 You may add Your own copyright statement to Your modifications and 3856 may provide additional or different license terms and conditions 3857 for use, reproduction, or distribution of Your modifications, or 3858 for any such Derivative Works as a whole, provided Your use, 3859 reproduction, and distribution of the Work otherwise complies with 3860 the conditions stated in this License. 3861 3862 5. Submission of Contributions. Unless You explicitly state otherwise, 3863 any Contribution intentionally submitted for inclusion in the Work 3864 by You to the Licensor shall be under the terms and conditions of 3865 this License, without any additional terms or conditions. 3866 Notwithstanding the above, nothing herein shall supersede or modify 3867 the terms of any separate license agreement you may have executed 3868 with Licensor regarding such Contributions. 3869 3870 6. Trademarks. This License does not grant permission to use the trade 3871 names, trademarks, service marks, or product names of the Licensor, 3872 except as required for reasonable and customary use in describing the 3873 origin of the Work and reproducing the content of the NOTICE file. 3874 3875 7. Disclaimer of Warranty. Unless required by applicable law or 3876 agreed to in writing, Licensor provides the Work (and each 3877 Contributor provides its Contributions) on an "AS IS" BASIS, 3878 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 3879 implied, including, without limitation, any warranties or conditions 3880 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 3881 PARTICULAR PURPOSE. You are solely responsible for determining the 3882 appropriateness of using or redistributing the Work and assume any 3883 risks associated with Your exercise of permissions under this License. 3884 3885 8. Limitation of Liability. In no event and under no legal theory, 3886 whether in tort (including negligence), contract, or otherwise, 3887 unless required by applicable law (such as deliberate and grossly 3888 negligent acts) or agreed to in writing, shall any Contributor be 3889 liable to You for damages, including any direct, indirect, special, 3890 incidental, or consequential damages of any character arising as a 3891 result of this License or out of the use or inability to use the 3892 Work (including but not limited to damages for loss of goodwill, 3893 work stoppage, computer failure or malfunction, or any and all 3894 other commercial damages or losses), even if such Contributor 3895 has been advised of the possibility of such damages. 3896 3897 9. Accepting Warranty or Additional Liability. While redistributing 3898 the Work or Derivative Works thereof, You may choose to offer, 3899 and charge a fee for, acceptance of support, warranty, indemnity, 3900 or other liability obligations and/or rights consistent with this 3901 License. However, in accepting such obligations, You may act only 3902 on Your own behalf and on Your sole responsibility, not on behalf 3903 of any other Contributor, and only if You agree to indemnify, 3904 defend, and hold each Contributor harmless for any liability 3905 incurred by, or claims asserted against, such Contributor by reason 3906 of your accepting any such warranty or additional liability. 3907 3908 END OF TERMS AND CONDITIONS 3909 3910 APPENDIX: How to apply the Apache License to your work. 3911 3912 To apply the Apache License to your work, attach the following 3913 boilerplate notice, with the fields enclosed by brackets "[]" 3914 replaced with your own identifying information. (Don't include 3915 the brackets!) The text should be enclosed in the appropriate 3916 comment syntax for the file format. We also recommend that a 3917 file or class name and description of purpose be included on the 3918 same "printed page" as the copyright notice for easier 3919 identification within third-party archives. 3920 3921 Copyright [yyyy] [name of copyright owner] 3922 3923 Licensed under the Apache License, Version 2.0 (the "License"); 3924 you may not use this file except in compliance with the License. 3925 You may obtain a copy of the License at 3926 3927 http://www.apache.org/licenses/LICENSE-2.0 3928 3929 Unless required by applicable law or agreed to in writing, software 3930 distributed under the License is distributed on an "AS IS" BASIS, 3931 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3932 See the License for the specific language governing permissions and 3933 limitations under the License. 3934 3935 3936 Apache License 3937 Version 2.0, January 2004 3938 http://www.apache.org/licenses/ 3939 3940 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 3941 3942 1. Definitions. 3943 3944 "License" shall mean the terms and conditions for use, reproduction, 3945 and distribution as defined by Sections 1 through 9 of this document. 3946 3947 "Licensor" shall mean the copyright owner or entity authorized by 3948 the copyright owner that is granting the License. 3949 3950 "Legal Entity" shall mean the union of the acting entity and all 3951 other entities that control, are controlled by, or are under common 3952 control with that entity. For the purposes of this definition, 3953 "control" means (i) the power, direct or indirect, to cause the 3954 direction or management of such entity, whether by contract or 3955 otherwise, or (ii) ownership of fifty percent (50%) or more of the 3956 outstanding shares, or (iii) beneficial ownership of such entity. 3957 3958 "You" (or "Your") shall mean an individual or Legal Entity 3959 exercising permissions granted by this License. 3960 3961 "Source" form shall mean the preferred form for making modifications, 3962 including but not limited to software source code, documentation 3963 source, and configuration files. 3964 3965 "Object" form shall mean any form resulting from mechanical 3966 transformation or translation of a Source form, including but 3967 not limited to compiled object code, generated documentation, 3968 and conversions to other media types. 3969 3970 "Work" shall mean the work of authorship, whether in Source or 3971 Object form, made available under the License, as indicated by a 3972 copyright notice that is included in or attached to the work 3973 (an example is provided in the Appendix below). 3974 3975 "Derivative Works" shall mean any work, whether in Source or Object 3976 form, that is based on (or derived from) the Work and for which the 3977 editorial revisions, annotations, elaborations, or other modifications 3978 represent, as a whole, an original work of authorship. For the purposes 3979 of this License, Derivative Works shall not include works that remain 3980 separable from, or merely link (or bind by name) to the interfaces of, 3981 the Work and Derivative Works thereof. 3982 3983 "Contribution" shall mean any work of authorship, including 3984 the original version of the Work and any modifications or additions 3985 to that Work or Derivative Works thereof, that is intentionally 3986 submitted to Licensor for inclusion in the Work by the copyright owner 3987 or by an individual or Legal Entity authorized to submit on behalf of 3988 the copyright owner. For the purposes of this definition, "submitted" 3989 means any form of electronic, verbal, or written communication sent 3990 to the Licensor or its representatives, including but not limited to 3991 communication on electronic mailing lists, source code control systems, 3992 and issue tracking systems that are managed by, or on behalf of, the 3993 Licensor for the purpose of discussing and improving the Work, but 3994 excluding communication that is conspicuously marked or otherwise 3995 designated in writing by the copyright owner as "Not a Contribution." 3996 3997 "Contributor" shall mean Licensor and any individual or Legal Entity 3998 on behalf of whom a Contribution has been received by Licensor and 3999 subsequently incorporated within the Work. 4000 4001 2. Grant of Copyright License. Subject to the terms and conditions of 4002 this License, each Contributor hereby grants to You a perpetual, 4003 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 4004 copyright license to reproduce, prepare Derivative Works of, 4005 publicly display, publicly perform, sublicense, and distribute the 4006 Work and such Derivative Works in Source or Object form. 4007 4008 3. Grant of Patent License. Subject to the terms and conditions of 4009 this License, each Contributor hereby grants to You a perpetual, 4010 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 4011 (except as stated in this section) patent license to make, have made, 4012 use, offer to sell, sell, import, and otherwise transfer the Work, 4013 where such license applies only to those patent claims licensable 4014 by such Contributor that are necessarily infringed by their 4015 Contribution(s) alone or by combination of their Contribution(s) 4016 with the Work to which such Contribution(s) was submitted. If You 4017 institute patent litigation against any entity (including a 4018 cross-claim or counterclaim in a lawsuit) alleging that the Work 4019 or a Contribution incorporated within the Work constitutes direct 4020 or contributory patent infringement, then any patent licenses 4021 granted to You under this License for that Work shall terminate 4022 as of the date such litigation is filed. 4023 4024 4. Redistribution. You may reproduce and distribute copies of the 4025 Work or Derivative Works thereof in any medium, with or without 4026 modifications, and in Source or Object form, provided that You 4027 meet the following conditions: 4028 4029 (a) You must give any other recipients of the Work or 4030 Derivative Works a copy of this License; and 4031 4032 (b) You must cause any modified files to carry prominent notices 4033 stating that You changed the files; and 4034 4035 (c) You must retain, in the Source form of any Derivative Works 4036 that You distribute, all copyright, patent, trademark, and 4037 attribution notices from the Source form of the Work, 4038 excluding those notices that do not pertain to any part of 4039 the Derivative Works; and 4040 4041 (d) If the Work includes a "NOTICE" text file as part of its 4042 distribution, then any Derivative Works that You distribute must 4043 include a readable copy of the attribution notices contained 4044 within such NOTICE file, excluding those notices that do not 4045 pertain to any part of the Derivative Works, in at least one 4046 of the following places: within a NOTICE text file distributed 4047 as part of the Derivative Works; within the Source form or 4048 documentation, if provided along with the Derivative Works; or, 4049 within a display generated by the Derivative Works, if and 4050 wherever such third-party notices normally appear. The contents 4051 of the NOTICE file are for informational purposes only and 4052 do not modify the License. You may add Your own attribution 4053 notices within Derivative Works that You distribute, alongside 4054 or as an addendum to the NOTICE text from the Work, provided 4055 that such additional attribution notices cannot be construed 4056 as modifying the License. 4057 4058 You may add Your own copyright statement to Your modifications and 4059 may provide additional or different license terms and conditions 4060 for use, reproduction, or distribution of Your modifications, or 4061 for any such Derivative Works as a whole, provided Your use, 4062 reproduction, and distribution of the Work otherwise complies with 4063 the conditions stated in this License. 4064 4065 5. Submission of Contributions. Unless You explicitly state otherwise, 4066 any Contribution intentionally submitted for inclusion in the Work 4067 by You to the Licensor shall be under the terms and conditions of 4068 this License, without any additional terms or conditions. 4069 Notwithstanding the above, nothing herein shall supersede or modify 4070 the terms of any separate license agreement you may have executed 4071 with Licensor regarding such Contributions. 4072 4073 6. Trademarks. This License does not grant permission to use the trade 4074 names, trademarks, service marks, or product names of the Licensor, 4075 except as required for reasonable and customary use in describing the 4076 origin of the Work and reproducing the content of the NOTICE file. 4077 4078 7. Disclaimer of Warranty. Unless required by applicable law or 4079 agreed to in writing, Licensor provides the Work (and each 4080 Contributor provides its Contributions) on an "AS IS" BASIS, 4081 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 4082 implied, including, without limitation, any warranties or conditions 4083 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 4084 PARTICULAR PURPOSE. You are solely responsible for determining the 4085 appropriateness of using or redistributing the Work and assume any 4086 risks associated with Your exercise of permissions under this License. 4087 4088 8. Limitation of Liability. In no event and under no legal theory, 4089 whether in tort (including negligence), contract, or otherwise, 4090 unless required by applicable law (such as deliberate and grossly 4091 negligent acts) or agreed to in writing, shall any Contributor be 4092 liable to You for damages, including any direct, indirect, special, 4093 incidental, or consequential damages of any character arising as a 4094 result of this License or out of the use or inability to use the 4095 Work (including but not limited to damages for loss of goodwill, 4096 work stoppage, computer failure or malfunction, or any and all 4097 other commercial damages or losses), even if such Contributor 4098 has been advised of the possibility of such damages. 4099 4100 9. Accepting Warranty or Additional Liability. While redistributing 4101 the Work or Derivative Works thereof, You may choose to offer, 4102 and charge a fee for, acceptance of support, warranty, indemnity, 4103 or other liability obligations and/or rights consistent with this 4104 License. However, in accepting such obligations, You may act only 4105 on Your own behalf and on Your sole responsibility, not on behalf 4106 of any other Contributor, and only if You agree to indemnify, 4107 defend, and hold each Contributor harmless for any liability 4108 incurred by, or claims asserted against, such Contributor by reason 4109 of your accepting any such warranty or additional liability. 4110 4111 END OF TERMS AND CONDITIONS 4112 4113 APPENDIX: How to apply the Apache License to your work. 4114 4115 To apply the Apache License to your work, attach the following 4116 boilerplate notice, with the fields enclosed by brackets "[]" 4117 replaced with your own identifying information. (Don't include 4118 the brackets!) The text should be enclosed in the appropriate 4119 comment syntax for the file format. We also recommend that a 4120 file or class name and description of purpose be included on the 4121 same "printed page" as the copyright notice for easier 4122 identification within third-party archives. 4123 4124 Copyright [yyyy] [name of copyright owner] 4125 4126 Licensed under the Apache License, Version 2.0 (the "License"); 4127 you may not use this file except in compliance with the License. 4128 You may obtain a copy of the License at 4129 4130 http://www.apache.org/licenses/LICENSE-2.0 4131 4132 Unless required by applicable law or agreed to in writing, software 4133 distributed under the License is distributed on an "AS IS" BASIS, 4134 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 4135 See the License for the specific language governing permissions and 4136 limitations under the License. 4137 4138 MOZILLA PUBLIC LICENSE 4139 Version 1.1 4140 4141 --------------- 4142 4143 1. Definitions. 4144 4145 1.0.1. "Commercial Use" means distribution or otherwise making the 4146 Covered Code available to a third party. 4147 4148 1.1. "Contributor" means each entity that creates or contributes to 4149 the creation of Modifications. 4150 4151 1.2. "Contributor Version" means the combination of the Original 4152 Code, prior Modifications used by a Contributor, and the Modifications 4153 made by that particular Contributor. 4154 4155 1.3. "Covered Code" means the Original Code or Modifications or the 4156 combination of the Original Code and Modifications, in each case 4157 including portions thereof. 4158 4159 1.4. "Electronic Distribution Mechanism" means a mechanism generally 4160 accepted in the software development community for the electronic 4161 transfer of data. 4162 4163 1.5. "Executable" means Covered Code in any form other than Source 4164 Code. 4165 4166 1.6. "Initial Developer" means the individual or entity identified 4167 as the Initial Developer in the Source Code notice required by Exhibit 4168 A. 4169 4170 1.7. "Larger Work" means a work which combines Covered Code or 4171 portions thereof with code not governed by the terms of this License. 4172 4173 1.8. "License" means this document. 4174 4175 1.8.1. "Licensable" means having the right to grant, to the maximum 4176 extent possible, whether at the time of the initial grant or 4177 subsequently acquired, any and all of the rights conveyed herein. 4178 4179 1.9. "Modifications" means any addition to or deletion from the 4180 substance or structure of either the Original Code or any previous 4181 Modifications. When Covered Code is released as a series of files, a 4182 Modification is: 4183 A. Any addition to or deletion from the contents of a file 4184 containing Original Code or previous Modifications. 4185 4186 B. Any new file that contains any part of the Original Code or 4187 previous Modifications. 4188 4189 1.10. "Original Code" means Source Code of computer software code 4190 which is described in the Source Code notice required by Exhibit A as 4191 Original Code, and which, at the time of its release under this 4192 License is not already Covered Code governed by this License. 4193 4194 1.10.1. "Patent Claims" means any patent claim(s), now owned or 4195 hereafter acquired, including without limitation, method, process, 4196 and apparatus claims, in any patent Licensable by grantor. 4197 4198 1.11. "Source Code" means the preferred form of the Covered Code for 4199 making modifications to it, including all modules it contains, plus 4200 any associated interface definition files, scripts used to control 4201 compilation and installation of an Executable, or source code 4202 differential comparisons against either the Original Code or another 4203 well known, available Covered Code of the Contributor's choice. The 4204 Source Code can be in a compressed or archival form, provided the 4205 appropriate decompression or de-archiving software is widely available 4206 for no charge. 4207 4208 1.12. "You" (or "Your") means an individual or a legal entity 4209 exercising rights under, and complying with all of the terms of, this 4210 License or a future version of this License issued under Section 6.1. 4211 For legal entities, "You" includes any entity which controls, is 4212 controlled by, or is under common control with You. For purposes of 4213 this definition, "control" means (a) the power, direct or indirect, 4214 to cause the direction or management of such entity, whether by 4215 contract or otherwise, or (b) ownership of more than fifty percent 4216 (50%) of the outstanding shares or beneficial ownership of such 4217 entity. 4218 4219 2. Source Code License. 4220 4221 2.1. The Initial Developer Grant. 4222 The Initial Developer hereby grants You a world-wide, royalty-free, 4223 non-exclusive license, subject to third party intellectual property 4224 claims: 4225 (a) under intellectual property rights (other than patent or 4226 trademark) Licensable by Initial Developer to use, reproduce, 4227 modify, display, perform, sublicense and distribute the Original 4228 Code (or portions thereof) with or without Modifications, and/or 4229 as part of a Larger Work; and 4230 4231 (b) under Patents Claims infringed by the making, using or 4232 selling of Original Code, to make, have made, use, practice, 4233 sell, and offer for sale, and/or otherwise dispose of the 4234 Original Code (or portions thereof). 4235 4236 (c) the licenses granted in this Section 2.1(a) and (b) are 4237 effective on the date Initial Developer first distributes 4238 Original Code under the terms of this License. 4239 4240 (d) Notwithstanding Section 2.1(b) above, no patent license is 4241 granted: 1) for code that You delete from the Original Code; 2) 4242 separate from the Original Code; or 3) for infringements caused 4243 by: i) the modification of the Original Code or ii) the 4244 combination of the Original Code with other software or devices. 4245 4246 2.2. Contributor Grant. 4247 Subject to third party intellectual property claims, each Contributor 4248 hereby grants You a world-wide, royalty-free, non-exclusive license 4249 4250 (a) under intellectual property rights (other than patent or 4251 trademark) Licensable by Contributor, to use, reproduce, modify, 4252 display, perform, sublicense and distribute the Modifications 4253 created by such Contributor (or portions thereof) either on an 4254 unmodified basis, with other Modifications, as Covered Code 4255 and/or as part of a Larger Work; and 4256 4257 (b) under Patent Claims infringed by the making, using, or 4258 selling of Modifications made by that Contributor either alone 4259 and/or in combination with its Contributor Version (or portions 4260 of such combination), to make, use, sell, offer for sale, have 4261 made, and/or otherwise dispose of: 1) Modifications made by that 4262 Contributor (or portions thereof); and 2) the combination of 4263 Modifications made by that Contributor with its Contributor 4264 Version (or portions of such combination). 4265 4266 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are 4267 effective on the date Contributor first makes Commercial Use of 4268 the Covered Code. 4269 4270 (d) Notwithstanding Section 2.2(b) above, no patent license is 4271 granted: 1) for any code that Contributor has deleted from the 4272 Contributor Version; 2) separate from the Contributor Version; 4273 3) for infringements caused by: i) third party modifications of 4274 Contributor Version or ii) the combination of Modifications made 4275 by that Contributor with other software (except as part of the 4276 Contributor Version) or other devices; or 4) under Patent Claims 4277 infringed by Covered Code in the absence of Modifications made by 4278 that Contributor. 4279 4280 3. Distribution Obligations. 4281 4282 3.1. Application of License. 4283 The Modifications which You create or to which You contribute are 4284 governed by the terms of this License, including without limitation 4285 Section 2.2. The Source Code version of Covered Code may be 4286 distributed only under the terms of this License or a future version 4287 of this License released under Section 6.1, and You must include a 4288 copy of this License with every copy of the Source Code You 4289 distribute. You may not offer or impose any terms on any Source Code 4290 version that alters or restricts the applicable version of this 4291 License or the recipients' rights hereunder. However, You may include 4292 an additional document offering the additional rights described in 4293 Section 3.5. 4294 4295 3.2. Availability of Source Code. 4296 Any Modification which You create or to which You contribute must be 4297 made available in Source Code form under the terms of this License 4298 either on the same media as an Executable version or via an accepted 4299 Electronic Distribution Mechanism to anyone to whom you made an 4300 Executable version available; and if made available via Electronic 4301 Distribution Mechanism, must remain available for at least twelve (12) 4302 months after the date it initially became available, or at least six 4303 (6) months after a subsequent version of that particular Modification 4304 has been made available to such recipients. You are responsible for 4305 ensuring that the Source Code version remains available even if the 4306 Electronic Distribution Mechanism is maintained by a third party. 4307 4308 3.3. Description of Modifications. 4309 You must cause all Covered Code to which You contribute to contain a 4310 file documenting the changes You made to create that Covered Code and 4311 the date of any change. You must include a prominent statement that 4312 the Modification is derived, directly or indirectly, from Original 4313 Code provided by the Initial Developer and including the name of the 4314 Initial Developer in (a) the Source Code, and (b) in any notice in an 4315 Executable version or related documentation in which You describe the 4316 origin or ownership of the Covered Code. 4317 4318 3.4. Intellectual Property Matters 4319 (a) Third Party Claims. 4320 If Contributor has knowledge that a license under a third party's 4321 intellectual property rights is required to exercise the rights 4322 granted by such Contributor under Sections 2.1 or 2.2, 4323 Contributor must include a text file with the Source Code 4324 distribution titled "LEGAL" which describes the claim and the 4325 party making the claim in sufficient detail that a recipient will 4326 know whom to contact. If Contributor obtains such knowledge after 4327 the Modification is made available as described in Section 3.2, 4328 Contributor shall promptly modify the LEGAL file in all copies 4329 Contributor makes available thereafter and shall take other steps 4330 (such as notifying appropriate mailing lists or newsgroups) 4331 reasonably calculated to inform those who received the Covered 4332 Code that new knowledge has been obtained. 4333 4334 (b) Contributor APIs. 4335 If Contributor's Modifications include an application programming 4336 interface and Contributor has knowledge of patent licenses which 4337 are reasonably necessary to implement that API, Contributor must 4338 also include this information in the LEGAL file. 4339 4340 (c) Representations. 4341 Contributor represents that, except as disclosed pursuant to 4342 Section 3.4(a) above, Contributor believes that Contributor's 4343 Modifications are Contributor's original creation(s) and/or 4344 Contributor has sufficient rights to grant the rights conveyed by 4345 this License. 4346 4347 3.5. Required Notices. 4348 You must duplicate the notice in Exhibit A in each file of the Source 4349 Code. If it is not possible to put such notice in a particular Source 4350 Code file due to its structure, then You must include such notice in a 4351 location (such as a relevant directory) where a user would be likely 4352 to look for such a notice. If You created one or more Modification(s) 4353 You may add your name as a Contributor to the notice described in 4354 Exhibit A. You must also duplicate this License in any documentation 4355 for the Source Code where You describe recipients' rights or ownership 4356 rights relating to Covered Code. You may choose to offer, and to 4357 charge a fee for, warranty, support, indemnity or liability 4358 obligations to one or more recipients of Covered Code. However, You 4359 may do so only on Your own behalf, and not on behalf of the Initial 4360 Developer or any Contributor. You must make it absolutely clear than 4361 any such warranty, support, indemnity or liability obligation is 4362 offered by You alone, and You hereby agree to indemnify the Initial 4363 Developer and every Contributor for any liability incurred by the 4364 Initial Developer or such Contributor as a result of warranty, 4365 support, indemnity or liability terms You offer. 4366 4367 3.6. Distribution of Executable Versions. 4368 You may distribute Covered Code in Executable form only if the 4369 requirements of Section 3.1-3.5 have been met for that Covered Code, 4370 and if You include a notice stating that the Source Code version of 4371 the Covered Code is available under the terms of this License, 4372 including a description of how and where You have fulfilled the 4373 obligations of Section 3.2. The notice must be conspicuously included 4374 in any notice in an Executable version, related documentation or 4375 collateral in which You describe recipients' rights relating to the 4376 Covered Code. You may distribute the Executable version of Covered 4377 Code or ownership rights under a license of Your choice, which may 4378 contain terms different from this License, provided that You are in 4379 compliance with the terms of this License and that the license for the 4380 Executable version does not attempt to limit or alter the recipient's 4381 rights in the Source Code version from the rights set forth in this 4382 License. If You distribute the Executable version under a different 4383 license You must make it absolutely clear that any terms which differ 4384 from this License are offered by You alone, not by the Initial 4385 Developer or any Contributor. You hereby agree to indemnify the 4386 Initial Developer and every Contributor for any liability incurred by 4387 the Initial Developer or such Contributor as a result of any such 4388 terms You offer. 4389 4390 3.7. Larger Works. 4391 You may create a Larger Work by combining Covered Code with other code 4392 not governed by the terms of this License and distribute the Larger 4393 Work as a single product. In such a case, You must make sure the 4394 requirements of this License are fulfilled for the Covered Code. 4395 4396 4. Inability to Comply Due to Statute or Regulation. 4397 4398 If it is impossible for You to comply with any of the terms of this 4399 License with respect to some or all of the Covered Code due to 4400 statute, judicial order, or regulation then You must: (a) comply with 4401 the terms of this License to the maximum extent possible; and (b) 4402 describe the limitations and the code they affect. Such description 4403 must be included in the LEGAL file described in Section 3.4 and must 4404 be included with all distributions of the Source Code. Except to the 4405 extent prohibited by statute or regulation, such description must be 4406 sufficiently detailed for a recipient of ordinary skill to be able to 4407 understand it. 4408 4409 5. Application of this License. 4410 4411 This License applies to code to which the Initial Developer has 4412 attached the notice in Exhibit A and to related Covered Code. 4413 4414 6. Versions of the License. 4415 4416 6.1. New Versions. 4417 Netscape Communications Corporation ("Netscape") may publish revised 4418 and/or new versions of the License from time to time. Each version 4419 will be given a distinguishing version number. 4420 4421 6.2. Effect of New Versions. 4422 Once Covered Code has been published under a particular version of the 4423 License, You may always continue to use it under the terms of that 4424 version. You may also choose to use such Covered Code under the terms 4425 of any subsequent version of the License published by Netscape. No one 4426 other than Netscape has the right to modify the terms applicable to 4427 Covered Code created under this License. 4428 4429 6.3. Derivative Works. 4430 If You create or use a modified version of this License (which you may 4431 only do in order to apply it to code which is not already Covered Code 4432 governed by this License), You must (a) rename Your license so that 4433 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", 4434 "MPL", "NPL" or any confusingly similar phrase do not appear in your 4435 license (except to note that your license differs from this License) 4436 and (b) otherwise make it clear that Your version of the license 4437 contains terms which differ from the Mozilla Public License and 4438 Netscape Public License. (Filling in the name of the Initial 4439 Developer, Original Code or Contributor in the notice described in 4440 Exhibit A shall not of themselves be deemed to be modifications of 4441 this License.) 4442 4443 7. DISCLAIMER OF WARRANTY. 4444 4445 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, 4446 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, 4447 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF 4448 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. 4449 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE 4450 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, 4451 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE 4452 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER 4453 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF 4454 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. 4455 4456 8. TERMINATION. 4457 4458 8.1. This License and the rights granted hereunder will terminate 4459 automatically if You fail to comply with terms herein and fail to cure 4460 such breach within 30 days of becoming aware of the breach. All 4461 sublicenses to the Covered Code which are properly granted shall 4462 survive any termination of this License. Provisions which, by their 4463 nature, must remain in effect beyond the termination of this License 4464 shall survive. 4465 4466 8.2. If You initiate litigation by asserting a patent infringement 4467 claim (excluding declatory judgment actions) against Initial Developer 4468 or a Contributor (the Initial Developer or Contributor against whom 4469 You file such action is referred to as "Participant") alleging that: 4470 4471 (a) such Participant's Contributor Version directly or indirectly 4472 infringes any patent, then any and all rights granted by such 4473 Participant to You under Sections 2.1 and/or 2.2 of this License 4474 shall, upon 60 days notice from Participant terminate prospectively, 4475 unless if within 60 days after receipt of notice You either: (i) 4476 agree in writing to pay Participant a mutually agreeable reasonable 4477 royalty for Your past and future use of Modifications made by such 4478 Participant, or (ii) withdraw Your litigation claim with respect to 4479 the Contributor Version against such Participant. If within 60 days 4480 of notice, a reasonable royalty and payment arrangement are not 4481 mutually agreed upon in writing by the parties or the litigation claim 4482 is not withdrawn, the rights granted by Participant to You under 4483 Sections 2.1 and/or 2.2 automatically terminate at the expiration of 4484 the 60 day notice period specified above. 4485 4486 (b) any software, hardware, or device, other than such Participant's 4487 Contributor Version, directly or indirectly infringes any patent, then 4488 any rights granted to You by such Participant under Sections 2.1(b) 4489 and 2.2(b) are revoked effective as of the date You first made, used, 4490 sold, distributed, or had made, Modifications made by that 4491 Participant. 4492 4493 8.3. If You assert a patent infringement claim against Participant 4494 alleging that such Participant's Contributor Version directly or 4495 indirectly infringes any patent where such claim is resolved (such as 4496 by license or settlement) prior to the initiation of patent 4497 infringement litigation, then the reasonable value of the licenses 4498 granted by such Participant under Sections 2.1 or 2.2 shall be taken 4499 into account in determining the amount or value of any payment or 4500 license. 4501 4502 8.4. In the event of termination under Sections 8.1 or 8.2 above, 4503 all end user license agreements (excluding distributors and resellers) 4504 which have been validly granted by You or any distributor hereunder 4505 prior to termination shall survive termination. 4506 4507 9. LIMITATION OF LIABILITY. 4508 4509 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT 4510 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL 4511 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, 4512 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR 4513 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY 4514 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, 4515 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER 4516 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN 4517 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF 4518 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY 4519 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW 4520 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE 4521 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO 4522 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 4523 4524 10. U.S. GOVERNMENT END USERS. 4525 4526 The Covered Code is a "commercial item," as that term is defined in 4527 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer 4528 software" and "commercial computer software documentation," as such 4529 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 4530 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), 4531 all U.S. Government End Users acquire Covered Code with only those 4532 rights set forth herein. 4533 4534 11. MISCELLANEOUS. 4535 4536 This License represents the complete agreement concerning subject 4537 matter hereof. If any provision of this License is held to be 4538 unenforceable, such provision shall be reformed only to the extent 4539 necessary to make it enforceable. This License shall be governed by 4540 California law provisions (except to the extent applicable law, if 4541 any, provides otherwise), excluding its conflict-of-law provisions. 4542 With respect to disputes in which at least one party is a citizen of, 4543 or an entity chartered or registered to do business in the United 4544 States of America, any litigation relating to this License shall be 4545 subject to the jurisdiction of the Federal Courts of the Northern 4546 District of California, with venue lying in Santa Clara County, 4547 California, with the losing party responsible for costs, including 4548 without limitation, court costs and reasonable attorneys' fees and 4549 expenses. The application of the United Nations Convention on 4550 Contracts for the International Sale of Goods is expressly excluded. 4551 Any law or regulation which provides that the language of a contract 4552 shall be construed against the drafter shall not apply to this 4553 License. 4554 4555 12. RESPONSIBILITY FOR CLAIMS. 4556 4557 As between Initial Developer and the Contributors, each party is 4558 responsible for claims and damages arising, directly or indirectly, 4559 out of its utilization of rights under this License and You agree to 4560 work with Initial Developer and Contributors to distribute such 4561 responsibility on an equitable basis. Nothing herein is intended or 4562 shall be deemed to constitute any admission of liability. 4563 4564 13. MULTIPLE-LICENSED CODE. 4565 4566 Initial Developer may designate portions of the Covered Code as 4567 "Multiple-Licensed". "Multiple-Licensed" means that the Initial 4568 Developer permits you to utilize portions of the Covered Code under 4569 Your choice of the NPL or the alternative licenses, if any, specified 4570 by the Initial Developer in the file described in Exhibit A. 4571 4572 EXHIBIT A -Mozilla Public License. 4573 4574 ``The contents of this file are subject to the Mozilla Public License 4575 Version 1.1 (the "License"); you may not use this file except in 4576 compliance with the License. You may obtain a copy of the License at 4577 http://www.mozilla.org/MPL/ 4578 4579 Software distributed under the License is distributed on an "AS IS" 4580 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 4581 License for the specific language governing rights and limitations 4582 under the License. 4583 4584 The Original Code is ______________________________________. 4585 4586 The Initial Developer of the Original Code is ________________________. 4587 Portions created by ______________________ are Copyright (C) ______ 4588 _______________________. All Rights Reserved. 4589 4590 Contributor(s): ______________________________________. 4591 4592 Alternatively, the contents of this file may be used under the terms 4593 of the _____ license (the "[___] License"), in which case the 4594 provisions of [______] License are applicable instead of those 4595 above. If you wish to allow use of your version of this file only 4596 under the terms of the [____] License and not to allow others to use 4597 your version of this file under the MPL, indicate your decision by 4598 deleting the provisions above and replace them with the notice and 4599 other provisions required by the [___] License. If you do not delete 4600 the provisions above, a recipient may use your version of this file 4601 under either the MPL or the [___] License." 4602 4603 [NOTE: The text of this Exhibit A may differ slightly from the text of 4604 the notices in the Source Code files of the Original Code. You should 4605 use the text of this Exhibit A rather than the text found in the 4606 Original Code Source Code for Your Modifications.] 4607 4608 ---------------------------------------------------------------------- 4609 4610 AMENDMENTS 4611 4612 The Netscape Public License Version 1.1 ("NPL") consists of the 4613 Mozilla Public License Version 1.1 with the following Amendments, 4614 including Exhibit A-Netscape Public License. Files identified with 4615 "Exhibit A-Netscape Public License" are governed by the Netscape 4616 Public License Version 1.1. 4617 4618 Additional Terms applicable to the Netscape Public License. 4619 I. Effect. 4620 These additional terms described in this Netscape Public 4621 License -- Amendments shall apply to the Mozilla Communicator 4622 client code and to all Covered Code under this License. 4623 4624 II. "Netscape's Branded Code" means Covered Code that Netscape 4625 distributes and/or permits others to distribute under one or more 4626 trademark(s) which are controlled by Netscape but which are not 4627 licensed for use under this License. 4628 4629 III. Netscape and logo. 4630 This License does not grant any rights to use the trademarks 4631 "Netscape", the "Netscape N and horizon" logo or the "Netscape 4632 lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript", 4633 "Smart Browsing" even if such marks are included in the Original 4634 Code or Modifications. 4635 4636 IV. Inability to Comply Due to Contractual Obligation. 4637 Prior to licensing the Original Code under this License, Netscape 4638 has licensed third party code for use in Netscape's Branded Code. 4639 To the extent that Netscape is limited contractually from making 4640 such third party code available under this License, Netscape may 4641 choose to reintegrate such code into Covered Code without being 4642 required to distribute such code in Source Code form, even if 4643 such code would otherwise be considered "Modifications" under 4644 this License. 4645 4646 V. Use of Modifications and Covered Code by Initial Developer. 4647 V.1. In General. 4648 The obligations of Section 3 apply to Netscape, except to 4649 the extent specified in this Amendment, Section V.2 and V.3. 4650 4651 V.2. Other Products. 4652 Netscape may include Covered Code in products other than the 4653 Netscape's Branded Code which are released by Netscape 4654 during the two (2) years following the release date of the 4655 Original Code, without such additional products becoming 4656 subject to the terms of this License, and may license such 4657 additional products on different terms from those contained 4658 in this License. 4659 4660 V.3. Alternative Licensing. 4661 Netscape may license the Source Code of Netscape's Branded 4662 Code, including Modifications incorporated therein, without 4663 such Netscape Branded Code becoming subject to the terms of 4664 this License, and may license such Netscape Branded Code on 4665 different terms from those contained in this License. 4666 4667 VI. Litigation. 4668 Notwithstanding the limitations of Section 11 above, the 4669 provisions regarding litigation in Section 11(a), (b) and (c) of 4670 the License shall apply to all disputes relating to this License. 4671 4672 EXHIBIT A-Netscape Public License. 4673 4674 "The contents of this file are subject to the Netscape Public 4675 License Version 1.1 (the "License"); you may not use this file 4676 except in compliance with the License. You may obtain a copy of 4677 the License at http://www.mozilla.org/NPL/ 4678 4679 Software distributed under the License is distributed on an "AS 4680 IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 4681 implied. See the License for the specific language governing 4682 rights and limitations under the License. 4683 4684 The Original Code is Mozilla Communicator client code, released 4685 March 31, 1998. 4686 4687 The Initial Developer of the Original Code is Netscape 4688 Communications Corporation. Portions created by Netscape are 4689 Copyright (C) 1998-1999 Netscape Communications Corporation. All 4690 Rights Reserved. 4691 4692 Contributor(s): ______________________________________. 4693 4694 Alternatively, the contents of this file may be used under the 4695 terms of the _____ license (the "[___] License"), in which case 4696 the provisions of [______] License are applicable instead of 4697 those above. If you wish to allow use of your version of this 4698 file only under the terms of the [____] License and not to allow 4699 others to use your version of this file under the NPL, indicate 4700 your decision by deleting the provisions above and replace them 4701 with the notice and other provisions required by the [___] 4702 License. If you do not delete the provisions above, a recipient 4703 may use your version of this file under either the NPL or the 4704 [___] License." 4705 4706 Copyright (c) 2010 Jonathan Hartley 4707 All rights reserved. 4708 4709 Redistribution and use in source and binary forms, with or without 4710 modification, are permitted provided that the following conditions are met: 4711 4712 * Redistributions of source code must retain the above copyright notice, this 4713 list of conditions and the following disclaimer. 4714 4715 * Redistributions in binary form must reproduce the above copyright notice, 4716 this list of conditions and the following disclaimer in the documentation 4717 and/or other materials provided with the distribution. 4718 4719 * Neither the name of the copyright holders, nor those of its contributors 4720 may be used to endorse or promote products derived from this software without 4721 specific prior written permission. 4722 4723 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 4724 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 4725 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 4726 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 4727 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4728 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 4729 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 4730 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 4731 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 4732 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 4733 4734 4735 Copyright (c) 2010-2014, Michael Bostock 4736 All rights reserved. 4737 4738 Redistribution and use in source and binary forms, with or without 4739 modification, are permitted provided that the following conditions are met: 4740 4741 * Redistributions of source code must retain the above copyright notice, this 4742 list of conditions and the following disclaimer. 4743 4744 * Redistributions in binary form must reproduce the above copyright notice, 4745 this list of conditions and the following disclaimer in the documentation 4746 and/or other materials provided with the distribution. 4747 4748 * The name Michael Bostock may not be used to endorse or promote products 4749 derived from this software without specific prior written permission. 4750 4751 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 4752 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4753 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 4754 DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, 4755 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 4756 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 4757 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 4758 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 4759 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 4760 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 4761 4762 Extracted from mac/include/DeckLinkAPI.h: 4763 4764 ** Copyright (c) 2014 Blackmagic Design 4765 ** 4766 ** Permission is hereby granted, free of charge, to any person or organization 4767 ** obtaining a copy of the software and accompanying documentation covered by 4768 ** this license (the "Software") to use, reproduce, display, distribute, 4769 ** execute, and transmit the Software, and to prepare derivative works of the 4770 ** Software, and to permit third-parties to whom the Software is furnished to 4771 ** do so, all subject to the following: 4772 ** 4773 ** The copyright notices in the Software and this entire statement, including 4774 ** the above license grant, this restriction and the following disclaimer, 4775 ** must be included in all copies of the Software, in whole or in part, and 4776 ** all derivative works of the Software, unless such copies or derivative 4777 ** works are solely in the form of machine-executable object code generated by 4778 ** a source language processor. 4779 ** 4780 ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 4781 ** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 4782 ** FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT 4783 ** SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE 4784 ** FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, 4785 ** ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 4786 ** DEALINGS IN THE SOFTWARE. 4787 4788 GNU GENERAL PUBLIC LICENSE 4789 Version 2, June 1991 4790 4791 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 4792 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 4793 Everyone is permitted to copy and distribute verbatim copies 4794 of this license document, but changing it is not allowed. 4795 4796 Preamble 4797 4798 The licenses for most software are designed to take away your 4799 freedom to share and change it. By contrast, the GNU General Public 4800 License is intended to guarantee your freedom to share and change free 4801 software--to make sure the software is free for all its users. This 4802 General Public License applies to most of the Free Software 4803 Foundation's software and to any other program whose authors commit to 4804 using it. (Some other Free Software Foundation software is covered by 4805 the GNU Library General Public License instead.) You can apply it to 4806 your programs, too. 4807 4808 When we speak of free software, we are referring to freedom, not 4809 price. Our General Public Licenses are designed to make sure that you 4810 have the freedom to distribute copies of free software (and charge for 4811 this service if you wish), that you receive source code or can get it 4812 if you want it, that you can change the software or use pieces of it 4813 in new free programs; and that you know you can do these things. 4814 4815 To protect your rights, we need to make restrictions that forbid 4816 anyone to deny you these rights or to ask you to surrender the rights. 4817 These restrictions translate to certain responsibilities for you if you 4818 distribute copies of the software, or if you modify it. 4819 4820 For example, if you distribute copies of such a program, whether 4821 gratis or for a fee, you must give the recipients all the rights that 4822 you have. You must make sure that they, too, receive or can get the 4823 source code. And you must show them these terms so they know their 4824 rights. 4825 4826 We protect your rights with two steps: (1) copyright the software, and 4827 (2) offer you this license which gives you legal permission to copy, 4828 distribute and/or modify the software. 4829 4830 Also, for each author's protection and ours, we want to make certain 4831 that everyone understands that there is no warranty for this free 4832 software. If the software is modified by someone else and passed on, we 4833 want its recipients to know that what they have is not the original, so 4834 that any problems introduced by others will not reflect on the original 4835 authors' reputations. 4836 4837 Finally, any free program is threatened constantly by software 4838 patents. We wish to avoid the danger that redistributors of a free 4839 program will individually obtain patent licenses, in effect making the 4840 program proprietary. To prevent this, we have made it clear that any 4841 patent must be licensed for everyone's free use or not licensed at all. 4842 4843 The precise terms and conditions for copying, distribution and 4844 modification follow. 4845 4847 GNU GENERAL PUBLIC LICENSE 4848 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 4849 4850 0. This License applies to any program or other work which contains 4851 a notice placed by the copyright holder saying it may be distributed 4852 under the terms of this General Public License. The "Program", below, 4853 refers to any such program or work, and a "work based on the Program" 4854 means either the Program or any derivative work under copyright law: 4855 that is to say, a work containing the Program or a portion of it, 4856 either verbatim or with modifications and/or translated into another 4857 language. (Hereinafter, translation is included without limitation in 4858 the term "modification".) Each licensee is addressed as "you". 4859 4860 Activities other than copying, distribution and modification are not 4861 covered by this License; they are outside its scope. The act of 4862 running the Program is not restricted, and the output from the Program 4863 is covered only if its contents constitute a work based on the 4864 Program (independent of having been made by running the Program). 4865 Whether that is true depends on what the Program does. 4866 4867 1. You may copy and distribute verbatim copies of the Program's 4868 source code as you receive it, in any medium, provided that you 4869 conspicuously and appropriately publish on each copy an appropriate 4870 copyright notice and disclaimer of warranty; keep intact all the 4871 notices that refer to this License and to the absence of any warranty; 4872 and give any other recipients of the Program a copy of this License 4873 along with the Program. 4874 4875 You may charge a fee for the physical act of transferring a copy, and 4876 you may at your option offer warranty protection in exchange for a fee. 4877 4878 2. You may modify your copy or copies of the Program or any portion 4879 of it, thus forming a work based on the Program, and copy and 4880 distribute such modifications or work under the terms of Section 1 4881 above, provided that you also meet all of these conditions: 4882 4883 a) You must cause the modified files to carry prominent notices 4884 stating that you changed the files and the date of any change. 4885 4886 b) You must cause any work that you distribute or publish, that in 4887 whole or in part contains or is derived from the Program or any 4888 part thereof, to be licensed as a whole at no charge to all third 4889 parties under the terms of this License. 4890 4891 c) If the modified program normally reads commands interactively 4892 when run, you must cause it, when started running for such 4893 interactive use in the most ordinary way, to print or display an 4894 announcement including an appropriate copyright notice and a 4895 notice that there is no warranty (or else, saying that you provide 4896 a warranty) and that users may redistribute the program under 4897 these conditions, and telling the user how to view a copy of this 4898 License. (Exception: if the Program itself is interactive but 4899 does not normally print such an announcement, your work based on 4900 the Program is not required to print an announcement.) 4901 4903 These requirements apply to the modified work as a whole. If 4904 identifiable sections of that work are not derived from the Program, 4905 and can be reasonably considered independent and separate works in 4906 themselves, then this License, and its terms, do not apply to those 4907 sections when you distribute them as separate works. But when you 4908 distribute the same sections as part of a whole which is a work based 4909 on the Program, the distribution of the whole must be on the terms of 4910 this License, whose permissions for other licensees extend to the 4911 entire whole, and thus to each and every part regardless of who wrote it. 4912 4913 Thus, it is not the intent of this section to claim rights or contest 4914 your rights to work written entirely by you; rather, the intent is to 4915 exercise the right to control the distribution of derivative or 4916 collective works based on the Program. 4917 4918 In addition, mere aggregation of another work not based on the Program 4919 with the Program (or with a work based on the Program) on a volume of 4920 a storage or distribution medium does not bring the other work under 4921 the scope of this License. 4922 4923 3. You may copy and distribute the Program (or a work based on it, 4924 under Section 2) in object code or executable form under the terms of 4925 Sections 1 and 2 above provided that you also do one of the following: 4926 4927 a) Accompany it with the complete corresponding machine-readable 4928 source code, which must be distributed under the terms of Sections 4929 1 and 2 above on a medium customarily used for software interchange; or, 4930 4931 b) Accompany it with a written offer, valid for at least three 4932 years, to give any third party, for a charge no more than your 4933 cost of physically performing source distribution, a complete 4934 machine-readable copy of the corresponding source code, to be 4935 distributed under the terms of Sections 1 and 2 above on a medium 4936 customarily used for software interchange; or, 4937 4938 c) Accompany it with the information you received as to the offer 4939 to distribute corresponding source code. (This alternative is 4940 allowed only for noncommercial distribution and only if you 4941 received the program in object code or executable form with such 4942 an offer, in accord with Subsection b above.) 4943 4944 The source code for a work means the preferred form of the work for 4945 making modifications to it. For an executable work, complete source 4946 code means all the source code for all modules it contains, plus any 4947 associated interface definition files, plus the scripts used to 4948 control compilation and installation of the executable. However, as a 4949 special exception, the source code distributed need not include 4950 anything that is normally distributed (in either source or binary 4951 form) with the major components (compiler, kernel, and so on) of the 4952 operating system on which the executable runs, unless that component 4953 itself accompanies the executable. 4954 4955 If distribution of executable or object code is made by offering 4956 access to copy from a designated place, then offering equivalent 4957 access to copy the source code from the same place counts as 4958 distribution of the source code, even though third parties are not 4959 compelled to copy the source along with the object code. 4960 4962 4. You may not copy, modify, sublicense, or distribute the Program 4963 except as expressly provided under this License. Any attempt 4964 otherwise to copy, modify, sublicense or distribute the Program is 4965 void, and will automatically terminate your rights under this License. 4966 However, parties who have received copies, or rights, from you under 4967 this License will not have their licenses terminated so long as such 4968 parties remain in full compliance. 4969 4970 5. You are not required to accept this License, since you have not 4971 signed it. However, nothing else grants you permission to modify or 4972 distribute the Program or its derivative works. These actions are 4973 prohibited by law if you do not accept this License. Therefore, by 4974 modifying or distributing the Program (or any work based on the 4975 Program), you indicate your acceptance of this License to do so, and 4976 all its terms and conditions for copying, distributing or modifying 4977 the Program or works based on it. 4978 4979 6. Each time you redistribute the Program (or any work based on the 4980 Program), the recipient automatically receives a license from the 4981 original licensor to copy, distribute or modify the Program subject to 4982 these terms and conditions. You may not impose any further 4983 restrictions on the recipients' exercise of the rights granted herein. 4984 You are not responsible for enforcing compliance by third parties to 4985 this License. 4986 4987 7. If, as a consequence of a court judgment or allegation of patent 4988 infringement or for any other reason (not limited to patent issues), 4989 conditions are imposed on you (whether by court order, agreement or 4990 otherwise) that contradict the conditions of this License, they do not 4991 excuse you from the conditions of this License. If you cannot 4992 distribute so as to satisfy simultaneously your obligations under this 4993 License and any other pertinent obligations, then as a consequence you 4994 may not distribute the Program at all. For example, if a patent 4995 license would not permit royalty-free redistribution of the Program by 4996 all those who receive copies directly or indirectly through you, then 4997 the only way you could satisfy both it and this License would be to 4998 refrain entirely from distribution of the Program. 4999 5000 If any portion of this section is held invalid or unenforceable under 5001 any particular circumstance, the balance of the section is intended to 5002 apply and the section as a whole is intended to apply in other 5003 circumstances. 5004 5005 It is not the purpose of this section to induce you to infringe any 5006 patents or other property right claims or to contest validity of any 5007 such claims; this section has the sole purpose of protecting the 5008 integrity of the free software distribution system, which is 5009 implemented by public license practices. Many people have made 5010 generous contributions to the wide range of software distributed 5011 through that system in reliance on consistent application of that 5012 system; it is up to the author/donor to decide if he or she is willing 5013 to distribute software through any other system and a licensee cannot 5014 impose that choice. 5015 5016 This section is intended to make thoroughly clear what is believed to 5017 be a consequence of the rest of this License. 5018 5020 8. If the distribution and/or use of the Program is restricted in 5021 certain countries either by patents or by copyrighted interfaces, the 5022 original copyright holder who places the Program under this License 5023 may add an explicit geographical distribution limitation excluding 5024 those countries, so that distribution is permitted only in or among 5025 countries not thus excluded. In such case, this License incorporates 5026 the limitation as if written in the body of this License. 5027 5028 9. The Free Software Foundation may publish revised and/or new versions 5029 of the General Public License from time to time. Such new versions will 5030 be similar in spirit to the present version, but may differ in detail to 5031 address new problems or concerns. 5032 5033 Each version is given a distinguishing version number. If the Program 5034 specifies a version number of this License which applies to it and "any 5035 later version", you have the option of following the terms and conditions 5036 either of that version or of any later version published by the Free 5037 Software Foundation. If the Program does not specify a version number of 5038 this License, you may choose any version ever published by the Free Software 5039 Foundation. 5040 5041 10. If you wish to incorporate parts of the Program into other free 5042 programs whose distribution conditions are different, write to the author 5043 to ask for permission. For software which is copyrighted by the Free 5044 Software Foundation, write to the Free Software Foundation; we sometimes 5045 make exceptions for this. Our decision will be guided by the two goals 5046 of preserving the free status of all derivatives of our free software and 5047 of promoting the sharing and reuse of software generally. 5048 5049 NO WARRANTY 5050 5051 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 5052 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 5053 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 5054 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 5055 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 5056 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 5057 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 5058 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 5059 REPAIR OR CORRECTION. 5060 5061 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 5062 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 5063 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 5064 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 5065 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 5066 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 5067 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 5068 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 5069 POSSIBILITY OF SUCH DAMAGES. 5070 5071 END OF TERMS AND CONDITIONS 5072 5074 How to Apply These Terms to Your New Programs 5075 5076 If you develop a new program, and you want it to be of the greatest 5077 possible use to the public, the best way to achieve this is to make it 5078 free software which everyone can redistribute and change under these terms. 5079 5080 To do so, attach the following notices to the program. It is safest 5081 to attach them to the start of each source file to most effectively 5082 convey the exclusion of warranty; and each file should have at least 5083 the "copyright" line and a pointer to where the full notice is found. 5084 5085 <one line to give the program's name and a brief idea of what it does.> 5086 Copyright (C) 19yy <name of author> 5087 5088 This program is free software; you can redistribute it and/or modify 5089 it under the terms of the GNU General Public License as published by 5090 the Free Software Foundation; either version 2 of the License, or 5091 (at your option) any later version. 5092 5093 This program is distributed in the hope that it will be useful, 5094 but WITHOUT ANY WARRANTY; without even the implied warranty of 5095 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 5096 GNU General Public License for more details. 5097 5098 You should have received a copy of the GNU General Public License 5099 along with this program; if not, write to the Free Software 5100 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 5101 5102 5103 Also add information on how to contact you by electronic and paper mail. 5104 5105 If the program is interactive, make it output a short notice like this 5106 when it starts in an interactive mode: 5107 5108 Gnomovision version 69, Copyright (C) 19yy name of author 5109 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 5110 This is free software, and you are welcome to redistribute it 5111 under certain conditions; type `show c' for details. 5112 5113 The hypothetical commands `show w' and `show c' should show the appropriate 5114 parts of the General Public License. Of course, the commands you use may 5115 be called something other than `show w' and `show c'; they could even be 5116 mouse-clicks or menu items--whatever suits your program. 5117 5118 You should also get your employer (if you work as a programmer) or your 5119 school, if any, to sign a "copyright disclaimer" for the program, if 5120 necessary. Here is a sample; alter the names: 5121 5122 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 5123 `Gnomovision' (which makes passes at compilers) written by James Hacker. 5124 5125 <signature of Ty Coon>, 1 April 1989 5126 Ty Coon, President of Vice 5127 5128 This General Public License does not permit incorporating your program into 5129 proprietary programs. If your program is a subroutine library, you may 5130 consider it more useful to permit linking proprietary applications with the 5131 library. If this is what you want to do, use the GNU Library General 5132 Public License instead of this License. 5133 5134 Copyright 2014 The Chromium Authors. All rights reserved. 5135 5136 Redistribution and use in source and binary forms, with or without 5137 modification, are permitted provided that the following conditions are 5138 met: 5139 5140 * Redistributions of source code must retain the above copyright 5141 notice, this list of conditions and the following disclaimer. 5142 * Redistributions in binary form must reproduce the above 5143 copyright notice, this list of conditions and the following disclaimer 5144 in the documentation and/or other materials provided with the 5145 distribution. 5146 * Neither the name of Google Inc. nor the names of its 5147 contributors may be used to endorse or promote products derived from 5148 this software without specific prior written permission. 5149 5150 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 5151 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 5152 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 5153 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 5154 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 5155 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 5156 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 5157 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 5158 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 5159 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 5160 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5161 5162 5163 5164 Parts of the following directories are available under Apache v2.0 5165 5166 src/de 5167 Copyright (c) 2009-2011 Christian Kohlschtter 5168 5169 third_party/gwt_exporter 5170 Copyright 2007 Timepedia.org 5171 5172 third_party/gwt-2.5.1 5173 Copyright 2008 Google 5174 5175 Apache License 5176 5177 Version 2.0, January 2004 5178 5179 http://www.apache.org/licenses/ 5180 5181 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 5182 5183 1. Definitions. 5184 5185 "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. 5186 5187 "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. 5188 5189 "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. 5190 5191 "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. 5192 5193 "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. 5194 5195 "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. 5196 5197 "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). 5198 5199 "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. 5200 5201 "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." 5202 5203 "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. 5204 5205 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. 5206 5207 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. 5208 5209 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: 5210 5211 You must give any other recipients of the Work or Derivative Works a copy of this License; and 5212 You must cause any modified files to carry prominent notices stating that You changed the files; and 5213 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 5214 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. 5215 5216 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. 5217 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. 5218 5219 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. 5220 5221 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. 5222 5223 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. 5224 5225 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. 5226 5227 END OF TERMS AND CONDITIONS 5228 5229 Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd 5230 and Clark Cooper 5231 Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers. 5232 5233 Permission is hereby granted, free of charge, to any person obtaining 5234 a copy of this software and associated documentation files (the 5235 "Software"), to deal in the Software without restriction, including 5236 without limitation the rights to use, copy, modify, merge, publish, 5237 distribute, sublicense, and/or sell copies of the Software, and to 5238 permit persons to whom the Software is furnished to do so, subject to 5239 the following conditions: 5240 5241 The above copyright notice and this permission notice shall be included 5242 in all copies or substantial portions of the Software. 5243 5244 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 5245 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 5246 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 5247 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 5248 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 5249 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 5250 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 5251 5252 5253 Apache License 5254 Version 2.0, January 2004 5255 http://www.apache.org/licenses/ 5256 5257 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 5258 5259 1. Definitions. 5260 5261 "License" shall mean the terms and conditions for use, reproduction, 5262 and distribution as defined by Sections 1 through 9 of this document. 5263 5264 "Licensor" shall mean the copyright owner or entity authorized by 5265 the copyright owner that is granting the License. 5266 5267 "Legal Entity" shall mean the union of the acting entity and all 5268 other entities that control, are controlled by, or are under common 5269 control with that entity. For the purposes of this definition, 5270 "control" means (i) the power, direct or indirect, to cause the 5271 direction or management of such entity, whether by contract or 5272 otherwise, or (ii) ownership of fifty percent (50%) or more of the 5273 outstanding shares, or (iii) beneficial ownership of such entity. 5274 5275 "You" (or "Your") shall mean an individual or Legal Entity 5276 exercising permissions granted by this License. 5277 5278 "Source" form shall mean the preferred form for making modifications, 5279 including but not limited to software source code, documentation 5280 source, and configuration files. 5281 5282 "Object" form shall mean any form resulting from mechanical 5283 transformation or translation of a Source form, including but 5284 not limited to compiled object code, generated documentation, 5285 and conversions to other media types. 5286 5287 "Work" shall mean the work of authorship, whether in Source or 5288 Object form, made available under the License, as indicated by a 5289 copyright notice that is included in or attached to the work 5290 (an example is provided in the Appendix below). 5291 5292 "Derivative Works" shall mean any work, whether in Source or Object 5293 form, that is based on (or derived from) the Work and for which the 5294 editorial revisions, annotations, elaborations, or other modifications 5295 represent, as a whole, an original work of authorship. For the purposes 5296 of this License, Derivative Works shall not include works that remain 5297 separable from, or merely link (or bind by name) to the interfaces of, 5298 the Work and Derivative Works thereof. 5299 5300 "Contribution" shall mean any work of authorship, including 5301 the original version of the Work and any modifications or additions 5302 to that Work or Derivative Works thereof, that is intentionally 5303 submitted to Licensor for inclusion in the Work by the copyright owner 5304 or by an individual or Legal Entity authorized to submit on behalf of 5305 the copyright owner. For the purposes of this definition, "submitted" 5306 means any form of electronic, verbal, or written communication sent 5307 to the Licensor or its representatives, including but not limited to 5308 communication on electronic mailing lists, source code control systems, 5309 and issue tracking systems that are managed by, or on behalf of, the 5310 Licensor for the purpose of discussing and improving the Work, but 5311 excluding communication that is conspicuously marked or otherwise 5312 designated in writing by the copyright owner as "Not a Contribution." 5313 5314 "Contributor" shall mean Licensor and any individual or Legal Entity 5315 on behalf of whom a Contribution has been received by Licensor and 5316 subsequently incorporated within the Work. 5317 5318 2. Grant of Copyright License. Subject to the terms and conditions of 5319 this License, each Contributor hereby grants to You a perpetual, 5320 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 5321 copyright license to reproduce, prepare Derivative Works of, 5322 publicly display, publicly perform, sublicense, and distribute the 5323 Work and such Derivative Works in Source or Object form. 5324 5325 3. Grant of Patent License. Subject to the terms and conditions of 5326 this License, each Contributor hereby grants to You a perpetual, 5327 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 5328 (except as stated in this section) patent license to make, have made, 5329 use, offer to sell, sell, import, and otherwise transfer the Work, 5330 where such license applies only to those patent claims licensable 5331 by such Contributor that are necessarily infringed by their 5332 Contribution(s) alone or by combination of their Contribution(s) 5333 with the Work to which such Contribution(s) was submitted. If You 5334 institute patent litigation against any entity (including a 5335 cross-claim or counterclaim in a lawsuit) alleging that the Work 5336 or a Contribution incorporated within the Work constitutes direct 5337 or contributory patent infringement, then any patent licenses 5338 granted to You under this License for that Work shall terminate 5339 as of the date such litigation is filed. 5340 5341 4. Redistribution. You may reproduce and distribute copies of the 5342 Work or Derivative Works thereof in any medium, with or without 5343 modifications, and in Source or Object form, provided that You 5344 meet the following conditions: 5345 5346 (a) You must give any other recipients of the Work or 5347 Derivative Works a copy of this License; and 5348 5349 (b) You must cause any modified files to carry prominent notices 5350 stating that You changed the files; and 5351 5352 (c) You must retain, in the Source form of any Derivative Works 5353 that You distribute, all copyright, patent, trademark, and 5354 attribution notices from the Source form of the Work, 5355 excluding those notices that do not pertain to any part of 5356 the Derivative Works; and 5357 5358 (d) If the Work includes a "NOTICE" text file as part of its 5359 distribution, then any Derivative Works that You distribute must 5360 include a readable copy of the attribution notices contained 5361 within such NOTICE file, excluding those notices that do not 5362 pertain to any part of the Derivative Works, in at least one 5363 of the following places: within a NOTICE text file distributed 5364 as part of the Derivative Works; within the Source form or 5365 documentation, if provided along with the Derivative Works; or, 5366 within a display generated by the Derivative Works, if and 5367 wherever such third-party notices normally appear. The contents 5368 of the NOTICE file are for informational purposes only and 5369 do not modify the License. You may add Your own attribution 5370 notices within Derivative Works that You distribute, alongside 5371 or as an addendum to the NOTICE text from the Work, provided 5372 that such additional attribution notices cannot be construed 5373 as modifying the License. 5374 5375 You may add Your own copyright statement to Your modifications and 5376 may provide additional or different license terms and conditions 5377 for use, reproduction, or distribution of Your modifications, or 5378 for any such Derivative Works as a whole, provided Your use, 5379 reproduction, and distribution of the Work otherwise complies with 5380 the conditions stated in this License. 5381 5382 5. Submission of Contributions. Unless You explicitly state otherwise, 5383 any Contribution intentionally submitted for inclusion in the Work 5384 by You to the Licensor shall be under the terms and conditions of 5385 this License, without any additional terms or conditions. 5386 Notwithstanding the above, nothing herein shall supersede or modify 5387 the terms of any separate license agreement you may have executed 5388 with Licensor regarding such Contributions. 5389 5390 6. Trademarks. This License does not grant permission to use the trade 5391 names, trademarks, service marks, or product names of the Licensor, 5392 except as required for reasonable and customary use in describing the 5393 origin of the Work and reproducing the content of the NOTICE file. 5394 5395 7. Disclaimer of Warranty. Unless required by applicable law or 5396 agreed to in writing, Licensor provides the Work (and each 5397 Contributor provides its Contributions) on an "AS IS" BASIS, 5398 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 5399 implied, including, without limitation, any warranties or conditions 5400 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 5401 PARTICULAR PURPOSE. You are solely responsible for determining the 5402 appropriateness of using or redistributing the Work and assume any 5403 risks associated with Your exercise of permissions under this License. 5404 5405 8. Limitation of Liability. In no event and under no legal theory, 5406 whether in tort (including negligence), contract, or otherwise, 5407 unless required by applicable law (such as deliberate and grossly 5408 negligent acts) or agreed to in writing, shall any Contributor be 5409 liable to You for damages, including any direct, indirect, special, 5410 incidental, or consequential damages of any character arising as a 5411 result of this License or out of the use or inability to use the 5412 Work (including but not limited to damages for loss of goodwill, 5413 work stoppage, computer failure or malfunction, or any and all 5414 other commercial damages or losses), even if such Contributor 5415 has been advised of the possibility of such damages. 5416 5417 9. Accepting Warranty or Additional Liability. While redistributing 5418 the Work or Derivative Works thereof, You may choose to offer, 5419 and charge a fee for, acceptance of support, warranty, indemnity, 5420 or other liability obligations and/or rights consistent with this 5421 License. However, in accepting such obligations, You may act only 5422 on Your own behalf and on Your sole responsibility, not on behalf 5423 of any other Contributor, and only if You agree to indemnify, 5424 defend, and hold each Contributor harmless for any liability 5425 incurred by, or claims asserted against, such Contributor by reason 5426 of your accepting any such warranty or additional liability. 5427 5428 END OF TERMS AND CONDITIONS 5429 5430 APPENDIX: How to apply the Apache License to your work. 5431 5432 To apply the Apache License to your work, attach the following 5433 boilerplate notice, with the fields enclosed by brackets "[]" 5434 replaced with your own identifying information. (Don't include 5435 the brackets!) The text should be enclosed in the appropriate 5436 comment syntax for the file format. We also recommend that a 5437 file or class name and description of purpose be included on the 5438 same "printed page" as the copyright notice for easier 5439 identification within third-party archives. 5440 5441 Copyright 2011 Google Inc. All Rights Reserved. 5442 5443 Licensed under the Apache License, Version 2.0 (the "License"); 5444 you may not use this file except in compliance with the License. 5445 You may obtain a copy of the License at 5446 5447 http://www.apache.org/licenses/LICENSE-2.0 5448 5449 Unless required by applicable law or agreed to in writing, software 5450 distributed under the License is distributed on an "AS IS" BASIS, 5451 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 5452 See the License for the specific language governing permissions and 5453 limitations under the License. 5454 5455 5456 Copyright (c) 1999, 2000, 2001, 2002 5457 Adel I. Mirzazhanov. All rights reserved 5458 5459 Redistribution and use in source and binary forms, with or without 5460 modification, are permitted provided that the following conditions 5461 are met: 5462 5463 1.Redistributions of source code must retain the above copyright notice, 5464 this list of conditions and the following disclaimer. 5465 2.Redistributions in binary form must reproduce the above copyright 5466 notice, this list of conditions and the following disclaimer in the 5467 documentation and/or other materials provided with the distribution. 5468 3.The name of the author may not be used to endorse or promote products 5469 derived from this software without specific prior written permission. 5470 5471 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 5472 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 5473 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5474 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 5475 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5476 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 5477 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 5478 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 5479 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 5480 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 5481 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5482 5483 Copyright (c) 2007-2013 IOLA and Ole Laursen 5484 5485 Permission is hereby granted, free of charge, to any person 5486 obtaining a copy of this software and associated documentation 5487 files (the "Software"), to deal in the Software without 5488 restriction, including without limitation the rights to use, 5489 copy, modify, merge, publish, distribute, sublicense, and/or sell 5490 copies of the Software, and to permit persons to whom the 5491 Software is furnished to do so, subject to the following 5492 conditions: 5493 5494 The above copyright notice and this permission notice shall be 5495 included in all copies or substantial portions of the Software. 5496 5497 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 5498 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 5499 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 5500 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 5501 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 5502 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 5503 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 5504 OTHER DEALINGS IN THE SOFTWARE. 5505 5506 This software is based in part on the work of the FreeType Team. 5507 5508 ---------------------- 5509 5510 The FreeType Project LICENSE 5511 ---------------------------- 5512 5513 2006-Jan-27 5514 5515 Copyright 1996-2002, 2006 by 5516 David Turner, Robert Wilhelm, and Werner Lemberg 5517 5518 5519 5520 Introduction 5521 ============ 5522 5523 The FreeType Project is distributed in several archive packages; 5524 some of them may contain, in addition to the FreeType font engine, 5525 various tools and contributions which rely on, or relate to, the 5526 FreeType Project. 5527 5528 This license applies to all files found in such packages, and 5529 which do not fall under their own explicit license. The license 5530 affects thus the FreeType font engine, the test programs, 5531 documentation and makefiles, at the very least. 5532 5533 This license was inspired by the BSD, Artistic, and IJG 5534 (Independent JPEG Group) licenses, which all encourage inclusion 5535 and use of free software in commercial and freeware products 5536 alike. As a consequence, its main points are that: 5537 5538 o We don't promise that this software works. However, we will be 5539 interested in any kind of bug reports. (`as is' distribution) 5540 5541 o You can use this software for whatever you want, in parts or 5542 full form, without having to pay us. (`royalty-free' usage) 5543 5544 o You may not pretend that you wrote this software. If you use 5545 it, or only parts of it, in a program, you must acknowledge 5546 somewhere in your documentation that you have used the 5547 FreeType code. (`credits') 5548 5549 We specifically permit and encourage the inclusion of this 5550 software, with or without modifications, in commercial products. 5551 We disclaim all warranties covering The FreeType Project and 5552 assume no liability related to The FreeType Project. 5553 5554 5555 Finally, many people asked us for a preferred form for a 5556 credit/disclaimer to use in compliance with this license. We thus 5557 encourage you to use the following text: 5558 5559 """ 5560 Portions of this software are copyright <year> The FreeType 5561 Project (www.freetype.org). All rights reserved. 5562 """ 5563 5564 Please replace <year> with the value from the FreeType version you 5565 actually use. 5566 5567 5568 Legal Terms 5569 =========== 5570 5571 0. Definitions 5572 -------------- 5573 5574 Throughout this license, the terms `package', `FreeType Project', 5575 and `FreeType archive' refer to the set of files originally 5576 distributed by the authors (David Turner, Robert Wilhelm, and 5577 Werner Lemberg) as the `FreeType Project', be they named as alpha, 5578 beta or final release. 5579 5580 `You' refers to the licensee, or person using the project, where 5581 `using' is a generic term including compiling the project's source 5582 code as well as linking it to form a `program' or `executable'. 5583 This program is referred to as `a program using the FreeType 5584 engine'. 5585 5586 This license applies to all files distributed in the original 5587 FreeType Project, including all source code, binaries and 5588 documentation, unless otherwise stated in the file in its 5589 original, unmodified form as distributed in the original archive. 5590 If you are unsure whether or not a particular file is covered by 5591 this license, you must contact us to verify this. 5592 5593 The FreeType Project is copyright (C) 1996-2000 by David Turner, 5594 Robert Wilhelm, and Werner Lemberg. All rights reserved except as 5595 specified below. 5596 5597 1. No Warranty 5598 -------------- 5599 5600 THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY 5601 KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 5602 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 5603 PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS 5604 BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO 5605 USE, OF THE FREETYPE PROJECT. 5606 5607 2. Redistribution 5608 ----------------- 5609 5610 This license grants a worldwide, royalty-free, perpetual and 5611 irrevocable right and license to use, execute, perform, compile, 5612 display, copy, create derivative works of, distribute and 5613 sublicense the FreeType Project (in both source and object code 5614 forms) and derivative works thereof for any purpose; and to 5615 authorize others to exercise some or all of the rights granted 5616 herein, subject to the following conditions: 5617 5618 o Redistribution of source code must retain this license file 5619 (`FTL.TXT') unaltered; any additions, deletions or changes to 5620 the original files must be clearly indicated in accompanying 5621 documentation. The copyright notices of the unaltered, 5622 original files must be preserved in all copies of source 5623 files. 5624 5625 o Redistribution in binary form must provide a disclaimer that 5626 states that the software is based in part of the work of the 5627 FreeType Team, in the distribution documentation. We also 5628 encourage you to put an URL to the FreeType web page in your 5629 documentation, though this isn't mandatory. 5630 5631 These conditions apply to any software derived from or based on 5632 the FreeType Project, not just the unmodified files. If you use 5633 our work, you must acknowledge us. However, no fee need be paid 5634 to us. 5635 5636 3. Advertising 5637 -------------- 5638 5639 Neither the FreeType authors and contributors nor you shall use 5640 the name of the other for commercial, advertising, or promotional 5641 purposes without specific prior written permission. 5642 5643 We suggest, but do not require, that you use one or more of the 5644 following phrases to refer to this software in your documentation 5645 or advertising materials: `FreeType Project', `FreeType Engine', 5646 `FreeType library', or `FreeType Distribution'. 5647 5648 As you have not signed this license, you are not required to 5649 accept it. However, as the FreeType Project is copyrighted 5650 material, only this license, or another one contracted with the 5651 authors, grants you the right to use, distribute, and modify it. 5652 Therefore, by using, distributing, or modifying the FreeType 5653 Project, you indicate that you understand and accept all the terms 5654 of this license. 5655 5656 4. Contacts 5657 ----------- 5658 5659 There are two mailing lists related to FreeType: 5660 5661 o freetype (a] nongnu.org 5662 5663 Discusses general use and applications of FreeType, as well as 5664 future and wanted additions to the library and distribution. 5665 If you are looking for support, start in this list if you 5666 haven't found anything to help you in the documentation. 5667 5668 o freetype-devel (a] nongnu.org 5669 5670 Discusses bugs, as well as engine internals, design issues, 5671 specific licenses, porting, etc. 5672 5673 Our home page can be found at 5674 5675 http://www.freetype.org 5676 5677 5678 --- end of FTL.TXT --- 5679 5680 // Copyright 2014 The Chromium Authors. All rights reserved. 5681 // 5682 // Redistribution and use in source and binary forms, with or without 5683 // modification, are permitted provided that the following conditions are 5684 // met: 5685 // 5686 // * Redistributions of source code must retain the above copyright 5687 // notice, this list of conditions and the following disclaimer. 5688 // * Redistributions in binary form must reproduce the above 5689 // copyright notice, this list of conditions and the following disclaimer 5690 // in the documentation and/or other materials provided with the 5691 // distribution. 5692 // * Neither the name of Google Inc. nor the names of its 5693 // contributors may be used to endorse or promote products derived from 5694 // this software without specific prior written permission. 5695 // 5696 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 5697 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 5698 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 5699 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 5700 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 5701 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 5702 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 5703 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 5704 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 5705 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 5706 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5707 5708 See src/COPYING 5709 5710 GNU LIBRARY GENERAL PUBLIC LICENSE 5711 Version 2, June 1991 5712 5713 Copyright (C) 1991 Free Software Foundation, Inc. 5714 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5715 Everyone is permitted to copy and distribute verbatim copies 5716 of this license document, but changing it is not allowed. 5717 5718 [This is the first released version of the library GPL. It is 5719 numbered 2 because it goes with version 2 of the ordinary GPL.] 5720 5721 Preamble 5722 5723 The licenses for most software are designed to take away your 5724 freedom to share and change it. By contrast, the GNU General Public 5725 Licenses are intended to guarantee your freedom to share and change 5726 free software--to make sure the software is free for all its users. 5727 5728 This license, the Library General Public License, applies to some 5729 specially designated Free Software Foundation software, and to any 5730 other libraries whose authors decide to use it. You can use it for 5731 your libraries, too. 5732 5733 When we speak of free software, we are referring to freedom, not 5734 price. Our General Public Licenses are designed to make sure that you 5735 have the freedom to distribute copies of free software (and charge for 5736 this service if you wish), that you receive source code or can get it 5737 if you want it, that you can change the software or use pieces of it 5738 in new free programs; and that you know you can do these things. 5739 5740 To protect your rights, we need to make restrictions that forbid 5741 anyone to deny you these rights or to ask you to surrender the rights. 5742 These restrictions translate to certain responsibilities for you if 5743 you distribute copies of the library, or if you modify it. 5744 5745 For example, if you distribute copies of the library, whether gratis 5746 or for a fee, you must give the recipients all the rights that we gave 5747 you. You must make sure that they, too, receive or can get the source 5748 code. If you link a program with the library, you must provide 5749 complete object files to the recipients so that they can relink them 5750 with the library, after making changes to the library and recompiling 5751 it. And you must show them these terms so they know their rights. 5752 5753 Our method of protecting your rights has two steps: (1) copyright 5754 the library, and (2) offer you this license which gives you legal 5755 permission to copy, distribute and/or modify the library. 5756 5757 Also, for each distributor's protection, we want to make certain 5758 that everyone understands that there is no warranty for this free 5759 library. If the library is modified by someone else and passed on, we 5760 want its recipients to know that what they have is not the original 5761 version, so that any problems introduced by others will not reflect on 5762 the original authors' reputations. 5763 5765 Finally, any free program is threatened constantly by software 5766 patents. We wish to avoid the danger that companies distributing free 5767 software will individually obtain patent licenses, thus in effect 5768 transforming the program into proprietary software. To prevent this, 5769 we have made it clear that any patent must be licensed for everyone's 5770 free use or not licensed at all. 5771 5772 Most GNU software, including some libraries, is covered by the ordinary 5773 GNU General Public License, which was designed for utility programs. This 5774 license, the GNU Library General Public License, applies to certain 5775 designated libraries. This license is quite different from the ordinary 5776 one; be sure to read it in full, and don't assume that anything in it is 5777 the same as in the ordinary license. 5778 5779 The reason we have a separate public license for some libraries is that 5780 they blur the distinction we usually make between modifying or adding to a 5781 program and simply using it. Linking a program with a library, without 5782 changing the library, is in some sense simply using the library, and is 5783 analogous to running a utility program or application program. However, in 5784 a textual and legal sense, the linked executable is a combined work, a 5785 derivative of the original library, and the ordinary General Public License 5786 treats it as such. 5787 5788 Because of this blurred distinction, using the ordinary General 5789 Public License for libraries did not effectively promote software 5790 sharing, because most developers did not use the libraries. We 5791 concluded that weaker conditions might promote sharing better. 5792 5793 However, unrestricted linking of non-free programs would deprive the 5794 users of those programs of all benefit from the free status of the 5795 libraries themselves. This Library General Public License is intended to 5796 permit developers of non-free programs to use free libraries, while 5797 preserving your freedom as a user of such programs to change the free 5798 libraries that are incorporated in them. (We have not seen how to achieve 5799 this as regards changes in header files, but we have achieved it as regards 5800 changes in the actual functions of the Library.) The hope is that this 5801 will lead to faster development of free libraries. 5802 5803 The precise terms and conditions for copying, distribution and 5804 modification follow. Pay close attention to the difference between a 5805 "work based on the library" and a "work that uses the library". The 5806 former contains code derived from the library, while the latter only 5807 works together with the library. 5808 5809 Note that it is possible for a library to be covered by the ordinary 5810 General Public License rather than by this special one. 5811 5813 GNU LIBRARY GENERAL PUBLIC LICENSE 5814 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 5815 5816 0. This License Agreement applies to any software library which 5817 contains a notice placed by the copyright holder or other authorized 5818 party saying it may be distributed under the terms of this Library 5819 General Public License (also called "this License"). Each licensee is 5820 addressed as "you". 5821 5822 A "library" means a collection of software functions and/or data 5823 prepared so as to be conveniently linked with application programs 5824 (which use some of those functions and data) to form executables. 5825 5826 The "Library", below, refers to any such software library or work 5827 which has been distributed under these terms. A "work based on the 5828 Library" means either the Library or any derivative work under 5829 copyright law: that is to say, a work containing the Library or a 5830 portion of it, either verbatim or with modifications and/or translated 5831 straightforwardly into another language. (Hereinafter, translation is 5832 included without limitation in the term "modification".) 5833 5834 "Source code" for a work means the preferred form of the work for 5835 making modifications to it. For a library, complete source code means 5836 all the source code for all modules it contains, plus any associated 5837 interface definition files, plus the scripts used to control compilation 5838 and installation of the library. 5839 5840 Activities other than copying, distribution and modification are not 5841 covered by this License; they are outside its scope. The act of 5842 running a program using the Library is not restricted, and output from 5843 such a program is covered only if its contents constitute a work based 5844 on the Library (independent of the use of the Library in a tool for 5845 writing it). Whether that is true depends on what the Library does 5846 and what the program that uses the Library does. 5847 5848 1. You may copy and distribute verbatim copies of the Library's 5849 complete source code as you receive it, in any medium, provided that 5850 you conspicuously and appropriately publish on each copy an 5851 appropriate copyright notice and disclaimer of warranty; keep intact 5852 all the notices that refer to this License and to the absence of any 5853 warranty; and distribute a copy of this License along with the 5854 Library. 5855 5856 You may charge a fee for the physical act of transferring a copy, 5857 and you may at your option offer warranty protection in exchange for a 5858 fee. 5859 5861 2. You may modify your copy or copies of the Library or any portion 5862 of it, thus forming a work based on the Library, and copy and 5863 distribute such modifications or work under the terms of Section 1 5864 above, provided that you also meet all of these conditions: 5865 5866 a) The modified work must itself be a software library. 5867 5868 b) You must cause the files modified to carry prominent notices 5869 stating that you changed the files and the date of any change. 5870 5871 c) You must cause the whole of the work to be licensed at no 5872 charge to all third parties under the terms of this License. 5873 5874 d) If a facility in the modified Library refers to a function or a 5875 table of data to be supplied by an application program that uses 5876 the facility, other than as an argument passed when the facility 5877 is invoked, then you must make a good faith effort to ensure that, 5878 in the event an application does not supply such function or 5879 table, the facility still operates, and performs whatever part of 5880 its purpose remains meaningful. 5881 5882 (For example, a function in a library to compute square roots has 5883 a purpose that is entirely well-defined independent of the 5884 application. Therefore, Subsection 2d requires that any 5885 application-supplied function or table used by this function must 5886 be optional: if the application does not supply it, the square 5887 root function must still compute square roots.) 5888 5889 These requirements apply to the modified work as a whole. If 5890 identifiable sections of that work are not derived from the Library, 5891 and can be reasonably considered independent and separate works in 5892 themselves, then this License, and its terms, do not apply to those 5893 sections when you distribute them as separate works. But when you 5894 distribute the same sections as part of a whole which is a work based 5895 on the Library, the distribution of the whole must be on the terms of 5896 this License, whose permissions for other licensees extend to the 5897 entire whole, and thus to each and every part regardless of who wrote 5898 it. 5899 5900 Thus, it is not the intent of this section to claim rights or contest 5901 your rights to work written entirely by you; rather, the intent is to 5902 exercise the right to control the distribution of derivative or 5903 collective works based on the Library. 5904 5905 In addition, mere aggregation of another work not based on the Library 5906 with the Library (or with a work based on the Library) on a volume of 5907 a storage or distribution medium does not bring the other work under 5908 the scope of this License. 5909 5910 3. You may opt to apply the terms of the ordinary GNU General Public 5911 License instead of this License to a given copy of the Library. To do 5912 this, you must alter all the notices that refer to this License, so 5913 that they refer to the ordinary GNU General Public License, version 2, 5914 instead of to this License. (If a newer version than version 2 of the 5915 ordinary GNU General Public License has appeared, then you can specify 5916 that version instead if you wish.) Do not make any other change in 5917 these notices. 5918 5920 Once this change is made in a given copy, it is irreversible for 5921 that copy, so the ordinary GNU General Public License applies to all 5922 subsequent copies and derivative works made from that copy. 5923 5924 This option is useful when you wish to copy part of the code of 5925 the Library into a program that is not a library. 5926 5927 4. You may copy and distribute the Library (or a portion or 5928 derivative of it, under Section 2) in object code or executable form 5929 under the terms of Sections 1 and 2 above provided that you accompany 5930 it with the complete corresponding machine-readable source code, which 5931 must be distributed under the terms of Sections 1 and 2 above on a 5932 medium customarily used for software interchange. 5933 5934 If distribution of object code is made by offering access to copy 5935 from a designated place, then offering equivalent access to copy the 5936 source code from the same place satisfies the requirement to 5937 distribute the source code, even though third parties are not 5938 compelled to copy the source along with the object code. 5939 5940 5. A program that contains no derivative of any portion of the 5941 Library, but is designed to work with the Library by being compiled or 5942 linked with it, is called a "work that uses the Library". Such a 5943 work, in isolation, is not a derivative work of the Library, and 5944 therefore falls outside the scope of this License. 5945 5946 However, linking a "work that uses the Library" with the Library 5947 creates an executable that is a derivative of the Library (because it 5948 contains portions of the Library), rather than a "work that uses the 5949 library". The executable is therefore covered by this License. 5950 Section 6 states terms for distribution of such executables. 5951 5952 When a "work that uses the Library" uses material from a header file 5953 that is part of the Library, the object code for the work may be a 5954 derivative work of the Library even though the source code is not. 5955 Whether this is true is especially significant if the work can be 5956 linked without the Library, or if the work is itself a library. The 5957 threshold for this to be true is not precisely defined by law. 5958 5959 If such an object file uses only numerical parameters, data 5960 structure layouts and accessors, and small macros and small inline 5961 functions (ten lines or less in length), then the use of the object 5962 file is unrestricted, regardless of whether it is legally a derivative 5963 work. (Executables containing this object code plus portions of the 5964 Library will still fall under Section 6.) 5965 5966 Otherwise, if the work is a derivative of the Library, you may 5967 distribute the object code for the work under the terms of Section 6. 5968 Any executables containing that work also fall under Section 6, 5969 whether or not they are linked directly with the Library itself. 5970 5972 6. As an exception to the Sections above, you may also compile or 5973 link a "work that uses the Library" with the Library to produce a 5974 work containing portions of the Library, and distribute that work 5975 under terms of your choice, provided that the terms permit 5976 modification of the work for the customer's own use and reverse 5977 engineering for debugging such modifications. 5978 5979 You must give prominent notice with each copy of the work that the 5980 Library is used in it and that the Library and its use are covered by 5981 this License. You must supply a copy of this License. If the work 5982 during execution displays copyright notices, you must include the 5983 copyright notice for the Library among them, as well as a reference 5984 directing the user to the copy of this License. Also, you must do one 5985 of these things: 5986 5987 a) Accompany the work with the complete corresponding 5988 machine-readable source code for the Library including whatever 5989 changes were used in the work (which must be distributed under 5990 Sections 1 and 2 above); and, if the work is an executable linked 5991 with the Library, with the complete machine-readable "work that 5992 uses the Library", as object code and/or source code, so that the 5993 user can modify the Library and then relink to produce a modified 5994 executable containing the modified Library. (It is understood 5995 that the user who changes the contents of definitions files in the 5996 Library will not necessarily be able to recompile the application 5997 to use the modified definitions.) 5998 5999 b) Accompany the work with a written offer, valid for at 6000 least three years, to give the same user the materials 6001 specified in Subsection 6a, above, for a charge no more 6002 than the cost of performing this distribution. 6003 6004 c) If distribution of the work is made by offering access to copy 6005 from a designated place, offer equivalent access to copy the above 6006 specified materials from the same place. 6007 6008 d) Verify that the user has already received a copy of these 6009 materials or that you have already sent this user a copy. 6010 6011 For an executable, the required form of the "work that uses the 6012 Library" must include any data and utility programs needed for 6013 reproducing the executable from it. However, as a special exception, 6014 the source code distributed need not include anything that is normally 6015 distributed (in either source or binary form) with the major 6016 components (compiler, kernel, and so on) of the operating system on 6017 which the executable runs, unless that component itself accompanies 6018 the executable. 6019 6020 It may happen that this requirement contradicts the license 6021 restrictions of other proprietary libraries that do not normally 6022 accompany the operating system. Such a contradiction means you cannot 6023 use both them and the Library together in an executable that you 6024 distribute. 6025 6027 7. You may place library facilities that are a work based on the 6028 Library side-by-side in a single library together with other library 6029 facilities not covered by this License, and distribute such a combined 6030 library, provided that the separate distribution of the work based on 6031 the Library and of the other library facilities is otherwise 6032 permitted, and provided that you do these two things: 6033 6034 a) Accompany the combined library with a copy of the same work 6035 based on the Library, uncombined with any other library 6036 facilities. This must be distributed under the terms of the 6037 Sections above. 6038 6039 b) Give prominent notice with the combined library of the fact 6040 that part of it is a work based on the Library, and explaining 6041 where to find the accompanying uncombined form of the same work. 6042 6043 8. You may not copy, modify, sublicense, link with, or distribute 6044 the Library except as expressly provided under this License. Any 6045 attempt otherwise to copy, modify, sublicense, link with, or 6046 distribute the Library is void, and will automatically terminate your 6047 rights under this License. However, parties who have received copies, 6048 or rights, from you under this License will not have their licenses 6049 terminated so long as such parties remain in full compliance. 6050 6051 9. You are not required to accept this License, since you have not 6052 signed it. However, nothing else grants you permission to modify or 6053 distribute the Library or its derivative works. These actions are 6054 prohibited by law if you do not accept this License. Therefore, by 6055 modifying or distributing the Library (or any work based on the 6056 Library), you indicate your acceptance of this License to do so, and 6057 all its terms and conditions for copying, distributing or modifying 6058 the Library or works based on it. 6059 6060 10. Each time you redistribute the Library (or any work based on the 6061 Library), the recipient automatically receives a license from the 6062 original licensor to copy, distribute, link with or modify the Library 6063 subject to these terms and conditions. You may not impose any further 6064 restrictions on the recipients' exercise of the rights granted herein. 6065 You are not responsible for enforcing compliance by third parties to 6066 this License. 6067 6069 11. If, as a consequence of a court judgment or allegation of patent 6070 infringement or for any other reason (not limited to patent issues), 6071 conditions are imposed on you (whether by court order, agreement or 6072 otherwise) that contradict the conditions of this License, they do not 6073 excuse you from the conditions of this License. If you cannot 6074 distribute so as to satisfy simultaneously your obligations under this 6075 License and any other pertinent obligations, then as a consequence you 6076 may not distribute the Library at all. For example, if a patent 6077 license would not permit royalty-free redistribution of the Library by 6078 all those who receive copies directly or indirectly through you, then 6079 the only way you could satisfy both it and this License would be to 6080 refrain entirely from distribution of the Library. 6081 6082 If any portion of this section is held invalid or unenforceable under any 6083 particular circumstance, the balance of the section is intended to apply, 6084 and the section as a whole is intended to apply in other circumstances. 6085 6086 It is not the purpose of this section to induce you to infringe any 6087 patents or other property right claims or to contest validity of any 6088 such claims; this section has the sole purpose of protecting the 6089 integrity of the free software distribution system which is 6090 implemented by public license practices. Many people have made 6091 generous contributions to the wide range of software distributed 6092 through that system in reliance on consistent application of that 6093 system; it is up to the author/donor to decide if he or she is willing 6094 to distribute software through any other system and a licensee cannot 6095 impose that choice. 6096 6097 This section is intended to make thoroughly clear what is believed to 6098 be a consequence of the rest of this License. 6099 6100 12. If the distribution and/or use of the Library is restricted in 6101 certain countries either by patents or by copyrighted interfaces, the 6102 original copyright holder who places the Library under this License may add 6103 an explicit geographical distribution limitation excluding those countries, 6104 so that distribution is permitted only in or among countries not thus 6105 excluded. In such case, this License incorporates the limitation as if 6106 written in the body of this License. 6107 6108 13. The Free Software Foundation may publish revised and/or new 6109 versions of the Library General Public License from time to time. 6110 Such new versions will be similar in spirit to the present version, 6111 but may differ in detail to address new problems or concerns. 6112 6113 Each version is given a distinguishing version number. If the Library 6114 specifies a version number of this License which applies to it and 6115 "any later version", you have the option of following the terms and 6116 conditions either of that version or of any later version published by 6117 the Free Software Foundation. If the Library does not specify a 6118 license version number, you may choose any version ever published by 6119 the Free Software Foundation. 6120 6122 14. If you wish to incorporate parts of the Library into other free 6123 programs whose distribution conditions are incompatible with these, 6124 write to the author to ask for permission. For software which is 6125 copyrighted by the Free Software Foundation, write to the Free 6126 Software Foundation; we sometimes make exceptions for this. Our 6127 decision will be guided by the two goals of preserving the free status 6128 of all derivatives of our free software and of promoting the sharing 6129 and reuse of software generally. 6130 6131 NO WARRANTY 6132 6133 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 6134 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 6135 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 6136 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 6137 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 6138 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 6139 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 6140 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 6141 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 6142 6143 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 6144 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 6145 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 6146 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 6147 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 6148 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 6149 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 6150 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 6151 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 6152 DAMAGES. 6153 6154 END OF TERMS AND CONDITIONS 6155 6157 How to Apply These Terms to Your New Libraries 6158 6159 If you develop a new library, and you want it to be of the greatest 6160 possible use to the public, we recommend making it free software that 6161 everyone can redistribute and change. You can do so by permitting 6162 redistribution under these terms (or, alternatively, under the terms of the 6163 ordinary General Public License). 6164 6165 To apply these terms, attach the following notices to the library. It is 6166 safest to attach them to the start of each source file to most effectively 6167 convey the exclusion of warranty; and each file should have at least the 6168 "copyright" line and a pointer to where the full notice is found. 6169 6170 <one line to give the library's name and a brief idea of what it does.> 6171 Copyright (C) <year> <name of author> 6172 6173 This library is free software; you can redistribute it and/or 6174 modify it under the terms of the GNU Library General Public 6175 License as published by the Free Software Foundation; either 6176 version 2 of the License, or (at your option) any later version. 6177 6178 This library is distributed in the hope that it will be useful, 6179 but WITHOUT ANY WARRANTY; without even the implied warranty of 6180 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 6181 Library General Public License for more details. 6182 6183 You should have received a copy of the GNU Library General Public 6184 License along with this library; if not, write to the 6185 Free Software Foundation, Inc., 59 Temple Place - Suite 330, 6186 Boston, MA 02111-1307 USA. 6187 6188 Also add information on how to contact you by electronic and paper mail. 6189 6190 You should also get your employer (if you work as a programmer) or your 6191 school, if any, to sign a "copyright disclaimer" for the library, if 6192 necessary. Here is a sample; alter the names: 6193 6194 Yoyodyne, Inc., hereby disclaims all copyright interest in the 6195 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 6196 6197 <signature of Ty Coon>, 1 April 1990 6198 Ty Coon, President of Vice 6199 6200 That's all there is to it! 6201 6202 HarfBuzz is licensed under the so-called "Old MIT" license. Details follow. 6203 For parts of HarfBuzz that are licensed under different licenses see individual 6204 files names COPYING in subdirectories where applicable. 6205 6206 Copyright 2010,2011,2012 Google, Inc. 6207 Copyright 2012 Mozilla Foundation 6208 Copyright 2011 Codethink Limited 6209 Copyright 2008,2010 Nokia Corporation and/or its subsidiary(-ies) 6210 Copyright 2009 Keith Stribley 6211 Copyright 2009 Martin Hosken and SIL International 6212 Copyright 2007 Chris Wilson 6213 Copyright 2006 Behdad Esfahbod 6214 Copyright 2005 David Turner 6215 Copyright 2004,2007,2008,2009,2010 Red Hat, Inc. 6216 Copyright 1998-2004 David Turner and Werner Lemberg 6217 6218 For full copyright notices consult the individual files in the package. 6219 6220 6221 Permission is hereby granted, without written agreement and without 6222 license or royalty fees, to use, copy, modify, and distribute this 6223 software and its documentation for any purpose, provided that the 6224 above copyright notice and the following two paragraphs appear in 6225 all copies of this software. 6226 6227 IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR 6228 DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 6229 ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN 6230 IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 6231 DAMAGE. 6232 6233 THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, 6234 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 6235 FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS 6236 ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO 6237 PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 6238 6239 // Copyright 2014 The Chromium Authors. All rights reserved. 6240 // 6241 // Redistribution and use in source and binary forms, with or without 6242 // modification, are permitted provided that the following conditions are 6243 // met: 6244 // 6245 // * Redistributions of source code must retain the above copyright 6246 // notice, this list of conditions and the following disclaimer. 6247 // * Redistributions in binary form must reproduce the above 6248 // copyright notice, this list of conditions and the following disclaimer 6249 // in the documentation and/or other materials provided with the 6250 // distribution. 6251 // * Neither the name of Google Inc. nor the names of its 6252 // contributors may be used to endorse or promote products derived from 6253 // this software without specific prior written permission. 6254 // 6255 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 6256 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 6257 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 6258 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 6259 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 6260 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 6261 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 6262 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 6263 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 6264 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 6265 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 6266 6267 /************************************************************************* 6268 * 6269 * IAccessible2 IDL Specification 6270 * 6271 * Copyright (c) 2007, 2010 Linux Foundation 6272 * Copyright (c) 2006 IBM Corporation 6273 * Copyright (c) 2000, 2006 Sun Microsystems, Inc. 6274 * All rights reserved. 6275 * 6276 * 6277 * Redistribution and use in source and binary forms, with or without 6278 * modification, are permitted provided that the following conditions 6279 * are met: 6280 * 6281 * 1. Redistributions of source code must retain the above copyright 6282 * notice, this list of conditions and the following disclaimer. 6283 * 6284 * 2. Redistributions in binary form must reproduce the above 6285 * copyright notice, this list of conditions and the following 6286 * disclaimer in the documentation and/or other materials 6287 * provided with the distribution. 6288 * 6289 * 3. Neither the name of the Linux Foundation nor the names of its 6290 * contributors may be used to endorse or promote products 6291 * derived from this software without specific prior written 6292 * permission. 6293 * 6294 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 6295 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 6296 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 6297 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 6298 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 6299 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 6300 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 6301 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 6302 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6303 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 6304 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 6305 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 6306 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 6307 * 6308 * This BSD License conforms to the Open Source Initiative "Simplified 6309 * BSD License" as published at: 6310 * http://www.opensource.org/licenses/bsd-license.php 6311 * 6312 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2 6313 * mark may be used in accordance with the Linux Foundation Trademark 6314 * Policy to indicate compliance with the IAccessible2 specification. 6315 * 6316 ************************************************************************/ 6317 6318 LICENSE extracted from IJG's jpeg distribution: 6319 ----------------------------------------------- 6320 6321 In plain English: 6322 6323 1. We don't promise that this software works. (But if you find any bugs, 6324 please let us know!) 6325 2. You can use this software for whatever you want. You don't have to pay us. 6326 3. You may not pretend that you wrote this software. If you use it in a 6327 program, you must acknowledge somewhere in your documentation that 6328 you've used the IJG code. 6329 6330 In legalese: 6331 6332 The authors make NO WARRANTY or representation, either express or implied, 6333 with respect to this software, its quality, accuracy, merchantability, or 6334 fitness for a particular purpose. This software is provided "AS IS", and you, 6335 its user, assume the entire risk as to its quality and accuracy. 6336 6337 This software is copyright (C) 1991-1998, Thomas G. Lane. 6338 All Rights Reserved except as specified below. 6339 6340 Permission is hereby granted to use, copy, modify, and distribute this 6341 software (or portions thereof) for any purpose, without fee, subject to these 6342 conditions: 6343 (1) If any part of the source code for this software is distributed, then this 6344 README file must be included, with this copyright and no-warranty notice 6345 unaltered; and any additions, deletions, or changes to the original files 6346 must be clearly indicated in accompanying documentation. 6347 (2) If only executable code is distributed, then the accompanying 6348 documentation must state that "this software is based in part on the work of 6349 the Independent JPEG Group". 6350 (3) Permission for use of this software is granted only if the user accepts 6351 full responsibility for any undesirable consequences; the authors accept 6352 NO LIABILITY for damages of any kind. 6353 6354 These conditions apply to any software derived from or based on the IJG code, 6355 not just to the unmodified library. If you use our work, you ought to 6356 acknowledge us. 6357 6358 Permission is NOT granted for the use of any IJG author's name or company name 6359 in advertising or publicity relating to this software or products derived from 6360 it. This software may be referred to only as "the Independent JPEG Group's 6361 software". 6362 6363 We specifically permit and encourage the use of this software as the basis of 6364 commercial products, provided that all warranty or liability claims are 6365 assumed by the product vendor. 6366 6367 6368 ICU License - ICU 1.8.1 and later 6369 6370 COPYRIGHT AND PERMISSION NOTICE 6371 6372 Copyright (c) 1995-2013 International Business Machines Corporation and 6373 others 6374 6375 All rights reserved. 6376 6377 Permission is hereby granted, free of charge, to any person obtaining a 6378 copy of this software and associated documentation files (the 6379 "Software"), to deal in the Software without restriction, including 6380 without limitation the rights to use, copy, modify, merge, publish, 6381 distribute, and/or sell copies of the Software, and to permit persons 6382 to whom the Software is furnished to do so, provided that the above 6383 copyright notice(s) and this permission notice appear in all copies of 6384 the Software and that both the above copyright notice(s) and this 6385 permission notice appear in supporting documentation. 6386 6387 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 6388 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 6389 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 6390 OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 6391 HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 6392 INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 6393 FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 6394 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 6395 WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 6396 6397 Except as contained in this notice, the name of a copyright holder 6398 shall not be used in advertising or otherwise to promote the sale, use 6399 or other dealings in this Software without prior written authorization 6400 of the copyright holder. 6401 __________________________________________________________________ 6402 6403 All trademarks and registered trademarks mentioned herein are the 6404 property of their respective owners. 6405 __________________________________________________________________ 6406 6407 Third-Party Software Licenses 6408 6409 This section contains third-party software notices and/or additional 6410 terms for licensed third-party software components included within ICU 6411 libraries. 6412 6413 1. Unicode Data Files and Software 6414 6415 EXHIBIT 1 6416 UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE 6417 6418 Unicode Data Files include all data files under the directories 6419 http://www.unicode.org/Public/, http://www.unicode.org/reports/, and 6420 http://www.unicode.org/cldr/data/. Unicode Data Files do not include 6421 PDF online code charts under the directory 6422 http://www.unicode.org/Public/. Software includes any source code 6423 published in the Unicode Standard or under the directories 6424 http://www.unicode.org/Public/, http://www.unicode.org/reports/, and 6425 http://www.unicode.org/cldr/data/. 6426 6427 NOTICE TO USER: Carefully read the following legal agreement. BY 6428 DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S 6429 DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU 6430 UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND 6431 CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, 6432 INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. 6433 6434 COPYRIGHT AND PERMISSION NOTICE 6435 6436 Copyright 1991-2013 Unicode, Inc. All rights reserved. Distributed 6437 under the Terms of Use in http://www.unicode.org/copyright.html. 6438 6439 Permission is hereby granted, free of charge, to any person 6440 obtaining a copy of the Unicode data files and any associated 6441 documentation (the "Data Files") or Unicode software and any 6442 associated documentation (the "Software") to deal in the Data Files 6443 or Software without restriction, including without limitation the 6444 rights to use, copy, modify, merge, publish, distribute, and/or sell 6445 copies of the Data Files or Software, and to permit persons to whom 6446 the Data Files or Software are furnished to do so, provided that (a) 6447 the above copyright notice(s) and this permission notice appear with 6448 all copies of the Data Files or Software, (b) both the above 6449 copyright notice(s) and this permission notice appear in associated 6450 documentation, and (c) there is clear notice in each modified Data 6451 File or in the Software as well as in the documentation associated 6452 with the Data File(s) or Software that the data or software has been 6453 modified. 6454 6455 THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY 6456 OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 6457 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 6458 NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE 6459 COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR 6460 ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY 6461 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 6462 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 6463 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 6464 OF THE DATA FILES OR SOFTWARE. 6465 6466 Except as contained in this notice, the name of a copyright holder 6467 shall not be used in advertising or otherwise to promote the sale, 6468 use or other dealings in these Data Files or Software without prior 6469 written authorization of the copyright holder. 6470 ______________________________________________________ 6471 6472 Unicode and the Unicode logo are trademarks of Unicode, Inc. in the 6473 United States and other countries. All third party trademarks 6474 referenced herein are the property of their respective owners. 6475 6476 2. Chinese/Japanese Word Break Dictionary Data (cjdict.txt) 6477 6478 # The Google Chrome software developed by Google is licensed under the BSD l 6479 icense. Other software included in this distribution is provided under other lic 6480 enses, as set forth below. 6481 # 6482 # The BSD License 6483 # http://opensource.org/licenses/bsd-license.php 6484 # Copyright (C) 2006-2008, Google Inc. 6485 # 6486 # All rights reserved. 6487 # 6488 # Redistribution and use in source and binary forms, with or without modif 6489 ication, are permitted provided that the following conditions are met: 6490 # 6491 # Redistributions of source code must retain the above copyright notice, t 6492 his list of conditions and the following disclaimer. 6493 # Redistributions in binary form must reproduce the above copyright notice 6494 , this list of conditions and the following disclaimer in the documentation and/ 6495 or other materials provided with the distribution. 6496 # Neither the name of Google Inc. nor the names of its contributors may b 6497 e used to endorse or promote products derived from this software without specifi 6498 c prior written permission. 6499 # 6500 # 6501 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 6502 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IM 6503 PLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DIS 6504 CLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY 6505 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INC 6506 LUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 6507 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEO 6508 RY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLI 6509 GENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 6510 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 6511 # 6512 # 6513 # The word list in cjdict.txt are generated by combining three word lists 6514 listed 6515 # below with further processing for compound word breaking. The frequency 6516 is generated 6517 # with an iterative training against Google web corpora. 6518 # 6519 # * Libtabe (Chinese) 6520 # - https://sourceforge.net/project/?group_id=1519 6521 # - Its license terms and conditions are shown below. 6522 # 6523 # * IPADIC (Japanese) 6524 # - http://chasen.aist-nara.ac.jp/chasen/distribution.html 6525 # - Its license terms and conditions are shown below. 6526 # 6527 # ---------COPYING.libtabe ---- BEGIN-------------------- 6528 # 6529 # /* 6530 # * Copyrighy (c) 1999 TaBE Project. 6531 # * Copyright (c) 1999 Pai-Hsiang Hsiao. 6532 # * All rights reserved. 6533 # * 6534 # * Redistribution and use in source and binary forms, with or without 6535 # * modification, are permitted provided that the following conditions 6536 # * are met: 6537 # * 6538 # * . Redistributions of source code must retain the above copyright 6539 # * notice, this list of conditions and the following disclaimer. 6540 # * . Redistributions in binary form must reproduce the above copyright 6541 # * notice, this list of conditions and the following disclaimer in 6542 # * the documentation and/or other materials provided with the 6543 # * distribution. 6544 # * . Neither the name of the TaBE Project nor the names of its 6545 # * contributors may be used to endorse or promote products derived 6546 # * from this software without specific prior written permission. 6547 # * 6548 # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 6549 # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 6550 # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 6551 # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 6552 # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 6553 # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 6554 # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 6555 # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6556 # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 6557 # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 6558 # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 6559 # * OF THE POSSIBILITY OF SUCH DAMAGE. 6560 # */ 6561 # 6562 # /* 6563 # * Copyright (c) 1999 Computer Systems and Communication Lab, 6564 # * Institute of Information Science, Academia Sinica. 6565 # * All rights reserved. 6566 # * 6567 # * Redistribution and use in source and binary forms, with or without 6568 # * modification, are permitted provided that the following conditions 6569 # * are met: 6570 # * 6571 # * . Redistributions of source code must retain the above copyright 6572 # * notice, this list of conditions and the following disclaimer. 6573 # * . Redistributions in binary form must reproduce the above copyright 6574 # * notice, this list of conditions and the following disclaimer in 6575 # * the documentation and/or other materials provided with the 6576 # * distribution. 6577 # * . Neither the name of the Computer Systems and Communication Lab 6578 # * nor the names of its contributors may be used to endorse or 6579 # * promote products derived from this software without specific 6580 # * prior written permission. 6581 # * 6582 # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 6583 # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 6584 # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 6585 # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 6586 # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 6587 # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 6588 # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 6589 # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6590 # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 6591 # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 6592 # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 6593 # * OF THE POSSIBILITY OF SUCH DAMAGE. 6594 # */ 6595 # 6596 # Copyright 1996 Chih-Hao Tsai @ Beckman Institute, University of Illinois 6597 # c-tsai4 (a] uiuc.edu http://casper.beckman.uiuc.edu/~c-tsai4 6598 # 6599 # ---------------COPYING.libtabe-----END---------------------------------- 6600 -- 6601 # 6602 # 6603 # ---------------COPYING.ipadic-----BEGIN--------------------------------- 6604 --- 6605 # 6606 # Copyright 2000, 2001, 2002, 2003 Nara Institute of Science 6607 # and Technology. All Rights Reserved. 6608 # 6609 # Use, reproduction, and distribution of this software is permitted. 6610 # Any copy of this software, whether in its original form or modified, 6611 # must include both the above copyright notice and the following 6612 # paragraphs. 6613 # 6614 # Nara Institute of Science and Technology (NAIST), 6615 # the copyright holders, disclaims all warranties with regard to this 6616 # software, including all implied warranties of merchantability and 6617 # fitness, in no event shall NAIST be liable for 6618 # any special, indirect or consequential damages or any damages 6619 # whatsoever resulting from loss of use, data or profits, whether in an 6620 # action of contract, negligence or other tortuous action, arising out 6621 # of or in connection with the use or performance of this software. 6622 # 6623 # A large portion of the dictionary entries 6624 # originate from ICOT Free Software. The following conditions for ICOT 6625 # Free Software applies to the current dictionary as well. 6626 # 6627 # Each User may also freely distribute the Program, whether in its 6628 # original form or modified, to any third party or parties, PROVIDED 6629 # that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear 6630 # on, or be attached to, the Program, which is distributed substantially 6631 # in the same form as set out herein and that such intended 6632 # distribution, if actually made, will neither violate or otherwise 6633 # contravene any of the laws and regulations of the countries having 6634 # jurisdiction over the User or the intended distribution itself. 6635 # 6636 # NO WARRANTY 6637 # 6638 # The program was produced on an experimental basis in the course of the 6639 # research and development conducted during the project and is provided 6640 # to users as so produced on an experimental basis. Accordingly, the 6641 # program is provided without any warranty whatsoever, whether express, 6642 # implied, statutory or otherwise. The term "warranty" used herein 6643 # includes, but is not limited to, any warranty of the quality, 6644 # performance, merchantability and fitness for a particular purpose of 6645 # the program and the nonexistence of any infringement or violation of 6646 # any right of any third party. 6647 # 6648 # Each user of the program will agree and understand, and be deemed to 6649 # have agreed and understood, that there is no warranty whatsoever for 6650 # the program and, accordingly, the entire risk arising from or 6651 # otherwise connected with the program is assumed by the user. 6652 # 6653 # Therefore, neither ICOT, the copyright holder, or any other 6654 # organization that participated in or was otherwise related to the 6655 # development of the program and their respective officials, directors, 6656 # officers and other employees shall be held liable for any and all 6657 # damages, including, without limitation, general, special, incidental 6658 # and consequential damages, arising out of or otherwise in connection 6659 # with the use or inability to use the program or any product, material 6660 # or result produced or otherwise obtained by using the program, 6661 # regardless of whether they have been advised of, or otherwise had 6662 # knowledge of, the possibility of such damages at any time during the 6663 # project or thereafter. Each user will be deemed to have agreed to the 6664 # foregoing by his or her commencement of use of the program. The term 6665 # "use" as used herein includes, but is not limited to, the use, 6666 # modification, copying and distribution of the program and the 6667 # production of secondary products from the program. 6668 # 6669 # In the case where the program, whether in its original form or 6670 # modified, was distributed or delivered to or received by a user from 6671 # any person, organization or entity other than ICOT, unless it makes or 6672 # grants independently of ICOT any specific warranty to the user in 6673 # writing, such person, organization or entity, will also be exempted 6674 # from and not be held liable to the user for any such damages as noted 6675 # above as far as the program is concerned. 6676 # 6677 # ---------------COPYING.ipadic-----END----------------------------------- 6678 - 6679 6680 3. Lao Word Break Dictionary Data (laodict.txt) 6681 6682 # Copyright (c) 2013 International Business Machines Corporation 6683 # and others. All Rights Reserved. 6684 # 6685 # Project: http://code.google.com/p/lao-dictionary/ 6686 # Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt 6687 # License: http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICE 6688 NSE.txt 6689 # (copied below) 6690 # 6691 # This file is derived from the above dictionary, with slight modification 6692 s. 6693 # ------------------------------------------------------------------------ 6694 -------- 6695 # Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell. 6696 # All rights reserved. 6697 # 6698 # Redistribution and use in source and binary forms, with or without modif 6699 ication, 6700 # are permitted provided that the following conditions are met: 6701 # 6702 # Redistributions of source code must retain the above copyright n 6703 otice, this 6704 # list of conditions and the following disclaimer. Redistributions 6705 in binary 6706 # form must reproduce the above copyright notice, this list of con 6707 ditions and 6708 # the following disclaimer in the documentation and/or other mater 6709 ials 6710 # provided with the distribution. 6711 # 6712 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 6713 IS" AND 6714 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IM 6715 PLIED 6716 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 6717 # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LI 6718 ABLE FOR 6719 # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL D 6720 AMAGES 6721 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVI 6722 CES; 6723 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 6724 AND ON 6725 # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 6726 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 6727 THIS 6728 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 6729 # ------------------------------------------------------------------------ 6730 -------- 6731 6732 4. Time Zone Database 6733 6734 ICU uses the public domain data and code derived from Time Zone 6735 Database for its time zone support. The ownership of the TZ database is 6736 explained in BCP 175: Procedure for Maintaining the Time Zone Database 6737 section 7. 6738 6739 7. Database Ownership 6740 6741 The TZ database itself is not an IETF Contribution or an IETF 6742 document. Rather it is a pre-existing and regularly updated work 6743 that is in the public domain, and is intended to remain in the public 6744 domain. Therefore, BCPs 78 [RFC5378] and 79 [RFC3979] do not apply 6745 to the TZ Database or contributions that individuals make to it. 6746 Should any claims be made and substantiated against the TZ Database, 6747 the organization that is providing the IANA Considerations defined in 6748 this RFC, under the memorandum of understanding with the IETF, 6749 currently ICANN, may act in accordance with all competent court 6750 orders. No ownership claims will be made by ICANN or the IETF Trust 6751 on the database or the code. Any person making a contribution to the 6752 database or code waives all rights to future claims in that 6753 contribution or in the TZ Database. 6754 6755 /* ***** BEGIN LICENSE BLOCK ***** 6756 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 6757 * 6758 * The contents of this file are subject to the Mozilla Public License Version 6759 * 1.1 (the "License"); you may not use this file except in compliance with 6760 * the License. You may obtain a copy of the License at 6761 * http://www.mozilla.org/MPL/ 6762 * 6763 * Software distributed under the License is distributed on an "AS IS" basis, 6764 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 6765 * for the specific language governing rights and limitations under the 6766 * License. 6767 * 6768 * The Original Code is mozilla.org code. 6769 * 6770 * The Initial Developer of the Original Code is 6771 * Netscape Communications Corporation. 6772 * Portions created by the Initial Developer are Copyright (C) 2002 6773 * the Initial Developer. All Rights Reserved. 6774 * 6775 * Contributor(s): 6776 * 6777 * Alternatively, the contents of this file may be used under the terms of 6778 * either the GNU General Public License Version 2 or later (the "GPL"), or 6779 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 6780 * in which case the provisions of the GPL or the LGPL are applicable instead 6781 * of those above. If you wish to allow use of your version of this file only 6782 * under the terms of either the GPL or the LGPL, and not to allow others to 6783 * use your version of this file under the terms of the MPL, indicate your 6784 * decision by deleting the provisions above and replace them with the notice 6785 * and other provisions required by the GPL or the LGPL. If you do not delete 6786 * the provisions above, a recipient may use your version of this file under 6787 * the terms of any one of the MPL, the GPL or the LGPL. 6788 * 6789 * ***** END LICENSE BLOCK ***** */ 6790 6791 The JsonCpp library's source code, including accompanying documentation, 6792 tests and demonstration applications, are licensed under the following 6793 conditions... 6794 6795 The author (Baptiste Lepilleur) explicitly disclaims copyright in all 6796 jurisdictions which recognize such a disclaimer. In such jurisdictions, 6797 this software is released into the Public Domain. 6798 6799 In jurisdictions which do not recognize Public Domain property (e.g. Germany as of 6800 2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is 6801 released under the terms of the MIT License (see below). 6802 6803 In jurisdictions which recognize Public Domain property, the user of this 6804 software may choose to accept it either as 1) Public Domain, 2) under the 6805 conditions of the MIT License (see below), or 3) under the terms of dual 6806 Public Domain/MIT License conditions described here, as they choose. 6807 6808 The MIT License is about as close to Public Domain as a license can get, and is 6809 described in clear, concise terms at: 6810 6811 http://en.wikipedia.org/wiki/MIT_License 6812 6813 The full text of the MIT License follows: 6814 6815 ======================================================================== 6816 Copyright (c) 2007-2010 Baptiste Lepilleur 6817 6818 Permission is hereby granted, free of charge, to any person 6819 obtaining a copy of this software and associated documentation 6820 files (the "Software"), to deal in the Software without 6821 restriction, including without limitation the rights to use, copy, 6822 modify, merge, publish, distribute, sublicense, and/or sell copies 6823 of the Software, and to permit persons to whom the Software is 6824 furnished to do so, subject to the following conditions: 6825 6826 The above copyright notice and this permission notice shall be 6827 included in all copies or substantial portions of the Software. 6828 6829 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 6830 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 6831 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 6832 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 6833 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 6834 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 6835 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 6836 SOFTWARE. 6837 ======================================================================== 6838 (END LICENSE TEXT) 6839 6840 The MIT license is compatible with both the GPL and commercial 6841 software, affording one all of the rights of Public Domain with the 6842 minor nuisance of being required to keep the above copyright notice 6843 and license text in the source code. Note also that by accepting the 6844 Public Domain "license" you can re-license your copy using whatever 6845 license you like. 6846 6847 6848 Apache License 6849 Version 2.0, January 2004 6850 http://www.apache.org/licenses/ 6851 6852 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6853 6854 1. Definitions. 6855 6856 "License" shall mean the terms and conditions for use, reproduction, 6857 and distribution as defined by Sections 1 through 9 of this document. 6858 6859 "Licensor" shall mean the copyright owner or entity authorized by 6860 the copyright owner that is granting the License. 6861 6862 "Legal Entity" shall mean the union of the acting entity and all 6863 other entities that control, are controlled by, or are under common 6864 control with that entity. For the purposes of this definition, 6865 "control" means (i) the power, direct or indirect, to cause the 6866 direction or management of such entity, whether by contract or 6867 otherwise, or (ii) ownership of fifty percent (50%) or more of the 6868 outstanding shares, or (iii) beneficial ownership of such entity. 6869 6870 "You" (or "Your") shall mean an individual or Legal Entity 6871 exercising permissions granted by this License. 6872 6873 "Source" form shall mean the preferred form for making modifications, 6874 including but not limited to software source code, documentation 6875 source, and configuration files. 6876 6877 "Object" form shall mean any form resulting from mechanical 6878 transformation or translation of a Source form, including but 6879 not limited to compiled object code, generated documentation, 6880 and conversions to other media types. 6881 6882 "Work" shall mean the work of authorship, whether in Source or 6883 Object form, made available under the License, as indicated by a 6884 copyright notice that is included in or attached to the work 6885 (an example is provided in the Appendix below). 6886 6887 "Derivative Works" shall mean any work, whether in Source or Object 6888 form, that is based on (or derived from) the Work and for which the 6889 editorial revisions, annotations, elaborations, or other modifications 6890 represent, as a whole, an original work of authorship. For the purposes 6891 of this License, Derivative Works shall not include works that remain 6892 separable from, or merely link (or bind by name) to the interfaces of, 6893 the Work and Derivative Works thereof. 6894 6895 "Contribution" shall mean any work of authorship, including 6896 the original version of the Work and any modifications or additions 6897 to that Work or Derivative Works thereof, that is intentionally 6898 submitted to Licensor for inclusion in the Work by the copyright owner 6899 or by an individual or Legal Entity authorized to submit on behalf of 6900 the copyright owner. For the purposes of this definition, "submitted" 6901 means any form of electronic, verbal, or written communication sent 6902 to the Licensor or its representatives, including but not limited to 6903 communication on electronic mailing lists, source code control systems, 6904 and issue tracking systems that are managed by, or on behalf of, the 6905 Licensor for the purpose of discussing and improving the Work, but 6906 excluding communication that is conspicuously marked or otherwise 6907 designated in writing by the copyright owner as "Not a Contribution." 6908 6909 "Contributor" shall mean Licensor and any individual or Legal Entity 6910 on behalf of whom a Contribution has been received by Licensor and 6911 subsequently incorporated within the Work. 6912 6913 2. Grant of Copyright License. Subject to the terms and conditions of 6914 this License, each Contributor hereby grants to You a perpetual, 6915 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 6916 copyright license to reproduce, prepare Derivative Works of, 6917 publicly display, publicly perform, sublicense, and distribute the 6918 Work and such Derivative Works in Source or Object form. 6919 6920 3. Grant of Patent License. Subject to the terms and conditions of 6921 this License, each Contributor hereby grants to You a perpetual, 6922 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 6923 (except as stated in this section) patent license to make, have made, 6924 use, offer to sell, sell, import, and otherwise transfer the Work, 6925 where such license applies only to those patent claims licensable 6926 by such Contributor that are necessarily infringed by their 6927 Contribution(s) alone or by combination of their Contribution(s) 6928 with the Work to which such Contribution(s) was submitted. If You 6929 institute patent litigation against any entity (including a 6930 cross-claim or counterclaim in a lawsuit) alleging that the Work 6931 or a Contribution incorporated within the Work constitutes direct 6932 or contributory patent infringement, then any patent licenses 6933 granted to You under this License for that Work shall terminate 6934 as of the date such litigation is filed. 6935 6936 4. Redistribution. You may reproduce and distribute copies of the 6937 Work or Derivative Works thereof in any medium, with or without 6938 modifications, and in Source or Object form, provided that You 6939 meet the following conditions: 6940 6941 (a) You must give any other recipients of the Work or 6942 Derivative Works a copy of this License; and 6943 6944 (b) You must cause any modified files to carry prominent notices 6945 stating that You changed the files; and 6946 6947 (c) You must retain, in the Source form of any Derivative Works 6948 that You distribute, all copyright, patent, trademark, and 6949 attribution notices from the Source form of the Work, 6950 excluding those notices that do not pertain to any part of 6951 the Derivative Works; and 6952 6953 (d) If the Work includes a "NOTICE" text file as part of its 6954 distribution, then any Derivative Works that You distribute must 6955 include a readable copy of the attribution notices contained 6956 within such NOTICE file, excluding those notices that do not 6957 pertain to any part of the Derivative Works, in at least one 6958 of the following places: within a NOTICE text file distributed 6959 as part of the Derivative Works; within the Source form or 6960 documentation, if provided along with the Derivative Works; or, 6961 within a display generated by the Derivative Works, if and 6962 wherever such third-party notices normally appear. The contents 6963 of the NOTICE file are for informational purposes only and 6964 do not modify the License. You may add Your own attribution 6965 notices within Derivative Works that You distribute, alongside 6966 or as an addendum to the NOTICE text from the Work, provided 6967 that such additional attribution notices cannot be construed 6968 as modifying the License. 6969 6970 You may add Your own copyright statement to Your modifications and 6971 may provide additional or different license terms and conditions 6972 for use, reproduction, or distribution of Your modifications, or 6973 for any such Derivative Works as a whole, provided Your use, 6974 reproduction, and distribution of the Work otherwise complies with 6975 the conditions stated in this License. 6976 6977 5. Submission of Contributions. Unless You explicitly state otherwise, 6978 any Contribution intentionally submitted for inclusion in the Work 6979 by You to the Licensor shall be under the terms and conditions of 6980 this License, without any additional terms or conditions. 6981 Notwithstanding the above, nothing herein shall supersede or modify 6982 the terms of any separate license agreement you may have executed 6983 with Licensor regarding such Contributions. 6984 6985 6. Trademarks. This License does not grant permission to use the trade 6986 names, trademarks, service marks, or product names of the Licensor, 6987 except as required for reasonable and customary use in describing the 6988 origin of the Work and reproducing the content of the NOTICE file. 6989 6990 7. Disclaimer of Warranty. Unless required by applicable law or 6991 agreed to in writing, Licensor provides the Work (and each 6992 Contributor provides its Contributions) on an "AS IS" BASIS, 6993 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 6994 implied, including, without limitation, any warranties or conditions 6995 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 6996 PARTICULAR PURPOSE. You are solely responsible for determining the 6997 appropriateness of using or redistributing the Work and assume any 6998 risks associated with Your exercise of permissions under this License. 6999 7000 8. Limitation of Liability. In no event and under no legal theory, 7001 whether in tort (including negligence), contract, or otherwise, 7002 unless required by applicable law (such as deliberate and grossly 7003 negligent acts) or agreed to in writing, shall any Contributor be 7004 liable to You for damages, including any direct, indirect, special, 7005 incidental, or consequential damages of any character arising as a 7006 result of this License or out of the use or inability to use the 7007 Work (including but not limited to damages for loss of goodwill, 7008 work stoppage, computer failure or malfunction, or any and all 7009 other commercial damages or losses), even if such Contributor 7010 has been advised of the possibility of such damages. 7011 7012 9. Accepting Warranty or Additional Liability. While redistributing 7013 the Work or Derivative Works thereof, You may choose to offer, 7014 and charge a fee for, acceptance of support, warranty, indemnity, 7015 or other liability obligations and/or rights consistent with this 7016 License. However, in accepting such obligations, You may act only 7017 on Your own behalf and on Your sole responsibility, not on behalf 7018 of any other Contributor, and only if You agree to indemnify, 7019 defend, and hold each Contributor harmless for any liability 7020 incurred by, or claims asserted against, such Contributor by reason 7021 of your accepting any such warranty or additional liability. 7022 7023 END OF TERMS AND CONDITIONS 7024 7025 APPENDIX: How to apply the Apache License to your work. 7026 7027 To apply the Apache License to your work, attach the following 7028 boilerplate notice, with the fields enclosed by brackets "[]" 7029 replaced with your own identifying information. (Don't include 7030 the brackets!) The text should be enclosed in the appropriate 7031 comment syntax for the file format. We also recommend that a 7032 file or class name and description of purpose be included on the 7033 same "printed page" as the copyright notice for easier 7034 identification within third-party archives. 7035 7036 Copyright [yyyy] [name of copyright owner] 7037 7038 Licensed under the Apache License, Version 2.0 (the "License"); 7039 you may not use this file except in compliance with the License. 7040 You may obtain a copy of the License at 7041 7042 http://www.apache.org/licenses/LICENSE-2.0 7043 7044 Unless required by applicable law or agreed to in writing, software 7045 distributed under the License is distributed on an "AS IS" BASIS, 7046 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 7047 See the License for the specific language governing permissions and 7048 limitations under the License. 7049 7050 Copyright (c) 2007-2010 The Khronos Group Inc. 7051 7052 Permission is hereby granted, free of charge, to any person obtaining a 7053 copy of this software and/or associated documentation files (the 7054 "Materials"), to deal in the Materials without restriction, including 7055 without limitation the rights to use, copy, modify, merge, publish, 7056 distribute, sublicense, and/or sell copies of the Materials, and to 7057 permit persons to whom the Materials are furnished to do so, subject to 7058 the following conditions: 7059 7060 The above copyright notice and this permission notice shall be included 7061 in all copies or substantial portions of the Materials. 7062 7063 THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 7064 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 7065 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 7066 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 7067 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 7068 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 7069 MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 7070 7071 7072 SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) 7073 7074 Copyright (C) 1992 Silicon Graphics, Inc. All Rights Reserved. 7075 7076 Permission is hereby granted, free of charge, to any person obtaining a copy of 7077 this software and associated documentation files (the "Software"), to deal in 7078 the Software without restriction, including without limitation the rights to 7079 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7080 of the Software, and to permit persons to whom the Software is furnished to do 7081 so, subject to the following conditions: 7082 7083 The above copyright notice including the dates of first publication and either 7084 this permission notice or a reference to http://oss.sgi.com/projects/FreeB/ 7085 shall be included in all copies or substantial portions of the Software. 7086 7087 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 7088 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 7089 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SILICON 7090 GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 7091 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 7092 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 7093 7094 Except as contained in this notice, the name of Silicon Graphics, Inc. shall 7095 not be used in advertising or otherwise to promote the sale, use or other 7096 dealings in this Software without prior written authorization from Silicon 7097 Graphics, Inc. 7098 7099 Redistribution and use in source and binary forms, with or without 7100 modification, are permitted provided that the following conditions are 7101 met: 7102 7103 * Redistributions of source code must retain the above copyright 7104 notice, this list of conditions and the following disclaimer. 7105 7106 * Redistributions in binary form must reproduce the above 7107 copyright notice, this list of conditions and the following 7108 disclaimer in the documentation and/or other materials provided 7109 with the distribution. 7110 7111 * Neither the name of the copyright holders nor the names of its 7112 contributors may be used to endorse or promote products derived 7113 from this software without specific prior written permission. 7114 7115 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 7116 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 7117 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 7118 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 7119 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 7120 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 7121 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 7122 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 7123 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 7124 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 7125 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7126 7127 GNU GENERAL PUBLIC LICENSE 7128 Version 2, June 1991 7129 7130 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 7131 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 7132 Everyone is permitted to copy and distribute verbatim copies 7133 of this license document, but changing it is not allowed. 7134 7135 Preamble 7136 7137 The licenses for most software are designed to take away your 7138 freedom to share and change it. By contrast, the GNU General Public 7139 License is intended to guarantee your freedom to share and change free 7140 software--to make sure the software is free for all its users. This 7141 General Public License applies to most of the Free Software 7142 Foundation's software and to any other program whose authors commit to 7143 using it. (Some other Free Software Foundation software is covered by 7144 the GNU Lesser General Public License instead.) You can apply it to 7145 your programs, too. 7146 7147 When we speak of free software, we are referring to freedom, not 7148 price. Our General Public Licenses are designed to make sure that you 7149 have the freedom to distribute copies of free software (and charge for 7150 this service if you wish), that you receive source code or can get it 7151 if you want it, that you can change the software or use pieces of it 7152 in new free programs; and that you know you can do these things. 7153 7154 To protect your rights, we need to make restrictions that forbid 7155 anyone to deny you these rights or to ask you to surrender the rights. 7156 These restrictions translate to certain responsibilities for you if you 7157 distribute copies of the software, or if you modify it. 7158 7159 For example, if you distribute copies of such a program, whether 7160 gratis or for a fee, you must give the recipients all the rights that 7161 you have. You must make sure that they, too, receive or can get the 7162 source code. And you must show them these terms so they know their 7163 rights. 7164 7165 We protect your rights with two steps: (1) copyright the software, and 7166 (2) offer you this license which gives you legal permission to copy, 7167 distribute and/or modify the software. 7168 7169 Also, for each author's protection and ours, we want to make certain 7170 that everyone understands that there is no warranty for this free 7171 software. If the software is modified by someone else and passed on, we 7172 want its recipients to know that what they have is not the original, so 7173 that any problems introduced by others will not reflect on the original 7174 authors' reputations. 7175 7176 Finally, any free program is threatened constantly by software 7177 patents. We wish to avoid the danger that redistributors of a free 7178 program will individually obtain patent licenses, in effect making the 7179 program proprietary. To prevent this, we have made it clear that any 7180 patent must be licensed for everyone's free use or not licensed at all. 7181 7182 The precise terms and conditions for copying, distribution and 7183 modification follow. 7184 7185 GNU GENERAL PUBLIC LICENSE 7186 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 7187 7188 0. This License applies to any program or other work which contains 7189 a notice placed by the copyright holder saying it may be distributed 7190 under the terms of this General Public License. The "Program", below, 7191 refers to any such program or work, and a "work based on the Program" 7192 means either the Program or any derivative work under copyright law: 7193 that is to say, a work containing the Program or a portion of it, 7194 either verbatim or with modifications and/or translated into another 7195 language. (Hereinafter, translation is included without limitation in 7196 the term "modification".) Each licensee is addressed as "you". 7197 7198 Activities other than copying, distribution and modification are not 7199 covered by this License; they are outside its scope. The act of 7200 running the Program is not restricted, and the output from the Program 7201 is covered only if its contents constitute a work based on the 7202 Program (independent of having been made by running the Program). 7203 Whether that is true depends on what the Program does. 7204 7205 1. You may copy and distribute verbatim copies of the Program's 7206 source code as you receive it, in any medium, provided that you 7207 conspicuously and appropriately publish on each copy an appropriate 7208 copyright notice and disclaimer of warranty; keep intact all the 7209 notices that refer to this License and to the absence of any warranty; 7210 and give any other recipients of the Program a copy of this License 7211 along with the Program. 7212 7213 You may charge a fee for the physical act of transferring a copy, and 7214 you may at your option offer warranty protection in exchange for a fee. 7215 7216 2. You may modify your copy or copies of the Program or any portion 7217 of it, thus forming a work based on the Program, and copy and 7218 distribute such modifications or work under the terms of Section 1 7219 above, provided that you also meet all of these conditions: 7220 7221 a) You must cause the modified files to carry prominent notices 7222 stating that you changed the files and the date of any change. 7223 7224 b) You must cause any work that you distribute or publish, that in 7225 whole or in part contains or is derived from the Program or any 7226 part thereof, to be licensed as a whole at no charge to all third 7227 parties under the terms of this License. 7228 7229 c) If the modified program normally reads commands interactively 7230 when run, you must cause it, when started running for such 7231 interactive use in the most ordinary way, to print or display an 7232 announcement including an appropriate copyright notice and a 7233 notice that there is no warranty (or else, saying that you provide 7234 a warranty) and that users may redistribute the program under 7235 these conditions, and telling the user how to view a copy of this 7236 License. (Exception: if the Program itself is interactive but 7237 does not normally print such an announcement, your work based on 7238 the Program is not required to print an announcement.) 7239 7240 These requirements apply to the modified work as a whole. If 7241 identifiable sections of that work are not derived from the Program, 7242 and can be reasonably considered independent and separate works in 7243 themselves, then this License, and its terms, do not apply to those 7244 sections when you distribute them as separate works. But when you 7245 distribute the same sections as part of a whole which is a work based 7246 on the Program, the distribution of the whole must be on the terms of 7247 this License, whose permissions for other licensees extend to the 7248 entire whole, and thus to each and every part regardless of who wrote it. 7249 7250 Thus, it is not the intent of this section to claim rights or contest 7251 your rights to work written entirely by you; rather, the intent is to 7252 exercise the right to control the distribution of derivative or 7253 collective works based on the Program. 7254 7255 In addition, mere aggregation of another work not based on the Program 7256 with the Program (or with a work based on the Program) on a volume of 7257 a storage or distribution medium does not bring the other work under 7258 the scope of this License. 7259 7260 3. You may copy and distribute the Program (or a work based on it, 7261 under Section 2) in object code or executable form under the terms of 7262 Sections 1 and 2 above provided that you also do one of the following: 7263 7264 a) Accompany it with the complete corresponding machine-readable 7265 source code, which must be distributed under the terms of Sections 7266 1 and 2 above on a medium customarily used for software interchange; or, 7267 7268 b) Accompany it with a written offer, valid for at least three 7269 years, to give any third party, for a charge no more than your 7270 cost of physically performing source distribution, a complete 7271 machine-readable copy of the corresponding source code, to be 7272 distributed under the terms of Sections 1 and 2 above on a medium 7273 customarily used for software interchange; or, 7274 7275 c) Accompany it with the information you received as to the offer 7276 to distribute corresponding source code. (This alternative is 7277 allowed only for noncommercial distribution and only if you 7278 received the program in object code or executable form with such 7279 an offer, in accord with Subsection b above.) 7280 7281 The source code for a work means the preferred form of the work for 7282 making modifications to it. For an executable work, complete source 7283 code means all the source code for all modules it contains, plus any 7284 associated interface definition files, plus the scripts used to 7285 control compilation and installation of the executable. However, as a 7286 special exception, the source code distributed need not include 7287 anything that is normally distributed (in either source or binary 7288 form) with the major components (compiler, kernel, and so on) of the 7289 operating system on which the executable runs, unless that component 7290 itself accompanies the executable. 7291 7292 If distribution of executable or object code is made by offering 7293 access to copy from a designated place, then offering equivalent 7294 access to copy the source code from the same place counts as 7295 distribution of the source code, even though third parties are not 7296 compelled to copy the source along with the object code. 7297 7298 4. You may not copy, modify, sublicense, or distribute the Program 7299 except as expressly provided under this License. Any attempt 7300 otherwise to copy, modify, sublicense or distribute the Program is 7301 void, and will automatically terminate your rights under this License. 7302 However, parties who have received copies, or rights, from you under 7303 this License will not have their licenses terminated so long as such 7304 parties remain in full compliance. 7305 7306 5. You are not required to accept this License, since you have not 7307 signed it. However, nothing else grants you permission to modify or 7308 distribute the Program or its derivative works. These actions are 7309 prohibited by law if you do not accept this License. Therefore, by 7310 modifying or distributing the Program (or any work based on the 7311 Program), you indicate your acceptance of this License to do so, and 7312 all its terms and conditions for copying, distributing or modifying 7313 the Program or works based on it. 7314 7315 6. Each time you redistribute the Program (or any work based on the 7316 Program), the recipient automatically receives a license from the 7317 original licensor to copy, distribute or modify the Program subject to 7318 these terms and conditions. You may not impose any further 7319 restrictions on the recipients' exercise of the rights granted herein. 7320 You are not responsible for enforcing compliance by third parties to 7321 this License. 7322 7323 7. If, as a consequence of a court judgment or allegation of patent 7324 infringement or for any other reason (not limited to patent issues), 7325 conditions are imposed on you (whether by court order, agreement or 7326 otherwise) that contradict the conditions of this License, they do not 7327 excuse you from the conditions of this License. If you cannot 7328 distribute so as to satisfy simultaneously your obligations under this 7329 License and any other pertinent obligations, then as a consequence you 7330 may not distribute the Program at all. For example, if a patent 7331 license would not permit royalty-free redistribution of the Program by 7332 all those who receive copies directly or indirectly through you, then 7333 the only way you could satisfy both it and this License would be to 7334 refrain entirely from distribution of the Program. 7335 7336 If any portion of this section is held invalid or unenforceable under 7337 any particular circumstance, the balance of the section is intended to 7338 apply and the section as a whole is intended to apply in other 7339 circumstances. 7340 7341 It is not the purpose of this section to induce you to infringe any 7342 patents or other property right claims or to contest validity of any 7343 such claims; this section has the sole purpose of protecting the 7344 integrity of the free software distribution system, which is 7345 implemented by public license practices. Many people have made 7346 generous contributions to the wide range of software distributed 7347 through that system in reliance on consistent application of that 7348 system; it is up to the author/donor to decide if he or she is willing 7349 to distribute software through any other system and a licensee cannot 7350 impose that choice. 7351 7352 This section is intended to make thoroughly clear what is believed to 7353 be a consequence of the rest of this License. 7354 7355 8. If the distribution and/or use of the Program is restricted in 7356 certain countries either by patents or by copyrighted interfaces, the 7357 original copyright holder who places the Program under this License 7358 may add an explicit geographical distribution limitation excluding 7359 those countries, so that distribution is permitted only in or among 7360 countries not thus excluded. In such case, this License incorporates 7361 the limitation as if written in the body of this License. 7362 7363 9. The Free Software Foundation may publish revised and/or new versions 7364 of the General Public License from time to time. Such new versions will 7365 be similar in spirit to the present version, but may differ in detail to 7366 address new problems or concerns. 7367 7368 Each version is given a distinguishing version number. If the Program 7369 specifies a version number of this License which applies to it and "any 7370 later version", you have the option of following the terms and conditions 7371 either of that version or of any later version published by the Free 7372 Software Foundation. If the Program does not specify a version number of 7373 this License, you may choose any version ever published by the Free Software 7374 Foundation. 7375 7376 10. If you wish to incorporate parts of the Program into other free 7377 programs whose distribution conditions are different, write to the author 7378 to ask for permission. For software which is copyrighted by the Free 7379 Software Foundation, write to the Free Software Foundation; we sometimes 7380 make exceptions for this. Our decision will be guided by the two goals 7381 of preserving the free status of all derivatives of our free software and 7382 of promoting the sharing and reuse of software generally. 7383 7384 NO WARRANTY 7385 7386 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 7387 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 7388 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 7389 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 7390 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 7391 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 7392 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 7393 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 7394 REPAIR OR CORRECTION. 7395 7396 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 7397 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 7398 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 7399 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 7400 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 7401 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 7402 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 7403 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 7404 POSSIBILITY OF SUCH DAMAGES. 7405 7406 END OF TERMS AND CONDITIONS 7407 7408 How to Apply These Terms to Your New Programs 7409 7410 If you develop a new program, and you want it to be of the greatest 7411 possible use to the public, the best way to achieve this is to make it 7412 free software which everyone can redistribute and change under these terms. 7413 7414 To do so, attach the following notices to the program. It is safest 7415 to attach them to the start of each source file to most effectively 7416 convey the exclusion of warranty; and each file should have at least 7417 the "copyright" line and a pointer to where the full notice is found. 7418 7419 <one line to give the program's name and a brief idea of what it does.> 7420 Copyright (C) <year> <name of author> 7421 7422 This program is free software; you can redistribute it and/or modify 7423 it under the terms of the GNU General Public License as published by 7424 the Free Software Foundation; either version 2 of the License, or 7425 (at your option) any later version. 7426 7427 This program is distributed in the hope that it will be useful, 7428 but WITHOUT ANY WARRANTY; without even the implied warranty of 7429 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 7430 GNU General Public License for more details. 7431 7432 You should have received a copy of the GNU General Public License along 7433 with this program; if not, write to the Free Software Foundation, Inc., 7434 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 7435 7436 Also add information on how to contact you by electronic and paper mail. 7437 7438 If the program is interactive, make it output a short notice like this 7439 when it starts in an interactive mode: 7440 7441 Gnomovision version 69, Copyright (C) year name of author 7442 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 7443 This is free software, and you are welcome to redistribute it 7444 under certain conditions; type `show c' for details. 7445 7446 The hypothetical commands `show w' and `show c' should show the appropriate 7447 parts of the General Public License. Of course, the commands you use may 7448 be called something other than `show w' and `show c'; they could even be 7449 mouse-clicks or menu items--whatever suits your program. 7450 7451 You should also get your employer (if you work as a programmer) or your 7452 school, if any, to sign a "copyright disclaimer" for the program, if 7453 necessary. Here is a sample; alter the names: 7454 7455 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 7456 `Gnomovision' (which makes passes at compilers) written by James Hacker. 7457 7458 <signature of Ty Coon>, 1 April 1989 7459 Ty Coon, President of Vice 7460 7461 This General Public License does not permit incorporating your program into 7462 proprietary programs. If your program is a subroutine library, you may 7463 consider it more useful to permit linking proprietary applications with the 7464 library. If this is what you want to do, use the GNU Lesser General 7465 Public License instead of this License. 7466 7467 Copyright (c) 2011 The LevelDB Authors. All rights reserved. 7468 7469 Redistribution and use in source and binary forms, with or without 7470 modification, are permitted provided that the following conditions are 7471 met: 7472 7473 * Redistributions of source code must retain the above copyright 7474 notice, this list of conditions and the following disclaimer. 7475 * Redistributions in binary form must reproduce the above 7476 copyright notice, this list of conditions and the following disclaimer 7477 in the documentation and/or other materials provided with the 7478 distribution. 7479 * Neither the name of Google Inc. nor the names of its 7480 contributors may be used to endorse or promote products derived from 7481 this software without specific prior written permission. 7482 7483 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 7484 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 7485 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 7486 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 7487 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 7488 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 7489 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 7490 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 7491 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 7492 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 7493 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7494 7495 /* 7496 * Copyright (c) 2008 NVIDIA, Corporation 7497 * 7498 * Permission is hereby granted, free of charge, to any person obtaining a copy 7499 * of this software and associated documentation files (the "Software"), to deal 7500 * in the Software without restriction, including without limitation the rights 7501 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7502 * copies of the Software, and to permit persons to whom the Software is 7503 * furnished to do so, subject to the following conditions: 7504 * 7505 * The above copyright notice and this permission notice (including the next 7506 * paragraph) shall be included in all copies or substantial portions of the 7507 * Software. 7508 * 7509 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 7510 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 7511 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 7512 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 7513 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 7514 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 7515 * SOFTWARE. 7516 */ 7517 7518 Apache License 7519 Version 2.0, January 2004 7520 http://www.apache.org/licenses/ 7521 7522 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7523 7524 1. Definitions. 7525 7526 "License" shall mean the terms and conditions for use, reproduction, 7527 and distribution as defined by Sections 1 through 9 of this document. 7528 7529 "Licensor" shall mean the copyright owner or entity authorized by 7530 the copyright owner that is granting the License. 7531 7532 "Legal Entity" shall mean the union of the acting entity and all 7533 other entities that control, are controlled by, or are under common 7534 control with that entity. For the purposes of this definition, 7535 "control" means (i) the power, direct or indirect, to cause the 7536 direction or management of such entity, whether by contract or 7537 otherwise, or (ii) ownership of fifty percent (50%) or more of the 7538 outstanding shares, or (iii) beneficial ownership of such entity. 7539 7540 "You" (or "Your") shall mean an individual or Legal Entity 7541 exercising permissions granted by this License. 7542 7543 "Source" form shall mean the preferred form for making modifications, 7544 including but not limited to software source code, documentation 7545 source, and configuration files. 7546 7547 "Object" form shall mean any form resulting from mechanical 7548 transformation or translation of a Source form, including but 7549 not limited to compiled object code, generated documentation, 7550 and conversions to other media types. 7551 7552 "Work" shall mean the work of authorship, whether in Source or 7553 Object form, made available under the License, as indicated by a 7554 copyright notice that is included in or attached to the work 7555 (an example is provided in the Appendix below). 7556 7557 "Derivative Works" shall mean any work, whether in Source or Object 7558 form, that is based on (or derived from) the Work and for which the 7559 editorial revisions, annotations, elaborations, or other modifications 7560 represent, as a whole, an original work of authorship. For the purposes 7561 of this License, Derivative Works shall not include works that remain 7562 separable from, or merely link (or bind by name) to the interfaces of, 7563 the Work and Derivative Works thereof. 7564 7565 "Contribution" shall mean any work of authorship, including 7566 the original version of the Work and any modifications or additions 7567 to that Work or Derivative Works thereof, that is intentionally 7568 submitted to Licensor for inclusion in the Work by the copyright owner 7569 or by an individual or Legal Entity authorized to submit on behalf of 7570 the copyright owner. For the purposes of this definition, "submitted" 7571 means any form of electronic, verbal, or written communication sent 7572 to the Licensor or its representatives, including but not limited to 7573 communication on electronic mailing lists, source code control systems, 7574 and issue tracking systems that are managed by, or on behalf of, the 7575 Licensor for the purpose of discussing and improving the Work, but 7576 excluding communication that is conspicuously marked or otherwise 7577 designated in writing by the copyright owner as "Not a Contribution." 7578 7579 "Contributor" shall mean Licensor and any individual or Legal Entity 7580 on behalf of whom a Contribution has been received by Licensor and 7581 subsequently incorporated within the Work. 7582 7583 2. Grant of Copyright License. Subject to the terms and conditions of 7584 this License, each Contributor hereby grants to You a perpetual, 7585 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 7586 copyright license to reproduce, prepare Derivative Works of, 7587 publicly display, publicly perform, sublicense, and distribute the 7588 Work and such Derivative Works in Source or Object form. 7589 7590 3. Grant of Patent License. Subject to the terms and conditions of 7591 this License, each Contributor hereby grants to You a perpetual, 7592 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 7593 (except as stated in this section) patent license to make, have made, 7594 use, offer to sell, sell, import, and otherwise transfer the Work, 7595 where such license applies only to those patent claims licensable 7596 by such Contributor that are necessarily infringed by their 7597 Contribution(s) alone or by combination of their Contribution(s) 7598 with the Work to which such Contribution(s) was submitted. If You 7599 institute patent litigation against any entity (including a 7600 cross-claim or counterclaim in a lawsuit) alleging that the Work 7601 or a Contribution incorporated within the Work constitutes direct 7602 or contributory patent infringement, then any patent licenses 7603 granted to You under this License for that Work shall terminate 7604 as of the date such litigation is filed. 7605 7606 4. Redistribution. You may reproduce and distribute copies of the 7607 Work or Derivative Works thereof in any medium, with or without 7608 modifications, and in Source or Object form, provided that You 7609 meet the following conditions: 7610 7611 (a) You must give any other recipients of the Work or 7612 Derivative Works a copy of this License; and 7613 7614 (b) You must cause any modified files to carry prominent notices 7615 stating that You changed the files; and 7616 7617 (c) You must retain, in the Source form of any Derivative Works 7618 that You distribute, all copyright, patent, trademark, and 7619 attribution notices from the Source form of the Work, 7620 excluding those notices that do not pertain to any part of 7621 the Derivative Works; and 7622 7623 (d) If the Work includes a "NOTICE" text file as part of its 7624 distribution, then any Derivative Works that You distribute must 7625 include a readable copy of the attribution notices contained 7626 within such NOTICE file, excluding those notices that do not 7627 pertain to any part of the Derivative Works, in at least one 7628 of the following places: within a NOTICE text file distributed 7629 as part of the Derivative Works; within the Source form or 7630 documentation, if provided along with the Derivative Works; or, 7631 within a display generated by the Derivative Works, if and 7632 wherever such third-party notices normally appear. The contents 7633 of the NOTICE file are for informational purposes only and 7634 do not modify the License. You may add Your own attribution 7635 notices within Derivative Works that You distribute, alongside 7636 or as an addendum to the NOTICE text from the Work, provided 7637 that such additional attribution notices cannot be construed 7638 as modifying the License. 7639 7640 You may add Your own copyright statement to Your modifications and 7641 may provide additional or different license terms and conditions 7642 for use, reproduction, or distribution of Your modifications, or 7643 for any such Derivative Works as a whole, provided Your use, 7644 reproduction, and distribution of the Work otherwise complies with 7645 the conditions stated in this License. 7646 7647 5. Submission of Contributions. Unless You explicitly state otherwise, 7648 any Contribution intentionally submitted for inclusion in the Work 7649 by You to the Licensor shall be under the terms and conditions of 7650 this License, without any additional terms or conditions. 7651 Notwithstanding the above, nothing herein shall supersede or modify 7652 the terms of any separate license agreement you may have executed 7653 with Licensor regarding such Contributions. 7654 7655 6. Trademarks. This License does not grant permission to use the trade 7656 names, trademarks, service marks, or product names of the Licensor, 7657 except as required for reasonable and customary use in describing the 7658 origin of the Work and reproducing the content of the NOTICE file. 7659 7660 7. Disclaimer of Warranty. Unless required by applicable law or 7661 agreed to in writing, Licensor provides the Work (and each 7662 Contributor provides its Contributions) on an "AS IS" BASIS, 7663 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 7664 implied, including, without limitation, any warranties or conditions 7665 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 7666 PARTICULAR PURPOSE. You are solely responsible for determining the 7667 appropriateness of using or redistributing the Work and assume any 7668 risks associated with Your exercise of permissions under this License. 7669 7670 8. Limitation of Liability. In no event and under no legal theory, 7671 whether in tort (including negligence), contract, or otherwise, 7672 unless required by applicable law (such as deliberate and grossly 7673 negligent acts) or agreed to in writing, shall any Contributor be 7674 liable to You for damages, including any direct, indirect, special, 7675 incidental, or consequential damages of any character arising as a 7676 result of this License or out of the use or inability to use the 7677 Work (including but not limited to damages for loss of goodwill, 7678 work stoppage, computer failure or malfunction, or any and all 7679 other commercial damages or losses), even if such Contributor 7680 has been advised of the possibility of such damages. 7681 7682 9. Accepting Warranty or Additional Liability. While redistributing 7683 the Work or Derivative Works thereof, You may choose to offer, 7684 and charge a fee for, acceptance of support, warranty, indemnity, 7685 or other liability obligations and/or rights consistent with this 7686 License. However, in accepting such obligations, You may act only 7687 on Your own behalf and on Your sole responsibility, not on behalf 7688 of any other Contributor, and only if You agree to indemnify, 7689 defend, and hold each Contributor harmless for any liability 7690 incurred by, or claims asserted against, such Contributor by reason 7691 of your accepting any such warranty or additional liability. 7692 7693 END OF TERMS AND CONDITIONS 7694 7695 APPENDIX: How to apply the Apache License to your work. 7696 7697 To apply the Apache License to your work, attach the following 7698 boilerplate notice, with the fields enclosed by brackets "[]" 7699 replaced with your own identifying information. (Don't include 7700 the brackets!) The text should be enclosed in the appropriate 7701 comment syntax for the file format. We also recommend that a 7702 file or class name and description of purpose be included on the 7703 same "printed page" as the copyright notice for easier 7704 identification within third-party archives. 7705 7706 Copyright [yyyy] [name of copyright owner] 7707 7708 Licensed under the Apache License, Version 2.0 (the "License"); 7709 you may not use this file except in compliance with the License. 7710 You may obtain a copy of the License at 7711 7712 http://www.apache.org/licenses/LICENSE-2.0 7713 7714 Unless required by applicable law or agreed to in writing, software 7715 distributed under the License is distributed on an "AS IS" BASIS, 7716 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 7717 See the License for the specific language governing permissions and 7718 limitations under the License. 7719 7720 Copyright 2000-2007 Niels Provos <provos (a] citi.umich.edu> 7721 Copyright 2007-2009 Niels Provos and Nick Mathewson 7722 7723 Redistribution and use in source and binary forms, with or without 7724 modification, are permitted provided that the following conditions 7725 are met: 7726 1. Redistributions of source code must retain the above copyright 7727 notice, this list of conditions and the following disclaimer. 7728 2. Redistributions in binary form must reproduce the above copyright 7729 notice, this list of conditions and the following disclaimer in the 7730 documentation and/or other materials provided with the distribution. 7731 3. The name of the author may not be used to endorse or promote products 7732 derived from this software without specific prior written permission. 7733 7734 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 7735 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 7736 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 7737 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 7738 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 7739 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 7740 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 7741 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 7742 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 7743 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7744 7745 Copyright (c) 2013, Google Inc. 7746 All rights reserved. 7747 7748 Redistribution and use in source and binary forms, with or without modification, 7749 are permitted provided that the following conditions are met: 7750 7751 * Redistributions of source code must retain the above copyright notice, 7752 this list of conditions and the following disclaimer. 7753 * Redistributions in binary form must reproduce the above copyright notice, 7754 this list of conditions and the following disclaimer in the documentation 7755 and/or other materials provided with the distribution. 7756 * The name of the author may not be used to endorse or promote products 7757 derived from this software without specific prior written permission. 7758 7759 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 7760 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 7761 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 7762 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 7763 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 7764 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 7765 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 7766 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 7767 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 7768 WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 7769 SUCH DAMAGE. 7770 (Copied from the README.) 7771 7772 -------------------------------------------------------------------------------- 7773 7774 The authors make NO WARRANTY or representation, either express or implied, 7775 with respect to this software, its quality, accuracy, merchantability, or 7776 fitness for a particular purpose. This software is provided "AS IS", and you, 7777 its user, assume the entire risk as to its quality and accuracy. 7778 7779 This software is copyright (C) 1991-1998, Thomas G. Lane. 7780 All Rights Reserved except as specified below. 7781 7782 Permission is hereby granted to use, copy, modify, and distribute this 7783 software (or portions thereof) for any purpose, without fee, subject to these 7784 conditions: 7785 (1) If any part of the source code for this software is distributed, then this 7786 README file must be included, with this copyright and no-warranty notice 7787 unaltered; and any additions, deletions, or changes to the original files 7788 must be clearly indicated in accompanying documentation. 7789 (2) If only executable code is distributed, then the accompanying 7790 documentation must state that "this software is based in part on the work of 7791 the Independent JPEG Group". 7792 (3) Permission for use of this software is granted only if the user accepts 7793 full responsibility for any undesirable consequences; the authors accept 7794 NO LIABILITY for damages of any kind. 7795 7796 These conditions apply to any software derived from or based on the IJG code, 7797 not just to the unmodified library. If you use our work, you ought to 7798 acknowledge us. 7799 7800 Permission is NOT granted for the use of any IJG author's name or company name 7801 in advertising or publicity relating to this software or products derived from 7802 it. This software may be referred to only as "the Independent JPEG Group's 7803 software". 7804 7805 We specifically permit and encourage the use of this software as the basis of 7806 commercial products, provided that all warranty or liability claims are 7807 assumed by the product vendor. 7808 7809 7810 ansi2knr.c is included in this distribution by permission of L. Peter Deutsch, 7811 sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA. 7812 ansi2knr.c is NOT covered by the above copyright and conditions, but instead 7813 by the usual distribution terms of the Free Software Foundation; principally, 7814 that you must include source code if you redistribute it. (See the file 7815 ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part 7816 of any program generated from the IJG code, this does not limit you more than 7817 the foregoing paragraphs do. 7818 7819 The Unix configuration script "configure" was produced with GNU Autoconf. 7820 It is copyright by the Free Software Foundation but is freely distributable. 7821 The same holds for its supporting scripts (config.guess, config.sub, 7822 ltconfig, ltmain.sh). Another support script, install-sh, is copyright 7823 by M.I.T. but is also freely distributable. 7824 7825 It appears that the arithmetic coding option of the JPEG spec is covered by 7826 patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot 7827 legally be used without obtaining one or more licenses. For this reason, 7828 support for arithmetic coding has been removed from the free JPEG software. 7829 (Since arithmetic coding provides only a marginal gain over the unpatented 7830 Huffman mode, it is unlikely that very many implementations will support it.) 7831 So far as we are aware, there are no patent restrictions on the remaining 7832 code. 7833 7834 The IJG distribution formerly included code to read and write GIF files. 7835 To avoid entanglement with the Unisys LZW patent, GIF reading support has 7836 been removed altogether, and the GIF writer has been simplified to produce 7837 "uncompressed GIFs". This technique does not use the LZW algorithm; the 7838 resulting GIF files are larger than usual, but are readable by all standard 7839 GIF decoders. 7840 7841 We are required to state that 7842 "The Graphics Interchange Format(c) is the Copyright property of 7843 CompuServe Incorporated. GIF(sm) is a Service Mark property of 7844 CompuServe Incorporated." 7845 7846 libjpeg-turbo is licensed under a non-restrictive, BSD-style license 7847 (see README.) The TurboJPEG/OSS wrapper (both C and Java versions) and 7848 associated test programs bear a similar license, which is reproduced below: 7849 7850 Redistribution and use in source and binary forms, with or without 7851 modification, are permitted provided that the following conditions are met: 7852 7853 - Redistributions of source code must retain the above copyright notice, 7854 this list of conditions and the following disclaimer. 7855 - Redistributions in binary form must reproduce the above copyright notice, 7856 this list of conditions and the following disclaimer in the documentation 7857 and/or other materials provided with the distribution. 7858 - Neither the name of the libjpeg-turbo Project nor the names of its 7859 contributors may be used to endorse or promote products derived from this 7860 software without specific prior written permission. 7861 7862 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS", 7863 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 7864 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 7865 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 7866 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 7867 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 7868 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 7869 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 7870 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 7871 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 7872 POSSIBILITY OF SUCH DAMAGE. 7873 7874 Copyright (C) 2011 Google Inc. 7875 7876 Licensed under the Apache License, Version 2.0 (the "License"); 7877 you may not use this file except in compliance with the License. 7878 You may obtain a copy of the License at 7879 7880 http://www.apache.org/licenses/LICENSE-2.0 7881 7882 Unless required by applicable law or agreed to in writing, software 7883 distributed under the License is distributed on an "AS IS" BASIS, 7884 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 7885 See the License for the specific language governing permissions and 7886 limitations under the License. 7887 7888 7889 This copy of the libpng notices is provided for your convenience. In case of 7890 any discrepancy between this copy and the notices in the file png.h that is 7891 included in the libpng distribution, the latter shall prevail. 7892 7893 COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: 7894 7895 If you modify libpng you may insert additional notices immediately following 7896 this sentence. 7897 7898 This code is released under the libpng license. 7899 7900 libpng versions 1.2.6, August 15, 2004, through 1.2.45, July 7, 2011, are 7901 Copyright (c) 2004, 2006-2009 Glenn Randers-Pehrson, and are 7902 distributed according to the same disclaimer and license as libpng-1.2.5 7903 with the following individual added to the list of Contributing Authors 7904 7905 Cosmin Truta 7906 7907 libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are 7908 Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are 7909 distributed according to the same disclaimer and license as libpng-1.0.6 7910 with the following individuals added to the list of Contributing Authors 7911 7912 Simon-Pierre Cadieux 7913 Eric S. Raymond 7914 Gilles Vollant 7915 7916 and with the following additions to the disclaimer: 7917 7918 There is no warranty against interference with your enjoyment of the 7919 library or against infringement. There is no warranty that our 7920 efforts or the library will fulfill any of your particular purposes 7921 or needs. This library is provided with all faults, and the entire 7922 risk of satisfactory quality, performance, accuracy, and effort is with 7923 the user. 7924 7925 libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are 7926 Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are 7927 distributed according to the same disclaimer and license as libpng-0.96, 7928 with the following individuals added to the list of Contributing Authors: 7929 7930 Tom Lane 7931 Glenn Randers-Pehrson 7932 Willem van Schaik 7933 7934 libpng versions 0.89, June 1996, through 0.96, May 1997, are 7935 Copyright (c) 1996, 1997 Andreas Dilger 7936 Distributed according to the same disclaimer and license as libpng-0.88, 7937 with the following individuals added to the list of Contributing Authors: 7938 7939 John Bowler 7940 Kevin Bracey 7941 Sam Bushell 7942 Magnus Holmgren 7943 Greg Roelofs 7944 Tom Tanner 7945 7946 libpng versions 0.5, May 1995, through 0.88, January 1996, are 7947 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. 7948 7949 For the purposes of this copyright and license, "Contributing Authors" 7950 is defined as the following set of individuals: 7951 7952 Andreas Dilger 7953 Dave Martindale 7954 Guy Eric Schalnat 7955 Paul Schmidt 7956 Tim Wegner 7957 7958 The PNG Reference Library is supplied "AS IS". The Contributing Authors 7959 and Group 42, Inc. disclaim all warranties, expressed or implied, 7960 including, without limitation, the warranties of merchantability and of 7961 fitness for any purpose. The Contributing Authors and Group 42, Inc. 7962 assume no liability for direct, indirect, incidental, special, exemplary, 7963 or consequential damages, which may result from the use of the PNG 7964 Reference Library, even if advised of the possibility of such damage. 7965 7966 Permission is hereby granted to use, copy, modify, and distribute this 7967 source code, or portions hereof, for any purpose, without fee, subject 7968 to the following restrictions: 7969 7970 1. The origin of this source code must not be misrepresented. 7971 7972 2. Altered versions must be plainly marked as such and must not 7973 be misrepresented as being the original source. 7974 7975 3. This Copyright notice may not be removed or altered from any 7976 source or altered source distribution. 7977 7978 The Contributing Authors and Group 42, Inc. specifically permit, without 7979 fee, and encourage the use of this source code as a component to 7980 supporting the PNG file format in commercial products. If you use this 7981 source code in a product, acknowledgment is not required but would be 7982 appreciated. 7983 7984 7985 A "png_get_copyright" function is available, for convenient use in "about" 7986 boxes and the like: 7987 7988 printf("%s",png_get_copyright(NULL)); 7989 7990 Also, the PNG logo (in PNG format, of course) is supplied in the 7991 files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). 7992 7993 Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a 7994 certification mark of the Open Source Initiative. 7995 7996 Glenn Randers-Pehrson 7997 glennrp at users.sourceforge.net 7998 July 7, 2011 7999 8000 /* 8001 * 8002 * Copyright (c) 2001-2006 Cisco Systems, Inc. 8003 * All rights reserved. 8004 * 8005 * Redistribution and use in source and binary forms, with or without 8006 * modification, are permitted provided that the following conditions 8007 * are met: 8008 * 8009 * Redistributions of source code must retain the above copyright 8010 * notice, this list of conditions and the following disclaimer. 8011 * 8012 * Redistributions in binary form must reproduce the above 8013 * copyright notice, this list of conditions and the following 8014 * disclaimer in the documentation and/or other materials provided 8015 * with the distribution. 8016 * 8017 * Neither the name of the Cisco Systems, Inc. nor the names of its 8018 * contributors may be used to endorse or promote products derived 8019 * from this software without specific prior written permission. 8020 * 8021 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8022 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8023 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 8024 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 8025 * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 8026 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 8027 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 8028 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8029 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 8030 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 8031 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 8032 * OF THE POSSIBILITY OF SUCH DAMAGE. 8033 * 8034 */ 8035 8036 GNU LESSER GENERAL PUBLIC LICENSE 8037 Version 2.1, February 1999 8038 8039 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 8040 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 8041 Everyone is permitted to copy and distribute verbatim copies 8042 of this license document, but changing it is not allowed. 8043 8044 [This is the first released version of the Lesser GPL. It also counts 8045 as the successor of the GNU Library Public License, version 2, hence 8046 the version number 2.1.] 8047 8048 Preamble 8049 8050 The licenses for most software are designed to take away your 8051 freedom to share and change it. By contrast, the GNU General Public 8052 Licenses are intended to guarantee your freedom to share and change 8053 free software--to make sure the software is free for all its users. 8054 8055 This license, the Lesser General Public License, applies to some 8056 specially designated software packages--typically libraries--of the 8057 Free Software Foundation and other authors who decide to use it. You 8058 can use it too, but we suggest you first think carefully about whether 8059 this license or the ordinary General Public License is the better 8060 strategy to use in any particular case, based on the explanations below. 8061 8062 When we speak of free software, we are referring to freedom of use, 8063 not price. Our General Public Licenses are designed to make sure that 8064 you have the freedom to distribute copies of free software (and charge 8065 for this service if you wish); that you receive source code or can get 8066 it if you want it; that you can change the software and use pieces of 8067 it in new free programs; and that you are informed that you can do 8068 these things. 8069 8070 To protect your rights, we need to make restrictions that forbid 8071 distributors to deny you these rights or to ask you to surrender these 8072 rights. These restrictions translate to certain responsibilities for 8073 you if you distribute copies of the library or if you modify it. 8074 8075 For example, if you distribute copies of the library, whether gratis 8076 or for a fee, you must give the recipients all the rights that we gave 8077 you. You must make sure that they, too, receive or can get the source 8078 code. If you link other code with the library, you must provide 8079 complete object files to the recipients, so that they can relink them 8080 with the library after making changes to the library and recompiling 8081 it. And you must show them these terms so they know their rights. 8082 8083 We protect your rights with a two-step method: (1) we copyright the 8084 library, and (2) we offer you this license, which gives you legal 8085 permission to copy, distribute and/or modify the library. 8086 8087 To protect each distributor, we want to make it very clear that 8088 there is no warranty for the free library. Also, if the library is 8089 modified by someone else and passed on, the recipients should know 8090 that what they have is not the original version, so that the original 8091 author's reputation will not be affected by problems that might be 8092 introduced by others. 8093 8095 Finally, software patents pose a constant threat to the existence of 8096 any free program. We wish to make sure that a company cannot 8097 effectively restrict the users of a free program by obtaining a 8098 restrictive license from a patent holder. Therefore, we insist that 8099 any patent license obtained for a version of the library must be 8100 consistent with the full freedom of use specified in this license. 8101 8102 Most GNU software, including some libraries, is covered by the 8103 ordinary GNU General Public License. This license, the GNU Lesser 8104 General Public License, applies to certain designated libraries, and 8105 is quite different from the ordinary General Public License. We use 8106 this license for certain libraries in order to permit linking those 8107 libraries into non-free programs. 8108 8109 When a program is linked with a library, whether statically or using 8110 a shared library, the combination of the two is legally speaking a 8111 combined work, a derivative of the original library. The ordinary 8112 General Public License therefore permits such linking only if the 8113 entire combination fits its criteria of freedom. The Lesser General 8114 Public License permits more lax criteria for linking other code with 8115 the library. 8116 8117 We call this license the "Lesser" General Public License because it 8118 does Less to protect the user's freedom than the ordinary General 8119 Public License. It also provides other free software developers Less 8120 of an advantage over competing non-free programs. These disadvantages 8121 are the reason we use the ordinary General Public License for many 8122 libraries. However, the Lesser license provides advantages in certain 8123 special circumstances. 8124 8125 For example, on rare occasions, there may be a special need to 8126 encourage the widest possible use of a certain library, so that it becomes 8127 a de-facto standard. To achieve this, non-free programs must be 8128 allowed to use the library. A more frequent case is that a free 8129 library does the same job as widely used non-free libraries. In this 8130 case, there is little to gain by limiting the free library to free 8131 software only, so we use the Lesser General Public License. 8132 8133 In other cases, permission to use a particular library in non-free 8134 programs enables a greater number of people to use a large body of 8135 free software. For example, permission to use the GNU C Library in 8136 non-free programs enables many more people to use the whole GNU 8137 operating system, as well as its variant, the GNU/Linux operating 8138 system. 8139 8140 Although the Lesser General Public License is Less protective of the 8141 users' freedom, it does ensure that the user of a program that is 8142 linked with the Library has the freedom and the wherewithal to run 8143 that program using a modified version of the Library. 8144 8145 The precise terms and conditions for copying, distribution and 8146 modification follow. Pay close attention to the difference between a 8147 "work based on the library" and a "work that uses the library". The 8148 former contains code derived from the library, whereas the latter must 8149 be combined with the library in order to run. 8150 8152 GNU LESSER GENERAL PUBLIC LICENSE 8153 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 8154 8155 0. This License Agreement applies to any software library or other 8156 program which contains a notice placed by the copyright holder or 8157 other authorized party saying it may be distributed under the terms of 8158 this Lesser General Public License (also called "this License"). 8159 Each licensee is addressed as "you". 8160 8161 A "library" means a collection of software functions and/or data 8162 prepared so as to be conveniently linked with application programs 8163 (which use some of those functions and data) to form executables. 8164 8165 The "Library", below, refers to any such software library or work 8166 which has been distributed under these terms. A "work based on the 8167 Library" means either the Library or any derivative work under 8168 copyright law: that is to say, a work containing the Library or a 8169 portion of it, either verbatim or with modifications and/or translated 8170 straightforwardly into another language. (Hereinafter, translation is 8171 included without limitation in the term "modification".) 8172 8173 "Source code" for a work means the preferred form of the work for 8174 making modifications to it. For a library, complete source code means 8175 all the source code for all modules it contains, plus any associated 8176 interface definition files, plus the scripts used to control compilation 8177 and installation of the library. 8178 8179 Activities other than copying, distribution and modification are not 8180 covered by this License; they are outside its scope. The act of 8181 running a program using the Library is not restricted, and output from 8182 such a program is covered only if its contents constitute a work based 8183 on the Library (independent of the use of the Library in a tool for 8184 writing it). Whether that is true depends on what the Library does 8185 and what the program that uses the Library does. 8186 8187 1. You may copy and distribute verbatim copies of the Library's 8188 complete source code as you receive it, in any medium, provided that 8189 you conspicuously and appropriately publish on each copy an 8190 appropriate copyright notice and disclaimer of warranty; keep intact 8191 all the notices that refer to this License and to the absence of any 8192 warranty; and distribute a copy of this License along with the 8193 Library. 8194 8195 You may charge a fee for the physical act of transferring a copy, 8196 and you may at your option offer warranty protection in exchange for a 8197 fee. 8198 8200 2. You may modify your copy or copies of the Library or any portion 8201 of it, thus forming a work based on the Library, and copy and 8202 distribute such modifications or work under the terms of Section 1 8203 above, provided that you also meet all of these conditions: 8204 8205 a) The modified work must itself be a software library. 8206 8207 b) You must cause the files modified to carry prominent notices 8208 stating that you changed the files and the date of any change. 8209 8210 c) You must cause the whole of the work to be licensed at no 8211 charge to all third parties under the terms of this License. 8212 8213 d) If a facility in the modified Library refers to a function or a 8214 table of data to be supplied by an application program that uses 8215 the facility, other than as an argument passed when the facility 8216 is invoked, then you must make a good faith effort to ensure that, 8217 in the event an application does not supply such function or 8218 table, the facility still operates, and performs whatever part of 8219 its purpose remains meaningful. 8220 8221 (For example, a function in a library to compute square roots has 8222 a purpose that is entirely well-defined independent of the 8223 application. Therefore, Subsection 2d requires that any 8224 application-supplied function or table used by this function must 8225 be optional: if the application does not supply it, the square 8226 root function must still compute square roots.) 8227 8228 These requirements apply to the modified work as a whole. If 8229 identifiable sections of that work are not derived from the Library, 8230 and can be reasonably considered independent and separate works in 8231 themselves, then this License, and its terms, do not apply to those 8232 sections when you distribute them as separate works. But when you 8233 distribute the same sections as part of a whole which is a work based 8234 on the Library, the distribution of the whole must be on the terms of 8235 this License, whose permissions for other licensees extend to the 8236 entire whole, and thus to each and every part regardless of who wrote 8237 it. 8238 8239 Thus, it is not the intent of this section to claim rights or contest 8240 your rights to work written entirely by you; rather, the intent is to 8241 exercise the right to control the distribution of derivative or 8242 collective works based on the Library. 8243 8244 In addition, mere aggregation of another work not based on the Library 8245 with the Library (or with a work based on the Library) on a volume of 8246 a storage or distribution medium does not bring the other work under 8247 the scope of this License. 8248 8249 3. You may opt to apply the terms of the ordinary GNU General Public 8250 License instead of this License to a given copy of the Library. To do 8251 this, you must alter all the notices that refer to this License, so 8252 that they refer to the ordinary GNU General Public License, version 2, 8253 instead of to this License. (If a newer version than version 2 of the 8254 ordinary GNU General Public License has appeared, then you can specify 8255 that version instead if you wish.) Do not make any other change in 8256 these notices. 8257 8259 Once this change is made in a given copy, it is irreversible for 8260 that copy, so the ordinary GNU General Public License applies to all 8261 subsequent copies and derivative works made from that copy. 8262 8263 This option is useful when you wish to copy part of the code of 8264 the Library into a program that is not a library. 8265 8266 4. You may copy and distribute the Library (or a portion or 8267 derivative of it, under Section 2) in object code or executable form 8268 under the terms of Sections 1 and 2 above provided that you accompany 8269 it with the complete corresponding machine-readable source code, which 8270 must be distributed under the terms of Sections 1 and 2 above on a 8271 medium customarily used for software interchange. 8272 8273 If distribution of object code is made by offering access to copy 8274 from a designated place, then offering equivalent access to copy the 8275 source code from the same place satisfies the requirement to 8276 distribute the source code, even though third parties are not 8277 compelled to copy the source along with the object code. 8278 8279 5. A program that contains no derivative of any portion of the 8280 Library, but is designed to work with the Library by being compiled or 8281 linked with it, is called a "work that uses the Library". Such a 8282 work, in isolation, is not a derivative work of the Library, and 8283 therefore falls outside the scope of this License. 8284 8285 However, linking a "work that uses the Library" with the Library 8286 creates an executable that is a derivative of the Library (because it 8287 contains portions of the Library), rather than a "work that uses the 8288 library". The executable is therefore covered by this License. 8289 Section 6 states terms for distribution of such executables. 8290 8291 When a "work that uses the Library" uses material from a header file 8292 that is part of the Library, the object code for the work may be a 8293 derivative work of the Library even though the source code is not. 8294 Whether this is true is especially significant if the work can be 8295 linked without the Library, or if the work is itself a library. The 8296 threshold for this to be true is not precisely defined by law. 8297 8298 If such an object file uses only numerical parameters, data 8299 structure layouts and accessors, and small macros and small inline 8300 functions (ten lines or less in length), then the use of the object 8301 file is unrestricted, regardless of whether it is legally a derivative 8302 work. (Executables containing this object code plus portions of the 8303 Library will still fall under Section 6.) 8304 8305 Otherwise, if the work is a derivative of the Library, you may 8306 distribute the object code for the work under the terms of Section 6. 8307 Any executables containing that work also fall under Section 6, 8308 whether or not they are linked directly with the Library itself. 8309 8311 6. As an exception to the Sections above, you may also combine or 8312 link a "work that uses the Library" with the Library to produce a 8313 work containing portions of the Library, and distribute that work 8314 under terms of your choice, provided that the terms permit 8315 modification of the work for the customer's own use and reverse 8316 engineering for debugging such modifications. 8317 8318 You must give prominent notice with each copy of the work that the 8319 Library is used in it and that the Library and its use are covered by 8320 this License. You must supply a copy of this License. If the work 8321 during execution displays copyright notices, you must include the 8322 copyright notice for the Library among them, as well as a reference 8323 directing the user to the copy of this License. Also, you must do one 8324 of these things: 8325 8326 a) Accompany the work with the complete corresponding 8327 machine-readable source code for the Library including whatever 8328 changes were used in the work (which must be distributed under 8329 Sections 1 and 2 above); and, if the work is an executable linked 8330 with the Library, with the complete machine-readable "work that 8331 uses the Library", as object code and/or source code, so that the 8332 user can modify the Library and then relink to produce a modified 8333 executable containing the modified Library. (It is understood 8334 that the user who changes the contents of definitions files in the 8335 Library will not necessarily be able to recompile the application 8336 to use the modified definitions.) 8337 8338 b) Use a suitable shared library mechanism for linking with the 8339 Library. A suitable mechanism is one that (1) uses at run time a 8340 copy of the library already present on the user's computer system, 8341 rather than copying library functions into the executable, and (2) 8342 will operate properly with a modified version of the library, if 8343 the user installs one, as long as the modified version is 8344 interface-compatible with the version that the work was made with. 8345 8346 c) Accompany the work with a written offer, valid for at 8347 least three years, to give the same user the materials 8348 specified in Subsection 6a, above, for a charge no more 8349 than the cost of performing this distribution. 8350 8351 d) If distribution of the work is made by offering access to copy 8352 from a designated place, offer equivalent access to copy the above 8353 specified materials from the same place. 8354 8355 e) Verify that the user has already received a copy of these 8356 materials or that you have already sent this user a copy. 8357 8358 For an executable, the required form of the "work that uses the 8359 Library" must include any data and utility programs needed for 8360 reproducing the executable from it. However, as a special exception, 8361 the materials to be distributed need not include anything that is 8362 normally distributed (in either source or binary form) with the major 8363 components (compiler, kernel, and so on) of the operating system on 8364 which the executable runs, unless that component itself accompanies 8365 the executable. 8366 8367 It may happen that this requirement contradicts the license 8368 restrictions of other proprietary libraries that do not normally 8369 accompany the operating system. Such a contradiction means you cannot 8370 use both them and the Library together in an executable that you 8371 distribute. 8372 8374 7. You may place library facilities that are a work based on the 8375 Library side-by-side in a single library together with other library 8376 facilities not covered by this License, and distribute such a combined 8377 library, provided that the separate distribution of the work based on 8378 the Library and of the other library facilities is otherwise 8379 permitted, and provided that you do these two things: 8380 8381 a) Accompany the combined library with a copy of the same work 8382 based on the Library, uncombined with any other library 8383 facilities. This must be distributed under the terms of the 8384 Sections above. 8385 8386 b) Give prominent notice with the combined library of the fact 8387 that part of it is a work based on the Library, and explaining 8388 where to find the accompanying uncombined form of the same work. 8389 8390 8. You may not copy, modify, sublicense, link with, or distribute 8391 the Library except as expressly provided under this License. Any 8392 attempt otherwise to copy, modify, sublicense, link with, or 8393 distribute the Library is void, and will automatically terminate your 8394 rights under this License. However, parties who have received copies, 8395 or rights, from you under this License will not have their licenses 8396 terminated so long as such parties remain in full compliance. 8397 8398 9. You are not required to accept this License, since you have not 8399 signed it. However, nothing else grants you permission to modify or 8400 distribute the Library or its derivative works. These actions are 8401 prohibited by law if you do not accept this License. Therefore, by 8402 modifying or distributing the Library (or any work based on the 8403 Library), you indicate your acceptance of this License to do so, and 8404 all its terms and conditions for copying, distributing or modifying 8405 the Library or works based on it. 8406 8407 10. Each time you redistribute the Library (or any work based on the 8408 Library), the recipient automatically receives a license from the 8409 original licensor to copy, distribute, link with or modify the Library 8410 subject to these terms and conditions. You may not impose any further 8411 restrictions on the recipients' exercise of the rights granted herein. 8412 You are not responsible for enforcing compliance by third parties with 8413 this License. 8414 8416 11. If, as a consequence of a court judgment or allegation of patent 8417 infringement or for any other reason (not limited to patent issues), 8418 conditions are imposed on you (whether by court order, agreement or 8419 otherwise) that contradict the conditions of this License, they do not 8420 excuse you from the conditions of this License. If you cannot 8421 distribute so as to satisfy simultaneously your obligations under this 8422 License and any other pertinent obligations, then as a consequence you 8423 may not distribute the Library at all. For example, if a patent 8424 license would not permit royalty-free redistribution of the Library by 8425 all those who receive copies directly or indirectly through you, then 8426 the only way you could satisfy both it and this License would be to 8427 refrain entirely from distribution of the Library. 8428 8429 If any portion of this section is held invalid or unenforceable under any 8430 particular circumstance, the balance of the section is intended to apply, 8431 and the section as a whole is intended to apply in other circumstances. 8432 8433 It is not the purpose of this section to induce you to infringe any 8434 patents or other property right claims or to contest validity of any 8435 such claims; this section has the sole purpose of protecting the 8436 integrity of the free software distribution system which is 8437 implemented by public license practices. Many people have made 8438 generous contributions to the wide range of software distributed 8439 through that system in reliance on consistent application of that 8440 system; it is up to the author/donor to decide if he or she is willing 8441 to distribute software through any other system and a licensee cannot 8442 impose that choice. 8443 8444 This section is intended to make thoroughly clear what is believed to 8445 be a consequence of the rest of this License. 8446 8447 12. If the distribution and/or use of the Library is restricted in 8448 certain countries either by patents or by copyrighted interfaces, the 8449 original copyright holder who places the Library under this License may add 8450 an explicit geographical distribution limitation excluding those countries, 8451 so that distribution is permitted only in or among countries not thus 8452 excluded. In such case, this License incorporates the limitation as if 8453 written in the body of this License. 8454 8455 13. The Free Software Foundation may publish revised and/or new 8456 versions of the Lesser General Public License from time to time. 8457 Such new versions will be similar in spirit to the present version, 8458 but may differ in detail to address new problems or concerns. 8459 8460 Each version is given a distinguishing version number. If the Library 8461 specifies a version number of this License which applies to it and 8462 "any later version", you have the option of following the terms and 8463 conditions either of that version or of any later version published by 8464 the Free Software Foundation. If the Library does not specify a 8465 license version number, you may choose any version ever published by 8466 the Free Software Foundation. 8467 8469 14. If you wish to incorporate parts of the Library into other free 8470 programs whose distribution conditions are incompatible with these, 8471 write to the author to ask for permission. For software which is 8472 copyrighted by the Free Software Foundation, write to the Free 8473 Software Foundation; we sometimes make exceptions for this. Our 8474 decision will be guided by the two goals of preserving the free status 8475 of all derivatives of our free software and of promoting the sharing 8476 and reuse of software generally. 8477 8478 NO WARRANTY 8479 8480 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 8481 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 8482 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 8483 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 8484 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 8485 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 8486 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 8487 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 8488 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 8489 8490 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 8491 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 8492 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 8493 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 8494 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 8495 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 8496 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 8497 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 8498 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 8499 DAMAGES. 8500 8501 END OF TERMS AND CONDITIONS 8502 8504 How to Apply These Terms to Your New Libraries 8505 8506 If you develop a new library, and you want it to be of the greatest 8507 possible use to the public, we recommend making it free software that 8508 everyone can redistribute and change. You can do so by permitting 8509 redistribution under these terms (or, alternatively, under the terms of the 8510 ordinary General Public License). 8511 8512 To apply these terms, attach the following notices to the library. It is 8513 safest to attach them to the start of each source file to most effectively 8514 convey the exclusion of warranty; and each file should have at least the 8515 "copyright" line and a pointer to where the full notice is found. 8516 8517 <one line to give the library's name and a brief idea of what it does.> 8518 Copyright (C) <year> <name of author> 8519 8520 This library is free software; you can redistribute it and/or 8521 modify it under the terms of the GNU Lesser General Public 8522 License as published by the Free Software Foundation; either 8523 version 2.1 of the License, or (at your option) any later version. 8524 8525 This library is distributed in the hope that it will be useful, 8526 but WITHOUT ANY WARRANTY; without even the implied warranty of 8527 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 8528 Lesser General Public License for more details. 8529 8530 You should have received a copy of the GNU Lesser General Public 8531 License along with this library; if not, write to the Free Software 8532 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 8533 8534 Also add information on how to contact you by electronic and paper mail. 8535 8536 You should also get your employer (if you work as a programmer) or your 8537 school, if any, to sign a "copyright disclaimer" for the library, if 8538 necessary. Here is a sample; alter the names: 8539 8540 Yoyodyne, Inc., hereby disclaims all copyright interest in the 8541 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 8542 8543 <signature of Ty Coon>, 1 April 1990 8544 Ty Coon, President of Vice 8545 8546 That's all there is to it! 8547 8548 8549 8550 Permission is hereby granted, free of charge, to any person obtaining a 8551 copy of this software and associated documentation files (the 8552 "Software"), to deal in the Software without restriction, including 8553 without limitation the rights to use, copy, modify, merge, publish, 8554 distribute, sub license, and/or sell copies of the Software, and to 8555 permit persons to whom the Software is furnished to do so, subject to 8556 the following conditions: 8557 8558 The above copyright notice and this permission notice (including the 8559 next paragraph) shall be included in all copies or substantial portions 8560 of the Software. 8561 8562 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 8563 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 8564 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 8565 IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR 8566 ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 8567 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 8568 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8569 8570 Copyright (c) 2010, The WebM Project authors. All rights reserved. 8571 8572 Redistribution and use in source and binary forms, with or without 8573 modification, are permitted provided that the following conditions are 8574 met: 8575 8576 * Redistributions of source code must retain the above copyright 8577 notice, this list of conditions and the following disclaimer. 8578 8579 * Redistributions in binary form must reproduce the above copyright 8580 notice, this list of conditions and the following disclaimer in 8581 the documentation and/or other materials provided with the 8582 distribution. 8583 8584 * Neither the name of Google, nor the WebM Project, nor the names 8585 of its contributors may be used to endorse or promote products 8586 derived from this software without specific prior written 8587 permission. 8588 8589 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8590 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8591 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8592 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8593 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8594 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8595 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8596 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8597 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8598 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8599 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8600 8601 8602 Copyright (c) 2010, Google Inc. All rights reserved. 8603 8604 Redistribution and use in source and binary forms, with or without 8605 modification, are permitted provided that the following conditions are 8606 met: 8607 8608 * Redistributions of source code must retain the above copyright 8609 notice, this list of conditions and the following disclaimer. 8610 8611 * Redistributions in binary form must reproduce the above copyright 8612 notice, this list of conditions and the following disclaimer in 8613 the documentation and/or other materials provided with the 8614 distribution. 8615 8616 * Neither the name of Google nor the names of its contributors may 8617 be used to endorse or promote products derived from this software 8618 without specific prior written permission. 8619 8620 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8621 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8622 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8623 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8624 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8625 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8626 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8627 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8628 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8629 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8630 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8631 8632 Additional IP Rights Grant (Patents) 8633 8634 "This implementation" means the copyrightable works distributed by 8635 Google as part of the WebM Project. 8636 8637 Google hereby grants to you a perpetual, worldwide, non-exclusive, 8638 no-charge, royalty-free, irrevocable (except as stated in this section) 8639 patent license to make, have made, use, offer to sell, sell, import, 8640 transfer, and otherwise run, modify and propagate the contents of this 8641 implementation of VP8, where such license applies only to those patent 8642 claims, both currently owned by Google and acquired in the future, 8643 licensable by Google that are necessarily infringed by this 8644 implementation of VP8. This grant does not include claims that would be 8645 infringed only as a consequence of further modification of this 8646 implementation. If you or your agent or exclusive licensee institute or 8647 order or agree to the institution of patent litigation against any 8648 entity (including a cross-claim or counterclaim in a lawsuit) alleging 8649 that this implementation of VP8 or any code incorporated within this 8650 implementation of VP8 constitutes direct or contributory patent 8651 infringement, or inducement of patent infringement, then any patent 8652 rights granted to you under this License for this implementation of VP8 8653 shall terminate as of the date such litigation is filed. 8654 8655 Except where otherwise noted in the source code (e.g. the files hash.c, 8656 list.c and the trio files, which are covered by a similar licence but 8657 with different Copyright notices) all the files are: 8658 8659 Copyright (C) 1998-2003 Daniel Veillard. All Rights Reserved. 8660 8661 Permission is hereby granted, free of charge, to any person obtaining a copy 8662 of this software and associated documentation files (the "Software"), to deal 8663 in the Software without restriction, including without limitation the rights 8664 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8665 copies of the Software, and to permit persons to whom the Software is fur- 8666 nished to do so, subject to the following conditions: 8667 8668 The above copyright notice and this permission notice shall be included in 8669 all copies or substantial portions of the Software. 8670 8671 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 8672 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- 8673 NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 8674 DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 8675 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- 8676 NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8677 8678 Except as contained in this notice, the name of Daniel Veillard shall not 8679 be used in advertising or otherwise to promote the sale, use or other deal- 8680 ings in this Software without prior written authorization from him. 8681 8682 8683 Licence for libxslt except libexslt 8684 ---------------------------------------------------------------------- 8685 Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved. 8686 8687 Permission is hereby granted, free of charge, to any person obtaining a copy 8688 of this software and associated documentation files (the "Software"), to deal 8689 in the Software without restriction, including without limitation the rights 8690 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8691 copies of the Software, and to permit persons to whom the Software is fur- 8692 nished to do so, subject to the following conditions: 8693 8694 The above copyright notice and this permission notice shall be included in 8695 all copies or substantial portions of the Software. 8696 8697 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 8698 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- 8699 NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 8700 DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 8701 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- 8702 NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8703 8704 Except as contained in this notice, the name of Daniel Veillard shall not 8705 be used in advertising or otherwise to promote the sale, use or other deal- 8706 ings in this Software without prior written authorization from him. 8707 8708 ---------------------------------------------------------------------- 8709 8710 Licence for libexslt 8711 ---------------------------------------------------------------------- 8712 Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard. 8713 All Rights Reserved. 8714 8715 Permission is hereby granted, free of charge, to any person obtaining a copy 8716 of this software and associated documentation files (the "Software"), to deal 8717 in the Software without restriction, including without limitation the rights 8718 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8719 copies of the Software, and to permit persons to whom the Software is fur- 8720 nished to do so, subject to the following conditions: 8721 8722 The above copyright notice and this permission notice shall be included in 8723 all copies or substantial portions of the Software. 8724 8725 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 8726 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- 8727 NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 8728 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 8729 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- 8730 NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8731 8732 Except as contained in this notice, the name of the authors shall not 8733 be used in advertising or otherwise to promote the sale, use or other deal- 8734 ings in this Software without prior written authorization from him. 8735 ---------------------------------------------------------------------- 8736 8737 Copyright 2011 The LibYuv Project Authors. All rights reserved. 8738 8739 Redistribution and use in source and binary forms, with or without 8740 modification, are permitted provided that the following conditions are 8741 met: 8742 8743 * Redistributions of source code must retain the above copyright 8744 notice, this list of conditions and the following disclaimer. 8745 8746 * Redistributions in binary form must reproduce the above copyright 8747 notice, this list of conditions and the following disclaimer in 8748 the documentation and/or other materials provided with the 8749 distribution. 8750 8751 * Neither the name of Google nor the names of its contributors may 8752 be used to endorse or promote products derived from this software 8753 without specific prior written permission. 8754 8755 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 8756 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8757 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 8758 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8759 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8760 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8761 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8762 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8763 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8764 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8765 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8766 8767 LZMA SDK is placed in the public domain. 8768 8769 Copyright (c) 2003-2012 Jonathan 'Wolf' Rentzsch: http://rentzsch.com 8770 Some rights reserved: http://opensource.org/licenses/mit 8771 8772 mach_override includes a copy of libudis86, licensed as follows: 8773 8774 Copyright (c) 2002-2009 Vivek Thampi 8775 All rights reserved. 8776 8777 Redistribution and use in source and binary forms, with or without modification, 8778 are permitted provided that the following conditions are met: 8779 8780 * Redistributions of source code must retain the above copyright notice, 8781 this list of conditions and the following disclaimer. 8782 * Redistributions in binary form must reproduce the above copyright notice, 8783 this list of conditions and the following disclaimer in the documentation 8784 and/or other materials provided with the distribution. 8785 8786 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 8787 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 8788 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 8789 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 8790 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 8791 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 8792 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 8793 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8794 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 8795 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8796 8797 Copyright 2007, 2008 The Python Markdown Project (v. 1.7 and later) 8798 Copyright 2004, 2005, 2006 Yuri Takhteyev (v. 0.2-1.6b) 8799 Copyright 2004 Manfred Stienstra (the original version) 8800 8801 All rights reserved. 8802 8803 Redistribution and use in source and binary forms, with or without 8804 modification, are permitted provided that the following conditions are met: 8805 8806 * Redistributions of source code must retain the above copyright 8807 notice, this list of conditions and the following disclaimer. 8808 * Redistributions in binary form must reproduce the above copyright 8809 notice, this list of conditions and the following disclaimer in the 8810 documentation and/or other materials provided with the distribution. 8811 * Neither the name of the <organization> nor the 8812 names of its contributors may be used to endorse or promote products 8813 derived from this software without specific prior written permission. 8814 8815 THIS SOFTWARE IS PROVIDED BY THE PYTHON MARKDOWN PROJECT ''AS IS'' AND ANY 8816 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 8817 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 8818 DISCLAIMED. IN NO EVENT SHALL ANY CONTRIBUTORS TO THE PYTHON MARKDOWN PROJECT 8819 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 8820 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 8821 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 8822 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 8823 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 8824 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 8825 POSSIBILITY OF SUCH DAMAGE. 8826 8827 8828 The default Mesa license is as follows: 8829 8830 Copyright (C) 1999-2007 Brian Paul All Rights Reserved. 8831 8832 Permission is hereby granted, free of charge, to any person obtaining a 8833 copy of this software and associated documentation files (the "Software"), 8834 to deal in the Software without restriction, including without limitation 8835 the rights to use, copy, modify, merge, publish, distribute, sublicense, 8836 and/or sell copies of the Software, and to permit persons to whom the 8837 Software is furnished to do so, subject to the following conditions: 8838 8839 The above copyright notice and this permission notice shall be included 8840 in all copies or substantial portions of the Software. 8841 8842 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 8843 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 8844 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 8845 BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 8846 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 8847 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8848 8849 8850 8851 Some parts of Mesa are copyrighted under the GNU LGPL. See the 8852 Mesa/docs/COPYRIGHT file for details. 8853 8854 The following is the standard GNU copyright file. 8855 ---------------------------------------------------------------------- 8856 8857 8858 GNU LIBRARY GENERAL PUBLIC LICENSE 8859 Version 2, June 1991 8860 8861 Copyright (C) 1991 Free Software Foundation, Inc. 8862 675 Mass Ave, Cambridge, MA 02139, USA 8863 Everyone is permitted to copy and distribute verbatim copies 8864 of this license document, but changing it is not allowed. 8865 8866 [This is the first released version of the library GPL. It is 8867 numbered 2 because it goes with version 2 of the ordinary GPL.] 8868 8869 Preamble 8870 8871 The licenses for most software are designed to take away your 8872 freedom to share and change it. By contrast, the GNU General Public 8873 Licenses are intended to guarantee your freedom to share and change 8874 free software--to make sure the software is free for all its users. 8875 8876 This license, the Library General Public License, applies to some 8877 specially designated Free Software Foundation software, and to any 8878 other libraries whose authors decide to use it. You can use it for 8879 your libraries, too. 8880 8881 When we speak of free software, we are referring to freedom, not 8882 price. Our General Public Licenses are designed to make sure that you 8883 have the freedom to distribute copies of free software (and charge for 8884 this service if you wish), that you receive source code or can get it 8885 if you want it, that you can change the software or use pieces of it 8886 in new free programs; and that you know you can do these things. 8887 8888 To protect your rights, we need to make restrictions that forbid 8889 anyone to deny you these rights or to ask you to surrender the rights. 8890 These restrictions translate to certain responsibilities for you if 8891 you distribute copies of the library, or if you modify it. 8892 8893 For example, if you distribute copies of the library, whether gratis 8894 or for a fee, you must give the recipients all the rights that we gave 8895 you. You must make sure that they, too, receive or can get the source 8896 code. If you link a program with the library, you must provide 8897 complete object files to the recipients so that they can relink them 8898 with the library, after making changes to the library and recompiling 8899 it. And you must show them these terms so they know their rights. 8900 8901 Our method of protecting your rights has two steps: (1) copyright 8902 the library, and (2) offer you this license which gives you legal 8903 permission to copy, distribute and/or modify the library. 8904 8905 Also, for each distributor's protection, we want to make certain 8906 that everyone understands that there is no warranty for this free 8907 library. If the library is modified by someone else and passed on, we 8908 want its recipients to know that what they have is not the original 8909 version, so that any problems introduced by others will not reflect on 8910 the original authors' reputations. 8911 8913 Finally, any free program is threatened constantly by software 8914 patents. We wish to avoid the danger that companies distributing free 8915 software will individually obtain patent licenses, thus in effect 8916 transforming the program into proprietary software. To prevent this, 8917 we have made it clear that any patent must be licensed for everyone's 8918 free use or not licensed at all. 8919 8920 Most GNU software, including some libraries, is covered by the ordinary 8921 GNU General Public License, which was designed for utility programs. This 8922 license, the GNU Library General Public License, applies to certain 8923 designated libraries. This license is quite different from the ordinary 8924 one; be sure to read it in full, and don't assume that anything in it is 8925 the same as in the ordinary license. 8926 8927 The reason we have a separate public license for some libraries is that 8928 they blur the distinction we usually make between modifying or adding to a 8929 program and simply using it. Linking a program with a library, without 8930 changing the library, is in some sense simply using the library, and is 8931 analogous to running a utility program or application program. However, in 8932 a textual and legal sense, the linked executable is a combined work, a 8933 derivative of the original library, and the ordinary General Public License 8934 treats it as such. 8935 8936 Because of this blurred distinction, using the ordinary General 8937 Public License for libraries did not effectively promote software 8938 sharing, because most developers did not use the libraries. We 8939 concluded that weaker conditions might promote sharing better. 8940 8941 However, unrestricted linking of non-free programs would deprive the 8942 users of those programs of all benefit from the free status of the 8943 libraries themselves. This Library General Public License is intended to 8944 permit developers of non-free programs to use free libraries, while 8945 preserving your freedom as a user of such programs to change the free 8946 libraries that are incorporated in them. (We have not seen how to achieve 8947 this as regards changes in header files, but we have achieved it as regards 8948 changes in the actual functions of the Library.) The hope is that this 8949 will lead to faster development of free libraries. 8950 8951 The precise terms and conditions for copying, distribution and 8952 modification follow. Pay close attention to the difference between a 8953 "work based on the library" and a "work that uses the library". The 8954 former contains code derived from the library, while the latter only 8955 works together with the library. 8956 8957 Note that it is possible for a library to be covered by the ordinary 8958 General Public License rather than by this special one. 8959 8961 GNU LIBRARY GENERAL PUBLIC LICENSE 8962 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 8963 8964 0. This License Agreement applies to any software library which 8965 contains a notice placed by the copyright holder or other authorized 8966 party saying it may be distributed under the terms of this Library 8967 General Public License (also called "this License"). Each licensee is 8968 addressed as "you". 8969 8970 A "library" means a collection of software functions and/or data 8971 prepared so as to be conveniently linked with application programs 8972 (which use some of those functions and data) to form executables. 8973 8974 The "Library", below, refers to any such software library or work 8975 which has been distributed under these terms. A "work based on the 8976 Library" means either the Library or any derivative work under 8977 copyright law: that is to say, a work containing the Library or a 8978 portion of it, either verbatim or with modifications and/or translated 8979 straightforwardly into another language. (Hereinafter, translation is 8980 included without limitation in the term "modification".) 8981 8982 "Source code" for a work means the preferred form of the work for 8983 making modifications to it. For a library, complete source code means 8984 all the source code for all modules it contains, plus any associated 8985 interface definition files, plus the scripts used to control compilation 8986 and installation of the library. 8987 8988 Activities other than copying, distribution and modification are not 8989 covered by this License; they are outside its scope. The act of 8990 running a program using the Library is not restricted, and output from 8991 such a program is covered only if its contents constitute a work based 8992 on the Library (independent of the use of the Library in a tool for 8993 writing it). Whether that is true depends on what the Library does 8994 and what the program that uses the Library does. 8995 8996 1. You may copy and distribute verbatim copies of the Library's 8997 complete source code as you receive it, in any medium, provided that 8998 you conspicuously and appropriately publish on each copy an 8999 appropriate copyright notice and disclaimer of warranty; keep intact 9000 all the notices that refer to this License and to the absence of any 9001 warranty; and distribute a copy of this License along with the 9002 Library. 9003 9004 You may charge a fee for the physical act of transferring a copy, 9005 and you may at your option offer warranty protection in exchange for a 9006 fee. 9007 9009 2. You may modify your copy or copies of the Library or any portion 9010 of it, thus forming a work based on the Library, and copy and 9011 distribute such modifications or work under the terms of Section 1 9012 above, provided that you also meet all of these conditions: 9013 9014 a) The modified work must itself be a software library. 9015 9016 b) You must cause the files modified to carry prominent notices 9017 stating that you changed the files and the date of any change. 9018 9019 c) You must cause the whole of the work to be licensed at no 9020 charge to all third parties under the terms of this License. 9021 9022 d) If a facility in the modified Library refers to a function or a 9023 table of data to be supplied by an application program that uses 9024 the facility, other than as an argument passed when the facility 9025 is invoked, then you must make a good faith effort to ensure that, 9026 in the event an application does not supply such function or 9027 table, the facility still operates, and performs whatever part of 9028 its purpose remains meaningful. 9029 9030 (For example, a function in a library to compute square roots has 9031 a purpose that is entirely well-defined independent of the 9032 application. Therefore, Subsection 2d requires that any 9033 application-supplied function or table used by this function must 9034 be optional: if the application does not supply it, the square 9035 root function must still compute square roots.) 9036 9037 These requirements apply to the modified work as a whole. If 9038 identifiable sections of that work are not derived from the Library, 9039 and can be reasonably considered independent and separate works in 9040 themselves, then this License, and its terms, do not apply to those 9041 sections when you distribute them as separate works. But when you 9042 distribute the same sections as part of a whole which is a work based 9043 on the Library, the distribution of the whole must be on the terms of 9044 this License, whose permissions for other licensees extend to the 9045 entire whole, and thus to each and every part regardless of who wrote 9046 it. 9047 9048 Thus, it is not the intent of this section to claim rights or contest 9049 your rights to work written entirely by you; rather, the intent is to 9050 exercise the right to control the distribution of derivative or 9051 collective works based on the Library. 9052 9053 In addition, mere aggregation of another work not based on the Library 9054 with the Library (or with a work based on the Library) on a volume of 9055 a storage or distribution medium does not bring the other work under 9056 the scope of this License. 9057 9058 3. You may opt to apply the terms of the ordinary GNU General Public 9059 License instead of this License to a given copy of the Library. To do 9060 this, you must alter all the notices that refer to this License, so 9061 that they refer to the ordinary GNU General Public License, version 2, 9062 instead of to this License. (If a newer version than version 2 of the 9063 ordinary GNU General Public License has appeared, then you can specify 9064 that version instead if you wish.) Do not make any other change in 9065 these notices. 9066 9068 Once this change is made in a given copy, it is irreversible for 9069 that copy, so the ordinary GNU General Public License applies to all 9070 subsequent copies and derivative works made from that copy. 9071 9072 This option is useful when you wish to copy part of the code of 9073 the Library into a program that is not a library. 9074 9075 4. You may copy and distribute the Library (or a portion or 9076 derivative of it, under Section 2) in object code or executable form 9077 under the terms of Sections 1 and 2 above provided that you accompany 9078 it with the complete corresponding machine-readable source code, which 9079 must be distributed under the terms of Sections 1 and 2 above on a 9080 medium customarily used for software interchange. 9081 9082 If distribution of object code is made by offering access to copy 9083 from a designated place, then offering equivalent access to copy the 9084 source code from the same place satisfies the requirement to 9085 distribute the source code, even though third parties are not 9086 compelled to copy the source along with the object code. 9087 9088 5. A program that contains no derivative of any portion of the 9089 Library, but is designed to work with the Library by being compiled or 9090 linked with it, is called a "work that uses the Library". Such a 9091 work, in isolation, is not a derivative work of the Library, and 9092 therefore falls outside the scope of this License. 9093 9094 However, linking a "work that uses the Library" with the Library 9095 creates an executable that is a derivative of the Library (because it 9096 contains portions of the Library), rather than a "work that uses the 9097 library". The executable is therefore covered by this License. 9098 Section 6 states terms for distribution of such executables. 9099 9100 When a "work that uses the Library" uses material from a header file 9101 that is part of the Library, the object code for the work may be a 9102 derivative work of the Library even though the source code is not. 9103 Whether this is true is especially significant if the work can be 9104 linked without the Library, or if the work is itself a library. The 9105 threshold for this to be true is not precisely defined by law. 9106 9107 If such an object file uses only numerical parameters, data 9108 structure layouts and accessors, and small macros and small inline 9109 functions (ten lines or less in length), then the use of the object 9110 file is unrestricted, regardless of whether it is legally a derivative 9111 work. (Executables containing this object code plus portions of the 9112 Library will still fall under Section 6.) 9113 9114 Otherwise, if the work is a derivative of the Library, you may 9115 distribute the object code for the work under the terms of Section 6. 9116 Any executables containing that work also fall under Section 6, 9117 whether or not they are linked directly with the Library itself. 9118 9120 6. As an exception to the Sections above, you may also compile or 9121 link a "work that uses the Library" with the Library to produce a 9122 work containing portions of the Library, and distribute that work 9123 under terms of your choice, provided that the terms permit 9124 modification of the work for the customer's own use and reverse 9125 engineering for debugging such modifications. 9126 9127 You must give prominent notice with each copy of the work that the 9128 Library is used in it and that the Library and its use are covered by 9129 this License. You must supply a copy of this License. If the work 9130 during execution displays copyright notices, you must include the 9131 copyright notice for the Library among them, as well as a reference 9132 directing the user to the copy of this License. Also, you must do one 9133 of these things: 9134 9135 a) Accompany the work with the complete corresponding 9136 machine-readable source code for the Library including whatever 9137 changes were used in the work (which must be distributed under 9138 Sections 1 and 2 above); and, if the work is an executable linked 9139 with the Library, with the complete machine-readable "work that 9140 uses the Library", as object code and/or source code, so that the 9141 user can modify the Library and then relink to produce a modified 9142 executable containing the modified Library. (It is understood 9143 that the user who changes the contents of definitions files in the 9144 Library will not necessarily be able to recompile the application 9145 to use the modified definitions.) 9146 9147 b) Accompany the work with a written offer, valid for at 9148 least three years, to give the same user the materials 9149 specified in Subsection 6a, above, for a charge no more 9150 than the cost of performing this distribution. 9151 9152 c) If distribution of the work is made by offering access to copy 9153 from a designated place, offer equivalent access to copy the above 9154 specified materials from the same place. 9155 9156 d) Verify that the user has already received a copy of these 9157 materials or that you have already sent this user a copy. 9158 9159 For an executable, the required form of the "work that uses the 9160 Library" must include any data and utility programs needed for 9161 reproducing the executable from it. However, as a special exception, 9162 the source code distributed need not include anything that is normally 9163 distributed (in either source or binary form) with the major 9164 components (compiler, kernel, and so on) of the operating system on 9165 which the executable runs, unless that component itself accompanies 9166 the executable. 9167 9168 It may happen that this requirement contradicts the license 9169 restrictions of other proprietary libraries that do not normally 9170 accompany the operating system. Such a contradiction means you cannot 9171 use both them and the Library together in an executable that you 9172 distribute. 9173 9175 7. You may place library facilities that are a work based on the 9176 Library side-by-side in a single library together with other library 9177 facilities not covered by this License, and distribute such a combined 9178 library, provided that the separate distribution of the work based on 9179 the Library and of the other library facilities is otherwise 9180 permitted, and provided that you do these two things: 9181 9182 a) Accompany the combined library with a copy of the same work 9183 based on the Library, uncombined with any other library 9184 facilities. This must be distributed under the terms of the 9185 Sections above. 9186 9187 b) Give prominent notice with the combined library of the fact 9188 that part of it is a work based on the Library, and explaining 9189 where to find the accompanying uncombined form of the same work. 9190 9191 8. You may not copy, modify, sublicense, link with, or distribute 9192 the Library except as expressly provided under this License. Any 9193 attempt otherwise to copy, modify, sublicense, link with, or 9194 distribute the Library is void, and will automatically terminate your 9195 rights under this License. However, parties who have received copies, 9196 or rights, from you under this License will not have their licenses 9197 terminated so long as such parties remain in full compliance. 9198 9199 9. You are not required to accept this License, since you have not 9200 signed it. However, nothing else grants you permission to modify or 9201 distribute the Library or its derivative works. These actions are 9202 prohibited by law if you do not accept this License. Therefore, by 9203 modifying or distributing the Library (or any work based on the 9204 Library), you indicate your acceptance of this License to do so, and 9205 all its terms and conditions for copying, distributing or modifying 9206 the Library or works based on it. 9207 9208 10. Each time you redistribute the Library (or any work based on the 9209 Library), the recipient automatically receives a license from the 9210 original licensor to copy, distribute, link with or modify the Library 9211 subject to these terms and conditions. You may not impose any further 9212 restrictions on the recipients' exercise of the rights granted herein. 9213 You are not responsible for enforcing compliance by third parties to 9214 this License. 9215 9217 11. If, as a consequence of a court judgment or allegation of patent 9218 infringement or for any other reason (not limited to patent issues), 9219 conditions are imposed on you (whether by court order, agreement or 9220 otherwise) that contradict the conditions of this License, they do not 9221 excuse you from the conditions of this License. If you cannot 9222 distribute so as to satisfy simultaneously your obligations under this 9223 License and any other pertinent obligations, then as a consequence you 9224 may not distribute the Library at all. For example, if a patent 9225 license would not permit royalty-free redistribution of the Library by 9226 all those who receive copies directly or indirectly through you, then 9227 the only way you could satisfy both it and this License would be to 9228 refrain entirely from distribution of the Library. 9229 9230 If any portion of this section is held invalid or unenforceable under any 9231 particular circumstance, the balance of the section is intended to apply, 9232 and the section as a whole is intended to apply in other circumstances. 9233 9234 It is not the purpose of this section to induce you to infringe any 9235 patents or other property right claims or to contest validity of any 9236 such claims; this section has the sole purpose of protecting the 9237 integrity of the free software distribution system which is 9238 implemented by public license practices. Many people have made 9239 generous contributions to the wide range of software distributed 9240 through that system in reliance on consistent application of that 9241 system; it is up to the author/donor to decide if he or she is willing 9242 to distribute software through any other system and a licensee cannot 9243 impose that choice. 9244 9245 This section is intended to make thoroughly clear what is believed to 9246 be a consequence of the rest of this License. 9247 9248 12. If the distribution and/or use of the Library is restricted in 9249 certain countries either by patents or by copyrighted interfaces, the 9250 original copyright holder who places the Library under this License may add 9251 an explicit geographical distribution limitation excluding those countries, 9252 so that distribution is permitted only in or among countries not thus 9253 excluded. In such case, this License incorporates the limitation as if 9254 written in the body of this License. 9255 9256 13. The Free Software Foundation may publish revised and/or new 9257 versions of the Library General Public License from time to time. 9258 Such new versions will be similar in spirit to the present version, 9259 but may differ in detail to address new problems or concerns. 9260 9261 Each version is given a distinguishing version number. If the Library 9262 specifies a version number of this License which applies to it and 9263 "any later version", you have the option of following the terms and 9264 conditions either of that version or of any later version published by 9265 the Free Software Foundation. If the Library does not specify a 9266 license version number, you may choose any version ever published by 9267 the Free Software Foundation. 9268 9270 14. If you wish to incorporate parts of the Library into other free 9271 programs whose distribution conditions are incompatible with these, 9272 write to the author to ask for permission. For software which is 9273 copyrighted by the Free Software Foundation, write to the Free 9274 Software Foundation; we sometimes make exceptions for this. Our 9275 decision will be guided by the two goals of preserving the free status 9276 of all derivatives of our free software and of promoting the sharing 9277 and reuse of software generally. 9278 9279 NO WARRANTY 9280 9281 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 9282 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 9283 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 9284 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 9285 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 9286 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 9287 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 9288 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 9289 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 9290 9291 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 9292 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 9293 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 9294 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 9295 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 9296 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 9297 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 9298 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 9299 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 9300 DAMAGES. 9301 9302 END OF TERMS AND CONDITIONS 9303 9305 Appendix: How to Apply These Terms to Your New Libraries 9306 9307 If you develop a new library, and you want it to be of the greatest 9308 possible use to the public, we recommend making it free software that 9309 everyone can redistribute and change. You can do so by permitting 9310 redistribution under these terms (or, alternatively, under the terms of the 9311 ordinary General Public License). 9312 9313 To apply these terms, attach the following notices to the library. It is 9314 safest to attach them to the start of each source file to most effectively 9315 convey the exclusion of warranty; and each file should have at least the 9316 "copyright" line and a pointer to where the full notice is found. 9317 9318 <one line to give the library's name and a brief idea of what it does.> 9319 Copyright (C) <year> <name of author> 9320 9321 This library is free software; you can redistribute it and/or 9322 modify it under the terms of the GNU Library General Public 9323 License as published by the Free Software Foundation; either 9324 version 2 of the License, or (at your option) any later version. 9325 9326 This library is distributed in the hope that it will be useful, 9327 but WITHOUT ANY WARRANTY; without even the implied warranty of 9328 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 9329 Library General Public License for more details. 9330 9331 You should have received a copy of the GNU Library General Public 9332 License along with this library; if not, write to the Free 9333 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 9334 9335 Also add information on how to contact you by electronic and paper mail. 9336 9337 You should also get your employer (if you work as a programmer) or your 9338 school, if any, to sign a "copyright disclaimer" for the library, if 9339 necessary. Here is a sample; alter the names: 9340 9341 Yoyodyne, Inc., hereby disclaims all copyright interest in the 9342 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 9343 9344 <signature of Ty Coon>, 1 April 1990 9345 Ty Coon, President of Vice 9346 9347 That's all there is to it! 9348 9349 9350 * MODP_B64 - High performance base64 encoder/decoder 9351 * Version 1.3 -- 17-Mar-2006 9352 * http://modp.com/release/base64 9353 * 9354 * Copyright (c) 2005, 2006 Nick Galbreath -- nickg [at] modp [dot] com 9355 * All rights reserved. 9356 * 9357 * Redistribution and use in source and binary forms, with or without 9358 * modification, are permitted provided that the following conditions are 9359 * met: 9360 * 9361 * Redistributions of source code must retain the above copyright 9362 * notice, this list of conditions and the following disclaimer. 9363 * 9364 * Redistributions in binary form must reproduce the above copyright 9365 * notice, this list of conditions and the following disclaimer in the 9366 * documentation and/or other materials provided with the distribution. 9367 * 9368 * Neither the name of the modp.com nor the names of its 9369 * contributors may be used to endorse or promote products derived from 9370 * this software without specific prior written permission. 9371 * 9372 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9373 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9374 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9375 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9376 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9377 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9378 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9379 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9380 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9381 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9382 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9383 9384 Copyright 2008 MolokoCacao 9385 All rights reserved 9386 9387 Redistribution and use in source and binary forms, with or without 9388 modification, are permitted providing that the following conditions 9389 are met: 9390 1. Redistributions of source code must retain the above copyright 9391 notice, this list of conditions and the following disclaimer. 9392 2. Redistributions in binary form must reproduce the above copyright 9393 notice, this list of conditions and the following disclaimer in the 9394 documentation and/or other materials provided with the distribution. 9395 9396 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 9397 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 9398 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 9399 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 9400 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 9401 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 9402 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 9403 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 9404 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 9405 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 9406 POSSIBILITY OF SUCH DAMAGE. 9407 9408 Copyright 2010-2011, Google Inc. 9409 All rights reserved. 9410 9411 Redistribution and use in source and binary forms, with or without 9412 modification, are permitted provided that the following conditions are 9413 met: 9414 9415 * Redistributions of source code must retain the above copyright 9416 notice, this list of conditions and the following disclaimer. 9417 * Redistributions in binary form must reproduce the above 9418 copyright notice, this list of conditions and the following disclaimer 9419 in the documentation and/or other materials provided with the 9420 distribution. 9421 * Neither the name of Google Inc. nor the names of its 9422 contributors may be used to endorse or promote products derived from 9423 this software without specific prior written permission. 9424 9425 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9426 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9427 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9428 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9429 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9430 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9431 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9432 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9433 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9434 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9435 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9436 9437 9438 /* ***** BEGIN LICENSE BLOCK ***** 9439 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 9440 * 9441 * The contents of this file are subject to the Mozilla Public License Version 9442 * 1.1 (the "License"); you may not use this file except in compliance with 9443 * the License. You may obtain a copy of the License at 9444 * http://www.mozilla.org/MPL/ 9445 * 9446 * Software distributed under the License is distributed on an "AS IS" basis, 9447 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 9448 * for the specific language governing rights and limitations under the 9449 * License. 9450 * 9451 * The Original Code is mozilla.org code. 9452 * 9453 * The Initial Developer of the Original Code is 9454 * Netscape Communications Corporation. 9455 * Portions created by the Initial Developer are Copyright (C) 2002 9456 * the Initial Developer. All Rights Reserved. 9457 * 9458 * Contributor(s): 9459 * 9460 * Alternatively, the contents of this file may be used under the terms of 9461 * either the GNU General Public License Version 2 or later (the "GPL"), or 9462 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 9463 * in which case the provisions of the GPL or the LGPL are applicable instead 9464 * of those above. If you wish to allow use of your version of this file only 9465 * under the terms of either the GPL or the LGPL, and not to allow others to 9466 * use your version of this file under the terms of the MPL, indicate your 9467 * decision by deleting the provisions above and replace them with the notice 9468 * and other provisions required by the GPL or the LGPL. If you do not delete 9469 * the provisions above, a recipient may use your version of this file under 9470 * the terms of any one of the MPL, the GPL or the LGPL. 9471 * 9472 * ***** END LICENSE BLOCK ***** */ 9473 9474 A C-program for MT19937, with initialization improved 2002/1/26. 9475 Coded by Takuji Nishimura and Makoto Matsumoto. 9476 9477 Before using, initialize the state by using init_genrand(seed) 9478 or init_by_array(init_key, key_length). 9479 9480 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, 9481 All rights reserved. 9482 9483 Redistribution and use in source and binary forms, with or without 9484 modification, are permitted provided that the following conditions 9485 are met: 9486 9487 1. Redistributions of source code must retain the above copyright 9488 notice, this list of conditions and the following disclaimer. 9489 9490 2. Redistributions in binary form must reproduce the above copyright 9491 notice, this list of conditions and the following disclaimer in the 9492 documentation and/or other materials provided with the distribution. 9493 9494 3. The names of its contributors may not be used to endorse or promote 9495 products derived from this software without specific prior written 9496 permission. 9497 9498 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9499 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9500 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9501 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 9502 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 9503 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 9504 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 9505 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 9506 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 9507 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 9508 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9509 9510 Version: MPL 1.1/GPL 2.0/LGPL 2.1 9511 9512 The contents of this file are subject to the Mozilla Public License Version 9513 1.1 (the "License"); you may not use this file except in compliance with 9514 the License. You may obtain a copy of the License at 9515 http://www.mozilla.org/MPL/ 9516 9517 Software distributed under the License is distributed on an "AS IS" basis, 9518 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 9519 for the specific language governing rights and limitations under the 9520 License. 9521 9522 The Original Code is mozilla.org code. 9523 9524 The Initial Developer of the Original Code is 9525 Netscape Communications Corporation. 9526 Portions created by the Initial Developer are Copyright (C) 1998 9527 the Initial Developer. All Rights Reserved. 9528 9529 Contributor(s): 9530 9531 Alternatively, the contents of this file may be used under the terms of 9532 either the GNU General Public License Version 2 or later (the "GPL"), or 9533 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 9534 in which case the provisions of the GPL or the LGPL are applicable instead 9535 of those above. If you wish to allow use of your version of this file only 9536 under the terms of either the GPL or the LGPL, and not to allow others to 9537 use your version of this file under the terms of the MPL, indicate your 9538 decision by deleting the provisions above and replace them with the notice 9539 and other provisions required by the GPL or the LGPL. If you do not delete 9540 the provisions above, a recipient may use your version of this file under 9541 the terms of any one of the MPL, the GPL or the LGPL. 9542 9543 9544 Copyright (c) 2004-2012 by Mulle Kybernetik. All rights reserved. 9545 9546 Permission to use, copy, modify and distribute this software and its documentation 9547 is hereby granted, provided that both the copyright notice and this permission 9548 notice appear in all copies of the software, derivative works or modified versions, 9549 and any portions thereof, and that both notices appear in supporting documentation, 9550 and that credit is given to Mulle Kybernetik in all documents and publicity 9551 pertaining to direct or indirect use of this code or its derivatives. 9552 9553 THIS IS EXPERIMENTAL SOFTWARE AND IT IS KNOWN TO HAVE BUGS, SOME OF WHICH MAY HAVE 9554 SERIOUS CONSEQUENCES. THE COPYRIGHT HOLDER ALLOWS FREE USE OF THIS SOFTWARE IN ITS 9555 "AS IS" CONDITION. THE COPYRIGHT HOLDER DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY 9556 DAMAGES WHATSOEVER RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE 9557 OR OF ANY DERIVATIVE WORK. 9558 Use of this source code is governed by a BSD-style license that can be 9559 found in the LICENSE file in the root of the source tree. All 9560 contributing project authors may be found in the AUTHORS file in the 9561 root of the source tree. 9562 9563 The files were originally licensed by ARM Limited. 9564 9565 The following files: 9566 9567 * dl/api/omxtypes.h 9568 * dl/sp/api/omxSP.h 9569 9570 are licensed by Khronos: 9571 9572 Copyright 2005-2008 The Khronos Group Inc. All Rights Reserved. 9573 9574 These materials are protected by copyright laws and contain material 9575 proprietary to the Khronos Group, Inc. You may use these materials 9576 for implementing Khronos specifications, without altering or removing 9577 any trademark, copyright or other notice from the specification. 9578 9579 Khronos Group makes no, and expressly disclaims any, representations 9580 or warranties, express or implied, regarding these materials, including, 9581 without limitation, any implied warranties of merchantability or fitness 9582 for a particular purpose or non-infringement of any intellectual property. 9583 Khronos Group makes no, and expressly disclaims any, warranties, express 9584 or implied, regarding the correctness, accuracy, completeness, timeliness, 9585 and reliability of these materials. 9586 9587 Under no circumstances will the Khronos Group, or any of its Promoters, 9588 Contributors or Members or their respective partners, officers, directors, 9589 employees, agents or representatives be liable for any damages, whether 9590 direct, indirect, special or consequential damages for lost revenues, 9591 lost profits, or otherwise, arising from or in connection with these 9592 materials. 9593 9594 Khronos and OpenMAX are trademarks of the Khronos Group Inc. 9595 9596 Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic, 9597 Jean-Marc Valin, Timothy B. Terriberry, 9598 CSIRO, Gregory Maxwell, Mark Borgerding, 9599 Erik de Castro Lopo 9600 9601 Redistribution and use in source and binary forms, with or without 9602 modification, are permitted provided that the following conditions 9603 are met: 9604 9605 - Redistributions of source code must retain the above copyright 9606 notice, this list of conditions and the following disclaimer. 9607 9608 - Redistributions in binary form must reproduce the above copyright 9609 notice, this list of conditions and the following disclaimer in the 9610 documentation and/or other materials provided with the distribution. 9611 9612 - Neither the name of Internet Society, IETF or IETF Trust, nor the 9613 names of specific contributors, may be used to endorse or promote 9614 products derived from this software without specific prior written 9615 permission. 9616 9617 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9618 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9619 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9620 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 9621 OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 9622 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 9623 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 9624 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 9625 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 9626 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 9627 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9628 9629 Opus is subject to the royalty-free patent licenses which are 9630 specified at: 9631 9632 Xiph.Org Foundation: 9633 https://datatracker.ietf.org/ipr/1524/ 9634 9635 Microsoft Corporation: 9636 https://datatracker.ietf.org/ipr/1914/ 9637 9638 Broadcom Corporation: 9639 https://datatracker.ietf.org/ipr/1526/ 9640 9641 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 9642 // 9643 // Redistribution and use in source and binary forms, with or without 9644 // modification, are permitted provided that the following conditions are 9645 // met: 9646 // 9647 // * Redistributions of source code must retain the above copyright 9648 // notice, this list of conditions and the following disclaimer. 9649 // * Redistributions in binary form must reproduce the above 9650 // copyright notice, this list of conditions and the following disclaimer 9651 // in the documentation and/or other materials provided with the 9652 // distribution. 9653 // * Neither the name of Google Inc. nor the names of its 9654 // contributors may be used to endorse or promote products derived from 9655 // this software without specific prior written permission. 9656 // 9657 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9658 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9659 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9660 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9661 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9662 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9663 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9664 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9665 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9666 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9667 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9668 9669 PLY (Python Lex-Yacc) Version 3.4 9670 9671 Copyright (C) 2001-2011, 9672 David M. Beazley (Dabeaz LLC) 9673 All rights reserved. 9674 9675 Redistribution and use in source and binary forms, with or without 9676 modification, are permitted provided that the following conditions are 9677 met: 9678 9679 * Redistributions of source code must retain the above copyright notice, 9680 this list of conditions and the following disclaimer. 9681 * Redistributions in binary form must reproduce the above copyright notice, 9682 this list of conditions and the following disclaimer in the documentation 9683 and/or other materials provided with the distribution. 9684 * Neither the name of the David Beazley or Dabeaz LLC may be used to 9685 endorse or promote products derived from this software without 9686 specific prior written permission. 9687 9688 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9689 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9690 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9691 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9692 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9693 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9694 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9695 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9696 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9697 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9698 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9699 // Copyright (c) 2012 The Polymer Authors. All rights reserved. 9700 // 9701 // Redistribution and use in source and binary forms, with or without 9702 // modification, are permitted provided that the following conditions are 9703 // met: 9704 // 9705 // * Redistributions of source code must retain the above copyright 9706 // notice, this list of conditions and the following disclaimer. 9707 // * Redistributions in binary form must reproduce the above 9708 // copyright notice, this list of conditions and the following disclaimer 9709 // in the documentation and/or other materials provided with the 9710 // distribution. 9711 // * Neither the name of Google Inc. nor the names of its 9712 // contributors may be used to endorse or promote products derived from 9713 // this software without specific prior written permission. 9714 // 9715 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9716 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9717 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9718 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9719 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9720 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9721 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9722 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9723 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9724 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9725 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9726 9727 // Copyright (c) 2012 The Polymer Authors. All rights reserved. 9728 // 9729 // Redistribution and use in source and binary forms, with or without 9730 // modification, are permitted provided that the following conditions are 9731 // met: 9732 // 9733 // * Redistributions of source code must retain the above copyright 9734 // notice, this list of conditions and the following disclaimer. 9735 // * Redistributions in binary form must reproduce the above 9736 // copyright notice, this list of conditions and the following disclaimer 9737 // in the documentation and/or other materials provided with the 9738 // distribution. 9739 // * Neither the name of Google Inc. nor the names of its 9740 // contributors may be used to endorse or promote products derived from 9741 // this software without specific prior written permission. 9742 // 9743 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9744 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9745 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9746 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9747 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9748 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9749 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9750 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9751 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9752 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9753 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9754 9755 Copyright (c) 2014, Intel Corporation 9756 All rights reserved. 9757 9758 Redistribution and use in source and binary forms, with or without 9759 modification, are permitted provided that the following conditions are 9760 met: 9761 9762 * Redistributions of source code must retain the above copyright 9763 notice, this list of conditions and the following disclaimer. 9764 * Redistributions in binary form must reproduce the above 9765 copyright notice, this list of conditions and the following disclaimer 9766 in the documentation and/or other materials provided with the 9767 distribution. 9768 * Neither the name of Intel Corporation nor the names of its 9769 contributors may be used to endorse or promote products derived from 9770 this software without specific prior written permission. 9771 9772 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9773 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9774 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9775 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9776 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9777 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9778 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9779 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9780 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9781 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9782 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9783 Copyright 2008, Google Inc. 9784 All rights reserved. 9785 9786 Redistribution and use in source and binary forms, with or without 9787 modification, are permitted provided that the following conditions are 9788 met: 9789 9790 * Redistributions of source code must retain the above copyright 9791 notice, this list of conditions and the following disclaimer. 9792 * Redistributions in binary form must reproduce the above 9793 copyright notice, this list of conditions and the following disclaimer 9794 in the documentation and/or other materials provided with the 9795 distribution. 9796 * Neither the name of Google Inc. nor the names of its 9797 contributors may be used to endorse or promote products derived from 9798 this software without specific prior written permission. 9799 9800 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9801 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9802 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9803 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9804 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9805 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9806 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9807 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9808 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9809 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9810 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9811 9812 Code generated by the Protocol Buffer compiler is owned by the owner 9813 of the input file used when generating it. This code is not 9814 standalone and requires a support library to be linked with it. This 9815 support library is itself covered by the above license. 9816 9817 Copyright (c) 2003-2012, Michael Foord 9818 All rights reserved. 9819 9820 Redistribution and use in source and binary forms, with or without 9821 modification, are permitted provided that the following conditions are 9822 met: 9823 9824 * Redistributions of source code must retain the above copyright 9825 notice, this list of conditions and the following disclaimer. 9826 9827 * Redistributions in binary form must reproduce the above 9828 copyright notice, this list of conditions and the following 9829 disclaimer in the documentation and/or other materials provided 9830 with the distribution. 9831 9832 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9833 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9834 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9835 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9836 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9837 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9838 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9839 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9840 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9841 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9842 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9843 9844 qcms 9845 Copyright (C) 2009 Mozilla Corporation 9846 Copyright (C) 1998-2007 Marti Maria 9847 9848 Permission is hereby granted, free of charge, to any person obtaining 9849 a copy of this software and associated documentation files (the "Software"), 9850 to deal in the Software without restriction, including without limitation 9851 the rights to use, copy, modify, merge, publish, distribute, sublicense, 9852 and/or sell copies of the Software, and to permit persons to whom the Software 9853 is furnished to do so, subject to the following conditions: 9854 9855 The above copyright notice and this permission notice shall be included in 9856 all copies or substantial portions of the Software. 9857 9858 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 9859 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO 9860 THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 9861 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 9862 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 9863 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 9864 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9865 9866 Copyright 2014 jQuery Foundation and other contributors 9867 http://jquery.com/ 9868 9869 Permission is hereby granted, free of charge, to any person obtaining 9870 a copy of this software and associated documentation files (the 9871 "Software"), to deal in the Software without restriction, including 9872 without limitation the rights to use, copy, modify, merge, publish, 9873 distribute, sublicense, and/or sell copies of the Software, and to 9874 permit persons to whom the Software is furnished to do so, subject to 9875 the following conditions: 9876 9877 The above copyright notice and this permission notice shall be 9878 included in all copies or substantial portions of the Software. 9879 9880 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 9881 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 9882 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 9883 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 9884 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 9885 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 9886 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9887 // Copyright (c) 2009 The RE2 Authors. All rights reserved. 9888 // 9889 // Redistribution and use in source and binary forms, with or without 9890 // modification, are permitted provided that the following conditions are 9891 // met: 9892 // 9893 // * Redistributions of source code must retain the above copyright 9894 // notice, this list of conditions and the following disclaimer. 9895 // * Redistributions in binary form must reproduce the above 9896 // copyright notice, this list of conditions and the following disclaimer 9897 // in the documentation and/or other materials provided with the 9898 // distribution. 9899 // * Neither the name of Google Inc. nor the names of its 9900 // contributors may be used to endorse or promote products derived from 9901 // this software without specific prior written permission. 9902 // 9903 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 9904 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 9905 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9906 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9907 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9908 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 9909 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 9910 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 9911 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 9912 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 9913 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 9914 9915 Copyright 2010 Arc90 Inc 9916 9917 Licensed under the Apache License, Version 2.0 (the "License"); 9918 you may not use this file except in compliance with the License. 9919 You may obtain a copy of the License at 9920 9921 http://www.apache.org/licenses/LICENSE-2.0 9922 9923 Unless required by applicable law or agreed to in writing, software 9924 distributed under the License is distributed on an "AS IS" BASIS, 9925 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 9926 See the License for the specific language governing permissions and 9927 limitations under the License. 9928 9929 9930 Apache License 9931 Version 2.0, January 2004 9932 http://www.apache.org/licenses/ 9933 9934 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 9935 9936 1. Definitions. 9937 9938 "License" shall mean the terms and conditions for use, reproduction, 9939 and distribution as defined by Sections 1 through 9 of this document. 9940 9941 "Licensor" shall mean the copyright owner or entity authorized by 9942 the copyright owner that is granting the License. 9943 9944 "Legal Entity" shall mean the union of the acting entity and all 9945 other entities that control, are controlled by, or are under common 9946 control with that entity. For the purposes of this definition, 9947 "control" means (i) the power, direct or indirect, to cause the 9948 direction or management of such entity, whether by contract or 9949 otherwise, or (ii) ownership of fifty percent (50%) or more of the 9950 outstanding shares, or (iii) beneficial ownership of such entity. 9951 9952 "You" (or "Your") shall mean an individual or Legal Entity 9953 exercising permissions granted by this License. 9954 9955 "Source" form shall mean the preferred form for making modifications, 9956 including but not limited to software source code, documentation 9957 source, and configuration files. 9958 9959 "Object" form shall mean any form resulting from mechanical 9960 transformation or translation of a Source form, including but 9961 not limited to compiled object code, generated documentation, 9962 and conversions to other media types. 9963 9964 "Work" shall mean the work of authorship, whether in Source or 9965 Object form, made available under the License, as indicated by a 9966 copyright notice that is included in or attached to the work 9967 (an example is provided in the Appendix below). 9968 9969 "Derivative Works" shall mean any work, whether in Source or Object 9970 form, that is based on (or derived from) the Work and for which the 9971 editorial revisions, annotations, elaborations, or other modifications 9972 represent, as a whole, an original work of authorship. For the purposes 9973 of this License, Derivative Works shall not include works that remain 9974 separable from, or merely link (or bind by name) to the interfaces of, 9975 the Work and Derivative Works thereof. 9976 9977 "Contribution" shall mean any work of authorship, including 9978 the original version of the Work and any modifications or additions 9979 to that Work or Derivative Works thereof, that is intentionally 9980 submitted to Licensor for inclusion in the Work by the copyright owner 9981 or by an individual or Legal Entity authorized to submit on behalf of 9982 the copyright owner. For the purposes of this definition, "submitted" 9983 means any form of electronic, verbal, or written communication sent 9984 to the Licensor or its representatives, including but not limited to 9985 communication on electronic mailing lists, source code control systems, 9986 and issue tracking systems that are managed by, or on behalf of, the 9987 Licensor for the purpose of discussing and improving the Work, but 9988 excluding communication that is conspicuously marked or otherwise 9989 designated in writing by the copyright owner as "Not a Contribution." 9990 9991 "Contributor" shall mean Licensor and any individual or Legal Entity 9992 on behalf of whom a Contribution has been received by Licensor and 9993 subsequently incorporated within the Work. 9994 9995 2. Grant of Copyright License. Subject to the terms and conditions of 9996 this License, each Contributor hereby grants to You a perpetual, 9997 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 9998 copyright license to reproduce, prepare Derivative Works of, 9999 publicly display, publicly perform, sublicense, and distribute the 10000 Work and such Derivative Works in Source or Object form. 10001 10002 3. Grant of Patent License. Subject to the terms and conditions of 10003 this License, each Contributor hereby grants to You a perpetual, 10004 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 10005 (except as stated in this section) patent license to make, have made, 10006 use, offer to sell, sell, import, and otherwise transfer the Work, 10007 where such license applies only to those patent claims licensable 10008 by such Contributor that are necessarily infringed by their 10009 Contribution(s) alone or by combination of their Contribution(s) 10010 with the Work to which such Contribution(s) was submitted. If You 10011 institute patent litigation against any entity (including a 10012 cross-claim or counterclaim in a lawsuit) alleging that the Work 10013 or a Contribution incorporated within the Work constitutes direct 10014 or contributory patent infringement, then any patent licenses 10015 granted to You under this License for that Work shall terminate 10016 as of the date such litigation is filed. 10017 10018 4. Redistribution. You may reproduce and distribute copies of the 10019 Work or Derivative Works thereof in any medium, with or without 10020 modifications, and in Source or Object form, provided that You 10021 meet the following conditions: 10022 10023 (a) You must give any other recipients of the Work or 10024 Derivative Works a copy of this License; and 10025 10026 (b) You must cause any modified files to carry prominent notices 10027 stating that You changed the files; and 10028 10029 (c) You must retain, in the Source form of any Derivative Works 10030 that You distribute, all copyright, patent, trademark, and 10031 attribution notices from the Source form of the Work, 10032 excluding those notices that do not pertain to any part of 10033 the Derivative Works; and 10034 10035 (d) If the Work includes a "NOTICE" text file as part of its 10036 distribution, then any Derivative Works that You distribute must 10037 include a readable copy of the attribution notices contained 10038 within such NOTICE file, excluding those notices that do not 10039 pertain to any part of the Derivative Works, in at least one 10040 of the following places: within a NOTICE text file distributed 10041 as part of the Derivative Works; within the Source form or 10042 documentation, if provided along with the Derivative Works; or, 10043 within a display generated by the Derivative Works, if and 10044 wherever such third-party notices normally appear. The contents 10045 of the NOTICE file are for informational purposes only and 10046 do not modify the License. You may add Your own attribution 10047 notices within Derivative Works that You distribute, alongside 10048 or as an addendum to the NOTICE text from the Work, provided 10049 that such additional attribution notices cannot be construed 10050 as modifying the License. 10051 10052 You may add Your own copyright statement to Your modifications and 10053 may provide additional or different license terms and conditions 10054 for use, reproduction, or distribution of Your modifications, or 10055 for any such Derivative Works as a whole, provided Your use, 10056 reproduction, and distribution of the Work otherwise complies with 10057 the conditions stated in this License. 10058 10059 5. Submission of Contributions. Unless You explicitly state otherwise, 10060 any Contribution intentionally submitted for inclusion in the Work 10061 by You to the Licensor shall be under the terms and conditions of 10062 this License, without any additional terms or conditions. 10063 Notwithstanding the above, nothing herein shall supersede or modify 10064 the terms of any separate license agreement you may have executed 10065 with Licensor regarding such Contributions. 10066 10067 6. Trademarks. This License does not grant permission to use the trade 10068 names, trademarks, service marks, or product names of the Licensor, 10069 except as required for reasonable and customary use in describing the 10070 origin of the Work and reproducing the content of the NOTICE file. 10071 10072 7. Disclaimer of Warranty. Unless required by applicable law or 10073 agreed to in writing, Licensor provides the Work (and each 10074 Contributor provides its Contributions) on an "AS IS" BASIS, 10075 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 10076 implied, including, without limitation, any warranties or conditions 10077 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 10078 PARTICULAR PURPOSE. You are solely responsible for determining the 10079 appropriateness of using or redistributing the Work and assume any 10080 risks associated with Your exercise of permissions under this License. 10081 10082 8. Limitation of Liability. In no event and under no legal theory, 10083 whether in tort (including negligence), contract, or otherwise, 10084 unless required by applicable law (such as deliberate and grossly 10085 negligent acts) or agreed to in writing, shall any Contributor be 10086 liable to You for damages, including any direct, indirect, special, 10087 incidental, or consequential damages of any character arising as a 10088 result of this License or out of the use or inability to use the 10089 Work (including but not limited to damages for loss of goodwill, 10090 work stoppage, computer failure or malfunction, or any and all 10091 other commercial damages or losses), even if such Contributor 10092 has been advised of the possibility of such damages. 10093 10094 9. Accepting Warranty or Additional Liability. While redistributing 10095 the Work or Derivative Works thereof, You may choose to offer, 10096 and charge a fee for, acceptance of support, warranty, indemnity, 10097 or other liability obligations and/or rights consistent with this 10098 License. However, in accepting such obligations, You may act only 10099 on Your own behalf and on Your sole responsibility, not on behalf 10100 of any other Contributor, and only if You agree to indemnify, 10101 defend, and hold each Contributor harmless for any liability 10102 incurred by, or claims asserted against, such Contributor by reason 10103 of your accepting any such warranty or additional liability. 10104 10105 END OF TERMS AND CONDITIONS 10106 10107 APPENDIX: How to apply the Apache License to your work. 10108 10109 To apply the Apache License to your work, attach the following 10110 boilerplate notice, with the fields enclosed by brackets "[]" 10111 replaced with your own identifying information. (Don't include 10112 the brackets!) The text should be enclosed in the appropriate 10113 comment syntax for the file format. We also recommend that a 10114 file or class name and description of purpose be included on the 10115 same "printed page" as the copyright notice for easier 10116 identification within third-party archives. 10117 10118 Copyright 2011 Google Inc. All Rights Reserved. 10119 10120 Licensed under the Apache License, Version 2.0 (the "License"); 10121 you may not use this file except in compliance with the License. 10122 You may obtain a copy of the License at 10123 10124 http://www.apache.org/licenses/LICENSE-2.0 10125 10126 Unless required by applicable law or agreed to in writing, software 10127 distributed under the License is distributed on an "AS IS" BASIS, 10128 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10129 See the License for the specific language governing permissions and 10130 limitations under the License. 10131 10132 10133 Copyright (c) 2006 Bob Ippolito 10134 10135 Permission is hereby granted, free of charge, to any person obtaining a copy of 10136 this software and associated documentation files (the "Software"), to deal in 10137 the Software without restriction, including without limitation the rights to 10138 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 10139 of the Software, and to permit persons to whom the Software is furnished to do 10140 so, subject to the following conditions: 10141 10142 The above copyright notice and this permission notice shall be included in all 10143 copies or substantial portions of the Software. 10144 10145 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 10146 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10147 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 10148 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 10149 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 10150 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 10151 SOFTWARE. 10152 10153 (The BSD License) 10154 10155 Copyright (c) 2010-2014, Christian Johansen, christian (a] cjohansen.no 10156 All rights reserved. 10157 10158 Redistribution and use in source and binary forms, with or without modification, 10159 are permitted provided that the following conditions are met: 10160 10161 * Redistributions of source code must retain the above copyright notice, 10162 this list of conditions and the following disclaimer. 10163 * Redistributions in binary form must reproduce the above copyright notice, 10164 this list of conditions and the following disclaimer in the documentation 10165 and/or other materials provided with the distribution. 10166 * Neither the name of Christian Johansen nor the names of his contributors 10167 may be used to endorse or promote products derived from this software 10168 without specific prior written permission. 10169 10170 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 10171 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 10172 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 10173 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 10174 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 10175 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 10176 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 10177 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 10178 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 10179 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10180 10181 // Copyright (c) 2011 Google Inc. All rights reserved. 10182 // 10183 // Redistribution and use in source and binary forms, with or without 10184 // modification, are permitted provided that the following conditions are 10185 // met: 10186 // 10187 // * Redistributions of source code must retain the above copyright 10188 // notice, this list of conditions and the following disclaimer. 10189 // * Redistributions in binary form must reproduce the above 10190 // copyright notice, this list of conditions and the following disclaimer 10191 // in the documentation and/or other materials provided with the 10192 // distribution. 10193 // * Neither the name of Google Inc. nor the names of its 10194 // contributors may be used to endorse or promote products derived from 10195 // this software without specific prior written permission. 10196 // 10197 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 10198 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 10199 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 10200 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 10201 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 10202 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 10203 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 10204 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 10205 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 10206 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 10207 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10208 10209 All MurmurHash source files are placed in the public domain. 10210 10211 The license below applies to all other code in SMHasher: 10212 10213 Copyright (c) 2011 Google, Inc. 10214 10215 Permission is hereby granted, free of charge, to any person obtaining a copy 10216 of this software and associated documentation files (the "Software"), to deal 10217 in the Software without restriction, including without limitation the rights 10218 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10219 copies of the Software, and to permit persons to whom the Software is 10220 furnished to do so, subject to the following conditions: 10221 10222 The above copyright notice and this permission notice shall be included in 10223 all copies or substantial portions of the Software. 10224 10225 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 10226 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10227 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 10228 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 10229 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 10230 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 10231 THE SOFTWARE. 10232 10233 Copyright 2002-2008 Xiph.org Foundation 10234 Copyright 2002-2008 Jean-Marc Valin 10235 Copyright 2005-2007 Analog Devices Inc. 10236 Copyright 2005-2008 Commonwealth Scientific and Industrial Research 10237 Organisation (CSIRO) 10238 Copyright 1993, 2002, 2006 David Rowe 10239 Copyright 2003 EpicGames 10240 Copyright 1992-1994 Jutta Degener, Carsten Bormann 10241 10242 Redistribution and use in source and binary forms, with or without 10243 modification, are permitted provided that the following conditions 10244 are met: 10245 10246 - Redistributions of source code must retain the above copyright 10247 notice, this list of conditions and the following disclaimer. 10248 10249 - Redistributions in binary form must reproduce the above copyright 10250 notice, this list of conditions and the following disclaimer in the 10251 documentation and/or other materials provided with the distribution. 10252 10253 - Neither the name of the Xiph.org Foundation nor the names of its 10254 contributors may be used to endorse or promote products derived from 10255 this software without specific prior written permission. 10256 10257 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 10258 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 10259 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 10260 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR 10261 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 10262 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 10263 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 10264 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 10265 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 10266 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 10267 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10268 10269 The author disclaims copyright to this source code. In place of 10270 a legal notice, here is a blessing: 10271 10272 May you do good and not evil. 10273 May you find forgiveness for yourself and forgive others. 10274 May you share freely, never taking more than you give. 10275 10276 SWIG is distributed under the following terms: 10277 10278 I. 10279 10280 Copyright (c) 1995-1998 10281 The University of Utah and the Regents of the University of California 10282 All Rights Reserved 10283 10284 Permission is hereby granted, without written agreement and without 10285 license or royalty fees, to use, copy, modify, and distribute this 10286 software and its documentation for any purpose, provided that 10287 (1) The above copyright notice and the following two paragraphs 10288 appear in all copies of the source code and (2) redistributions 10289 including binaries reproduces these notices in the supporting 10290 documentation. Substantial modifications to this software may be 10291 copyrighted by their authors and need not follow the licensing terms 10292 described here, provided that the new terms are clearly indicated in 10293 all files where they apply. 10294 10295 IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE 10296 UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY 10297 PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL 10298 DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, 10299 EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF 10300 THE POSSIBILITY OF SUCH DAMAGE. 10301 10302 THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH 10303 SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO, 10304 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 10305 PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND 10306 THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, 10307 SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 10308 10309 10310 II. 10311 10312 This software includes contributions that are Copyright (c) 1998-2005 10313 University of Chicago. 10314 All rights reserved. 10315 10316 Redistribution and use in source and binary forms, with or without 10317 modification, are permitted provided that the following conditions are 10318 met: 10319 10320 Redistributions of source code must retain the above copyright notice, 10321 this list of conditions and the following disclaimer. Redistributions 10322 in binary form must reproduce the above copyright notice, this list of 10323 conditions and the following disclaimer in the documentation and/or 10324 other materials provided with the distribution. Neither the name of 10325 the University of Chicago nor the names of its contributors may be 10326 used to endorse or promote products derived from this software without 10327 specific prior written permission. 10328 10329 THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF CHICAGO AND CONTRIBUTORS 10330 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 10331 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 10332 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF 10333 CHICAGO OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 10334 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 10335 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 10336 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 10337 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 10338 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 10339 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10340 10341 10342 III. 10343 10344 This software includes contributions that are Copyright (c) 2005-2006 10345 Arizona Board of Regents (University of Arizona). 10346 All Rights Reserved 10347 10348 Permission is hereby granted, without written agreement and without 10349 license or royalty fees, to use, copy, modify, and distribute this 10350 software and its documentation for any purpose, provided that 10351 (1) The above copyright notice and the following two paragraphs 10352 appear in all copies of the source code and (2) redistributions 10353 including binaries reproduces these notices in the supporting 10354 documentation. Substantial modifications to this software may be 10355 copyrighted by their authors and need not follow the licensing terms 10356 described here, provided that the new terms are clearly indicated in 10357 all files where they apply. 10358 10359 THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA AND CONTRIBUTORS 10360 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 10361 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 10362 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF 10363 ARIZONA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 10364 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 10365 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 10366 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 10367 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 10368 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 10369 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10370 10371 10372 // Copyright (c) 2005, Google Inc. 10373 // All rights reserved. 10374 // 10375 // Redistribution and use in source and binary forms, with or without 10376 // modification, are permitted provided that the following conditions are 10377 // met: 10378 // 10379 // * Redistributions of source code must retain the above copyright 10380 // notice, this list of conditions and the following disclaimer. 10381 // * Redistributions in binary form must reproduce the above 10382 // copyright notice, this list of conditions and the following disclaimer 10383 // in the documentation and/or other materials provided with the 10384 // distribution. 10385 // * Neither the name of Google Inc. nor the names of its 10386 // contributors may be used to endorse or promote products derived from 10387 // this software without specific prior written permission. 10388 // 10389 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 10390 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 10391 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 10392 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 10393 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 10394 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 10395 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 10396 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 10397 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 10398 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 10399 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10400 10401 10402 TLS Lite includes code from different sources. All code is either dedicated to 10403 the public domain by its authors, or available under a BSD-style license. In 10404 particular: 10405 10406 - 10407 10408 Code written by Trevor Perrin, Kees Bos, Sam Rushing, Dimitris Moraitis, 10409 Marcelo Fernandez, Martin von Loewis, and Dave Baggett is available under the 10410 following terms: 10411 10412 This is free and unencumbered software released into the public domain. 10413 10414 Anyone is free to copy, modify, publish, use, compile, sell, or distribute 10415 this software, either in source code form or as a compiled binary, for any 10416 purpose, commercial or non-commercial, and by any means. 10417 10418 In jurisdictions that recognize copyright laws, the author or authors of this 10419 software dedicate any and all copyright interest in the software to the public 10420 domain. We make this dedication for the benefit of the public at large and to 10421 the detriment of our heirs and successors. We intend this dedication to be an 10422 overt act of relinquishment in perpetuity of all present and future rights to 10423 this software under copyright law. 10424 10425 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 10426 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10427 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 10428 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 10429 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 10430 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10431 10432 - 10433 10434 Code written by Bram Cohen (rijndael.py) was dedicated to the public domain by 10435 its author. See rijndael.py for details. 10436 10437 - 10438 10439 Code written by Google is available under the following terms: 10440 10441 Copyright (c) 2008, The Chromium Authors 10442 All rights reserved. 10443 10444 Redistribution and use in source and binary forms, with or without 10445 modification, are permitted provided that the following conditions are met: 10446 10447 * Redistributions of source code must retain the above copyright notice, this 10448 list of conditions and the following disclaimer. 10449 10450 * Redistributions in binary form must reproduce the above copyright notice, 10451 this list of conditions and the following disclaimer in the documentation 10452 and/or other materials provided with the distribution. 10453 10454 * Neither the name of the Google Inc. nor the names of its contributors may 10455 be used to endorse or promote products derived from this software without 10456 specific prior written permission. 10457 10458 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 10459 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 10460 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 10461 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 10462 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 10463 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 10464 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 10465 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 10466 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 10467 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10468 10469 Copyright (c) 2012, Linux USB Project 10470 All rights reserved. 10471 10472 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 10473 10474 o Redistributions of source code must retain the above copyright notice, 10475 this list of conditions and the following disclaimer. 10476 10477 o Redistributions in binary form must reproduce the above copyright 10478 notice, this list of conditions and the following disclaimer in the 10479 documentation and/or other materials provided with the distribution. 10480 10481 o Neither the name of the Linux USB Project nor the names of its 10482 contributors may be used to endorse or promote products derived from 10483 this software without specific prior written permission. 10484 10485 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. 10486 10487 (Copied from the COPYRIGHT file of 10488 https://code.google.com/p/sctp-refimpl/source/browse/trunk/COPYRIGHT) 10489 -------------------------------------------------------------------------------- 10490 10491 Copyright (c) 2001, 2002 Cisco Systems, Inc. 10492 Copyright (c) 2002-12 Randall R. Stewart 10493 Copyright (c) 2002-12 Michael Tuexen 10494 All rights reserved. 10495 10496 Redistribution and use in source and binary forms, with or without 10497 modification, are permitted provided that the following conditions 10498 are met: 10499 10500 1. Redistributions of source code must retain the above copyright 10501 notice, this list of conditions and the following disclaimer. 10502 2. Redistributions in binary form must reproduce the above copyright 10503 notice, this list of conditions and the following disclaimer in the 10504 documentation and/or other materials provided with the distribution. 10505 10506 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 10507 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 10508 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 10509 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 10510 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 10511 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 10512 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 10513 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 10514 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 10515 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 10516 SUCH DAMAGE. 10517 10518 Copyright (c) 2011, The WebRTC project authors. All rights reserved. 10519 10520 Redistribution and use in source and binary forms, with or without 10521 modification, are permitted provided that the following conditions are 10522 met: 10523 10524 * Redistributions of source code must retain the above copyright 10525 notice, this list of conditions and the following disclaimer. 10526 10527 * Redistributions in binary form must reproduce the above copyright 10528 notice, this list of conditions and the following disclaimer in 10529 the documentation and/or other materials provided with the 10530 distribution. 10531 10532 * Neither the name of Google nor the names of its contributors may 10533 be used to endorse or promote products derived from this software 10534 without specific prior written permission. 10535 10536 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 10537 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 10538 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 10539 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 10540 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 10541 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 10542 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 10543 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 10544 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 10545 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 10546 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10547 10548 10549 Apache License 10550 Version 2.0, January 2010 10551 http://www.apache.org/licenses/ 10552 10553 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 10554 10555 1. Definitions. 10556 10557 "License" shall mean the terms and conditions for use, reproduction, 10558 and distribution as defined by Sections 1 through 9 of this document. 10559 10560 "Licensor" shall mean the copyright owner or entity authorized by 10561 the copyright owner that is granting the License. 10562 10563 "Legal Entity" shall mean the union of the acting entity and all 10564 other entities that control, are controlled by, or are under common 10565 control with that entity. For the purposes of this definition, 10566 "control" means (i) the power, direct or indirect, to cause the 10567 direction or management of such entity, whether by contract or 10568 otherwise, or (ii) ownership of fifty percent (50%) or more of the 10569 outstanding shares, or (iii) beneficial ownership of such entity. 10570 10571 "You" (or "Your") shall mean an individual or Legal Entity 10572 exercising permissions granted by this License. 10573 10574 "Source" form shall mean the preferred form for making modifications, 10575 including but not limited to software source code, documentation 10576 source, and configuration files. 10577 10578 "Object" form shall mean any form resulting from mechanical 10579 transformation or translation of a Source form, including but 10580 not limited to compiled object code, generated documentation, 10581 and conversions to other media types. 10582 10583 "Work" shall mean the work of authorship, whether in Source or 10584 Object form, made available under the License, as indicated by a 10585 copyright notice that is included in or attached to the work 10586 (an example is provided in the Appendix below). 10587 10588 "Derivative Works" shall mean any work, whether in Source or Object 10589 form, that is based on (or derived from) the Work and for which the 10590 editorial revisions, annotations, elaborations, or other modifications 10591 represent, as a whole, an original work of authorship. For the purposes 10592 of this License, Derivative Works shall not include works that remain 10593 separable from, or merely link (or bind by name) to the interfaces of, 10594 the Work and Derivative Works thereof. 10595 10596 "Contribution" shall mean any work of authorship, including 10597 the original version of the Work and any modifications or additions 10598 to that Work or Derivative Works thereof, that is intentionally 10599 submitted to Licensor for inclusion in the Work by the copyright owner 10600 or by an individual or Legal Entity authorized to submit on behalf of 10601 the copyright owner. For the purposes of this definition, "submitted" 10602 means any form of electronic, verbal, or written communication sent 10603 to the Licensor or its representatives, including but not limited to 10604 communication on electronic mailing lists, source code control systems, 10605 and issue tracking systems that are managed by, or on behalf of, the 10606 Licensor for the purpose of discussing and improving the Work, but 10607 excluding communication that is conspicuously marked or otherwise 10608 designated in writing by the copyright owner as "Not a Contribution." 10609 10610 "Contributor" shall mean Licensor and any individual or Legal Entity 10611 on behalf of whom a Contribution has been received by Licensor and 10612 subsequently incorporated within the Work. 10613 10614 2. Grant of Copyright License. Subject to the terms and conditions of 10615 this License, each Contributor hereby grants to You a perpetual, 10616 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 10617 copyright license to reproduce, prepare Derivative Works of, 10618 publicly display, publicly perform, sublicense, and distribute the 10619 Work and such Derivative Works in Source or Object form. 10620 10621 3. Grant of Patent License. Subject to the terms and conditions of 10622 this License, each Contributor hereby grants to You a perpetual, 10623 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 10624 (except as stated in this section) patent license to make, have made, 10625 use, offer to sell, sell, import, and otherwise transfer the Work, 10626 where such license applies only to those patent claims licensable 10627 by such Contributor that are necessarily infringed by their 10628 Contribution(s) alone or by combination of their Contribution(s) 10629 with the Work to which such Contribution(s) was submitted. If You 10630 institute patent litigation against any entity (including a 10631 cross-claim or counterclaim in a lawsuit) alleging that the Work 10632 or a Contribution incorporated within the Work constitutes direct 10633 or contributory patent infringement, then any patent licenses 10634 granted to You under this License for that Work shall terminate 10635 as of the date such litigation is filed. 10636 10637 4. Redistribution. You may reproduce and distribute copies of the 10638 Work or Derivative Works thereof in any medium, with or without 10639 modifications, and in Source or Object form, provided that You 10640 meet the following conditions: 10641 10642 (a) You must give any other recipients of the Work or 10643 Derivative Works a copy of this License; and 10644 10645 (b) You must cause any modified files to carry prominent notices 10646 stating that You changed the files; and 10647 10648 (c) You must retain, in the Source form of any Derivative Works 10649 that You distribute, all copyright, patent, trademark, and 10650 attribution notices from the Source form of the Work, 10651 excluding those notices that do not pertain to any part of 10652 the Derivative Works; and 10653 10654 (d) If the Work includes a "NOTICE" text file as part of its 10655 distribution, then any Derivative Works that You distribute must 10656 include a readable copy of the attribution notices contained 10657 within such NOTICE file, excluding those notices that do not 10658 pertain to any part of the Derivative Works, in at least one 10659 of the following places: within a NOTICE text file distributed 10660 as part of the Derivative Works; within the Source form or 10661 documentation, if provided along with the Derivative Works; or, 10662 within a display generated by the Derivative Works, if and 10663 wherever such third-party notices normally appear. The contents 10664 of the NOTICE file are for informational purposes only and 10665 do not modify the License. You may add Your own attribution 10666 notices within Derivative Works that You distribute, alongside 10667 or as an addendum to the NOTICE text from the Work, provided 10668 that such additional attribution notices cannot be construed 10669 as modifying the License. 10670 10671 You may add Your own copyright statement to Your modifications and 10672 may provide additional or different license terms and conditions 10673 for use, reproduction, or distribution of Your modifications, or 10674 for any such Derivative Works as a whole, provided Your use, 10675 reproduction, and distribution of the Work otherwise complies with 10676 the conditions stated in this License. 10677 10678 5. Submission of Contributions. Unless You explicitly state otherwise, 10679 any Contribution intentionally submitted for inclusion in the Work 10680 by You to the Licensor shall be under the terms and conditions of 10681 this License, without any additional terms or conditions. 10682 Notwithstanding the above, nothing herein shall supersede or modify 10683 the terms of any separate license agreement you may have executed 10684 with Licensor regarding such Contributions. 10685 10686 6. Trademarks. This License does not grant permission to use the trade 10687 names, trademarks, service marks, or product names of the Licensor, 10688 except as required for reasonable and customary use in describing the 10689 origin of the Work and reproducing the content of the NOTICE file. 10690 10691 7. Disclaimer of Warranty. Unless required by applicable law or 10692 agreed to in writing, Licensor provides the Work (and each 10693 Contributor provides its Contributions) on an "AS IS" BASIS, 10694 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 10695 implied, including, without limitation, any warranties or conditions 10696 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 10697 PARTICULAR PURPOSE. You are solely responsible for determining the 10698 appropriateness of using or redistributing the Work and assume any 10699 risks associated with Your exercise of permissions under this License. 10700 10701 8. Limitation of Liability. In no event and under no legal theory, 10702 whether in tort (including negligence), contract, or otherwise, 10703 unless required by applicable law (such as deliberate and grossly 10704 negligent acts) or agreed to in writing, shall any Contributor be 10705 liable to You for damages, including any direct, indirect, special, 10706 incidental, or consequential damages of any character arising as a 10707 result of this License or out of the use or inability to use the 10708 Work (including but not limited to damages for loss of goodwill, 10709 work stoppage, computer failure or malfunction, or any and all 10710 other commercial damages or losses), even if such Contributor 10711 has been advised of the possibility of such damages. 10712 10713 9. Accepting Warranty or Additional Liability. While redistributing 10714 the Work or Derivative Works thereof, You may choose to offer, 10715 and charge a fee for, acceptance of support, warranty, indemnity, 10716 or other liability obligations and/or rights consistent with this 10717 License. However, in accepting such obligations, You may act only 10718 on Your own behalf and on Your sole responsibility, not on behalf 10719 of any other Contributor, and only if You agree to indemnify, 10720 defend, and hold each Contributor harmless for any liability 10721 incurred by, or claims asserted against, such Contributor by reason 10722 of your accepting any such warranty or additional liability. 10723 10724 END OF TERMS AND CONDITIONS 10725 10726 APPENDIX: How to apply the Apache License to your work. 10727 10728 To apply the Apache License to your work, attach the following 10729 boilerplate notice, with the fields enclosed by brackets "[]" 10730 replaced with your own identifying information. (Don't include 10731 the brackets!) The text should be enclosed in the appropriate 10732 comment syntax for the file format. We also recommend that a 10733 file or class name and description of purpose be included on the 10734 same "printed page" as the copyright notice for easier 10735 identification within third-party archives. 10736 10737 Copyright [yyyy] [name of copyright owner] 10738 10739 Licensed under the Apache License, Version 2.0 (the "License"); 10740 you may not use this file except in compliance with the License. 10741 You may obtain a copy of the License at 10742 10743 http://www.apache.org/licenses/LICENSE-2.0 10744 10745 Unless required by applicable law or agreed to in writing, software 10746 distributed under the License is distributed on an "AS IS" BASIS, 10747 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10748 See the License for the specific language governing permissions and 10749 limitations under the License. 10750 10751 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 10752 // 10753 // Redistribution and use in source and binary forms, with or without 10754 // modification, are permitted provided that the following conditions are 10755 // met: 10756 // 10757 // * Redistributions of source code must retain the above copyright 10758 // notice, this list of conditions and the following disclaimer. 10759 // * Redistributions in binary form must reproduce the above 10760 // copyright notice, this list of conditions and the following disclaimer 10761 // in the documentation and/or other materials provided with the 10762 // distribution. 10763 // * Neither the name of Google Inc. nor the names of its 10764 // contributors may be used to endorse or promote products derived from 10765 // this software without specific prior written permission. 10766 // 10767 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 10768 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 10769 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 10770 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 10771 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 10772 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 10773 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 10774 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 10775 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 10776 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 10777 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10778 10779 ;***************************************************************************** 10780 ;* x86inc.asm 10781 ;***************************************************************************** 10782 ;* Copyright (C) 2005-2011 x264 project 10783 ;* 10784 ;* Authors: Loren Merritt <lorenm (a] u.washington.edu> 10785 ;* Anton Mitrofanov <BugMaster (a] narod.ru> 10786 ;* Jason Garrett-Glaser <darkshikari (a] gmail.com> 10787 ;* 10788 ;* Permission to use, copy, modify, and/or distribute this software for any 10789 ;* purpose with or without fee is hereby granted, provided that the above 10790 ;* copyright notice and this permission notice appear in all copies. 10791 ;* 10792 ;* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10793 ;* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10794 ;* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10795 ;* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 10796 ;* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 10797 ;* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 10798 ;* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 10799 ;***************************************************************************** 10800 10801 ; This is a header file for the x264ASM assembly language, which uses 10802 ; NASM/YASM syntax combined with a large number of macros to provide easy 10803 ; abstraction between different calling conventions (x86_32, win64, linux64). 10804 ; It also has various other useful features to simplify writing the kind of 10805 ; DSP functions that are most often used in x264. 10806 10807 ; Unlike the rest of x264, this file is available under an ISC license, as it 10808 ; has significant usefulness outside of x264 and we want it to be available 10809 ; to the largest audience possible. Of course, if you modify it for your own 10810 ; purposes to add a new feature, we strongly encourage contributing a patch 10811 ; as this feature might be useful for others as well. Send patches or ideas 10812 ; to x264-devel (a] videolan.org . 10813 10814 Yasm is Copyright (c) 2001-2010 Peter Johnson and other Yasm developers. 10815 10816 Yasm developers and/or contributors include: 10817 Peter Johnson 10818 Michael Urman 10819 Brian Gladman (Visual Studio build files, other fixes) 10820 Stanislav Karchebny (options parser) 10821 Mathieu Monnier (SSE4 instruction patches, NASM preprocessor additions) 10822 Anonymous "NASM64" developer (NASM preprocessor fixes) 10823 Stephen Polkowski (x86 instruction patches) 10824 Henryk Richter (Mach-O object format) 10825 Ben Skeggs (patches, bug reports) 10826 Alexei Svitkine (GAS preprocessor) 10827 Samuel Thibault (TASM parser and frontend) 10828 10829 ----------------------------------- 10830 Yasm licensing overview and summary 10831 ----------------------------------- 10832 10833 Note: This document does not provide legal advice nor is it the actual 10834 license of any part of Yasm. See the individual licenses for complete 10835 details. Consult a lawyer for legal advice. 10836 10837 The primary license of Yasm is the 2-clause BSD license. Please use this 10838 license if you plan on submitting code to the project. 10839 10840 Yasm has absolutely no warranty; not even for merchantibility or fitness 10841 for a particular purpose. 10842 10843 ------- 10844 Libyasm 10845 ------- 10846 Libyasm is 2-clause or 3-clause BSD licensed, with the exception of 10847 bitvect, which is triple-licensed under the Artistic license, GPL, and 10848 LGPL. Libyasm is thus GPL and LGPL compatible. In addition, this also 10849 means that libyasm is free for binary-only distribution as long as the 10850 terms of the 3-clause BSD license and Artistic license (as it applies to 10851 bitvect) are fulfilled. 10852 10853 ------- 10854 Modules 10855 ------- 10856 The modules are 2-clause or 3-clause BSD licensed. 10857 10858 --------- 10859 Frontends 10860 --------- 10861 The frontends are 2-clause BSD licensed. 10862 10863 ------------- 10864 License Texts 10865 ------------- 10866 The full text of all licenses are provided in separate files in the source 10867 distribution. Each source file may include the entire license (in the case 10868 of the BSD and Artistic licenses), or may reference the GPL or LGPL license 10869 file. 10870 10871 BSD.txt - 2-clause and 3-clause BSD licenses 10872 Artistic.txt - Artistic license 10873 GNU_GPL-2.0 - GNU General Public License 10874 GNU_LGPL-2.0 - GNU Library General Public License 10875 10876 /* zlib.h -- interface of the 'zlib' general purpose compression library 10877 version 1.2.4, March 14th, 2010 10878 10879 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler 10880 10881 This software is provided 'as-is', without any express or implied 10882 warranty. In no event will the authors be held liable for any damages 10883 arising from the use of this software. 10884 10885 Permission is granted to anyone to use this software for any purpose, 10886 including commercial applications, and to alter it and redistribute it 10887 freely, subject to the following restrictions: 10888 10889 1. The origin of this software must not be misrepresented; you must not 10890 claim that you wrote the original software. If you use this software 10891 in a product, an acknowledgment in the product documentation would be 10892 appreciated but is not required. 10893 2. Altered source versions must be plainly marked as such, and must not be 10894 misrepresented as being the original software. 10895 3. This notice may not be removed or altered from any source distribution. 10896 10897 Jean-loup Gailly 10898 Mark Adler 10899 10900 */ 10901 10902 10903 Apache License 10904 Version 2.0, January 2004 10905 http://www.apache.org/licenses/ 10906 10907 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 10908 10909 1. Definitions. 10910 10911 "License" shall mean the terms and conditions for use, reproduction, 10912 and distribution as defined by Sections 1 through 9 of this document. 10913 10914 "Licensor" shall mean the copyright owner or entity authorized by 10915 the copyright owner that is granting the License. 10916 10917 "Legal Entity" shall mean the union of the acting entity and all 10918 other entities that control, are controlled by, or are under common 10919 control with that entity. For the purposes of this definition, 10920 "control" means (i) the power, direct or indirect, to cause the 10921 direction or management of such entity, whether by contract or 10922 otherwise, or (ii) ownership of fifty percent (50%) or more of the 10923 outstanding shares, or (iii) beneficial ownership of such entity. 10924 10925 "You" (or "Your") shall mean an individual or Legal Entity 10926 exercising permissions granted by this License. 10927 10928 "Source" form shall mean the preferred form for making modifications, 10929 including but not limited to software source code, documentation 10930 source, and configuration files. 10931 10932 "Object" form shall mean any form resulting from mechanical 10933 transformation or translation of a Source form, including but 10934 not limited to compiled object code, generated documentation, 10935 and conversions to other media types. 10936 10937 "Work" shall mean the work of authorship, whether in Source or 10938 Object form, made available under the License, as indicated by a 10939 copyright notice that is included in or attached to the work 10940 (an example is provided in the Appendix below). 10941 10942 "Derivative Works" shall mean any work, whether in Source or Object 10943 form, that is based on (or derived from) the Work and for which the 10944 editorial revisions, annotations, elaborations, or other modifications 10945 represent, as a whole, an original work of authorship. For the purposes 10946 of this License, Derivative Works shall not include works that remain 10947 separable from, or merely link (or bind by name) to the interfaces of, 10948 the Work and Derivative Works thereof. 10949 10950 "Contribution" shall mean any work of authorship, including 10951 the original version of the Work and any modifications or additions 10952 to that Work or Derivative Works thereof, that is intentionally 10953 submitted to Licensor for inclusion in the Work by the copyright owner 10954 or by an individual or Legal Entity authorized to submit on behalf of 10955 the copyright owner. For the purposes of this definition, "submitted" 10956 means any form of electronic, verbal, or written communication sent 10957 to the Licensor or its representatives, including but not limited to 10958 communication on electronic mailing lists, source code control systems, 10959 and issue tracking systems that are managed by, or on behalf of, the 10960 Licensor for the purpose of discussing and improving the Work, but 10961 excluding communication that is conspicuously marked or otherwise 10962 designated in writing by the copyright owner as "Not a Contribution." 10963 10964 "Contributor" shall mean Licensor and any individual or Legal Entity 10965 on behalf of whom a Contribution has been received by Licensor and 10966 subsequently incorporated within the Work. 10967 10968 2. Grant of Copyright License. Subject to the terms and conditions of 10969 this License, each Contributor hereby grants to You a perpetual, 10970 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 10971 copyright license to reproduce, prepare Derivative Works of, 10972 publicly display, publicly perform, sublicense, and distribute the 10973 Work and such Derivative Works in Source or Object form. 10974 10975 3. Grant of Patent License. Subject to the terms and conditions of 10976 this License, each Contributor hereby grants to You a perpetual, 10977 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 10978 (except as stated in this section) patent license to make, have made, 10979 use, offer to sell, sell, import, and otherwise transfer the Work, 10980 where such license applies only to those patent claims licensable 10981 by such Contributor that are necessarily infringed by their 10982 Contribution(s) alone or by combination of their Contribution(s) 10983 with the Work to which such Contribution(s) was submitted. If You 10984 institute patent litigation against any entity (including a 10985 cross-claim or counterclaim in a lawsuit) alleging that the Work 10986 or a Contribution incorporated within the Work constitutes direct 10987 or contributory patent infringement, then any patent licenses 10988 granted to You under this License for that Work shall terminate 10989 as of the date such litigation is filed. 10990 10991 4. Redistribution. You may reproduce and distribute copies of the 10992 Work or Derivative Works thereof in any medium, with or without 10993 modifications, and in Source or Object form, provided that You 10994 meet the following conditions: 10995 10996 (a) You must give any other recipients of the Work or 10997 Derivative Works a copy of this License; and 10998 10999 (b) You must cause any modified files to carry prominent notices 11000 stating that You changed the files; and 11001 11002 (c) You must retain, in the Source form of any Derivative Works 11003 that You distribute, all copyright, patent, trademark, and 11004 attribution notices from the Source form of the Work, 11005 excluding those notices that do not pertain to any part of 11006 the Derivative Works; and 11007 11008 (d) If the Work includes a "NOTICE" text file as part of its 11009 distribution, then any Derivative Works that You distribute must 11010 include a readable copy of the attribution notices contained 11011 within such NOTICE file, excluding those notices that do not 11012 pertain to any part of the Derivative Works, in at least one 11013 of the following places: within a NOTICE text file distributed 11014 as part of the Derivative Works; within the Source form or 11015 documentation, if provided along with the Derivative Works; or, 11016 within a display generated by the Derivative Works, if and 11017 wherever such third-party notices normally appear. The contents 11018 of the NOTICE file are for informational purposes only and 11019 do not modify the License. You may add Your own attribution 11020 notices within Derivative Works that You distribute, alongside 11021 or as an addendum to the NOTICE text from the Work, provided 11022 that such additional attribution notices cannot be construed 11023 as modifying the License. 11024 11025 You may add Your own copyright statement to Your modifications and 11026 may provide additional or different license terms and conditions 11027 for use, reproduction, or distribution of Your modifications, or 11028 for any such Derivative Works as a whole, provided Your use, 11029 reproduction, and distribution of the Work otherwise complies with 11030 the conditions stated in this License. 11031 11032 5. Submission of Contributions. Unless You explicitly state otherwise, 11033 any Contribution intentionally submitted for inclusion in the Work 11034 by You to the Licensor shall be under the terms and conditions of 11035 this License, without any additional terms or conditions. 11036 Notwithstanding the above, nothing herein shall supersede or modify 11037 the terms of any separate license agreement you may have executed 11038 with Licensor regarding such Contributions. 11039 11040 6. Trademarks. This License does not grant permission to use the trade 11041 names, trademarks, service marks, or product names of the Licensor, 11042 except as required for reasonable and customary use in describing the 11043 origin of the Work and reproducing the content of the NOTICE file. 11044 11045 7. Disclaimer of Warranty. Unless required by applicable law or 11046 agreed to in writing, Licensor provides the Work (and each 11047 Contributor provides its Contributions) on an "AS IS" BASIS, 11048 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 11049 implied, including, without limitation, any warranties or conditions 11050 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 11051 PARTICULAR PURPOSE. You are solely responsible for determining the 11052 appropriateness of using or redistributing the Work and assume any 11053 risks associated with Your exercise of permissions under this License. 11054 11055 8. Limitation of Liability. In no event and under no legal theory, 11056 whether in tort (including negligence), contract, or otherwise, 11057 unless required by applicable law (such as deliberate and grossly 11058 negligent acts) or agreed to in writing, shall any Contributor be 11059 liable to You for damages, including any direct, indirect, special, 11060 incidental, or consequential damages of any character arising as a 11061 result of this License or out of the use or inability to use the 11062 Work (including but not limited to damages for loss of goodwill, 11063 work stoppage, computer failure or malfunction, or any and all 11064 other commercial damages or losses), even if such Contributor 11065 has been advised of the possibility of such damages. 11066 11067 9. Accepting Warranty or Additional Liability. While redistributing 11068 the Work or Derivative Works thereof, You may choose to offer, 11069 and charge a fee for, acceptance of support, warranty, indemnity, 11070 or other liability obligations and/or rights consistent with this 11071 License. However, in accepting such obligations, You may act only 11072 on Your own behalf and on Your sole responsibility, not on behalf 11073 of any other Contributor, and only if You agree to indemnify, 11074 defend, and hold each Contributor harmless for any liability 11075 incurred by, or claims asserted against, such Contributor by reason 11076 of your accepting any such warranty or additional liability. 11077 11078 END OF TERMS AND CONDITIONS 11079 11080 APPENDIX: How to apply the Apache License to your work. 11081 11082 To apply the Apache License to your work, attach the following 11083 boilerplate notice, with the fields enclosed by brackets "[]" 11084 replaced with your own identifying information. (Don't include 11085 the brackets!) The text should be enclosed in the appropriate 11086 comment syntax for the file format. We also recommend that a 11087 file or class name and description of purpose be included on the 11088 same "printed page" as the copyright notice for easier 11089 identification within third-party archives. 11090 11091 Copyright 2011 Marco Braak 11092 11093 Licensed under the Apache License, Version 2.0 (the "License"); 11094 you may not use this file except in compliance with the License. 11095 You may obtain a copy of the License at 11096 11097 http://www.apache.org/licenses/LICENSE-2.0 11098 11099 Unless required by applicable law or agreed to in writing, software 11100 distributed under the License is distributed on an "AS IS" BASIS, 11101 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11102 See the License for the specific language governing permissions and 11103 limitations under the License. 11104 11105 Copyright (c) 2011, The WebRTC project authors. All rights reserved. 11106 11107 Redistribution and use in source and binary forms, with or without 11108 modification, are permitted provided that the following conditions are 11109 met: 11110 11111 * Redistributions of source code must retain the above copyright 11112 notice, this list of conditions and the following disclaimer. 11113 11114 * Redistributions in binary form must reproduce the above copyright 11115 notice, this list of conditions and the following disclaimer in 11116 the documentation and/or other materials provided with the 11117 distribution. 11118 11119 * Neither the name of Google nor the names of its contributors may 11120 be used to endorse or promote products derived from this software 11121 without specific prior written permission. 11122 11123 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 11124 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 11125 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 11126 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 11127 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 11128 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 11129 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 11130 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 11131 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 11132 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 11133 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 11134 11135 11136 Copyright (c) 2001-2013 Chris Liechti <cliechti (a] gmx.net>; 11137 All Rights Reserved. 11138 11139 This is the Python license. In short, you can use this product in 11140 commercial and non-commercial applications, modify it, redistribute it. 11141 A notification to the author when you use and/or modify it is welcome. 11142 11143 11144 TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING THIS SOFTWARE 11145 =================================================================== 11146 11147 LICENSE AGREEMENT 11148 ----------------- 11149 11150 1. This LICENSE AGREEMENT is between the copyright holder of this 11151 product, and the Individual or Organization ("Licensee") accessing 11152 and otherwise using this product in source or binary form and its 11153 associated documentation. 11154 11155 2. Subject to the terms and conditions of this License Agreement, 11156 the copyright holder hereby grants Licensee a nonexclusive, 11157 royalty-free, world-wide license to reproduce, analyze, test, 11158 perform and/or display publicly, prepare derivative works, distribute, 11159 and otherwise use this product alone or in any derivative version, 11160 provided, however, that copyright holders License Agreement and 11161 copyright holders notice of copyright are retained in this product 11162 alone or in any derivative version prepared by Licensee. 11163 11164 3. In the event Licensee prepares a derivative work that is based on 11165 or incorporates this product or any part thereof, and wants to make 11166 the derivative work available to others as provided herein, then 11167 Licensee hereby agrees to include in any such work a brief summary of 11168 the changes made to this product. 11169 11170 4. The copyright holder is making this product available to Licensee on 11171 an "AS IS" basis. THE COPYRIGHT HOLDER MAKES NO REPRESENTATIONS OR 11172 WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, 11173 THE COPYRIGHT HOLDER MAKES NO AND DISCLAIMS ANY REPRESENTATION OR 11174 WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR 11175 THAT THE USE OF THIS PRODUCT WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 11176 11177 5. THE COPYRIGHT HOLDER SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER 11178 USERS OF THIS PRODUCT FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL 11179 DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE 11180 USING THIS PRODUCT, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE 11181 POSSIBILITY THEREOF. 11182 11183 6. This License Agreement will automatically terminate upon a material 11184 breach of its terms and conditions. 11185 11186 7. Nothing in this License Agreement shall be deemed to create any 11187 relationship of agency, partnership, or joint venture between the 11188 copyright holder and Licensee. This License Agreement does not grant 11189 permission to use trademarks or trade names from the copyright holder 11190 in a trademark sense to endorse or promote products or services of 11191 Licensee, or any third party. 11192 11193 8. By copying, installing or otherwise using this product, Licensee 11194 agrees to be bound by the terms and conditions of this License 11195 Agreement. 11196 11197 11198 Copyright 2007, Google Inc. 11199 All rights reserved. 11200 11201 Redistribution and use in source and binary forms, with or without 11202 modification, are permitted provided that the following conditions are 11203 met: 11204 11205 * Redistributions of source code must retain the above copyright 11206 notice, this list of conditions and the following disclaimer. 11207 * Redistributions in binary form must reproduce the above 11208 copyright notice, this list of conditions and the following disclaimer 11209 in the documentation and/or other materials provided with the 11210 distribution. 11211 * Neither the name of Google Inc. nor the names of its 11212 contributors may be used to endorse or promote products derived from 11213 this software without specific prior written permission. 11214 11215 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 11216 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 11217 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 11218 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 11219 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 11220 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 11221 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 11222 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 11223 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 11224 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 11225 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 11226 11227 ------------------------------------------------------------------------------- 11228 11229 The file url_parse.cc is based on nsURLParsers.cc from Mozilla. This file is 11230 licensed separately as follows: 11231 11232 The contents of this file are subject to the Mozilla Public License Version 11233 1.1 (the "License"); you may not use this file except in compliance with 11234 the License. You may obtain a copy of the License at 11235 http://www.mozilla.org/MPL/ 11236 11237 Software distributed under the License is distributed on an "AS IS" basis, 11238 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11239 for the specific language governing rights and limitations under the 11240 License. 11241 11242 The Original Code is mozilla.org code. 11243 11244 The Initial Developer of the Original Code is 11245 Netscape Communications Corporation. 11246 Portions created by the Initial Developer are Copyright (C) 1998 11247 the Initial Developer. All Rights Reserved. 11248 11249 Contributor(s): 11250 Darin Fisher (original author) 11251 11252 Alternatively, the contents of this file may be used under the terms of 11253 either the GNU General Public License Version 2 or later (the "GPL"), or 11254 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 11255 in which case the provisions of the GPL or the LGPL are applicable instead 11256 of those above. If you wish to allow use of your version of this file only 11257 under the terms of either the GPL or the LGPL, and not to allow others to 11258 use your version of this file under the terms of the MPL, indicate your 11259 decision by deleting the provisions above and replace them with the notice 11260 and other provisions required by the GPL or the LGPL. If you do not delete 11261 the provisions above, a recipient may use your version of this file under 11262 the terms of any one of the MPL, the GPL or the LGPL. 11263 11264 This license applies to all parts of V8 that are not externally 11265 maintained libraries. The externally maintained libraries used by V8 11266 are: 11267 11268 - PCRE test suite, located in 11269 test/mjsunit/third_party/regexp-pcre.js. This is based on the 11270 test suite from PCRE-7.3, which is copyrighted by the University 11271 of Cambridge and Google, Inc. The copyright notice and license 11272 are embedded in regexp-pcre.js. 11273 11274 - Layout tests, located in test/mjsunit/third_party. These are 11275 based on layout tests from webkit.org which are copyrighted by 11276 Apple Computer, Inc. and released under a 3-clause BSD license. 11277 11278 - Strongtalk assembler, the basis of the files assembler-arm-inl.h, 11279 assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h, 11280 assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h, 11281 assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h, 11282 assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h. 11283 This code is copyrighted by Sun Microsystems Inc. and released 11284 under a 3-clause BSD license. 11285 11286 - Valgrind client API header, located at third_party/valgrind/valgrind.h 11287 This is release under the BSD license. 11288 11289 These libraries have their own licenses; we recommend you read them, 11290 as their terms may differ from the terms below. 11291 11292 Copyright 2014, the V8 project authors. All rights reserved. 11293 Redistribution and use in source and binary forms, with or without 11294 modification, are permitted provided that the following conditions are 11295 met: 11296 11297 * Redistributions of source code must retain the above copyright 11298 notice, this list of conditions and the following disclaimer. 11299 * Redistributions in binary form must reproduce the above 11300 copyright notice, this list of conditions and the following 11301 disclaimer in the documentation and/or other materials provided 11302 with the distribution. 11303 * Neither the name of Google Inc. nor the names of its 11304 contributors may be used to endorse or promote products derived 11305 from this software without specific prior written permission. 11306 11307 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 11308 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 11309 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 11310 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 11311 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 11312 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 11313 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 11314 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 11315 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 11316 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 11317 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 11318 11319 Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved. 11320 11321 Developed at SunSoft, a Sun Microsystems, Inc. business. 11322 Permission to use, copy, modify, and distribute this 11323 software is freely granted, provided that this notice 11324 is preserved. 11325