1 /* 2 * Copyright 2010-2017 JetBrains s.r.o. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 -------------------------------------------------------------------------------- 18 args4j_LICENSE.txt: 19 The MIT License 20 21 Copyright (c) 2003, Kohsuke Kawaguchi 22 23 Permission is hereby granted, free of charge, to any person obtaining a copy 24 of this software and associated documentation files (the "Software"), to deal 25 in the Software without restriction, including without limitation the rights 26 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 27 copies of the Software, and to permit persons to whom the Software is 28 furnished to do so, subject to the following conditions: 29 30 The above copyright notice and this permission notice shall be included in 31 all copies or substantial portions of the Software. 32 33 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 34 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 35 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 36 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 37 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 38 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 39 THE SOFTWARE. 40 41 -------------------------------------------------------------------------------- 42 asm_license.txt: 43 44 ASM: a very small and fast Java bytecode manipulation framework 45 Copyright (c) 2000-2005 INRIA, France Telecom 46 All rights reserved. 47 48 Redistribution and use in source and binary forms, with or without 49 modification, are permitted provided that the following conditions 50 are met: 51 1. Redistributions of source code must retain the above copyright 52 notice, this list of conditions and the following disclaimer. 53 2. Redistributions in binary form must reproduce the above copyright 54 notice, this list of conditions and the following disclaimer in the 55 documentation and/or other materials provided with the distribution. 56 3. Neither the name of the copyright holders nor the names of its 57 contributors may be used to endorse or promote products derived from 58 this software without specific prior written permission. 59 60 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 61 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 62 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 63 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 64 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 65 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 66 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 67 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 68 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 69 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 70 THE POSSIBILITY OF SUCH DAMAGE. 71 72 -------------------------------------------------------------------------------- 73 closure-compiler_LICENSE.txt: 74 75 Apache License 76 Version 2.0, January 2004 77 http://www.apache.org/licenses/ 78 79 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 80 81 1. Definitions. 82 83 "License" shall mean the terms and conditions for use, reproduction, 84 and distribution as defined by Sections 1 through 9 of this document. 85 86 "Licensor" shall mean the copyright owner or entity authorized by 87 the copyright owner that is granting the License. 88 89 "Legal Entity" shall mean the union of the acting entity and all 90 other entities that control, are controlled by, or are under common 91 control with that entity. For the purposes of this definition, 92 "control" means (i) the power, direct or indirect, to cause the 93 direction or management of such entity, whether by contract or 94 otherwise, or (ii) ownership of fifty percent (50%) or more of the 95 outstanding shares, or (iii) beneficial ownership of such entity. 96 97 "You" (or "Your") shall mean an individual or Legal Entity 98 exercising permissions granted by this License. 99 100 "Source" form shall mean the preferred form for making modifications, 101 including but not limited to software source code, documentation 102 source, and configuration files. 103 104 "Object" form shall mean any form resulting from mechanical 105 transformation or translation of a Source form, including but 106 not limited to compiled object code, generated documentation, 107 and conversions to other media types. 108 109 "Work" shall mean the work of authorship, whether in Source or 110 Object form, made available under the License, as indicated by a 111 copyright notice that is included in or attached to the work 112 (an example is provided in the Appendix below). 113 114 "Derivative Works" shall mean any work, whether in Source or Object 115 form, that is based on (or derived from) the Work and for which the 116 editorial revisions, annotations, elaborations, or other modifications 117 represent, as a whole, an original work of authorship. For the purposes 118 of this License, Derivative Works shall not include works that remain 119 separable from, or merely link (or bind by name) to the interfaces of, 120 the Work and Derivative Works thereof. 121 122 "Contribution" shall mean any work of authorship, including 123 the original version of the Work and any modifications or additions 124 to that Work or Derivative Works thereof, that is intentionally 125 submitted to Licensor for inclusion in the Work by the copyright owner 126 or by an individual or Legal Entity authorized to submit on behalf of 127 the copyright owner. For the purposes of this definition, "submitted" 128 means any form of electronic, verbal, or written communication sent 129 to the Licensor or its representatives, including but not limited to 130 communication on electronic mailing lists, source code control systems, 131 and issue tracking systems that are managed by, or on behalf of, the 132 Licensor for the purpose of discussing and improving the Work, but 133 excluding communication that is conspicuously marked or otherwise 134 designated in writing by the copyright owner as "Not a Contribution." 135 136 "Contributor" shall mean Licensor and any individual or Legal Entity 137 on behalf of whom a Contribution has been received by Licensor and 138 subsequently incorporated within the Work. 139 140 2. Grant of Copyright License. Subject to the terms and conditions of 141 this License, each Contributor hereby grants to You a perpetual, 142 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 143 copyright license to reproduce, prepare Derivative Works of, 144 publicly display, publicly perform, sublicense, and distribute the 145 Work and such Derivative Works in Source or Object form. 146 147 3. Grant of Patent License. Subject to the terms and conditions of 148 this License, each Contributor hereby grants to You a perpetual, 149 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 150 (except as stated in this section) patent license to make, have made, 151 use, offer to sell, sell, import, and otherwise transfer the Work, 152 where such license applies only to those patent claims licensable 153 by such Contributor that are necessarily infringed by their 154 Contribution(s) alone or by combination of their Contribution(s) 155 with the Work to which such Contribution(s) was submitted. If You 156 institute patent litigation against any entity (including a 157 cross-claim or counterclaim in a lawsuit) alleging that the Work 158 or a Contribution incorporated within the Work constitutes direct 159 or contributory patent infringement, then any patent licenses 160 granted to You under this License for that Work shall terminate 161 as of the date such litigation is filed. 162 163 4. Redistribution. You may reproduce and distribute copies of the 164 Work or Derivative Works thereof in any medium, with or without 165 modifications, and in Source or Object form, provided that You 166 meet the following conditions: 167 168 (a) You must give any other recipients of the Work or 169 Derivative Works a copy of this License; and 170 171 (b) You must cause any modified files to carry prominent notices 172 stating that You changed the files; and 173 174 (c) You must retain, in the Source form of any Derivative Works 175 that You distribute, all copyright, patent, trademark, and 176 attribution notices from the Source form of the Work, 177 excluding those notices that do not pertain to any part of 178 the Derivative Works; and 179 180 (d) If the Work includes a "NOTICE" text file as part of its 181 distribution, then any Derivative Works that You distribute must 182 include a readable copy of the attribution notices contained 183 within such NOTICE file, excluding those notices that do not 184 pertain to any part of the Derivative Works, in at least one 185 of the following places: within a NOTICE text file distributed 186 as part of the Derivative Works; within the Source form or 187 documentation, if provided along with the Derivative Works; or, 188 within a display generated by the Derivative Works, if and 189 wherever such third-party notices normally appear. The contents 190 of the NOTICE file are for informational purposes only and 191 do not modify the License. You may add Your own attribution 192 notices within Derivative Works that You distribute, alongside 193 or as an addendum to the NOTICE text from the Work, provided 194 that such additional attribution notices cannot be construed 195 as modifying the License. 196 197 You may add Your own copyright statement to Your modifications and 198 may provide additional or different license terms and conditions 199 for use, reproduction, or distribution of Your modifications, or 200 for any such Derivative Works as a whole, provided Your use, 201 reproduction, and distribution of the Work otherwise complies with 202 the conditions stated in this License. 203 204 5. Submission of Contributions. Unless You explicitly state otherwise, 205 any Contribution intentionally submitted for inclusion in the Work 206 by You to the Licensor shall be under the terms and conditions of 207 this License, without any additional terms or conditions. 208 Notwithstanding the above, nothing herein shall supersede or modify 209 the terms of any separate license agreement you may have executed 210 with Licensor regarding such Contributions. 211 212 6. Trademarks. This License does not grant permission to use the trade 213 names, trademarks, service marks, or product names of the Licensor, 214 except as required for reasonable and customary use in describing the 215 origin of the Work and reproducing the content of the NOTICE file. 216 217 7. Disclaimer of Warranty. Unless required by applicable law or 218 agreed to in writing, Licensor provides the Work (and each 219 Contributor provides its Contributions) on an "AS IS" BASIS, 220 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 221 implied, including, without limitation, any warranties or conditions 222 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 223 PARTICULAR PURPOSE. You are solely responsible for determining the 224 appropriateness of using or redistributing the Work and assume any 225 risks associated with Your exercise of permissions under this License. 226 227 8. Limitation of Liability. In no event and under no legal theory, 228 whether in tort (including negligence), contract, or otherwise, 229 unless required by applicable law (such as deliberate and grossly 230 negligent acts) or agreed to in writing, shall any Contributor be 231 liable to You for damages, including any direct, indirect, special, 232 incidental, or consequential damages of any character arising as a 233 result of this License or out of the use or inability to use the 234 Work (including but not limited to damages for loss of goodwill, 235 work stoppage, computer failure or malfunction, or any and all 236 other commercial damages or losses), even if such Contributor 237 has been advised of the possibility of such damages. 238 239 9. Accepting Warranty or Additional Liability. While redistributing 240 the Work or Derivative Works thereof, You may choose to offer, 241 and charge a fee for, acceptance of support, warranty, indemnity, 242 or other liability obligations and/or rights consistent with this 243 License. However, in accepting such obligations, You may act only 244 on Your own behalf and on Your sole responsibility, not on behalf 245 of any other Contributor, and only if You agree to indemnify, 246 defend, and hold each Contributor harmless for any liability 247 incurred by, or claims asserted against, such Contributor by reason 248 of your accepting any such warranty or additional liability. 249 250 END OF TERMS AND CONDITIONS 251 252 APPENDIX: How to apply the Apache License to your work. 253 254 To apply the Apache License to your work, attach the following 255 boilerplate notice, with the fields enclosed by brackets "[]" 256 replaced with your own identifying information. (Don't include 257 the brackets!) The text should be enclosed in the appropriate 258 comment syntax for the file format. We also recommend that a 259 file or class name and description of purpose be included on the 260 same "printed page" as the copyright notice for easier 261 identification within third-party archives. 262 263 Copyright [yyyy] [name of copyright owner] 264 265 Licensed under the Apache License, Version 2.0 (the "License"); 266 you may not use this file except in compliance with the License. 267 You may obtain a copy of the License at 268 269 http://www.apache.org/licenses/LICENSE-2.0 270 271 Unless required by applicable law or agreed to in writing, software 272 distributed under the License is distributed on an "AS IS" BASIS, 273 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 274 See the License for the specific language governing permissions and 275 limitations under the License. 276 277 -------------------------------------------------------------------------------- 278 dart_LICENSE.txt: 279 This license applies to all parts of Dart that are not externally 280 maintained libraries. The external maintained libraries used by 281 Dart are: 282 283 7-Zip - in third_party/7zip 284 JSCRE - in runtime/third_party/jscre 285 Ant - in third_party/apache_ant 286 args4j - in third_party/args4j 287 bzip2 - in third_party/bzip2 288 dromaeo - in samples/third_party/dromaeo 289 Eclipse - in third_party/eclipse 290 gsutil = in third_party/gsutil 291 Guava - in third_party/guava 292 hamcrest - in third_party/hamcrest 293 Httplib2 - in samples/third_party/httplib2 294 JSON - in third_party/json 295 JUnit - in third_party/junit 296 Oauth - in samples/third_party/oauth2client 297 Rhino - in third_party/rhino 298 weberknecht - in third_party/weberknecht 299 300 The libraries may have their own licenses; we recommend you read them, 301 as their terms may differ from the terms below. 302 303 Copyright 2012, the Dart project authors. All rights reserved. 304 Redistribution and use in source and binary forms, with or without 305 modification, are permitted provided that the following conditions are 306 met: 307 * Redistributions of source code must retain the above copyright 308 notice, this list of conditions and the following disclaimer. 309 * Redistributions in binary form must reproduce the above 310 copyright notice, this list of conditions and the following 311 disclaimer in the documentation and/or other materials provided 312 with the distribution. 313 * Neither the name of Google Inc. nor the names of its 314 contributors may be used to endorse or promote products derived 315 from this software without specific prior written permission. 316 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 317 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 318 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 319 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 320 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 321 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 322 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 323 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 324 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 325 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 326 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 327 328 -------------------------------------------------------------------------------- 329 jshashtable_license.txt: 330 /** 331 * Copyright 2010 Tim Down. 332 * 333 * Licensed under the Apache License, Version 2.0 (the "License"); 334 * you may not use this file except in compliance with the License. 335 * You may obtain a copy of the License at 336 * 337 * http://www.apache.org/licenses/LICENSE-2.0 338 * 339 * Unless required by applicable law or agreed to in writing, software 340 * distributed under the License is distributed on an "AS IS" BASIS, 341 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 342 * See the License for the specific language governing permissions and 343 * limitations under the License. 344 */ 345 -------------------------------------------------------------------------------- 346 json_LICENSE.txt: 347 JSON 348 349 Copyright (c) 2002 JSON.org 350 351 Permission is hereby granted, free of charge, to any person obtaining a copy 352 of this software and associated documentation files (the "Software"), to deal 353 in the Software without restriction, including without limitation the rights 354 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 355 copies of the Software, and to permit persons to whom the Software is 356 furnished to do so, subject to the following conditions: 357 358 The above copyright notice and this permission notice shall be included in 359 all copies or substantial portions of the Software. 360 361 The Software shall be used for Good, not Evil. 362 363 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 364 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 365 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 366 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 367 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 368 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 369 SOFTWARE. 370 371 -------------------------------------------------------------------------------- 372 maven_LICENSE.txt: 373 374 Apache License 375 Version 2.0, January 2004 376 http://www.apache.org/licenses/ 377 378 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 379 380 1. Definitions. 381 382 "License" shall mean the terms and conditions for use, reproduction, 383 and distribution as defined by Sections 1 through 9 of this document. 384 385 "Licensor" shall mean the copyright owner or entity authorized by 386 the copyright owner that is granting the License. 387 388 "Legal Entity" shall mean the union of the acting entity and all 389 other entities that control, are controlled by, or are under common 390 control with that entity. For the purposes of this definition, 391 "control" means (i) the power, direct or indirect, to cause the 392 direction or management of such entity, whether by contract or 393 otherwise, or (ii) ownership of fifty percent (50%) or more of the 394 outstanding shares, or (iii) beneficial ownership of such entity. 395 396 "You" (or "Your") shall mean an individual or Legal Entity 397 exercising permissions granted by this License. 398 399 "Source" form shall mean the preferred form for making modifications, 400 including but not limited to software source code, documentation 401 source, and configuration files. 402 403 "Object" form shall mean any form resulting from mechanical 404 transformation or translation of a Source form, including but 405 not limited to compiled object code, generated documentation, 406 and conversions to other media types. 407 408 "Work" shall mean the work of authorship, whether in Source or 409 Object form, made available under the License, as indicated by a 410 copyright notice that is included in or attached to the work 411 (an example is provided in the Appendix below). 412 413 "Derivative Works" shall mean any work, whether in Source or Object 414 form, that is based on (or derived from) the Work and for which the 415 editorial revisions, annotations, elaborations, or other modifications 416 represent, as a whole, an original work of authorship. For the purposes 417 of this License, Derivative Works shall not include works that remain 418 separable from, or merely link (or bind by name) to the interfaces of, 419 the Work and Derivative Works thereof. 420 421 "Contribution" shall mean any work of authorship, including 422 the original version of the Work and any modifications or additions 423 to that Work or Derivative Works thereof, that is intentionally 424 submitted to Licensor for inclusion in the Work by the copyright owner 425 or by an individual or Legal Entity authorized to submit on behalf of 426 the copyright owner. For the purposes of this definition, "submitted" 427 means any form of electronic, verbal, or written communication sent 428 to the Licensor or its representatives, including but not limited to 429 communication on electronic mailing lists, source code control systems, 430 and issue tracking systems that are managed by, or on behalf of, the 431 Licensor for the purpose of discussing and improving the Work, but 432 excluding communication that is conspicuously marked or otherwise 433 designated in writing by the copyright owner as "Not a Contribution." 434 435 "Contributor" shall mean Licensor and any individual or Legal Entity 436 on behalf of whom a Contribution has been received by Licensor and 437 subsequently incorporated within the Work. 438 439 2. Grant of Copyright License. Subject to the terms and conditions of 440 this License, each Contributor hereby grants to You a perpetual, 441 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 442 copyright license to reproduce, prepare Derivative Works of, 443 publicly display, publicly perform, sublicense, and distribute the 444 Work and such Derivative Works in Source or Object form. 445 446 3. Grant of Patent License. Subject to the terms and conditions of 447 this License, each Contributor hereby grants to You a perpetual, 448 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 449 (except as stated in this section) patent license to make, have made, 450 use, offer to sell, sell, import, and otherwise transfer the Work, 451 where such license applies only to those patent claims licensable 452 by such Contributor that are necessarily infringed by their 453 Contribution(s) alone or by combination of their Contribution(s) 454 with the Work to which such Contribution(s) was submitted. If You 455 institute patent litigation against any entity (including a 456 cross-claim or counterclaim in a lawsuit) alleging that the Work 457 or a Contribution incorporated within the Work constitutes direct 458 or contributory patent infringement, then any patent licenses 459 granted to You under this License for that Work shall terminate 460 as of the date such litigation is filed. 461 462 4. Redistribution. You may reproduce and distribute copies of the 463 Work or Derivative Works thereof in any medium, with or without 464 modifications, and in Source or Object form, provided that You 465 meet the following conditions: 466 467 (a) You must give any other recipients of the Work or 468 Derivative Works a copy of this License; and 469 470 (b) You must cause any modified files to carry prominent notices 471 stating that You changed the files; and 472 473 (c) You must retain, in the Source form of any Derivative Works 474 that You distribute, all copyright, patent, trademark, and 475 attribution notices from the Source form of the Work, 476 excluding those notices that do not pertain to any part of 477 the Derivative Works; and 478 479 (d) If the Work includes a "NOTICE" text file as part of its 480 distribution, then any Derivative Works that You distribute must 481 include a readable copy of the attribution notices contained 482 within such NOTICE file, excluding those notices that do not 483 pertain to any part of the Derivative Works, in at least one 484 of the following places: within a NOTICE text file distributed 485 as part of the Derivative Works; within the Source form or 486 documentation, if provided along with the Derivative Works; or, 487 within a display generated by the Derivative Works, if and 488 wherever such third-party notices normally appear. The contents 489 of the NOTICE file are for informational purposes only and 490 do not modify the License. You may add Your own attribution 491 notices within Derivative Works that You distribute, alongside 492 or as an addendum to the NOTICE text from the Work, provided 493 that such additional attribution notices cannot be construed 494 as modifying the License. 495 496 You may add Your own copyright statement to Your modifications and 497 may provide additional or different license terms and conditions 498 for use, reproduction, or distribution of Your modifications, or 499 for any such Derivative Works as a whole, provided Your use, 500 reproduction, and distribution of the Work otherwise complies with 501 the conditions stated in this License. 502 503 5. Submission of Contributions. Unless You explicitly state otherwise, 504 any Contribution intentionally submitted for inclusion in the Work 505 by You to the Licensor shall be under the terms and conditions of 506 this License, without any additional terms or conditions. 507 Notwithstanding the above, nothing herein shall supersede or modify 508 the terms of any separate license agreement you may have executed 509 with Licensor regarding such Contributions. 510 511 6. Trademarks. This License does not grant permission to use the trade 512 names, trademarks, service marks, or product names of the Licensor, 513 except as required for reasonable and customary use in describing the 514 origin of the Work and reproducing the content of the NOTICE file. 515 516 7. Disclaimer of Warranty. Unless required by applicable law or 517 agreed to in writing, Licensor provides the Work (and each 518 Contributor provides its Contributions) on an "AS IS" BASIS, 519 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 520 implied, including, without limitation, any warranties or conditions 521 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 522 PARTICULAR PURPOSE. You are solely responsible for determining the 523 appropriateness of using or redistributing the Work and assume any 524 risks associated with Your exercise of permissions under this License. 525 526 8. Limitation of Liability. In no event and under no legal theory, 527 whether in tort (including negligence), contract, or otherwise, 528 unless required by applicable law (such as deliberate and grossly 529 negligent acts) or agreed to in writing, shall any Contributor be 530 liable to You for damages, including any direct, indirect, special, 531 incidental, or consequential damages of any character arising as a 532 result of this License or out of the use or inability to use the 533 Work (including but not limited to damages for loss of goodwill, 534 work stoppage, computer failure or malfunction, or any and all 535 other commercial damages or losses), even if such Contributor 536 has been advised of the possibility of such damages. 537 538 9. Accepting Warranty or Additional Liability. While redistributing 539 the Work or Derivative Works thereof, You may choose to offer, 540 and charge a fee for, acceptance of support, warranty, indemnity, 541 or other liability obligations and/or rights consistent with this 542 License. However, in accepting such obligations, You may act only 543 on Your own behalf and on Your sole responsibility, not on behalf 544 of any other Contributor, and only if You agree to indemnify, 545 defend, and hold each Contributor harmless for any liability 546 incurred by, or claims asserted against, such Contributor by reason 547 of your accepting any such warranty or additional liability. 548 549 END OF TERMS AND CONDITIONS 550 551 APPENDIX: How to apply the Apache License to your work. 552 553 To apply the Apache License to your work, attach the following 554 boilerplate notice, with the fields enclosed by brackets "[]" 555 replaced with your own identifying information. (Don't include 556 the brackets!) The text should be enclosed in the appropriate 557 comment syntax for the file format. We also recommend that a 558 file or class name and description of purpose be included on the 559 same "printed page" as the copyright notice for easier 560 identification within third-party archives. 561 562 Copyright [yyyy] [name of copyright owner] 563 564 Licensed under the Apache License, Version 2.0 (the "License"); 565 you may not use this file except in compliance with the License. 566 You may obtain a copy of the License at 567 568 http://www.apache.org/licenses/LICENSE-2.0 569 570 Unless required by applicable law or agreed to in writing, software 571 distributed under the License is distributed on an "AS IS" BASIS, 572 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 573 See the License for the specific language governing permissions and 574 limitations under the License. 575 576 -------------------------------------------------------------------------------- 577 pcollections_LICENSE.txt: 578 Copyright (c) 2008 Harold Cooper 579 580 Permission is hereby granted, free of charge, to any person obtaining a copy 581 of this software and associated documentation files (the "Software"), to deal 582 in the Software without restriction, including without limitation the rights 583 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 584 copies of the Software, and to permit persons to whom the Software is 585 furnished to do so, subject to the following conditions: 586 587 The above copyright notice and this permission notice shall be included in 588 all copies or substantial portions of the Software. 589 590 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 591 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 592 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 593 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 594 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 595 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 596 THE SOFTWARE. 597 598 -------------------------------------------------------------------------------- 599 prototype_license.txt: 600 Copyright (c) 2005-2010 Sam Stephenson 601 602 Permission is hereby granted, free of charge, to any person obtaining a copy 603 of this software and associated documentation files (the "Software"), to deal 604 in the Software without restriction, including without limitation the rights 605 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 606 copies of the Software, and to permit persons to whom the Software is 607 furnished to do so, subject to the following conditions: 608 609 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 610 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 611 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 612 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 613 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 614 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 615 SOFTWARE. 616 -------------------------------------------------------------------------------- 617 rhino_LICENSE.txt: 618 The majority of Rhino is MPL 1.1 / GPL 2.0 dual licensed: 619 620 The Mozilla Public License (http://www.mozilla.org/MPL/MPL-1.1.txt): 621 ============================================================================ 622 MOZILLA PUBLIC LICENSE 623 Version 1.1 624 625 --------------- 626 627 1. Definitions. 628 629 1.0.1. "Commercial Use" means distribution or otherwise making the 630 Covered Code available to a third party. 631 632 1.1. "Contributor" means each entity that creates or contributes to 633 the creation of Modifications. 634 635 1.2. "Contributor Version" means the combination of the Original 636 Code, prior Modifications used by a Contributor, and the Modifications 637 made by that particular Contributor. 638 639 1.3. "Covered Code" means the Original Code or Modifications or the 640 combination of the Original Code and Modifications, in each case 641 including portions thereof. 642 643 1.4. "Electronic Distribution Mechanism" means a mechanism generally 644 accepted in the software development community for the electronic 645 transfer of data. 646 647 1.5. "Executable" means Covered Code in any form other than Source 648 Code. 649 650 1.6. "Initial Developer" means the individual or entity identified 651 as the Initial Developer in the Source Code notice required by Exhibit 652 A. 653 654 1.7. "Larger Work" means a work which combines Covered Code or 655 portions thereof with code not governed by the terms of this License. 656 657 1.8. "License" means this document. 658 659 1.8.1. "Licensable" means having the right to grant, to the maximum 660 extent possible, whether at the time of the initial grant or 661 subsequently acquired, any and all of the rights conveyed herein. 662 663 1.9. "Modifications" means any addition to or deletion from the 664 substance or structure of either the Original Code or any previous 665 Modifications. When Covered Code is released as a series of files, a 666 Modification is: 667 A. Any addition to or deletion from the contents of a file 668 containing Original Code or previous Modifications. 669 670 B. Any new file that contains any part of the Original Code or 671 previous Modifications. 672 673 1.10. "Original Code" means Source Code of computer software code 674 which is described in the Source Code notice required by Exhibit A as 675 Original Code, and which, at the time of its release under this 676 License is not already Covered Code governed by this License. 677 678 1.10.1. "Patent Claims" means any patent claim(s), now owned or 679 hereafter acquired, including without limitation, method, process, 680 and apparatus claims, in any patent Licensable by grantor. 681 682 1.11. "Source Code" means the preferred form of the Covered Code for 683 making modifications to it, including all modules it contains, plus 684 any associated interface definition files, scripts used to control 685 compilation and installation of an Executable, or source code 686 differential comparisons against either the Original Code or another 687 well known, available Covered Code of the Contributor's choice. The 688 Source Code can be in a compressed or archival form, provided the 689 appropriate decompression or de-archiving software is widely available 690 for no charge. 691 692 1.12. "You" (or "Your") means an individual or a legal entity 693 exercising rights under, and complying with all of the terms of, this 694 License or a future version of this License issued under Section 6.1. 695 For legal entities, "You" includes any entity which controls, is 696 controlled by, or is under common control with You. For purposes of 697 this definition, "control" means (a) the power, direct or indirect, 698 to cause the direction or management of such entity, whether by 699 contract or otherwise, or (b) ownership of more than fifty percent 700 (50%) of the outstanding shares or beneficial ownership of such 701 entity. 702 703 2. Source Code License. 704 705 2.1. The Initial Developer Grant. 706 The Initial Developer hereby grants You a world-wide, royalty-free, 707 non-exclusive license, subject to third party intellectual property 708 claims: 709 (a) under intellectual property rights (other than patent or 710 trademark) Licensable by Initial Developer to use, reproduce, 711 modify, display, perform, sublicense and distribute the Original 712 Code (or portions thereof) with or without Modifications, and/or 713 as part of a Larger Work; and 714 715 (b) under Patents Claims infringed by the making, using or 716 selling of Original Code, to make, have made, use, practice, 717 sell, and offer for sale, and/or otherwise dispose of the 718 Original Code (or portions thereof). 719 720 (c) the licenses granted in this Section 2.1(a) and (b) are 721 effective on the date Initial Developer first distributes 722 Original Code under the terms of this License. 723 724 (d) Notwithstanding Section 2.1(b) above, no patent license is 725 granted: 1) for code that You delete from the Original Code; 2) 726 separate from the Original Code; or 3) for infringements caused 727 by: i) the modification of the Original Code or ii) the 728 combination of the Original Code with other software or devices. 729 730 2.2. Contributor Grant. 731 Subject to third party intellectual property claims, each Contributor 732 hereby grants You a world-wide, royalty-free, non-exclusive license 733 734 (a) under intellectual property rights (other than patent or 735 trademark) Licensable by Contributor, to use, reproduce, modify, 736 display, perform, sublicense and distribute the Modifications 737 created by such Contributor (or portions thereof) either on an 738 unmodified basis, with other Modifications, as Covered Code 739 and/or as part of a Larger Work; and 740 741 (b) under Patent Claims infringed by the making, using, or 742 selling of Modifications made by that Contributor either alone 743 and/or in combination with its Contributor Version (or portions 744 of such combination), to make, use, sell, offer for sale, have 745 made, and/or otherwise dispose of: 1) Modifications made by that 746 Contributor (or portions thereof); and 2) the combination of 747 Modifications made by that Contributor with its Contributor 748 Version (or portions of such combination). 749 750 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are 751 effective on the date Contributor first makes Commercial Use of 752 the Covered Code. 753 754 (d) Notwithstanding Section 2.2(b) above, no patent license is 755 granted: 1) for any code that Contributor has deleted from the 756 Contributor Version; 2) separate from the Contributor Version; 757 3) for infringements caused by: i) third party modifications of 758 Contributor Version or ii) the combination of Modifications made 759 by that Contributor with other software (except as part of the 760 Contributor Version) or other devices; or 4) under Patent Claims 761 infringed by Covered Code in the absence of Modifications made by 762 that Contributor. 763 764 3. Distribution Obligations. 765 766 3.1. Application of License. 767 The Modifications which You create or to which You contribute are 768 governed by the terms of this License, including without limitation 769 Section 2.2. The Source Code version of Covered Code may be 770 distributed only under the terms of this License or a future version 771 of this License released under Section 6.1, and You must include a 772 copy of this License with every copy of the Source Code You 773 distribute. You may not offer or impose any terms on any Source Code 774 version that alters or restricts the applicable version of this 775 License or the recipients' rights hereunder. However, You may include 776 an additional document offering the additional rights described in 777 Section 3.5. 778 779 3.2. Availability of Source Code. 780 Any Modification which You create or to which You contribute must be 781 made available in Source Code form under the terms of this License 782 either on the same media as an Executable version or via an accepted 783 Electronic Distribution Mechanism to anyone to whom you made an 784 Executable version available; and if made available via Electronic 785 Distribution Mechanism, must remain available for at least twelve (12) 786 months after the date it initially became available, or at least six 787 (6) months after a subsequent version of that particular Modification 788 has been made available to such recipients. You are responsible for 789 ensuring that the Source Code version remains available even if the 790 Electronic Distribution Mechanism is maintained by a third party. 791 792 3.3. Description of Modifications. 793 You must cause all Covered Code to which You contribute to contain a 794 file documenting the changes You made to create that Covered Code and 795 the date of any change. You must include a prominent statement that 796 the Modification is derived, directly or indirectly, from Original 797 Code provided by the Initial Developer and including the name of the 798 Initial Developer in (a) the Source Code, and (b) in any notice in an 799 Executable version or related documentation in which You describe the 800 origin or ownership of the Covered Code. 801 802 3.4. Intellectual Property Matters 803 (a) Third Party Claims. 804 If Contributor has knowledge that a license under a third party's 805 intellectual property rights is required to exercise the rights 806 granted by such Contributor under Sections 2.1 or 2.2, 807 Contributor must include a text file with the Source Code 808 distribution titled "LEGAL" which describes the claim and the 809 party making the claim in sufficient detail that a recipient will 810 know whom to contact. If Contributor obtains such knowledge after 811 the Modification is made available as described in Section 3.2, 812 Contributor shall promptly modify the LEGAL file in all copies 813 Contributor makes available thereafter and shall take other steps 814 (such as notifying appropriate mailing lists or newsgroups) 815 reasonably calculated to inform those who received the Covered 816 Code that new knowledge has been obtained. 817 818 (b) Contributor APIs. 819 If Contributor's Modifications include an application programming 820 interface and Contributor has knowledge of patent licenses which 821 are reasonably necessary to implement that API, Contributor must 822 also include this information in the LEGAL file. 823 824 (c) Representations. 825 Contributor represents that, except as disclosed pursuant to 826 Section 3.4(a) above, Contributor believes that Contributor's 827 Modifications are Contributor's original creation(s) and/or 828 Contributor has sufficient rights to grant the rights conveyed by 829 this License. 830 831 3.5. Required Notices. 832 You must duplicate the notice in Exhibit A in each file of the Source 833 Code. If it is not possible to put such notice in a particular Source 834 Code file due to its structure, then You must include such notice in a 835 location (such as a relevant directory) where a user would be likely 836 to look for such a notice. If You created one or more Modification(s) 837 You may add your name as a Contributor to the notice described in 838 Exhibit A. You must also duplicate this License in any documentation 839 for the Source Code where You describe recipients' rights or ownership 840 rights relating to Covered Code. You may choose to offer, and to 841 charge a fee for, warranty, support, indemnity or liability 842 obligations to one or more recipients of Covered Code. However, You 843 may do so only on Your own behalf, and not on behalf of the Initial 844 Developer or any Contributor. You must make it absolutely clear than 845 any such warranty, support, indemnity or liability obligation is 846 offered by You alone, and You hereby agree to indemnify the Initial 847 Developer and every Contributor for any liability incurred by the 848 Initial Developer or such Contributor as a result of warranty, 849 support, indemnity or liability terms You offer. 850 851 3.6. Distribution of Executable Versions. 852 You may distribute Covered Code in Executable form only if the 853 requirements of Section 3.1-3.5 have been met for that Covered Code, 854 and if You include a notice stating that the Source Code version of 855 the Covered Code is available under the terms of this License, 856 including a description of how and where You have fulfilled the 857 obligations of Section 3.2. The notice must be conspicuously included 858 in any notice in an Executable version, related documentation or 859 collateral in which You describe recipients' rights relating to the 860 Covered Code. You may distribute the Executable version of Covered 861 Code or ownership rights under a license of Your choice, which may 862 contain terms different from this License, provided that You are in 863 compliance with the terms of this License and that the license for the 864 Executable version does not attempt to limit or alter the recipient's 865 rights in the Source Code version from the rights set forth in this 866 License. If You distribute the Executable version under a different 867 license You must make it absolutely clear that any terms which differ 868 from this License are offered by You alone, not by the Initial 869 Developer or any Contributor. You hereby agree to indemnify the 870 Initial Developer and every Contributor for any liability incurred by 871 the Initial Developer or such Contributor as a result of any such 872 terms You offer. 873 874 3.7. Larger Works. 875 You may create a Larger Work by combining Covered Code with other code 876 not governed by the terms of this License and distribute the Larger 877 Work as a single product. In such a case, You must make sure the 878 requirements of this License are fulfilled for the Covered Code. 879 880 4. Inability to Comply Due to Statute or Regulation. 881 882 If it is impossible for You to comply with any of the terms of this 883 License with respect to some or all of the Covered Code due to 884 statute, judicial order, or regulation then You must: (a) comply with 885 the terms of this License to the maximum extent possible; and (b) 886 describe the limitations and the code they affect. Such description 887 must be included in the LEGAL file described in Section 3.4 and must 888 be included with all distributions of the Source Code. Except to the 889 extent prohibited by statute or regulation, such description must be 890 sufficiently detailed for a recipient of ordinary skill to be able to 891 understand it. 892 893 5. Application of this License. 894 895 This License applies to code to which the Initial Developer has 896 attached the notice in Exhibit A and to related Covered Code. 897 898 6. Versions of the License. 899 900 6.1. New Versions. 901 Netscape Communications Corporation ("Netscape") may publish revised 902 and/or new versions of the License from time to time. Each version 903 will be given a distinguishing version number. 904 905 6.2. Effect of New Versions. 906 Once Covered Code has been published under a particular version of the 907 License, You may always continue to use it under the terms of that 908 version. You may also choose to use such Covered Code under the terms 909 of any subsequent version of the License published by Netscape. No one 910 other than Netscape has the right to modify the terms applicable to 911 Covered Code created under this License. 912 913 6.3. Derivative Works. 914 If You create or use a modified version of this License (which you may 915 only do in order to apply it to code which is not already Covered Code 916 governed by this License), You must (a) rename Your license so that 917 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", 918 "MPL", "NPL" or any confusingly similar phrase do not appear in your 919 license (except to note that your license differs from this License) 920 and (b) otherwise make it clear that Your version of the license 921 contains terms which differ from the Mozilla Public License and 922 Netscape Public License. (Filling in the name of the Initial 923 Developer, Original Code or Contributor in the notice described in 924 Exhibit A shall not of themselves be deemed to be modifications of 925 this License.) 926 927 7. DISCLAIMER OF WARRANTY. 928 929 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, 930 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, 931 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF 932 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. 933 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE 934 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, 935 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE 936 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER 937 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF 938 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. 939 940 8. TERMINATION. 941 942 8.1. This License and the rights granted hereunder will terminate 943 automatically if You fail to comply with terms herein and fail to cure 944 such breach within 30 days of becoming aware of the breach. All 945 sublicenses to the Covered Code which are properly granted shall 946 survive any termination of this License. Provisions which, by their 947 nature, must remain in effect beyond the termination of this License 948 shall survive. 949 950 8.2. If You initiate litigation by asserting a patent infringement 951 claim (excluding declatory judgment actions) against Initial Developer 952 or a Contributor (the Initial Developer or Contributor against whom 953 You file such action is referred to as "Participant") alleging that: 954 955 (a) such Participant's Contributor Version directly or indirectly 956 infringes any patent, then any and all rights granted by such 957 Participant to You under Sections 2.1 and/or 2.2 of this License 958 shall, upon 60 days notice from Participant terminate prospectively, 959 unless if within 60 days after receipt of notice You either: (i) 960 agree in writing to pay Participant a mutually agreeable reasonable 961 royalty for Your past and future use of Modifications made by such 962 Participant, or (ii) withdraw Your litigation claim with respect to 963 the Contributor Version against such Participant. If within 60 days 964 of notice, a reasonable royalty and payment arrangement are not 965 mutually agreed upon in writing by the parties or the litigation claim 966 is not withdrawn, the rights granted by Participant to You under 967 Sections 2.1 and/or 2.2 automatically terminate at the expiration of 968 the 60 day notice period specified above. 969 970 (b) any software, hardware, or device, other than such Participant's 971 Contributor Version, directly or indirectly infringes any patent, then 972 any rights granted to You by such Participant under Sections 2.1(b) 973 and 2.2(b) are revoked effective as of the date You first made, used, 974 sold, distributed, or had made, Modifications made by that 975 Participant. 976 977 8.3. If You assert a patent infringement claim against Participant 978 alleging that such Participant's Contributor Version directly or 979 indirectly infringes any patent where such claim is resolved (such as 980 by license or settlement) prior to the initiation of patent 981 infringement litigation, then the reasonable value of the licenses 982 granted by such Participant under Sections 2.1 or 2.2 shall be taken 983 into account in determining the amount or value of any payment or 984 license. 985 986 8.4. In the event of termination under Sections 8.1 or 8.2 above, 987 all end user license agreements (excluding distributors and resellers) 988 which have been validly granted by You or any distributor hereunder 989 prior to termination shall survive termination. 990 991 9. LIMITATION OF LIABILITY. 992 993 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT 994 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL 995 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, 996 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR 997 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY 998 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, 999 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER 1000 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN 1001 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF 1002 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY 1003 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW 1004 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE 1005 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO 1006 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 1007 1008 10. U.S. GOVERNMENT END USERS. 1009 1010 The Covered Code is a "commercial item," as that term is defined in 1011 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer 1012 software" and "commercial computer software documentation," as such 1013 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 1014 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), 1015 all U.S. Government End Users acquire Covered Code with only those 1016 rights set forth herein. 1017 1018 11. MISCELLANEOUS. 1019 1020 This License represents the complete agreement concerning subject 1021 matter hereof. If any provision of this License is held to be 1022 unenforceable, such provision shall be reformed only to the extent 1023 necessary to make it enforceable. This License shall be governed by 1024 California law provisions (except to the extent applicable law, if 1025 any, provides otherwise), excluding its conflict-of-law provisions. 1026 With respect to disputes in which at least one party is a citizen of, 1027 or an entity chartered or registered to do business in the United 1028 States of America, any litigation relating to this License shall be 1029 subject to the jurisdiction of the Federal Courts of the Northern 1030 District of California, with venue lying in Santa Clara County, 1031 California, with the losing party responsible for costs, including 1032 without limitation, court costs and reasonable attorneys' fees and 1033 expenses. The application of the United Nations Convention on 1034 Contracts for the International Sale of Goods is expressly excluded. 1035 Any law or regulation which provides that the language of a contract 1036 shall be construed against the drafter shall not apply to this 1037 License. 1038 1039 12. RESPONSIBILITY FOR CLAIMS. 1040 1041 As between Initial Developer and the Contributors, each party is 1042 responsible for claims and damages arising, directly or indirectly, 1043 out of its utilization of rights under this License and You agree to 1044 work with Initial Developer and Contributors to distribute such 1045 responsibility on an equitable basis. Nothing herein is intended or 1046 shall be deemed to constitute any admission of liability. 1047 1048 13. MULTIPLE-LICENSED CODE. 1049 1050 Initial Developer may designate portions of the Covered Code as 1051 "Multiple-Licensed". "Multiple-Licensed" means that the Initial 1052 Developer permits you to utilize portions of the Covered Code under 1053 Your choice of the NPL or the alternative licenses, if any, specified 1054 by the Initial Developer in the file described in Exhibit A. 1055 1056 EXHIBIT A -Mozilla Public License. 1057 1058 ``The contents of this file are subject to the Mozilla Public License 1059 Version 1.1 (the "License"); you may not use this file except in 1060 compliance with the License. You may obtain a copy of the License at 1061 http://www.mozilla.org/MPL/ 1062 1063 Software distributed under the License is distributed on an "AS IS" 1064 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 1065 License for the specific language governing rights and limitations 1066 under the License. 1067 1068 The Original Code is ______________________________________. 1069 1070 The Initial Developer of the Original Code is ________________________. 1071 Portions created by ______________________ are Copyright (C) ______ 1072 _______________________. All Rights Reserved. 1073 1074 Contributor(s): ______________________________________. 1075 1076 Alternatively, the contents of this file may be used under the terms 1077 of the _____ license (the "[___] License"), in which case the 1078 provisions of [______] License are applicable instead of those 1079 above. If you wish to allow use of your version of this file only 1080 under the terms of the [____] License and not to allow others to use 1081 your version of this file under the MPL, indicate your decision by 1082 deleting the provisions above and replace them with the notice and 1083 other provisions required by the [___] License. If you do not delete 1084 the provisions above, a recipient may use your version of this file 1085 under either the MPL or the [___] License." 1086 1087 [NOTE: The text of this Exhibit A may differ slightly from the text of 1088 the notices in the Source Code files of the Original Code. You should 1089 use the text of this Exhibit A rather than the text found in the 1090 Original Code Source Code for Your Modifications.] 1091 ============================================================================ 1092 1093 ============================================================================ 1094 GNU GENERAL PUBLIC LICENSE 1095 Version 2, June 1991 1096 1097 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 1098 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 1099 Everyone is permitted to copy and distribute verbatim copies 1100 of this license document, but changing it is not allowed. 1101 1102 Preamble 1103 1104 The licenses for most software are designed to take away your 1105 freedom to share and change it. By contrast, the GNU General Public 1106 License is intended to guarantee your freedom to share and change free 1107 software--to make sure the software is free for all its users. This 1108 General Public License applies to most of the Free Software 1109 Foundation's software and to any other program whose authors commit to 1110 using it. (Some other Free Software Foundation software is covered by 1111 the GNU Lesser General Public License instead.) You can apply it to 1112 your programs, too. 1113 1114 When we speak of free software, we are referring to freedom, not 1115 price. Our General Public Licenses are designed to make sure that you 1116 have the freedom to distribute copies of free software (and charge for 1117 this service if you wish), that you receive source code or can get it 1118 if you want it, that you can change the software or use pieces of it 1119 in new free programs; and that you know you can do these things. 1120 1121 To protect your rights, we need to make restrictions that forbid 1122 anyone to deny you these rights or to ask you to surrender the rights. 1123 These restrictions translate to certain responsibilities for you if you 1124 distribute copies of the software, or if you modify it. 1125 1126 For example, if you distribute copies of such a program, whether 1127 gratis or for a fee, you must give the recipients all the rights that 1128 you have. You must make sure that they, too, receive or can get the 1129 source code. And you must show them these terms so they know their 1130 rights. 1131 1132 We protect your rights with two steps: (1) copyright the software, and 1133 (2) offer you this license which gives you legal permission to copy, 1134 distribute and/or modify the software. 1135 1136 Also, for each author's protection and ours, we want to make certain 1137 that everyone understands that there is no warranty for this free 1138 software. If the software is modified by someone else and passed on, we 1139 want its recipients to know that what they have is not the original, so 1140 that any problems introduced by others will not reflect on the original 1141 authors' reputations. 1142 1143 Finally, any free program is threatened constantly by software 1144 patents. We wish to avoid the danger that redistributors of a free 1145 program will individually obtain patent licenses, in effect making the 1146 program proprietary. To prevent this, we have made it clear that any 1147 patent must be licensed for everyone's free use or not licensed at all. 1148 1149 The precise terms and conditions for copying, distribution and 1150 modification follow. 1151 1152 GNU GENERAL PUBLIC LICENSE 1153 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1154 1155 0. This License applies to any program or other work which contains 1156 a notice placed by the copyright holder saying it may be distributed 1157 under the terms of this General Public License. The "Program", below, 1158 refers to any such program or work, and a "work based on the Program" 1159 means either the Program or any derivative work under copyright law: 1160 that is to say, a work containing the Program or a portion of it, 1161 either verbatim or with modifications and/or translated into another 1162 language. (Hereinafter, translation is included without limitation in 1163 the term "modification".) Each licensee is addressed as "you". 1164 1165 Activities other than copying, distribution and modification are not 1166 covered by this License; they are outside its scope. The act of 1167 running the Program is not restricted, and the output from the Program 1168 is covered only if its contents constitute a work based on the 1169 Program (independent of having been made by running the Program). 1170 Whether that is true depends on what the Program does. 1171 1172 1. You may copy and distribute verbatim copies of the Program's 1173 source code as you receive it, in any medium, provided that you 1174 conspicuously and appropriately publish on each copy an appropriate 1175 copyright notice and disclaimer of warranty; keep intact all the 1176 notices that refer to this License and to the absence of any warranty; 1177 and give any other recipients of the Program a copy of this License 1178 along with the Program. 1179 1180 You may charge a fee for the physical act of transferring a copy, and 1181 you may at your option offer warranty protection in exchange for a fee. 1182 1183 2. You may modify your copy or copies of the Program or any portion 1184 of it, thus forming a work based on the Program, and copy and 1185 distribute such modifications or work under the terms of Section 1 1186 above, provided that you also meet all of these conditions: 1187 1188 a) You must cause the modified files to carry prominent notices 1189 stating that you changed the files and the date of any change. 1190 1191 b) You must cause any work that you distribute or publish, that in 1192 whole or in part contains or is derived from the Program or any 1193 part thereof, to be licensed as a whole at no charge to all third 1194 parties under the terms of this License. 1195 1196 c) If the modified program normally reads commands interactively 1197 when run, you must cause it, when started running for such 1198 interactive use in the most ordinary way, to print or display an 1199 announcement including an appropriate copyright notice and a 1200 notice that there is no warranty (or else, saying that you provide 1201 a warranty) and that users may redistribute the program under 1202 these conditions, and telling the user how to view a copy of this 1203 License. (Exception: if the Program itself is interactive but 1204 does not normally print such an announcement, your work based on 1205 the Program is not required to print an announcement.) 1206 1207 These requirements apply to the modified work as a whole. If 1208 identifiable sections of that work are not derived from the Program, 1209 and can be reasonably considered independent and separate works in 1210 themselves, then this License, and its terms, do not apply to those 1211 sections when you distribute them as separate works. But when you 1212 distribute the same sections as part of a whole which is a work based 1213 on the Program, the distribution of the whole must be on the terms of 1214 this License, whose permissions for other licensees extend to the 1215 entire whole, and thus to each and every part regardless of who wrote it. 1216 1217 Thus, it is not the intent of this section to claim rights or contest 1218 your rights to work written entirely by you; rather, the intent is to 1219 exercise the right to control the distribution of derivative or 1220 collective works based on the Program. 1221 1222 In addition, mere aggregation of another work not based on the Program 1223 with the Program (or with a work based on the Program) on a volume of 1224 a storage or distribution medium does not bring the other work under 1225 the scope of this License. 1226 1227 3. You may copy and distribute the Program (or a work based on it, 1228 under Section 2) in object code or executable form under the terms of 1229 Sections 1 and 2 above provided that you also do one of the following: 1230 1231 a) Accompany it with the complete corresponding machine-readable 1232 source code, which must be distributed under the terms of Sections 1233 1 and 2 above on a medium customarily used for software interchange; or, 1234 1235 b) Accompany it with a written offer, valid for at least three 1236 years, to give any third party, for a charge no more than your 1237 cost of physically performing source distribution, a complete 1238 machine-readable copy of the corresponding source code, to be 1239 distributed under the terms of Sections 1 and 2 above on a medium 1240 customarily used for software interchange; or, 1241 1242 c) Accompany it with the information you received as to the offer 1243 to distribute corresponding source code. (This alternative is 1244 allowed only for noncommercial distribution and only if you 1245 received the program in object code or executable form with such 1246 an offer, in accord with Subsection b above.) 1247 1248 The source code for a work means the preferred form of the work for 1249 making modifications to it. For an executable work, complete source 1250 code means all the source code for all modules it contains, plus any 1251 associated interface definition files, plus the scripts used to 1252 control compilation and installation of the executable. However, as a 1253 special exception, the source code distributed need not include 1254 anything that is normally distributed (in either source or binary 1255 form) with the major components (compiler, kernel, and so on) of the 1256 operating system on which the executable runs, unless that component 1257 itself accompanies the executable. 1258 1259 If distribution of executable or object code is made by offering 1260 access to copy from a designated place, then offering equivalent 1261 access to copy the source code from the same place counts as 1262 distribution of the source code, even though third parties are not 1263 compelled to copy the source along with the object code. 1264 1265 4. You may not copy, modify, sublicense, or distribute the Program 1266 except as expressly provided under this License. Any attempt 1267 otherwise to copy, modify, sublicense or distribute the Program is 1268 void, and will automatically terminate your rights under this License. 1269 However, parties who have received copies, or rights, from you under 1270 this License will not have their licenses terminated so long as such 1271 parties remain in full compliance. 1272 1273 5. You are not required to accept this License, since you have not 1274 signed it. However, nothing else grants you permission to modify or 1275 distribute the Program or its derivative works. These actions are 1276 prohibited by law if you do not accept this License. Therefore, by 1277 modifying or distributing the Program (or any work based on the 1278 Program), you indicate your acceptance of this License to do so, and 1279 all its terms and conditions for copying, distributing or modifying 1280 the Program or works based on it. 1281 1282 6. Each time you redistribute the Program (or any work based on the 1283 Program), the recipient automatically receives a license from the 1284 original licensor to copy, distribute or modify the Program subject to 1285 these terms and conditions. You may not impose any further 1286 restrictions on the recipients' exercise of the rights granted herein. 1287 You are not responsible for enforcing compliance by third parties to 1288 this License. 1289 1290 7. If, as a consequence of a court judgment or allegation of patent 1291 infringement or for any other reason (not limited to patent issues), 1292 conditions are imposed on you (whether by court order, agreement or 1293 otherwise) that contradict the conditions of this License, they do not 1294 excuse you from the conditions of this License. If you cannot 1295 distribute so as to satisfy simultaneously your obligations under this 1296 License and any other pertinent obligations, then as a consequence you 1297 may not distribute the Program at all. For example, if a patent 1298 license would not permit royalty-free redistribution of the Program by 1299 all those who receive copies directly or indirectly through you, then 1300 the only way you could satisfy both it and this License would be to 1301 refrain entirely from distribution of the Program. 1302 1303 If any portion of this section is held invalid or unenforceable under 1304 any particular circumstance, the balance of the section is intended to 1305 apply and the section as a whole is intended to apply in other 1306 circumstances. 1307 1308 It is not the purpose of this section to induce you to infringe any 1309 patents or other property right claims or to contest validity of any 1310 such claims; this section has the sole purpose of protecting the 1311 integrity of the free software distribution system, which is 1312 implemented by public license practices. Many people have made 1313 generous contributions to the wide range of software distributed 1314 through that system in reliance on consistent application of that 1315 system; it is up to the author/donor to decide if he or she is willing 1316 to distribute software through any other system and a licensee cannot 1317 impose that choice. 1318 1319 This section is intended to make thoroughly clear what is believed to 1320 be a consequence of the rest of this License. 1321 1322 8. If the distribution and/or use of the Program is restricted in 1323 certain countries either by patents or by copyrighted interfaces, the 1324 original copyright holder who places the Program under this License 1325 may add an explicit geographical distribution limitation excluding 1326 those countries, so that distribution is permitted only in or among 1327 countries not thus excluded. In such case, this License incorporates 1328 the limitation as if written in the body of this License. 1329 1330 9. The Free Software Foundation may publish revised and/or new versions 1331 of the General Public License from time to time. Such new versions will 1332 be similar in spirit to the present version, but may differ in detail to 1333 address new problems or concerns. 1334 1335 Each version is given a distinguishing version number. If the Program 1336 specifies a version number of this License which applies to it and "any 1337 later version", you have the option of following the terms and conditions 1338 either of that version or of any later version published by the Free 1339 Software Foundation. If the Program does not specify a version number of 1340 this License, you may choose any version ever published by the Free Software 1341 Foundation. 1342 1343 10. If you wish to incorporate parts of the Program into other free 1344 programs whose distribution conditions are different, write to the author 1345 to ask for permission. For software which is copyrighted by the Free 1346 Software Foundation, write to the Free Software Foundation; we sometimes 1347 make exceptions for this. Our decision will be guided by the two goals 1348 of preserving the free status of all derivatives of our free software and 1349 of promoting the sharing and reuse of software generally. 1350 1351 NO WARRANTY 1352 1353 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 1354 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 1355 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 1356 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 1357 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1358 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 1359 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 1360 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 1361 REPAIR OR CORRECTION. 1362 1363 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 1364 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 1365 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 1366 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 1367 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 1368 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 1369 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 1370 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 1371 POSSIBILITY OF SUCH DAMAGES. 1372 1373 END OF TERMS AND CONDITIONS 1374 1375 How to Apply These Terms to Your New Programs 1376 1377 If you develop a new program, and you want it to be of the greatest 1378 possible use to the public, the best way to achieve this is to make it 1379 free software which everyone can redistribute and change under these terms. 1380 1381 To do so, attach the following notices to the program. It is safest 1382 to attach them to the start of each source file to most effectively 1383 convey the exclusion of warranty; and each file should have at least 1384 the "copyright" line and a pointer to where the full notice is found. 1385 1386 <one line to give the program's name and a brief idea of what it does.> 1387 Copyright (C) <year> <name of author> 1388 1389 This program is free software; you can redistribute it and/or modify 1390 it under the terms of the GNU General Public License as published by 1391 the Free Software Foundation; either version 2 of the License, or 1392 (at your option) any later version. 1393 1394 This program is distributed in the hope that it will be useful, 1395 but WITHOUT ANY WARRANTY; without even the implied warranty of 1396 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1397 GNU General Public License for more details. 1398 1399 You should have received a copy of the GNU General Public License along 1400 with this program; if not, write to the Free Software Foundation, Inc., 1401 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 1402 1403 Also add information on how to contact you by electronic and paper mail. 1404 1405 If the program is interactive, make it output a short notice like this 1406 when it starts in an interactive mode: 1407 1408 Gnomovision version 69, Copyright (C) year name of author 1409 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 1410 This is free software, and you are welcome to redistribute it 1411 under certain conditions; type `show c' for details. 1412 1413 The hypothetical commands `show w' and `show c' should show the appropriate 1414 parts of the General Public License. Of course, the commands you use may 1415 be called something other than `show w' and `show c'; they could even be 1416 mouse-clicks or menu items--whatever suits your program. 1417 1418 You should also get your employer (if you work as a programmer) or your 1419 school, if any, to sign a "copyright disclaimer" for the program, if 1420 necessary. Here is a sample; alter the names: 1421 1422 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 1423 `Gnomovision' (which makes passes at compilers) written by James Hacker. 1424 1425 <signature of Ty Coon>, 1 April 1989 1426 Ty Coon, President of Vice 1427 1428 This General Public License does not permit incorporating your program into 1429 proprietary programs. If your program is a subroutine library, you may 1430 consider it more useful to permit linking proprietary applications with the 1431 library. If this is what you want to do, use the GNU Lesser General 1432 Public License instead of this License. 1433 ============================================================================ 1434 1435 Additionally, some files (currently the contents of 1436 toolsrc/org/mozilla/javascript/tools/debugger/treetable/) are available 1437 only under the following license: 1438 1439 ============================================================================ 1440 * Copyright 1997, 1998 Sun Microsystems, Inc. All Rights Reserved. 1441 * 1442 * Redistribution and use in source and binary forms, with or without 1443 * modification, are permitted provided that the following conditions 1444 * are met: 1445 * 1446 * - Redistributions of source code must retain the above copyright 1447 * notice, this list of conditions and the following disclaimer. 1448 * 1449 * - Redistributions in binary form must reproduce the above copyright 1450 * notice, this list of conditions and the following disclaimer in the 1451 * documentation and/or other materials provided with the distribution. 1452 * 1453 * - Neither the name of Sun Microsystems nor the names of its 1454 * contributors may be used to endorse or promote products derived 1455 * from this software without specific prior written permission. 1456 * 1457 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 1458 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 1459 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1460 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 1461 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 1462 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 1463 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 1464 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 1465 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 1466 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 1467 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1468 ============================================================================ 1469 1470 -------------------------------------------------------------------------------- 1471 scala_license.txt: 1472 SCALA LICENSE 1473 1474 Copyright (c) 2002-2012 EPFL, Lausanne, unless otherwise specified. 1475 All rights reserved. 1476 1477 This software was developed by the Programming Methods Laboratory of the 1478 Swiss Federal Institute of Technology (EPFL), Lausanne, Switzerland. 1479 1480 Permission to use, copy, modify, and distribute this software in source 1481 or binary form for any purpose with or without fee is hereby granted, 1482 provided that the following conditions are met: 1483 1484 1. Redistributions of source code must retain the above copyright 1485 notice, this list of conditions and the following disclaimer. 1486 1487 2. Redistributions in binary form must reproduce the above copyright 1488 notice, this list of conditions and the following disclaimer in the 1489 documentation and/or other materials provided with the distribution. 1490 1491 3. Neither the name of the EPFL nor the names of its contributors 1492 may be used to endorse or promote products derived from this 1493 software without specific prior written permission. 1494 1495 1496 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1497 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1498 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1499 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1500 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1501 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 1502 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 1503 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1504 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1505 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1506 SUCH DAMAGE. 1507 -------------------------------------------------------------------------------- 1508 trove_license.txt: 1509 GNU LESSER GENERAL PUBLIC LICENSE 1510 Version 2.1, February 1999 1511 1512 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 1513 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 1514 Everyone is permitted to copy and distribute verbatim copies 1515 of this license document, but changing it is not allowed. 1516 1517 [This is the first released version of the Lesser GPL. It also counts 1518 as the successor of the GNU Library Public License, version 2, hence 1519 the version number 2.1.] 1520 1521 Preamble 1522 1523 The licenses for most software are designed to take away your 1524 freedom to share and change it. By contrast, the GNU General Public 1525 Licenses are intended to guarantee your freedom to share and change 1526 free software--to make sure the software is free for all its users. 1527 1528 This license, the Lesser General Public License, applies to some 1529 specially designated software packages--typically libraries--of the 1530 Free Software Foundation and other authors who decide to use it. You 1531 can use it too, but we suggest you first think carefully about whether 1532 this license or the ordinary General Public License is the better 1533 strategy to use in any particular case, based on the explanations below. 1534 1535 When we speak of free software, we are referring to freedom of use, 1536 not price. Our General Public Licenses are designed to make sure that 1537 you have the freedom to distribute copies of free software (and charge 1538 for this service if you wish); that you receive source code or can get 1539 it if you want it; that you can change the software and use pieces of 1540 it in new free programs; and that you are informed that you can do 1541 these things. 1542 1543 To protect your rights, we need to make restrictions that forbid 1544 distributors to deny you these rights or to ask you to surrender these 1545 rights. These restrictions translate to certain responsibilities for 1546 you if you distribute copies of the library or if you modify it. 1547 1548 For example, if you distribute copies of the library, whether gratis 1549 or for a fee, you must give the recipients all the rights that we gave 1550 you. You must make sure that they, too, receive or can get the source 1551 code. If you link other code with the library, you must provide 1552 complete object files to the recipients, so that they can relink them 1553 with the library after making changes to the library and recompiling 1554 it. And you must show them these terms so they know their rights. 1555 1556 We protect your rights with a two-step method: (1) we copyright the 1557 library, and (2) we offer you this license, which gives you legal 1558 permission to copy, distribute and/or modify the library. 1559 1560 To protect each distributor, we want to make it very clear that 1561 there is no warranty for the free library. Also, if the library is 1562 modified by someone else and passed on, the recipients should know 1563 that what they have is not the original version, so that the original 1564 author's reputation will not be affected by problems that might be 1565 introduced by others. 1566 1567 Finally, software patents pose a constant threat to the existence of 1569 any free program. We wish to make sure that a company cannot 1570 effectively restrict the users of a free program by obtaining a 1571 restrictive license from a patent holder. Therefore, we insist that 1572 any patent license obtained for a version of the library must be 1573 consistent with the full freedom of use specified in this license. 1574 1575 Most GNU software, including some libraries, is covered by the 1576 ordinary GNU General Public License. This license, the GNU Lesser 1577 General Public License, applies to certain designated libraries, and 1578 is quite different from the ordinary General Public License. We use 1579 this license for certain libraries in order to permit linking those 1580 libraries into non-free programs. 1581 1582 When a program is linked with a library, whether statically or using 1583 a shared library, the combination of the two is legally speaking a 1584 combined work, a derivative of the original library. The ordinary 1585 General Public License therefore permits such linking only if the 1586 entire combination fits its criteria of freedom. The Lesser General 1587 Public License permits more lax criteria for linking other code with 1588 the library. 1589 1590 We call this license the "Lesser" General Public License because it 1591 does Less to protect the user's freedom than the ordinary General 1592 Public License. It also provides other free software developers Less 1593 of an advantage over competing non-free programs. These disadvantages 1594 are the reason we use the ordinary General Public License for many 1595 libraries. However, the Lesser license provides advantages in certain 1596 special circumstances. 1597 1598 For example, on rare occasions, there may be a special need to 1599 encourage the widest possible use of a certain library, so that it becomes 1600 a de-facto standard. To achieve this, non-free programs must be 1601 allowed to use the library. A more frequent case is that a free 1602 library does the same job as widely used non-free libraries. In this 1603 case, there is little to gain by limiting the free library to free 1604 software only, so we use the Lesser General Public License. 1605 1606 In other cases, permission to use a particular library in non-free 1607 programs enables a greater number of people to use a large body of 1608 free software. For example, permission to use the GNU C Library in 1609 non-free programs enables many more people to use the whole GNU 1610 operating system, as well as its variant, the GNU/Linux operating 1611 system. 1612 1613 Although the Lesser General Public License is Less protective of the 1614 users' freedom, it does ensure that the user of a program that is 1615 linked with the Library has the freedom and the wherewithal to run 1616 that program using a modified version of the Library. 1617 1618 The precise terms and conditions for copying, distribution and 1619 modification follow. Pay close attention to the difference between a 1620 "work based on the library" and a "work that uses the library". The 1621 former contains code derived from the library, whereas the latter must 1622 be combined with the library in order to run. 1623 1624 GNU LESSER GENERAL PUBLIC LICENSE 1626 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1627 1628 0. This License Agreement applies to any software library or other 1629 program which contains a notice placed by the copyright holder or 1630 other authorized party saying it may be distributed under the terms of 1631 this Lesser General Public License (also called "this License"). 1632 Each licensee is addressed as "you". 1633 1634 A "library" means a collection of software functions and/or data 1635 prepared so as to be conveniently linked with application programs 1636 (which use some of those functions and data) to form executables. 1637 1638 The "Library", below, refers to any such software library or work 1639 which has been distributed under these terms. A "work based on the 1640 Library" means either the Library or any derivative work under 1641 copyright law: that is to say, a work containing the Library or a 1642 portion of it, either verbatim or with modifications and/or translated 1643 straightforwardly into another language. (Hereinafter, translation is 1644 included without limitation in the term "modification".) 1645 1646 "Source code" for a work means the preferred form of the work for 1647 making modifications to it. For a library, complete source code means 1648 all the source code for all modules it contains, plus any associated 1649 interface definition files, plus the scripts used to control compilation 1650 and installation of the library. 1651 1652 Activities other than copying, distribution and modification are not 1653 covered by this License; they are outside its scope. The act of 1654 running a program using the Library is not restricted, and output from 1655 such a program is covered only if its contents constitute a work based 1656 on the Library (independent of the use of the Library in a tool for 1657 writing it). Whether that is true depends on what the Library does 1658 and what the program that uses the Library does. 1659 1660 1. You may copy and distribute verbatim copies of the Library's 1661 complete source code as you receive it, in any medium, provided that 1662 you conspicuously and appropriately publish on each copy an 1663 appropriate copyright notice and disclaimer of warranty; keep intact 1664 all the notices that refer to this License and to the absence of any 1665 warranty; and distribute a copy of this License along with the 1666 Library. 1667 1668 You may charge a fee for the physical act of transferring a copy, 1669 and you may at your option offer warranty protection in exchange for a 1670 fee. 1671 1672 2. You may modify your copy or copies of the Library or any portion 1674 of it, thus forming a work based on the Library, and copy and 1675 distribute such modifications or work under the terms of Section 1 1676 above, provided that you also meet all of these conditions: 1677 1678 a) The modified work must itself be a software library. 1679 1680 b) You must cause the files modified to carry prominent notices 1681 stating that you changed the files and the date of any change. 1682 1683 c) You must cause the whole of the work to be licensed at no 1684 charge to all third parties under the terms of this License. 1685 1686 d) If a facility in the modified Library refers to a function or a 1687 table of data to be supplied by an application program that uses 1688 the facility, other than as an argument passed when the facility 1689 is invoked, then you must make a good faith effort to ensure that, 1690 in the event an application does not supply such function or 1691 table, the facility still operates, and performs whatever part of 1692 its purpose remains meaningful. 1693 1694 (For example, a function in a library to compute square roots has 1695 a purpose that is entirely well-defined independent of the 1696 application. Therefore, Subsection 2d requires that any 1697 application-supplied function or table used by this function must 1698 be optional: if the application does not supply it, the square 1699 root function must still compute square roots.) 1700 1701 These requirements apply to the modified work as a whole. If 1702 identifiable sections of that work are not derived from the Library, 1703 and can be reasonably considered independent and separate works in 1704 themselves, then this License, and its terms, do not apply to those 1705 sections when you distribute them as separate works. But when you 1706 distribute the same sections as part of a whole which is a work based 1707 on the Library, the distribution of the whole must be on the terms of 1708 this License, whose permissions for other licensees extend to the 1709 entire whole, and thus to each and every part regardless of who wrote 1710 it. 1711 1712 Thus, it is not the intent of this section to claim rights or contest 1713 your rights to work written entirely by you; rather, the intent is to 1714 exercise the right to control the distribution of derivative or 1715 collective works based on the Library. 1716 1717 In addition, mere aggregation of another work not based on the Library 1718 with the Library (or with a work based on the Library) on a volume of 1719 a storage or distribution medium does not bring the other work under 1720 the scope of this License. 1721 1722 3. You may opt to apply the terms of the ordinary GNU General Public 1723 License instead of this License to a given copy of the Library. To do 1724 this, you must alter all the notices that refer to this License, so 1725 that they refer to the ordinary GNU General Public License, version 2, 1726 instead of to this License. (If a newer version than version 2 of the 1727 ordinary GNU General Public License has appeared, then you can specify 1728 that version instead if you wish.) Do not make any other change in 1729 these notices. 1730 1731 Once this change is made in a given copy, it is irreversible for 1733 that copy, so the ordinary GNU General Public License applies to all 1734 subsequent copies and derivative works made from that copy. 1735 1736 This option is useful when you wish to copy part of the code of 1737 the Library into a program that is not a library. 1738 1739 4. You may copy and distribute the Library (or a portion or 1740 derivative of it, under Section 2) in object code or executable form 1741 under the terms of Sections 1 and 2 above provided that you accompany 1742 it with the complete corresponding machine-readable source code, which 1743 must be distributed under the terms of Sections 1 and 2 above on a 1744 medium customarily used for software interchange. 1745 1746 If distribution of object code is made by offering access to copy 1747 from a designated place, then offering equivalent access to copy the 1748 source code from the same place satisfies the requirement to 1749 distribute the source code, even though third parties are not 1750 compelled to copy the source along with the object code. 1751 1752 5. A program that contains no derivative of any portion of the 1753 Library, but is designed to work with the Library by being compiled or 1754 linked with it, is called a "work that uses the Library". Such a 1755 work, in isolation, is not a derivative work of the Library, and 1756 therefore falls outside the scope of this License. 1757 1758 However, linking a "work that uses the Library" with the Library 1759 creates an executable that is a derivative of the Library (because it 1760 contains portions of the Library), rather than a "work that uses the 1761 library". The executable is therefore covered by this License. 1762 Section 6 states terms for distribution of such executables. 1763 1764 When a "work that uses the Library" uses material from a header file 1765 that is part of the Library, the object code for the work may be a 1766 derivative work of the Library even though the source code is not. 1767 Whether this is true is especially significant if the work can be 1768 linked without the Library, or if the work is itself a library. The 1769 threshold for this to be true is not precisely defined by law. 1770 1771 If such an object file uses only numerical parameters, data 1772 structure layouts and accessors, and small macros and small inline 1773 functions (ten lines or less in length), then the use of the object 1774 file is unrestricted, regardless of whether it is legally a derivative 1775 work. (Executables containing this object code plus portions of the 1776 Library will still fall under Section 6.) 1777 1778 Otherwise, if the work is a derivative of the Library, you may 1779 distribute the object code for the work under the terms of Section 6. 1780 Any executables containing that work also fall under Section 6, 1781 whether or not they are linked directly with the Library itself. 1782 1783 6. As an exception to the Sections above, you may also combine or 1785 link a "work that uses the Library" with the Library to produce a 1786 work containing portions of the Library, and distribute that work 1787 under terms of your choice, provided that the terms permit 1788 modification of the work for the customer's own use and reverse 1789 engineering for debugging such modifications. 1790 1791 You must give prominent notice with each copy of the work that the 1792 Library is used in it and that the Library and its use are covered by 1793 this License. You must supply a copy of this License. If the work 1794 during execution displays copyright notices, you must include the 1795 copyright notice for the Library among them, as well as a reference 1796 directing the user to the copy of this License. Also, you must do one 1797 of these things: 1798 1799 a) Accompany the work with the complete corresponding 1800 machine-readable source code for the Library including whatever 1801 changes were used in the work (which must be distributed under 1802 Sections 1 and 2 above); and, if the work is an executable linked 1803 with the Library, with the complete machine-readable "work that 1804 uses the Library", as object code and/or source code, so that the 1805 user can modify the Library and then relink to produce a modified 1806 executable containing the modified Library. (It is understood 1807 that the user who changes the contents of definitions files in the 1808 Library will not necessarily be able to recompile the application 1809 to use the modified definitions.) 1810 1811 b) Use a suitable shared library mechanism for linking with the 1812 Library. A suitable mechanism is one that (1) uses at run time a 1813 copy of the library already present on the user's computer system, 1814 rather than copying library functions into the executable, and (2) 1815 will operate properly with a modified version of the library, if 1816 the user installs one, as long as the modified version is 1817 interface-compatible with the version that the work was made with. 1818 1819 c) Accompany the work with a written offer, valid for at 1820 least three years, to give the same user the materials 1821 specified in Subsection 6a, above, for a charge no more 1822 than the cost of performing this distribution. 1823 1824 d) If distribution of the work is made by offering access to copy 1825 from a designated place, offer equivalent access to copy the above 1826 specified materials from the same place. 1827 1828 e) Verify that the user has already received a copy of these 1829 materials or that you have already sent this user a copy. 1830 1831 For an executable, the required form of the "work that uses the 1832 Library" must include any data and utility programs needed for 1833 reproducing the executable from it. However, as a special exception, 1834 the materials to be distributed need not include anything that is 1835 normally distributed (in either source or binary form) with the major 1836 components (compiler, kernel, and so on) of the operating system on 1837 which the executable runs, unless that component itself accompanies 1838 the executable. 1839 1840 It may happen that this requirement contradicts the license 1841 restrictions of other proprietary libraries that do not normally 1842 accompany the operating system. Such a contradiction means you cannot 1843 use both them and the Library together in an executable that you 1844 distribute. 1845 1846 7. You may place library facilities that are a work based on the 1848 Library side-by-side in a single library together with other library 1849 facilities not covered by this License, and distribute such a combined 1850 library, provided that the separate distribution of the work based on 1851 the Library and of the other library facilities is otherwise 1852 permitted, and provided that you do these two things: 1853 1854 a) Accompany the combined library with a copy of the same work 1855 based on the Library, uncombined with any other library 1856 facilities. This must be distributed under the terms of the 1857 Sections above. 1858 1859 b) Give prominent notice with the combined library of the fact 1860 that part of it is a work based on the Library, and explaining 1861 where to find the accompanying uncombined form of the same work. 1862 1863 8. You may not copy, modify, sublicense, link with, or distribute 1864 the Library except as expressly provided under this License. Any 1865 attempt otherwise to copy, modify, sublicense, link with, or 1866 distribute the Library is void, and will automatically terminate your 1867 rights under this License. However, parties who have received copies, 1868 or rights, from you under this License will not have their licenses 1869 terminated so long as such parties remain in full compliance. 1870 1871 9. You are not required to accept this License, since you have not 1872 signed it. However, nothing else grants you permission to modify or 1873 distribute the Library or its derivative works. These actions are 1874 prohibited by law if you do not accept this License. Therefore, by 1875 modifying or distributing the Library (or any work based on the 1876 Library), you indicate your acceptance of this License to do so, and 1877 all its terms and conditions for copying, distributing or modifying 1878 the Library or works based on it. 1879 1880 10. Each time you redistribute the Library (or any work based on the 1881 Library), the recipient automatically receives a license from the 1882 original licensor to copy, distribute, link with or modify the Library 1883 subject to these terms and conditions. You may not impose any further 1884 restrictions on the recipients' exercise of the rights granted herein. 1885 You are not responsible for enforcing compliance by third parties with 1886 this License. 1887 1888 11. If, as a consequence of a court judgment or allegation of patent 1890 infringement or for any other reason (not limited to patent issues), 1891 conditions are imposed on you (whether by court order, agreement or 1892 otherwise) that contradict the conditions of this License, they do not 1893 excuse you from the conditions of this License. If you cannot 1894 distribute so as to satisfy simultaneously your obligations under this 1895 License and any other pertinent obligations, then as a consequence you 1896 may not distribute the Library at all. For example, if a patent 1897 license would not permit royalty-free redistribution of the Library by 1898 all those who receive copies directly or indirectly through you, then 1899 the only way you could satisfy both it and this License would be to 1900 refrain entirely from distribution of the Library. 1901 1902 If any portion of this section is held invalid or unenforceable under any 1903 particular circumstance, the balance of the section is intended to apply, 1904 and the section as a whole is intended to apply in other circumstances. 1905 1906 It is not the purpose of this section to induce you to infringe any 1907 patents or other property right claims or to contest validity of any 1908 such claims; this section has the sole purpose of protecting the 1909 integrity of the free software distribution system which is 1910 implemented by public license practices. Many people have made 1911 generous contributions to the wide range of software distributed 1912 through that system in reliance on consistent application of that 1913 system; it is up to the author/donor to decide if he or she is willing 1914 to distribute software through any other system and a licensee cannot 1915 impose that choice. 1916 1917 This section is intended to make thoroughly clear what is believed to 1918 be a consequence of the rest of this License. 1919 1920 12. If the distribution and/or use of the Library is restricted in 1921 certain countries either by patents or by copyrighted interfaces, the 1922 original copyright holder who places the Library under this License may add 1923 an explicit geographical distribution limitation excluding those countries, 1924 so that distribution is permitted only in or among countries not thus 1925 excluded. In such case, this License incorporates the limitation as if 1926 written in the body of this License. 1927 1928 13. The Free Software Foundation may publish revised and/or new 1929 versions of the Lesser General Public License from time to time. 1930 Such new versions will be similar in spirit to the present version, 1931 but may differ in detail to address new problems or concerns. 1932 1933 Each version is given a distinguishing version number. If the Library 1934 specifies a version number of this License which applies to it and 1935 "any later version", you have the option of following the terms and 1936 conditions either of that version or of any later version published by 1937 the Free Software Foundation. If the Library does not specify a 1938 license version number, you may choose any version ever published by 1939 the Free Software Foundation. 1940 1941 14. If you wish to incorporate parts of the Library into other free 1943 programs whose distribution conditions are incompatible with these, 1944 write to the author to ask for permission. For software which is 1945 copyrighted by the Free Software Foundation, write to the Free 1946 Software Foundation; we sometimes make exceptions for this. Our 1947 decision will be guided by the two goals of preserving the free status 1948 of all derivatives of our free software and of promoting the sharing 1949 and reuse of software generally. 1950 1951 NO WARRANTY 1952 1953 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 1954 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 1955 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 1956 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 1957 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 1958 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1959 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 1960 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 1961 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 1962 1963 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 1964 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 1965 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 1966 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 1967 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 1968 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 1969 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 1970 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 1971 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 1972 DAMAGES. 1973 1974 END OF TERMS AND CONDITIONS 1975 1976 How to Apply These Terms to Your New Libraries 1978 1979 If you develop a new library, and you want it to be of the greatest 1980 possible use to the public, we recommend making it free software that 1981 everyone can redistribute and change. You can do so by permitting 1982 redistribution under these terms (or, alternatively, under the terms of the 1983 ordinary General Public License). 1984 1985 To apply these terms, attach the following notices to the library. It is 1986 safest to attach them to the start of each source file to most effectively 1987 convey the exclusion of warranty; and each file should have at least the 1988 "copyright" line and a pointer to where the full notice is found. 1989 1990 <one line to give the library's name and a brief idea of what it does.> 1991 Copyright (C) <year> <name of author> 1992 1993 This library is free software; you can redistribute it and/or 1994 modify it under the terms of the GNU Lesser General Public 1995 License as published by the Free Software Foundation; either 1996 version 2.1 of the License, or (at your option) any later version. 1997 1998 This library is distributed in the hope that it will be useful, 1999 but WITHOUT ANY WARRANTY; without even the implied warranty of 2000 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2001 Lesser General Public License for more details. 2002 2003 You should have received a copy of the GNU Lesser General Public 2004 License along with this library; if not, write to the Free Software 2005 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 2006 2007 Also add information on how to contact you by electronic and paper mail. 2008 2009 You should also get your employer (if you work as a programmer) or your 2010 school, if any, to sign a "copyright disclaimer" for the library, if 2011 necessary. Here is a sample; alter the names: 2012 2013 Yoyodyne, Inc., hereby disclaims all copyright interest in the 2014 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 2015 2016 <signature of Ty Coon>, 1 April 1990 2017 Ty Coon, President of Vice 2018 2019 That's all there is to it! 2020 2021 2022 2023 -------------------------------------------------------------------------------- 2024 trove_readme_license.txt: 2025 The Trove library is licensed under the Lesser GNU Public License, 2026 which is included with the distribution in a file called trove_license.txt. 2027 2028 2029 The PrimeFinder and HashFunctions classes in Trove are subject to the 2030 following license restrictions: 2031 2032 Copyright (c) 1999 CERN - European Organization for Nuclear Research. 2033 2034 Permission to use, copy, modify, distribute and sell this software and 2035 its documentation for any purpose is hereby granted without fee, 2036 provided that the above copyright notice appear in all copies and that 2037 both that copyright notice and this permission notice appear in 2038 supporting documentation. CERN makes no representations about the 2039 suitability of this software for any purpose. It is provided "as is" 2040 without expressed or implied warranty. 2041 2042 2043 2044 -------------------------------------------------------------------------------- 2045