Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 1 | // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 2 | // |
| 3 | // Redistribution and use in source and binary forms, with or without |
| 4 | // modification, are permitted provided that the following conditions are |
| 5 | // met: |
| 6 | // |
| 7 | // * Redistributions of source code must retain the above copyright |
| 8 | // notice, this list of conditions and the following disclaimer. |
| 9 | // * Redistributions in binary form must reproduce the above |
| 10 | // copyright notice, this list of conditions and the following disclaimer |
| 11 | // in the documentation and/or other materials provided with the |
| 12 | // distribution. |
| 13 | // * Neither the name of Google Inc. nor the names of its |
| 14 | // contributors may be used to endorse or promote products derived from |
| 15 | // this software without specific prior written permission. |
| 16 | // |
| 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 18 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 19 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 20 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 21 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 22 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 23 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 24 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 25 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 27 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 29 | /**************************************************************** |
| 30 | * |
| 31 | * The author of this software is David M. Gay. |
| 32 | * |
| 33 | * Copyright (c) 1991, 2000, 2001 by Lucent Technologies. |
| 34 | * |
| 35 | * Permission to use, copy, modify, and distribute this software for any |
| 36 | * purpose without fee is hereby granted, provided that this entire notice |
| 37 | * is included in all copies of any software which is or includes a copy |
| 38 | * or modification of this software and in all copies of the supporting |
| 39 | * documentation for such software. |
| 40 | * |
| 41 | * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED |
| 42 | * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY |
| 43 | * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY |
| 44 | * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. |
| 45 | * |
| 46 | ***************************************************************/ |
| 47 | |
| 48 | /* Copyright (c) 2008-2009, Google Inc. |
| 49 | * All rights reserved. |
| 50 | * |
| 51 | * Redistribution and use in source and binary forms, with or without |
| 52 | * modification, are permitted provided that the following conditions are |
| 53 | * met: |
| 54 | * |
| 55 | * * Redistributions of source code must retain the above copyright |
| 56 | * notice, this list of conditions and the following disclaimer. |
| 57 | * * Neither the name of Google Inc. nor the names of its |
| 58 | * contributors may be used to endorse or promote products derived from |
| 59 | * this software without specific prior written permission. |
| 60 | * |
| 61 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 62 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 63 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 64 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 65 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 66 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 67 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 68 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 69 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 70 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 71 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 72 | * |
| 73 | * --- |
| 74 | * Author: Kostya Serebryany |
| 75 | */ |
| 76 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 77 | /* ***** BEGIN LICENSE BLOCK ***** |
| 78 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 79 | * |
| 80 | * The contents of this file are subject to the Mozilla Public License Version |
| 81 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 82 | * the License. You may obtain a copy of the License at |
| 83 | * http://www.mozilla.org/MPL/ |
| 84 | * |
| 85 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 86 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 87 | * for the specific language governing rights and limitations under the |
| 88 | * License. |
| 89 | * |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 90 | * The Original Code is the Netscape Portable Runtime (NSPR). |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 91 | * |
| 92 | * The Initial Developer of the Original Code is |
| 93 | * Netscape Communications Corporation. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 94 | * Portions created by the Initial Developer are Copyright (C) 1998-2000 |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 95 | * the Initial Developer. All Rights Reserved. |
| 96 | * |
| 97 | * Contributor(s): |
| 98 | * |
| 99 | * Alternatively, the contents of this file may be used under the terms of |
| 100 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 101 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 102 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 103 | * of those above. If you wish to allow use of your version of this file only |
| 104 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 105 | * use your version of this file under the terms of the MPL, indicate your |
| 106 | * decision by deleting the provisions above and replace them with the notice |
| 107 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 108 | * the provisions above, a recipient may use your version of this file under |
| 109 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 110 | * |
| 111 | * ***** END LICENSE BLOCK ***** */ |
| 112 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 113 | // Copyright (c) 2006, Google Inc. |
| 114 | // All rights reserved. |
| 115 | // |
| 116 | // Redistribution and use in source and binary forms, with or without |
| 117 | // modification, are permitted provided that the following conditions are |
| 118 | // met: |
| 119 | // |
| 120 | // * Redistributions of source code must retain the above copyright |
| 121 | // notice, this list of conditions and the following disclaimer. |
| 122 | // * Redistributions in binary form must reproduce the above |
| 123 | // copyright notice, this list of conditions and the following disclaimer |
| 124 | // in the documentation and/or other materials provided with the |
| 125 | // distribution. |
| 126 | // * Neither the name of Google Inc. nor the names of its |
| 127 | // contributors may be used to endorse or promote products derived from |
| 128 | // this software without specific prior written permission. |
| 129 | // |
| 130 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 131 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 132 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 133 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 134 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 135 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 136 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 137 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 138 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 139 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 140 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 141 | |
| 142 | Notice that the following BSD-style license applies to the Valgrind header |
| 143 | files used by Chromium (valgrind.h and memcheck.h). However, the rest of |
| 144 | Valgrind is licensed under the terms of the GNU General Public License, |
| 145 | version 2, unless otherwise indicated. |
| 146 | |
| 147 | ---------------------------------------------------------------- |
| 148 | |
| 149 | Copyright (C) 2000-2008 Julian Seward. All rights reserved. |
| 150 | |
| 151 | Redistribution and use in source and binary forms, with or without |
| 152 | modification, are permitted provided that the following conditions |
| 153 | are met: |
| 154 | |
| 155 | 1. Redistributions of source code must retain the above copyright |
| 156 | notice, this list of conditions and the following disclaimer. |
| 157 | |
| 158 | 2. The origin of this software must not be misrepresented; you must |
| 159 | not claim that you wrote the original software. If you use this |
| 160 | software in a product, an acknowledgment in the product |
| 161 | documentation would be appreciated but is not required. |
| 162 | |
| 163 | 3. Altered source versions must be plainly marked as such, and must |
| 164 | not be misrepresented as being the original software. |
| 165 | |
| 166 | 4. The name of the author may not be used to endorse or promote |
| 167 | products derived from this software without specific prior written |
| 168 | permission. |
| 169 | |
| 170 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS |
| 171 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 172 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 173 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
| 174 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 175 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
| 176 | GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 177 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 178 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 179 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 180 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 181 | |
| 182 | Copyright (c) 2007 Red Hat, inc |
| 183 | |
| 184 | Permission is hereby granted, free of charge, to any person |
| 185 | obtaining a copy of this software and associated documentation files |
| 186 | (the "Software"), to deal in the Software without restriction, |
| 187 | including without limitation the rights to use, copy, modify, merge, |
| 188 | publish, distribute, sublicense, and/or sell copies of the Software, |
| 189 | and to permit persons to whom the Software is furnished to do so, |
| 190 | subject to the following conditions: |
| 191 | |
| 192 | The above copyright notice and this permission notice shall be |
| 193 | included in all copies or substantial portions of the Software. |
| 194 | |
| 195 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 196 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 197 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 198 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS |
| 199 | BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
| 200 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 201 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 202 | SOFTWARE. |
| 203 | |
| 204 | Copyright 2003-2005 Colin Percival |
| 205 | All rights reserved |
| 206 | |
| 207 | Redistribution and use in source and binary forms, with or without |
| 208 | modification, are permitted providing that the following conditions |
| 209 | are met: |
| 210 | 1. Redistributions of source code must retain the above copyright |
| 211 | notice, this list of conditions and the following disclaimer. |
| 212 | 2. Redistributions in binary form must reproduce the above copyright |
| 213 | notice, this list of conditions and the following disclaimer in the |
| 214 | documentation and/or other materials provided with the distribution. |
| 215 | |
| 216 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 217 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 218 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 219 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
| 220 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 221 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 222 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 223 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
| 224 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
| 225 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 226 | POSSIBILITY OF SUCH DAMAGE. |
| 227 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 228 | |
| 229 | Apache License |
| 230 | Version 2.0, January 2004 |
| 231 | http://www.apache.org/licenses/ |
| 232 | |
| 233 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 234 | |
| 235 | 1. Definitions. |
| 236 | |
| 237 | "License" shall mean the terms and conditions for use, reproduction, |
| 238 | and distribution as defined by Sections 1 through 9 of this document. |
| 239 | |
| 240 | "Licensor" shall mean the copyright owner or entity authorized by |
| 241 | the copyright owner that is granting the License. |
| 242 | |
| 243 | "Legal Entity" shall mean the union of the acting entity and all |
| 244 | other entities that control, are controlled by, or are under common |
| 245 | control with that entity. For the purposes of this definition, |
| 246 | "control" means (i) the power, direct or indirect, to cause the |
| 247 | direction or management of such entity, whether by contract or |
| 248 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 249 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 250 | |
| 251 | "You" (or "Your") shall mean an individual or Legal Entity |
| 252 | exercising permissions granted by this License. |
| 253 | |
| 254 | "Source" form shall mean the preferred form for making modifications, |
| 255 | including but not limited to software source code, documentation |
| 256 | source, and configuration files. |
| 257 | |
| 258 | "Object" form shall mean any form resulting from mechanical |
| 259 | transformation or translation of a Source form, including but |
| 260 | not limited to compiled object code, generated documentation, |
| 261 | and conversions to other media types. |
| 262 | |
| 263 | "Work" shall mean the work of authorship, whether in Source or |
| 264 | Object form, made available under the License, as indicated by a |
| 265 | copyright notice that is included in or attached to the work |
| 266 | (an example is provided in the Appendix below). |
| 267 | |
| 268 | "Derivative Works" shall mean any work, whether in Source or Object |
| 269 | form, that is based on (or derived from) the Work and for which the |
| 270 | editorial revisions, annotations, elaborations, or other modifications |
| 271 | represent, as a whole, an original work of authorship. For the purposes |
| 272 | of this License, Derivative Works shall not include works that remain |
| 273 | separable from, or merely link (or bind by name) to the interfaces of, |
| 274 | the Work and Derivative Works thereof. |
| 275 | |
| 276 | "Contribution" shall mean any work of authorship, including |
| 277 | the original version of the Work and any modifications or additions |
| 278 | to that Work or Derivative Works thereof, that is intentionally |
| 279 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 280 | or by an individual or Legal Entity authorized to submit on behalf of |
| 281 | the copyright owner. For the purposes of this definition, "submitted" |
| 282 | means any form of electronic, verbal, or written communication sent |
| 283 | to the Licensor or its representatives, including but not limited to |
| 284 | communication on electronic mailing lists, source code control systems, |
| 285 | and issue tracking systems that are managed by, or on behalf of, the |
| 286 | Licensor for the purpose of discussing and improving the Work, but |
| 287 | excluding communication that is conspicuously marked or otherwise |
| 288 | designated in writing by the copyright owner as "Not a Contribution." |
| 289 | |
| 290 | "Contributor" shall mean Licensor and any individual or Legal Entity |
| 291 | on behalf of whom a Contribution has been received by Licensor and |
| 292 | subsequently incorporated within the Work. |
| 293 | |
| 294 | 2. Grant of Copyright License. Subject to the terms and conditions of |
| 295 | this License, each Contributor hereby grants to You a perpetual, |
| 296 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 297 | copyright license to reproduce, prepare Derivative Works of, |
| 298 | publicly display, publicly perform, sublicense, and distribute the |
| 299 | Work and such Derivative Works in Source or Object form. |
| 300 | |
| 301 | 3. Grant of Patent License. Subject to the terms and conditions of |
| 302 | this License, each Contributor hereby grants to You a perpetual, |
| 303 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 304 | (except as stated in this section) patent license to make, have made, |
| 305 | use, offer to sell, sell, import, and otherwise transfer the Work, |
| 306 | where such license applies only to those patent claims licensable |
| 307 | by such Contributor that are necessarily infringed by their |
| 308 | Contribution(s) alone or by combination of their Contribution(s) |
| 309 | with the Work to which such Contribution(s) was submitted. If You |
| 310 | institute patent litigation against any entity (including a |
| 311 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 312 | or a Contribution incorporated within the Work constitutes direct |
| 313 | or contributory patent infringement, then any patent licenses |
| 314 | granted to You under this License for that Work shall terminate |
| 315 | as of the date such litigation is filed. |
| 316 | |
| 317 | 4. Redistribution. You may reproduce and distribute copies of the |
| 318 | Work or Derivative Works thereof in any medium, with or without |
| 319 | modifications, and in Source or Object form, provided that You |
| 320 | meet the following conditions: |
| 321 | |
| 322 | (a) You must give any other recipients of the Work or |
| 323 | Derivative Works a copy of this License; and |
| 324 | |
| 325 | (b) You must cause any modified files to carry prominent notices |
| 326 | stating that You changed the files; and |
| 327 | |
| 328 | (c) You must retain, in the Source form of any Derivative Works |
| 329 | that You distribute, all copyright, patent, trademark, and |
| 330 | attribution notices from the Source form of the Work, |
| 331 | excluding those notices that do not pertain to any part of |
| 332 | the Derivative Works; and |
| 333 | |
| 334 | (d) If the Work includes a "NOTICE" text file as part of its |
| 335 | distribution, then any Derivative Works that You distribute must |
| 336 | include a readable copy of the attribution notices contained |
| 337 | within such NOTICE file, excluding those notices that do not |
| 338 | pertain to any part of the Derivative Works, in at least one |
| 339 | of the following places: within a NOTICE text file distributed |
| 340 | as part of the Derivative Works; within the Source form or |
| 341 | documentation, if provided along with the Derivative Works; or, |
| 342 | within a display generated by the Derivative Works, if and |
| 343 | wherever such third-party notices normally appear. The contents |
| 344 | of the NOTICE file are for informational purposes only and |
| 345 | do not modify the License. You may add Your own attribution |
| 346 | notices within Derivative Works that You distribute, alongside |
| 347 | or as an addendum to the NOTICE text from the Work, provided |
| 348 | that such additional attribution notices cannot be construed |
| 349 | as modifying the License. |
| 350 | |
| 351 | You may add Your own copyright statement to Your modifications and |
| 352 | may provide additional or different license terms and conditions |
| 353 | for use, reproduction, or distribution of Your modifications, or |
| 354 | for any such Derivative Works as a whole, provided Your use, |
| 355 | reproduction, and distribution of the Work otherwise complies with |
| 356 | the conditions stated in this License. |
| 357 | |
| 358 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
| 359 | any Contribution intentionally submitted for inclusion in the Work |
| 360 | by You to the Licensor shall be under the terms and conditions of |
| 361 | this License, without any additional terms or conditions. |
| 362 | Notwithstanding the above, nothing herein shall supersede or modify |
| 363 | the terms of any separate license agreement you may have executed |
| 364 | with Licensor regarding such Contributions. |
| 365 | |
| 366 | 6. Trademarks. This License does not grant permission to use the trade |
| 367 | names, trademarks, service marks, or product names of the Licensor, |
| 368 | except as required for reasonable and customary use in describing the |
| 369 | origin of the Work and reproducing the content of the NOTICE file. |
| 370 | |
| 371 | 7. Disclaimer of Warranty. Unless required by applicable law or |
| 372 | agreed to in writing, Licensor provides the Work (and each |
| 373 | Contributor provides its Contributions) on an "AS IS" BASIS, |
| 374 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 375 | implied, including, without limitation, any warranties or conditions |
| 376 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
| 377 | PARTICULAR PURPOSE. You are solely responsible for determining the |
| 378 | appropriateness of using or redistributing the Work and assume any |
| 379 | risks associated with Your exercise of permissions under this License. |
| 380 | |
| 381 | 8. Limitation of Liability. In no event and under no legal theory, |
| 382 | whether in tort (including negligence), contract, or otherwise, |
| 383 | unless required by applicable law (such as deliberate and grossly |
| 384 | negligent acts) or agreed to in writing, shall any Contributor be |
| 385 | liable to You for damages, including any direct, indirect, special, |
| 386 | incidental, or consequential damages of any character arising as a |
| 387 | result of this License or out of the use or inability to use the |
| 388 | Work (including but not limited to damages for loss of goodwill, |
| 389 | work stoppage, computer failure or malfunction, or any and all |
| 390 | other commercial damages or losses), even if such Contributor |
| 391 | has been advised of the possibility of such damages. |
| 392 | |
| 393 | 9. Accepting Warranty or Additional Liability. While redistributing |
| 394 | the Work or Derivative Works thereof, You may choose to offer, |
| 395 | and charge a fee for, acceptance of support, warranty, indemnity, |
| 396 | or other liability obligations and/or rights consistent with this |
| 397 | License. However, in accepting such obligations, You may act only |
| 398 | on Your own behalf and on Your sole responsibility, not on behalf |
| 399 | of any other Contributor, and only if You agree to indemnify, |
| 400 | defend, and hold each Contributor harmless for any liability |
| 401 | incurred by, or claims asserted against, such Contributor by reason |
| 402 | of your accepting any such warranty or additional liability. |
| 403 | |
| 404 | END OF TERMS AND CONDITIONS |
| 405 | |
| 406 | APPENDIX: How to apply the Apache License to your work. |
| 407 | |
| 408 | To apply the Apache License to your work, attach the following |
| 409 | boilerplate notice, with the fields enclosed by brackets "[]" |
| 410 | replaced with your own identifying information. (Don't include |
| 411 | the brackets!) The text should be enclosed in the appropriate |
| 412 | comment syntax for the file format. We also recommend that a |
| 413 | file or class name and description of purpose be included on the |
| 414 | same "printed page" as the copyright notice for easier |
| 415 | identification within third-party archives. |
| 416 | |
| 417 | Copyright 2007-2009 Google Inc. |
| 418 | Copyright 2007-2009 WebDriver committers |
| 419 | |
| 420 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 421 | you may not use this file except in compliance with the License. |
| 422 | You may obtain a copy of the License at |
| 423 | |
| 424 | http://www.apache.org/licenses/LICENSE-2.0 |
| 425 | |
| 426 | Unless required by applicable law or agreed to in writing, software |
| 427 | distributed under the License is distributed on an "AS IS" BASIS, |
| 428 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 429 | See the License for the specific language governing permissions and |
| 430 | limitations under the License. |
| 431 | |
| 432 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 433 | Copyright (C) 2009 by Tung Mac. |
| 434 | |
| 435 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 436 | of this software and associated documentation files (the "Software"), to deal |
| 437 | in the Software without restriction, including without limitation the rights |
| 438 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 439 | copies of the Software, and to permit persons to whom the Software is |
| 440 | furnished to do so, subject to the following conditions: |
| 441 | |
| 442 | The above copyright notice and this permission notice shall be included in |
| 443 | all copies or substantial portions of the Software. |
| 444 | |
| 445 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 446 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 447 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 448 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 449 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 450 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 451 | THE SOFTWARE. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 452 | |
| 453 | /* ***** BEGIN LICENSE BLOCK ***** |
| 454 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 455 | * |
| 456 | * The contents of this file are subject to the Mozilla Public License Version |
| 457 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 458 | * the License. You may obtain a copy of the License at |
| 459 | * http://www.mozilla.org/MPL/ |
| 460 | * |
| 461 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 462 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 463 | * for the specific language governing rights and limitations under the |
| 464 | * License. |
| 465 | * |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 466 | * The Original Code is the Netscape security libraries. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 467 | * |
| 468 | * The Initial Developer of the Original Code is |
| 469 | * Netscape Communications Corporation. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 470 | * Portions created by the Initial Developer are Copyright (C) 2000 |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 471 | * the Initial Developer. All Rights Reserved. |
| 472 | * |
| 473 | * Contributor(s): |
| 474 | * |
| 475 | * Alternatively, the contents of this file may be used under the terms of |
| 476 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 477 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 478 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 479 | * of those above. If you wish to allow use of your version of this file only |
| 480 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 481 | * use your version of this file under the terms of the MPL, indicate your |
| 482 | * decision by deleting the provisions above and replace them with the notice |
| 483 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 484 | * the provisions above, a recipient may use your version of this file under |
| 485 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 486 | * |
| 487 | * ***** END LICENSE BLOCK ***** */ |
| 488 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 489 | /* ***** BEGIN LICENSE BLOCK ***** |
| 490 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 491 | * |
| 492 | * The contents of this file are subject to the Mozilla Public License Version |
| 493 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 494 | * the License. You may obtain a copy of the License at |
| 495 | * http://www.mozilla.org/MPL/ |
| 496 | * |
| 497 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 498 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 499 | * for the specific language governing rights and limitations under the |
| 500 | * License. |
| 501 | * |
| 502 | * The Original Code is the Netscape security libraries. |
| 503 | * |
| 504 | * The Initial Developer of the Original Code is |
| 505 | * Netscape Communications Corporation. |
| 506 | * Portions created by the Initial Developer are Copyright (C) 1994-2000 |
| 507 | * the Initial Developer. All Rights Reserved. |
| 508 | * |
| 509 | * Contributor(s): |
| 510 | * |
| 511 | * Alternatively, the contents of this file may be used under the terms of |
| 512 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 513 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 514 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 515 | * of those above. If you wish to allow use of your version of this file only |
| 516 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 517 | * use your version of this file under the terms of the MPL, indicate your |
| 518 | * decision by deleting the provisions above and replace them with the notice |
| 519 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 520 | * the provisions above, a recipient may use your version of this file under |
| 521 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 522 | * |
| 523 | * ***** END LICENSE BLOCK ***** */ |
| 524 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 525 | Name: fancy_urllib |
| 526 | URL: http://googleappengine.googlecode.com/svn/trunk/python/lib/fancy_urllib |
| 527 | License: Apache 2.0 |
| 528 | License File: README.chromium |
| 529 | Security Critical: no |
| 530 | |
| 531 | The fancy_urllib library was obtained from |
| 532 | http://googleappengine.googlecode.com/svn/trunk/python/lib/fancy_urllib/fancy_urllib/__init__.py |
| 533 | under the following license (http://googleappengine.googlecode.com/svn/trunk/python/LICENSE): |
| 534 | |
| 535 | GOOGLE APP ENGINE SDK |
| 536 | ===================== |
| 537 | Copyright 2008 Google Inc. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 538 | All rights reserved. |
| 539 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 540 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 541 | you may not use this file except in compliance with the License. |
| 542 | You may obtain a copy of the License at |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 543 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 544 | http://www.apache.org/licenses/LICENSE-2.0 |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 545 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 546 | Unless required by applicable law or agreed to in writing, software |
| 547 | distributed under the License is distributed on an "AS IS" BASIS, |
| 548 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 549 | See the License for the specific language governing permissions and |
| 550 | limitations under the License. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 551 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 552 | README for newlib-2.0.0 release |
| 553 | (mostly cribbed from the README in the gdb-4.13 release) |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 554 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 555 | This is `newlib', a simple ANSI C library, math library, and collection |
| 556 | of board support packages. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 557 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 558 | The newlib and libgloss subdirectories are a collection of software from |
| 559 | several sources, each wi6h their own copyright and license. See the file |
| 560 | COPYING.NEWLIB for details. The rest of the release tree is under either |
| 561 | the GNU GPL or LGPL licenses. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 562 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 563 | THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR |
| 564 | IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
| 565 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 566 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 567 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 568 | Unpacking and Installation -- quick overview |
| 569 | ========================== |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 570 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 571 | When you unpack the newlib-2.0.0.tar.gz file, you'll find a directory |
| 572 | called `newlib-2.0.0', which contains: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 573 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 574 | COPYING config/ install-sh* mpw-configure |
| 575 | COPYING.LIB config-ml.in libgloss/ mpw-install |
| 576 | COPYING.NEWLIB config.guess* mkinstalldirs* newlib/ |
| 577 | CYGNUS config.sub* move-if-change* symlink-tree* |
| 578 | ChangeLog configure* mpw-README texinfo/ |
| 579 | Makefile.in configure.in mpw-build.in |
| 580 | README etc/ mpw-config.in |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 581 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 582 | To build NEWLIB, you must follow the instructions in the section entitled |
| 583 | "Compiling NEWLIB". |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 584 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 585 | This will configure and build all the libraries and crt0 (if one exists). |
| 586 | If `configure' can't determine your host system type, specify one as its |
| 587 | argument, e.g., sun4 or sun4sol2. NEWLIB is most often used in cross |
| 588 | environments. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 589 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 590 | NOTE THAT YOU MUST HAVE ALREADY BUILT AND INSTALLED GCC and BINUTILS. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 591 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 592 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 593 | More Documentation |
| 594 | ================== |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 595 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 596 | Newlib documentation is available on the net via: |
| 597 | http://sourceware.org/newlib/docs.html |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 598 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 599 | All the documentation for NEWLIB comes as part of the machine-readable |
| 600 | distribution. The documentation is written in Texinfo format, which is |
| 601 | a documentation system that uses a single source file to produce both |
| 602 | on-line information and a printed manual. You can use one of the Info |
| 603 | formatting commands to create the on-line version of the documentation |
| 604 | and TeX (or `texi2roff') to typeset the printed version. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 605 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 606 | If you want to format these Info files yourself, you need one of the |
| 607 | Info formatting programs, such as `texinfo-format-buffer' or `makeinfo'. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 608 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 609 | If you want to typeset and print copies of this manual, you need TeX, |
| 610 | a program to print its DVI output files, and `texinfo.tex', the Texinfo |
| 611 | definitions file. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 612 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 613 | TeX is a typesetting program; it does not print files directly, but |
| 614 | produces output files called DVI files. To print a typeset document, |
| 615 | you need a program to print DVI files. If your system has TeX |
| 616 | installed, chances are it has such a program. The precise command to |
| 617 | use depends on your system; `lpr -d' is common; another (for PostScript |
| 618 | devices) is `dvips'. The DVI print command may require a file name |
| 619 | without any extension or a `.dvi' extension. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 620 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 621 | TeX also requires a macro definitions file called `texinfo.tex'. |
| 622 | This file tells TeX how to typeset a document written in Texinfo |
| 623 | format. On its own, TeX cannot read, much less typeset a Texinfo file. |
| 624 | `texinfo.tex' is distributed with NEWLIB and is located in the |
| 625 | `newlib-VERSION-NUMBER/texinfo' directory. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 626 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 627 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 628 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 629 | Compiling NEWLIB |
| 630 | ================ |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 631 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 632 | To compile NEWLIB, you must build it in a directory separate from |
| 633 | the source directory. If you want to run NEWLIB versions for several host |
| 634 | or target machines, you need a different `newlib' compiled for each combination |
| 635 | of host and target. `configure' is designed to make this easy by allowing |
| 636 | you to generate each configuration in a separate subdirectory. |
| 637 | If your `make' program handles the `VPATH' feature correctly (like GNU `make') |
| 638 | running `make' in each of these directories builds the `newlib' libraries |
| 639 | specified there. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 640 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 641 | To build `newlib' in a specific directory, run `configure' with the |
| 642 | `--srcdir' option to specify where to find the source. (You also need |
| 643 | to specify a path to find `configure' itself from your working |
| 644 | directory. If the path to `configure' would be the same as the |
| 645 | argument to `--srcdir', you can leave out the `--srcdir' option; it |
| 646 | will be assumed.) |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 647 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 648 | For example, with version 2.0.0, you can build NEWLIB in a separate |
| 649 | directory for a Sun 4 cross m68k-aout environment like this: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 650 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 651 | cd newlib-2.0.0 |
| 652 | mkdir ../newlib-m68k-aout |
| 653 | cd ../newlib-m68k-aout |
| 654 | ../newlib-2.0.0/configure --host=sun4 --target=m68k-aout |
| 655 | make |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 656 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 657 | When `configure' builds a configuration using a remote source |
| 658 | directory, it creates a tree for the binaries with the same structure |
| 659 | (and using the same names) as the tree under the source directory. In |
| 660 | the example, you'd find the Sun 4 library `libiberty.a' in the |
| 661 | directory `newlib-m68k-aout/libiberty', and NEWLIB itself in |
| 662 | `newlib-m68k-aout/newlib'. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 663 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 664 | When you run `make' to build a program or library, you must run it |
| 665 | in a configured directory--whatever directory you were in when you |
| 666 | called `configure' (or one of its subdirectories). |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 667 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 668 | The `Makefile' that `configure' generates in each source directory |
| 669 | also runs recursively. If you type `make' in a source directory such |
| 670 | as `newlib-2.0.0' (or in a separate configured directory configured with |
| 671 | `--srcdir=PATH/newlib-2.0.0'), you will build all the required libraries. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 672 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 673 | When you have multiple hosts or targets configured in separate |
| 674 | directories, you can run `make' on them in parallel (for example, if |
| 675 | they are NFS-mounted on each of the hosts); they will not interfere |
| 676 | with each other. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 677 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 678 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 679 | Specifying names for hosts and targets |
| 680 | ====================================== |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 681 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 682 | The specifications used for hosts and targets in the `configure' |
| 683 | script are based on a three-part naming scheme, but some short |
| 684 | predefined aliases are also supported. The full naming scheme encodes |
| 685 | three pieces of information in the following pattern: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 686 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 687 | ARCHITECTURE-VENDOR-OS |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 688 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 689 | For example, you can use the alias `sun4' as a HOST argument or in a |
| 690 | `--target=TARGET' option. The equivalent full name is |
| 691 | `sparc-sun-sunos4'. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 692 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 693 | The `configure' script accompanying NEWLIB does not provide any query |
| 694 | facility to list all supported host and target names or aliases. |
| 695 | `configure' calls the Bourne shell script `config.sub' to map |
| 696 | abbreviations to full names; you can read the script, if you wish, or |
| 697 | you can use it to test your guesses on abbreviations--for example: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 698 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 699 | % sh config.sub sun4 |
| 700 | sparc-sun-sunos4.1.1 |
| 701 | % sh config.sub sun3 |
| 702 | m68k-sun-sunos4.1.1 |
| 703 | % sh config.sub decstation |
| 704 | mips-dec-ultrix4.2 |
| 705 | % sh config.sub hp300bsd |
| 706 | m68k-hp-bsd |
| 707 | % sh config.sub i386v |
| 708 | i386-pc-sysv |
| 709 | % sh config.sub i786v |
| 710 | Invalid configuration `i786v': machine `i786v' not recognized |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 711 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 712 | The Build, Host and Target Concepts in newlib |
| 713 | ============================================= |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 714 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 715 | The build, host and target concepts are defined for gcc as follows: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 716 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 717 | build: the platform on which gcc is built. |
| 718 | host: the platform on which gcc is run. |
| 719 | target: the platform for which gcc generates code. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 720 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 721 | Since newlib is a library, the target concept does not apply to it, and the |
| 722 | build, host, and target options given to the top-level configure script must |
| 723 | be changed for newlib's use. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 724 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 725 | The options are shifted according to these correspondences: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 726 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 727 | gcc's build platform has no equivalent in newlib. |
| 728 | gcc's host platform is newlib's build platform. |
| 729 | gcc's target platform is newlib's host platform. |
| 730 | and as mentioned before, newlib has no concept of target. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 731 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 732 | `configure' options |
| 733 | =================== |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 734 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 735 | Here is a summary of the `configure' options and arguments that are |
| 736 | most often useful for building NEWLIB. `configure' also has several other |
| 737 | options not listed here. |
| 738 | |
| 739 | configure [--help] |
| 740 | [--prefix=DIR] |
| 741 | [--srcdir=PATH] |
| 742 | [--target=TARGET] HOST |
| 743 | |
| 744 | You may introduce options with a single `-' rather than `--' if you |
| 745 | prefer; but you may abbreviate option names if you use `--'. |
| 746 | |
| 747 | `--help' |
| 748 | Display a quick summary of how to invoke `configure'. |
| 749 | |
| 750 | `--prefix=DIR' |
| 751 | Configure the source to install programs and files in directory |
| 752 | `DIR'. |
| 753 | |
| 754 | `--exec-prefix=DIR' |
| 755 | Configure the source to install host-dependent files in directory |
| 756 | `DIR'. |
| 757 | |
| 758 | `--srcdir=PATH' |
| 759 | *Warning: using this option requires GNU `make', or another `make' |
| 760 | that compatibly implements the `VPATH' feature. |
| 761 | Use this option to make configurations in directories separate |
| 762 | from the NEWLIB source directories. Among other things, you can use |
| 763 | this to build (or maintain) several configurations simultaneously, |
| 764 | in separate directories. `configure' writes configuration |
| 765 | specific files in the current directory, but arranges for them to |
| 766 | use the source in the directory PATH. `configure' will create |
| 767 | directories under the working directory in parallel to the source |
| 768 | directories below PATH. |
| 769 | |
| 770 | `--norecursion' |
| 771 | Configure only the directory level where `configure' is executed; |
| 772 | do not propagate configuration to subdirectories. |
| 773 | |
| 774 | `--target=TARGET' |
| 775 | Configure NEWLIB for running on the specified TARGET. |
| 776 | |
| 777 | There is no convenient way to generate a list of all available |
| 778 | targets. |
| 779 | |
| 780 | `HOST ...' |
| 781 | Configure NEWLIB to be built using a cross compiler running on |
| 782 | the specified HOST. |
| 783 | |
| 784 | There is no convenient way to generate a list of all available |
| 785 | hosts. |
| 786 | |
| 787 | To fit diverse usage models, NEWLIB supports a group of configuration |
| 788 | options so that library features can be turned on/off according to |
| 789 | target system's requirements. |
| 790 | |
| 791 | One feature can be enabled by specifying `--enable-FEATURE=yes' or |
| 792 | `--enable-FEATURE'. Or it can be disable by `--enable-FEATURE=no' or |
| 793 | `--disable-FEATURE'. |
| 794 | |
| 795 | `--enable-newlib-io-pos-args' |
| 796 | Enable printf-family positional arg support. |
| 797 | Disabled by default, but some hosts enable it in configure.host. |
| 798 | |
| 799 | `--enable-newlib-io-c99-formats' |
| 800 | Enable C99 support in IO functions like printf/scanf. |
| 801 | Disabled by default, but some hosts enable it in configure.host. |
| 802 | |
| 803 | `--enable-newlib-register-fini' |
| 804 | Enable finalization function registration using atexit. |
| 805 | Disabled by default. |
| 806 | |
| 807 | `--enable-newlib-io-long-long' |
| 808 | Enable long long type support in IO functions like printf/scanf. |
| 809 | Disabled by default, but many hosts enable it in configure.host. |
| 810 | |
| 811 | `--enable-newlib-io-long-double' |
| 812 | Enable long double type support in IO functions printf/scanf. |
| 813 | Disabled by default, but some hosts enable it in configure.host. |
| 814 | |
| 815 | `--enable-newlib-mb' |
| 816 | Enable multibyte support. |
| 817 | Disabled by default. |
| 818 | |
| 819 | `--enable-newlib-iconv-encodings' |
| 820 | Enable specific comma-separated list of bidirectional iconv |
| 821 | encodings to be built-in. |
| 822 | Disabled by default. |
| 823 | |
| 824 | `--enable-newlib-iconv-from-encodings' |
| 825 | Enable specific comma-separated list of \"from\" iconv encodings |
| 826 | to be built-in. |
| 827 | Disabled by default. |
| 828 | |
| 829 | `--enable-newlib-iconv-to-encodings' |
| 830 | Enable specific comma-separated list of \"to\" iconv encodings |
| 831 | to be built-in. |
| 832 | Disabled by default. |
| 833 | |
| 834 | `--enable-newlib-iconv-external-ccs' |
| 835 | Enable capabilities to load external CCS files for iconv. |
| 836 | Disabled by default. |
| 837 | |
| 838 | `--disable-newlib-atexit-dynamic-alloc' |
| 839 | Disable dynamic allocation of atexit entries. |
| 840 | Most hosts and targets have it enabled in configure.host. |
| 841 | |
| 842 | `--enable-newlib-reent-small' |
| 843 | Enable small reentrant struct support. |
| 844 | Disabled by default. |
| 845 | |
| 846 | `--disable-newlib-fvwrite-in-streamio' |
| 847 | NEWLIB implements the vector buffer mechanism to support stream IO |
| 848 | buffering required by C standard. This feature is possibly |
| 849 | unnecessary for embedded systems which won't change file buffering |
| 850 | with functions like `setbuf' or `setvbuf'. The buffering mechanism |
| 851 | still acts as default for STDIN/STDOUT/STDERR even if this option |
| 852 | is specified. |
| 853 | Enabled by default. |
| 854 | |
| 855 | `--disable-newlib-fseek-optimization' |
| 856 | Disable fseek optimization. It can decrease code size of application |
| 857 | calling `fseek`. |
| 858 | Enabled by default. |
| 859 | |
| 860 | `--disable-newlib-wide-orient' |
| 861 | C99 states that each stream has an orientation, wide or byte. This |
| 862 | feature is possibly unnecessary for embedded systems which only do |
| 863 | byte input/output operations on stream. It can decrease code size |
| 864 | by disable the feature. |
| 865 | Enabled by default. |
| 866 | |
| 867 | `--enable-newlib-nano-malloc' |
| 868 | NEWLIB has two implementations of malloc family's functions, one in |
| 869 | `mallocr.c' and the other one in `nano-mallocr.c'. This options |
| 870 | enables the nano-malloc implementation, which is for small systems |
| 871 | with very limited memory. Note that this implementation does not |
| 872 | support `--enable-malloc-debugging' any more. |
| 873 | Disabled by default. |
| 874 | |
| 875 | `--disable-newlib-unbuf-stream-opt' |
| 876 | NEWLIB does optimization when `fprintf to write only unbuffered unix |
| 877 | file'. It creates a temorary buffer to do the optimization that |
| 878 | increases stack consumption by about `BUFSIZ' bytes. This option |
| 879 | disables the optimization and saves size of text and stack. |
| 880 | Enabled by default. |
| 881 | |
| 882 | `--enable-multilib' |
| 883 | Build many library versions. |
| 884 | Enabled by default. |
| 885 | |
| 886 | `--enable-target-optspace' |
| 887 | Optimize for space. |
| 888 | Disabled by default. |
| 889 | |
| 890 | `--enable-malloc-debugging' |
| 891 | Indicate malloc debugging requested. |
| 892 | Disabled by default. |
| 893 | |
| 894 | `--enable-newlib-multithread' |
| 895 | Enable support for multiple threads. |
| 896 | Enabled by default. |
| 897 | |
| 898 | `--enable-newlib-iconv' |
| 899 | Enable iconv library support. |
| 900 | Disabled by default. |
| 901 | |
| 902 | `--enable-newlib-elix-level' |
| 903 | Supply desired elix library level (1-4). Please refer to HOWTO for |
| 904 | more information about this option. |
| 905 | Set to level 0 by default. |
| 906 | |
| 907 | `--disable-newlib-io-float' |
| 908 | Disable printf/scanf family float support. |
| 909 | Enabled by default. |
| 910 | |
| 911 | `--disable-newlib-supplied-syscalls' |
| 912 | Disable newlib from supplying syscalls. |
| 913 | Enabled by default. |
| 914 | |
| 915 | `--enable-lite-exit' |
| 916 | Enable lite exit, a size-reduced implementation of exit that doesn't |
| 917 | invoke clean-up functions such as _fini or global destructors. |
| 918 | Disabled by default. |
| 919 | |
| 920 | Running the Testsuite |
| 921 | ===================== |
| 922 | |
| 923 | To run newlib's testsuite, you'll need a site.exp in your home |
| 924 | directory which points dejagnu to the proper baseboards directory and |
| 925 | the proper exp file for your target. |
| 926 | |
| 927 | Before running make check-target-newlib, set the DEJAGNU environment |
| 928 | variable to point to ~/site.exp. |
| 929 | |
| 930 | Here is a sample site.exp: |
| 931 | |
| 932 | # Make sure we look in the right place for the board description files. |
| 933 | if ![info exists boards_dir] { |
| 934 | set boards_dir {} |
| 935 | } |
| 936 | lappend boards_dir "your dejagnu/baseboards here" |
| 937 | |
| 938 | verbose "Global Config File: target_triplet is $target_triplet" 2 |
| 939 | |
| 940 | global target_list |
| 941 | case "$target_triplet" in { |
| 942 | |
| 943 | { "mips-*elf*" } { |
| 944 | set target_list "mips-sim" |
| 945 | } |
| 946 | |
| 947 | default { |
| 948 | set target_list { "unix" } |
| 949 | } |
| 950 | } |
| 951 | |
| 952 | mips-sim refers to an exp file in the baseboards directory. You'll |
| 953 | need to add the other targets you're testing to the case statement. |
| 954 | |
| 955 | Now type make check-target-newlib in the top-level build directory to |
| 956 | run the testsuite. |
| 957 | |
| 958 | Shared newlib |
| 959 | ============= |
| 960 | |
| 961 | newlib uses libtool when it is being compiled natively (with |
| 962 | --target=i[34567]86-pc-linux-gnu) on an i[34567]86-pc-linux-gnu |
| 963 | host. This allows newlib to be compiled as a shared library. |
| 964 | |
| 965 | To configure newlib, do the following from your build directory: |
| 966 | |
| 967 | $(source_dir)/src/configure --with-newlib --prefix=$(install_dir) |
| 968 | |
| 969 | configure will recognize that host == target == |
| 970 | i[34567]86-pc-linux-gnu, so it will tell newlib to compile itself using |
| 971 | libtool. By default, libtool will build shared and static versions of |
| 972 | newlib. |
| 973 | |
| 974 | To compile a program against shared newlib, do the following (where |
| 975 | target_install_dir = $(install_dir)/i[34567]86-pc-linux-gnu): |
| 976 | |
| 977 | gcc -nostdlib $(target_install_dir)/lib/crt0.o progname.c -I $(target_install_dir)/include -L $(target_install_dir)/lib -lc -lm -lgcc |
| 978 | |
| 979 | To run the program, make sure that $(target_install_dir)/lib is listed |
| 980 | in the LD_LIBRARY_PATH environment variable. |
| 981 | |
| 982 | To create a static binary linked against newlib, do the following: |
| 983 | |
| 984 | gcc -nostdlib -static $(target_install_dir)/lib/crt0.o progname.c -I $(target_install_dir)/include -L $(target_install_dir)/lib -lc -lm |
| 985 | |
| 986 | libtool can be instructed to produce only static libraries. To build |
| 987 | newlib as a static library only, do the following from your build |
| 988 | directory: |
| 989 | |
| 990 | $(source_dir)/src/configure --with-newlib --prefix=$(install_dir) --disable-shared |
| 991 | |
| 992 | Regenerating Configuration Files |
| 993 | ================================ |
| 994 | |
| 995 | At times you will need to make changes to configure.in and Makefile.am files. |
| 996 | This will mean that configure and Makefile.in files will need to be |
| 997 | regenerated. |
| 998 | |
| 999 | At the top level of newlib is the file: acinclude.m4. This file contains |
| 1000 | the definition of the NEWLIB_CONFIGURE macro which is used by all configure.in |
| 1001 | files in newlib. You will notice that each directory in newlib containing |
| 1002 | a configure.in file also contains an aclocal.m4 file. This file is |
| 1003 | generated by issuing: aclocal -I${relative_path_to_toplevel_newlib_dir} |
| 1004 | -I${relative_path_to_toplevel_src_dir} |
| 1005 | The first relative directory is to access acinclude.m4. The second relative |
| 1006 | directory is to access libtool information in the top-level src directory. |
| 1007 | |
| 1008 | For example, to regenerate aclocal.m4 in newlib/libc/machine/arm: |
| 1009 | |
| 1010 | aclocal -I ../../.. -I ../../../.. |
| 1011 | |
| 1012 | Note that if the top level acinclude.m4 is altered, every aclocal.m4 file |
| 1013 | in newlib should be regenerated. |
| 1014 | |
| 1015 | If the aclocal.m4 file is regenerated due to a change in acinclude.m4 or |
| 1016 | if a configure.in file is modified, the corresponding configure file in the |
| 1017 | directory must be regenerated using autoconf. No parameters are necessary. |
| 1018 | In the previous example, we would issue: |
| 1019 | |
| 1020 | autoconf |
| 1021 | |
| 1022 | from the newlib/libc/machine/arm directory. |
| 1023 | |
| 1024 | If you have regenerated a configure file or if you have modified a Makefile.am |
| 1025 | file, you will need to regenerate the appropriate Makefile.in file(s). |
| 1026 | For newlib, automake is a bit trickier. First of all, all Makefile.in |
| 1027 | files in newlib (and libgloss) are generated using the --cygnus option |
| 1028 | of automake. |
| 1029 | |
| 1030 | Makefile.in files are generated from the nearest directory up the chain |
| 1031 | which contains a configure.in file. In most cases, this is the same |
| 1032 | directory containing configure.in, but there are exceptions. |
| 1033 | For example, the newlib/libc directory has a number of |
| 1034 | subdirectories that do not contain their own configure.in files (e.g. stdio). |
| 1035 | For these directories, you must issue the automake command from newlib/libc |
| 1036 | which is the nearest parent directory that contains a configure.in. |
| 1037 | When you issue the automake command, you specify the subdirectory for |
| 1038 | the Makefile.in you are regenerating. For example: |
| 1039 | |
| 1040 | automake --cygnus stdio/Makefile stdlib/Makefile |
| 1041 | |
| 1042 | Note how multiple Makefile.in files can be created in the same step. You |
| 1043 | would not specify machine/Makefile or sys/Makefile in the previous example |
| 1044 | because both of these subdirectories contain their own configure.in files. |
| 1045 | One would change to each of these subdirectories and in turn issue: |
| 1046 | |
| 1047 | automake --cygnus Makefile |
| 1048 | |
| 1049 | Let's say you create a new machine directory XXXX off of newlib/libc/machine. |
| 1050 | After creating a new configure.in and Makefile.am file, you would issue: |
| 1051 | |
| 1052 | aclocal -I ../../.. |
| 1053 | autoconf |
| 1054 | automake --cygnus Makefile |
| 1055 | |
| 1056 | from newlib/libc/machine/XXXX |
| 1057 | |
| 1058 | It is strongly advised that you use an adequate version of autotools. |
| 1059 | For this latest release, the following were used: autoconf 2.68, aclocal 1.11.6, and |
| 1060 | automake 1.11.6. |
| 1061 | |
| 1062 | Reporting Bugs |
| 1063 | ============== |
| 1064 | |
| 1065 | The correct address for reporting bugs found in NEWLIB is |
| 1066 | "newlib@sourceware.org". Please email all bug reports to that |
| 1067 | address. Please include the NEWLIB version number (e.g., newlib-2.0.0), |
| 1068 | and how you configured it (e.g., "sun4 host and m68k-aout target"). |
| 1069 | Since NEWLIB supports many different configurations, it is important |
| 1070 | that you be precise about this. |
| 1071 | |
| 1072 | Archives of the newlib mailing list are on-line, see |
| 1073 | http://sourceware.org/ml/newlib/ |
| 1074 | |
| 1075 | pthreads-win32 - a POSIX threads library for Microsoft Windows |
| 1076 | |
| 1077 | |
| 1078 | This file is Copyrighted |
| 1079 | ------------------------ |
| 1080 | |
| 1081 | This file is covered under the following Copyright: |
| 1082 | |
| 1083 | Copyright (C) 2001,2006 Ross P. Johnson |
| 1084 | All rights reserved. |
| 1085 | |
| 1086 | Everyone is permitted to copy and distribute verbatim copies |
| 1087 | of this license document, but changing it is not allowed. |
| 1088 | |
| 1089 | Pthreads-win32 is covered by the GNU Lesser General Public License |
| 1090 | ------------------------------------------------------------------ |
| 1091 | |
| 1092 | Pthreads-win32 is open software; you can redistribute it and/or |
| 1093 | modify it under the terms of the GNU Lesser General Public License |
| 1094 | as published by the Free Software Foundation version 2.1 of the |
| 1095 | License. |
| 1096 | |
| 1097 | Pthreads-win32 is several binary link libraries, several modules, |
| 1098 | associated interface definition files and scripts used to control |
| 1099 | its compilation and installation. |
| 1100 | |
| 1101 | Pthreads-win32 is distributed in the hope that it will be useful, |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1102 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1103 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1104 | GNU Lesser General Public License for more details. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1105 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1106 | A copy of the GNU Lesser General Public License is distributed with |
| 1107 | pthreads-win32 under the filename: |
| 1108 | |
| 1109 | COPYING.LIB |
| 1110 | |
| 1111 | You should have received a copy of the version 2.1 GNU Lesser General |
| 1112 | Public License with pthreads-win32; if not, write to: |
| 1113 | |
| 1114 | Free Software Foundation, Inc. |
| 1115 | 59 Temple Place |
| 1116 | Suite 330 |
| 1117 | Boston, MA 02111-1307 |
| 1118 | USA |
| 1119 | |
| 1120 | The contact addresses for pthreads-win32 is as follows: |
| 1121 | |
| 1122 | Web: http://sources.redhat.com/pthreads-win32 |
| 1123 | Email: Ross Johnson |
| 1124 | Please use: Firstname.Lastname@homemail.com.au |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 1125 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1126 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1127 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1128 | Pthreads-win32 copyrights and exception files |
| 1129 | --------------------------------------------- |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1130 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1131 | With the exception of the files listed below, Pthreads-win32 |
| 1132 | is covered under the following GNU Lesser General Public License |
| 1133 | Copyrights: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1134 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1135 | Pthreads-win32 - POSIX Threads Library for Win32 |
| 1136 | Copyright(C) 1998 John E. Bossom |
| 1137 | Copyright(C) 1999,2006 Pthreads-win32 contributors |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1138 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1139 | The current list of contributors is contained |
| 1140 | in the file CONTRIBUTORS included with the source |
| 1141 | code distribution. The current list of CONTRIBUTORS |
| 1142 | can also be seen at the following WWW location: |
| 1143 | http://sources.redhat.com/pthreads-win32/contributors.html |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1144 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1145 | Contact Email: Ross Johnson |
| 1146 | Please use: Firstname.Lastname@homemail.com.au |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1147 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1148 | These files are not covered under one of the Copyrights listed above: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1149 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1150 | COPYING |
| 1151 | COPYING.LIB |
| 1152 | tests/rwlock7.c |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1153 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1154 | This file, COPYING, is distributed under the Copyright found at the |
| 1155 | top of this file. It is important to note that you may distribute |
| 1156 | verbatim copies of this file but you may not modify this file. |
| 1157 | |
| 1158 | The file COPYING.LIB, which contains a copy of the version 2.1 |
| 1159 | GNU Lesser General Public License, is itself copyrighted by the |
| 1160 | Free Software Foundation, Inc. Please note that the Free Software |
| 1161 | Foundation, Inc. does NOT have a copyright over Pthreads-win32, |
| 1162 | only the COPYING.LIB that is supplied with pthreads-win32. |
| 1163 | |
| 1164 | The file tests/rwlock7.c is derived from code written by |
| 1165 | Dave Butenhof for his book 'Programming With POSIX(R) Threads'. |
| 1166 | The original code was obtained by free download from his website |
| 1167 | http://home.earthlink.net/~anneart/family/Threads/source.html |
| 1168 | and did not contain a copyright or author notice. It is assumed to |
| 1169 | be freely distributable. |
| 1170 | |
| 1171 | In all cases one may use and distribute these exception files freely. |
| 1172 | And because one may freely distribute the LGPL covered files, the |
| 1173 | entire pthreads-win32 source may be freely used and distributed. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1174 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1175 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 1176 | |
| 1177 | General Copyleft and License info |
| 1178 | --------------------------------- |
| 1179 | |
| 1180 | For general information on Copylefts, see: |
| 1181 | |
| 1182 | http://www.gnu.org/copyleft/ |
| 1183 | |
| 1184 | For information on GNU Lesser General Public Licenses, see: |
| 1185 | |
| 1186 | http://www.gnu.org/copyleft/lesser.html |
| 1187 | http://www.gnu.org/copyleft/lesser.txt |
| 1188 | |
| 1189 | |
| 1190 | Why pthreads-win32 did not use the GNU General Public License |
| 1191 | ------------------------------------------------------------- |
| 1192 | |
| 1193 | The goal of the pthreads-win32 project has been to |
| 1194 | provide a quality and complete implementation of the POSIX |
| 1195 | threads API for Microsoft Windows within the limits imposed |
| 1196 | by virtue of it being a stand-alone library and not |
| 1197 | linked directly to other POSIX compliant libraries. For |
| 1198 | example, some functions and features, such as those based |
| 1199 | on POSIX signals, are missing. |
| 1200 | |
| 1201 | Pthreads-win32 is a library, available in several different |
| 1202 | versions depending on supported compilers, and may be used |
| 1203 | as a dynamically linked module or a statically linked set of |
| 1204 | binary modules. It is not an application on it's own. |
| 1205 | |
| 1206 | It was fully intended that pthreads-win32 be usable with |
| 1207 | commercial software not covered by either the GPL or the LGPL |
| 1208 | licenses. Pthreads-win32 has many contributors to it's |
| 1209 | code base, many of whom have done so because they have |
| 1210 | used the library in commercial or proprietry software |
| 1211 | projects. |
| 1212 | |
| 1213 | Releasing pthreads-win32 under the LGPL ensures that the |
| 1214 | library can be used widely, while at the same time ensures |
| 1215 | that bug fixes and improvements to the pthreads-win32 code |
| 1216 | itself is returned to benefit all current and future users |
| 1217 | of the library. |
| 1218 | |
| 1219 | Although pthreads-win32 makes it possible for applications |
| 1220 | that use POSIX threads to be ported to Win32 platforms, the |
| 1221 | broader goal of the project is to encourage the use of open |
| 1222 | standards, and in particular, to make it just a little easier |
| 1223 | for developers writing Win32 applications to consider |
| 1224 | widening the potential market for their products. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1225 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1226 | |
| 1227 | Apache License |
| 1228 | Version 2.0, January 2004 |
| 1229 | http://www.apache.org/licenses/ |
| 1230 | |
| 1231 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 1232 | |
| 1233 | 1. Definitions. |
| 1234 | |
| 1235 | "License" shall mean the terms and conditions for use, reproduction, |
| 1236 | and distribution as defined by Sections 1 through 9 of this document. |
| 1237 | |
| 1238 | "Licensor" shall mean the copyright owner or entity authorized by |
| 1239 | the copyright owner that is granting the License. |
| 1240 | |
| 1241 | "Legal Entity" shall mean the union of the acting entity and all |
| 1242 | other entities that control, are controlled by, or are under common |
| 1243 | control with that entity. For the purposes of this definition, |
| 1244 | "control" means (i) the power, direct or indirect, to cause the |
| 1245 | direction or management of such entity, whether by contract or |
| 1246 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 1247 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 1248 | |
| 1249 | "You" (or "Your") shall mean an individual or Legal Entity |
| 1250 | exercising permissions granted by this License. |
| 1251 | |
| 1252 | "Source" form shall mean the preferred form for making modifications, |
| 1253 | including but not limited to software source code, documentation |
| 1254 | source, and configuration files. |
| 1255 | |
| 1256 | "Object" form shall mean any form resulting from mechanical |
| 1257 | transformation or translation of a Source form, including but |
| 1258 | not limited to compiled object code, generated documentation, |
| 1259 | and conversions to other media types. |
| 1260 | |
| 1261 | "Work" shall mean the work of authorship, whether in Source or |
| 1262 | Object form, made available under the License, as indicated by a |
| 1263 | copyright notice that is included in or attached to the work |
| 1264 | (an example is provided in the Appendix below). |
| 1265 | |
| 1266 | "Derivative Works" shall mean any work, whether in Source or Object |
| 1267 | form, that is based on (or derived from) the Work and for which the |
| 1268 | editorial revisions, annotations, elaborations, or other modifications |
| 1269 | represent, as a whole, an original work of authorship. For the purposes |
| 1270 | of this License, Derivative Works shall not include works that remain |
| 1271 | separable from, or merely link (or bind by name) to the interfaces of, |
| 1272 | the Work and Derivative Works thereof. |
| 1273 | |
| 1274 | "Contribution" shall mean any work of authorship, including |
| 1275 | the original version of the Work and any modifications or additions |
| 1276 | to that Work or Derivative Works thereof, that is intentionally |
| 1277 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 1278 | or by an individual or Legal Entity authorized to submit on behalf of |
| 1279 | the copyright owner. For the purposes of this definition, "submitted" |
| 1280 | means any form of electronic, verbal, or written communication sent |
| 1281 | to the Licensor or its representatives, including but not limited to |
| 1282 | communication on electronic mailing lists, source code control systems, |
| 1283 | and issue tracking systems that are managed by, or on behalf of, the |
| 1284 | Licensor for the purpose of discussing and improving the Work, but |
| 1285 | excluding communication that is conspicuously marked or otherwise |
| 1286 | designated in writing by the copyright owner as "Not a Contribution." |
| 1287 | |
| 1288 | "Contributor" shall mean Licensor and any individual or Legal Entity |
| 1289 | on behalf of whom a Contribution has been received by Licensor and |
| 1290 | subsequently incorporated within the Work. |
| 1291 | |
| 1292 | 2. Grant of Copyright License. Subject to the terms and conditions of |
| 1293 | this License, each Contributor hereby grants to You a perpetual, |
| 1294 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 1295 | copyright license to reproduce, prepare Derivative Works of, |
| 1296 | publicly display, publicly perform, sublicense, and distribute the |
| 1297 | Work and such Derivative Works in Source or Object form. |
| 1298 | |
| 1299 | 3. Grant of Patent License. Subject to the terms and conditions of |
| 1300 | this License, each Contributor hereby grants to You a perpetual, |
| 1301 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 1302 | (except as stated in this section) patent license to make, have made, |
| 1303 | use, offer to sell, sell, import, and otherwise transfer the Work, |
| 1304 | where such license applies only to those patent claims licensable |
| 1305 | by such Contributor that are necessarily infringed by their |
| 1306 | Contribution(s) alone or by combination of their Contribution(s) |
| 1307 | with the Work to which such Contribution(s) was submitted. If You |
| 1308 | institute patent litigation against any entity (including a |
| 1309 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 1310 | or a Contribution incorporated within the Work constitutes direct |
| 1311 | or contributory patent infringement, then any patent licenses |
| 1312 | granted to You under this License for that Work shall terminate |
| 1313 | as of the date such litigation is filed. |
| 1314 | |
| 1315 | 4. Redistribution. You may reproduce and distribute copies of the |
| 1316 | Work or Derivative Works thereof in any medium, with or without |
| 1317 | modifications, and in Source or Object form, provided that You |
| 1318 | meet the following conditions: |
| 1319 | |
| 1320 | (a) You must give any other recipients of the Work or |
| 1321 | Derivative Works a copy of this License; and |
| 1322 | |
| 1323 | (b) You must cause any modified files to carry prominent notices |
| 1324 | stating that You changed the files; and |
| 1325 | |
| 1326 | (c) You must retain, in the Source form of any Derivative Works |
| 1327 | that You distribute, all copyright, patent, trademark, and |
| 1328 | attribution notices from the Source form of the Work, |
| 1329 | excluding those notices that do not pertain to any part of |
| 1330 | the Derivative Works; and |
| 1331 | |
| 1332 | (d) If the Work includes a "NOTICE" text file as part of its |
| 1333 | distribution, then any Derivative Works that You distribute must |
| 1334 | include a readable copy of the attribution notices contained |
| 1335 | within such NOTICE file, excluding those notices that do not |
| 1336 | pertain to any part of the Derivative Works, in at least one |
| 1337 | of the following places: within a NOTICE text file distributed |
| 1338 | as part of the Derivative Works; within the Source form or |
| 1339 | documentation, if provided along with the Derivative Works; or, |
| 1340 | within a display generated by the Derivative Works, if and |
| 1341 | wherever such third-party notices normally appear. The contents |
| 1342 | of the NOTICE file are for informational purposes only and |
| 1343 | do not modify the License. You may add Your own attribution |
| 1344 | notices within Derivative Works that You distribute, alongside |
| 1345 | or as an addendum to the NOTICE text from the Work, provided |
| 1346 | that such additional attribution notices cannot be construed |
| 1347 | as modifying the License. |
| 1348 | |
| 1349 | You may add Your own copyright statement to Your modifications and |
| 1350 | may provide additional or different license terms and conditions |
| 1351 | for use, reproduction, or distribution of Your modifications, or |
| 1352 | for any such Derivative Works as a whole, provided Your use, |
| 1353 | reproduction, and distribution of the Work otherwise complies with |
| 1354 | the conditions stated in this License. |
| 1355 | |
| 1356 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
| 1357 | any Contribution intentionally submitted for inclusion in the Work |
| 1358 | by You to the Licensor shall be under the terms and conditions of |
| 1359 | this License, without any additional terms or conditions. |
| 1360 | Notwithstanding the above, nothing herein shall supersede or modify |
| 1361 | the terms of any separate license agreement you may have executed |
| 1362 | with Licensor regarding such Contributions. |
| 1363 | |
| 1364 | 6. Trademarks. This License does not grant permission to use the trade |
| 1365 | names, trademarks, service marks, or product names of the Licensor, |
| 1366 | except as required for reasonable and customary use in describing the |
| 1367 | origin of the Work and reproducing the content of the NOTICE file. |
| 1368 | |
| 1369 | 7. Disclaimer of Warranty. Unless required by applicable law or |
| 1370 | agreed to in writing, Licensor provides the Work (and each |
| 1371 | Contributor provides its Contributions) on an "AS IS" BASIS, |
| 1372 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 1373 | implied, including, without limitation, any warranties or conditions |
| 1374 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
| 1375 | PARTICULAR PURPOSE. You are solely responsible for determining the |
| 1376 | appropriateness of using or redistributing the Work and assume any |
| 1377 | risks associated with Your exercise of permissions under this License. |
| 1378 | |
| 1379 | 8. Limitation of Liability. In no event and under no legal theory, |
| 1380 | whether in tort (including negligence), contract, or otherwise, |
| 1381 | unless required by applicable law (such as deliberate and grossly |
| 1382 | negligent acts) or agreed to in writing, shall any Contributor be |
| 1383 | liable to You for damages, including any direct, indirect, special, |
| 1384 | incidental, or consequential damages of any character arising as a |
| 1385 | result of this License or out of the use or inability to use the |
| 1386 | Work (including but not limited to damages for loss of goodwill, |
| 1387 | work stoppage, computer failure or malfunction, or any and all |
| 1388 | other commercial damages or losses), even if such Contributor |
| 1389 | has been advised of the possibility of such damages. |
| 1390 | |
| 1391 | 9. Accepting Warranty or Additional Liability. While redistributing |
| 1392 | the Work or Derivative Works thereof, You may choose to offer, |
| 1393 | and charge a fee for, acceptance of support, warranty, indemnity, |
| 1394 | or other liability obligations and/or rights consistent with this |
| 1395 | License. However, in accepting such obligations, You may act only |
| 1396 | on Your own behalf and on Your sole responsibility, not on behalf |
| 1397 | of any other Contributor, and only if You agree to indemnify, |
| 1398 | defend, and hold each Contributor harmless for any liability |
| 1399 | incurred by, or claims asserted against, such Contributor by reason |
| 1400 | of your accepting any such warranty or additional liability. |
| 1401 | |
| 1402 | END OF TERMS AND CONDITIONS |
| 1403 | |
| 1404 | APPENDIX: How to apply the Apache License to your work. |
| 1405 | |
| 1406 | To apply the Apache License to your work, attach the following |
| 1407 | boilerplate notice, with the fields enclosed by brackets "[]" |
| 1408 | replaced with your own identifying information. (Don't include |
| 1409 | the brackets!) The text should be enclosed in the appropriate |
| 1410 | comment syntax for the file format. We also recommend that a |
| 1411 | file or class name and description of purpose be included on the |
| 1412 | same "printed page" as the copyright notice for easier |
| 1413 | identification within third-party archives. |
| 1414 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 1415 | Copyright (c) 2008, Google Inc. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1416 | |
| 1417 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 1418 | you may not use this file except in compliance with the License. |
| 1419 | You may obtain a copy of the License at |
| 1420 | |
| 1421 | http://www.apache.org/licenses/LICENSE-2.0 |
| 1422 | |
| 1423 | Unless required by applicable law or agreed to in writing, software |
| 1424 | distributed under the License is distributed on an "AS IS" BASIS, |
| 1425 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 1426 | See the License for the specific language governing permissions and |
| 1427 | limitations under the License. |
| 1428 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1429 | (WebKit doesn't distribute an explicit license. This LICENSE is derived from |
| 1430 | license text in the source.) |
| 1431 | |
| 1432 | Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
| 1433 | 2006, 2007 Alexander Kellett, Alexey Proskuryakov, Alex Mathews, Allan |
| 1434 | Sandfeld Jensen, Alp Toker, Anders Carlsson, Andrew Wellington, Antti |
| 1435 | Koivisto, Apple Inc., Arthur Langereis, Baron Schwartz, Bjoern Graf, |
| 1436 | Brent Fulgham, Cameron Zwarich, Charles Samuels, Christian Dywan, |
| 1437 | Collabora Ltd., Cyrus Patel, Daniel Molkentin, Dave Maclachlan, David |
| 1438 | Smith, Dawit Alemayehu, Dirk Mueller, Dirk Schulze, Don Gibson, Enrico |
| 1439 | Ros, Eric Seidel, Frederik Holljen, Frerich Raabe, Friedmann Kleint, |
| 1440 | George Staikos, Google Inc., Graham Dennis, Harri Porten, Henry Mason, |
| 1441 | Hiroyuki Ikezoe, Holger Hans Peter Freyther, IBM, James G. Speth, Jan |
| 1442 | Alonzo, Jean-Loup Gailly, John Reis, Jonas Witt, Jon Shier, Jonas |
| 1443 | Witt, Julien Chaffraix, Justin Haygood, Kevin Ollivier, Kevin Watters, |
| 1444 | Kimmo Kinnunen, Kouhei Sutou, Krzysztof Kowalczyk, Lars Knoll, Luca |
| 1445 | Bruno, Maks Orlovich, Malte Starostik, Mark Adler, Martin Jones, |
| 1446 | Marvin Decker, Matt Lilek, Michael Emmel, Mitz Pettel, mozilla.org, |
| 1447 | Netscape Communications Corporation, Nicholas Shanks, Nikolas |
| 1448 | Zimmermann, Nokia, Oliver Hunt, Opened Hand, Paul Johnston, Peter |
| 1449 | Kelly, Pioneer Research Center USA, Rich Moore, Rob Buis, Robin Dunn, |
| 1450 | Ronald Tschalär, Samuel Weinig, Simon Hausmann, Staikos Computing |
| 1451 | Services Inc., Stefan Schimanski, Symantec Corporation, The Dojo |
| 1452 | Foundation, The Karbon Developers, Thomas Boyer, Tim Copperfield, |
| 1453 | Tobias Anton, Torben Weis, Trolltech, University of Cambridge, Vaclav |
| 1454 | Slavik, Waldo Bastian, Xan Lopez, Zack Rusin |
| 1455 | |
| 1456 | The terms and conditions vary from file to file, but are one of: |
| 1457 | |
| 1458 | Redistribution and use in source and binary forms, with or without |
| 1459 | modification, are permitted provided that the following conditions are |
| 1460 | met: |
| 1461 | |
| 1462 | 1. Redistributions of source code must retain the above copyright |
| 1463 | notice, this list of conditions and the following disclaimer. |
| 1464 | |
| 1465 | 2. Redistributions in binary form must reproduce the above copyright |
| 1466 | notice, this list of conditions and the following disclaimer in the |
| 1467 | documentation and/or other materials provided with the |
| 1468 | distribution. |
| 1469 | |
| 1470 | *OR* |
| 1471 | |
| 1472 | Redistribution and use in source and binary forms, with or without |
| 1473 | modification, are permitted provided that the following conditions are |
| 1474 | met: |
| 1475 | |
| 1476 | 1. Redistributions of source code must retain the above copyright |
| 1477 | notice, this list of conditions and the following disclaimer. |
| 1478 | 2. Redistributions in binary form must reproduce the above copyright |
| 1479 | notice, this list of conditions and the following disclaimer in the |
| 1480 | documentation and/or other materials provided with the |
| 1481 | distribution. |
| 1482 | 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of |
| 1483 | its contributors may be used to endorse or promote products derived |
| 1484 | from this software without specific prior written permission. |
| 1485 | |
| 1486 | THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY |
| 1487 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 1488 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 1489 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR |
| 1490 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 1491 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 1492 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 1493 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 1494 | |
| 1495 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 1496 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 1497 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 1498 | |
| 1499 | |
| 1500 | GNU LIBRARY GENERAL PUBLIC LICENSE |
| 1501 | Version 2, June 1991 |
| 1502 | |
| 1503 | Copyright (C) 1991 Free Software Foundation, Inc. |
| 1504 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 1505 | Everyone is permitted to copy and distribute verbatim copies |
| 1506 | of this license document, but changing it is not allowed. |
| 1507 | |
| 1508 | [This is the first released version of the library GPL. It is |
| 1509 | numbered 2 because it goes with version 2 of the ordinary GPL.] |
| 1510 | |
| 1511 | Preamble |
| 1512 | |
| 1513 | The licenses for most software are designed to take away your |
| 1514 | freedom to share and change it. By contrast, the GNU General Public |
| 1515 | Licenses are intended to guarantee your freedom to share and change |
| 1516 | free software--to make sure the software is free for all its users. |
| 1517 | |
| 1518 | This license, the Library General Public License, applies to some |
| 1519 | specially designated Free Software Foundation software, and to any |
| 1520 | other libraries whose authors decide to use it. You can use it for |
| 1521 | your libraries, too. |
| 1522 | |
| 1523 | When we speak of free software, we are referring to freedom, not |
| 1524 | price. Our General Public Licenses are designed to make sure that you |
| 1525 | have the freedom to distribute copies of free software (and charge for |
| 1526 | this service if you wish), that you receive source code or can get it |
| 1527 | if you want it, that you can change the software or use pieces of it |
| 1528 | in new free programs; and that you know you can do these things. |
| 1529 | |
| 1530 | To protect your rights, we need to make restrictions that forbid |
| 1531 | anyone to deny you these rights or to ask you to surrender the rights. |
| 1532 | These restrictions translate to certain responsibilities for you if |
| 1533 | you distribute copies of the library, or if you modify it. |
| 1534 | |
| 1535 | For example, if you distribute copies of the library, whether gratis |
| 1536 | or for a fee, you must give the recipients all the rights that we gave |
| 1537 | you. You must make sure that they, too, receive or can get the source |
| 1538 | code. If you link a program with the library, you must provide |
| 1539 | complete object files to the recipients so that they can relink them |
| 1540 | with the library, after making changes to the library and recompiling |
| 1541 | it. And you must show them these terms so they know their rights. |
| 1542 | |
| 1543 | Our method of protecting your rights has two steps: (1) copyright |
| 1544 | the library, and (2) offer you this license which gives you legal |
| 1545 | permission to copy, distribute and/or modify the library. |
| 1546 | |
| 1547 | Also, for each distributor's protection, we want to make certain |
| 1548 | that everyone understands that there is no warranty for this free |
| 1549 | library. If the library is modified by someone else and passed on, we |
| 1550 | want its recipients to know that what they have is not the original |
| 1551 | version, so that any problems introduced by others will not reflect on |
| 1552 | the original authors' reputations. |
| 1553 | |
| 1554 | Finally, any free program is threatened constantly by software |
| 1555 | patents. We wish to avoid the danger that companies distributing free |
| 1556 | software will individually obtain patent licenses, thus in effect |
| 1557 | transforming the program into proprietary software. To prevent this, |
| 1558 | we have made it clear that any patent must be licensed for everyone's |
| 1559 | free use or not licensed at all. |
| 1560 | |
| 1561 | Most GNU software, including some libraries, is covered by the ordinary |
| 1562 | GNU General Public License, which was designed for utility programs. This |
| 1563 | license, the GNU Library General Public License, applies to certain |
| 1564 | designated libraries. This license is quite different from the ordinary |
| 1565 | one; be sure to read it in full, and don't assume that anything in it is |
| 1566 | the same as in the ordinary license. |
| 1567 | |
| 1568 | The reason we have a separate public license for some libraries is that |
| 1569 | they blur the distinction we usually make between modifying or adding to a |
| 1570 | program and simply using it. Linking a program with a library, without |
| 1571 | changing the library, is in some sense simply using the library, and is |
| 1572 | analogous to running a utility program or application program. However, in |
| 1573 | a textual and legal sense, the linked executable is a combined work, a |
| 1574 | derivative of the original library, and the ordinary General Public License |
| 1575 | treats it as such. |
| 1576 | |
| 1577 | Because of this blurred distinction, using the ordinary General |
| 1578 | Public License for libraries did not effectively promote software |
| 1579 | sharing, because most developers did not use the libraries. We |
| 1580 | concluded that weaker conditions might promote sharing better. |
| 1581 | |
| 1582 | However, unrestricted linking of non-free programs would deprive the |
| 1583 | users of those programs of all benefit from the free status of the |
| 1584 | libraries themselves. This Library General Public License is intended to |
| 1585 | permit developers of non-free programs to use free libraries, while |
| 1586 | preserving your freedom as a user of such programs to change the free |
| 1587 | libraries that are incorporated in them. (We have not seen how to achieve |
| 1588 | this as regards changes in header files, but we have achieved it as regards |
| 1589 | changes in the actual functions of the Library.) The hope is that this |
| 1590 | will lead to faster development of free libraries. |
| 1591 | |
| 1592 | The precise terms and conditions for copying, distribution and |
| 1593 | modification follow. Pay close attention to the difference between a |
| 1594 | "work based on the library" and a "work that uses the library". The |
| 1595 | former contains code derived from the library, while the latter only |
| 1596 | works together with the library. |
| 1597 | |
| 1598 | Note that it is possible for a library to be covered by the ordinary |
| 1599 | General Public License rather than by this special one. |
| 1600 | |
| 1601 | GNU LIBRARY GENERAL PUBLIC LICENSE |
| 1602 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 1603 | |
| 1604 | 0. This License Agreement applies to any software library which |
| 1605 | contains a notice placed by the copyright holder or other authorized |
| 1606 | party saying it may be distributed under the terms of this Library |
| 1607 | General Public License (also called "this License"). Each licensee is |
| 1608 | addressed as "you". |
| 1609 | |
| 1610 | A "library" means a collection of software functions and/or data |
| 1611 | prepared so as to be conveniently linked with application programs |
| 1612 | (which use some of those functions and data) to form executables. |
| 1613 | |
| 1614 | The "Library", below, refers to any such software library or work |
| 1615 | which has been distributed under these terms. A "work based on the |
| 1616 | Library" means either the Library or any derivative work under |
| 1617 | copyright law: that is to say, a work containing the Library or a |
| 1618 | portion of it, either verbatim or with modifications and/or translated |
| 1619 | straightforwardly into another language. (Hereinafter, translation is |
| 1620 | included without limitation in the term "modification".) |
| 1621 | |
| 1622 | "Source code" for a work means the preferred form of the work for |
| 1623 | making modifications to it. For a library, complete source code means |
| 1624 | all the source code for all modules it contains, plus any associated |
| 1625 | interface definition files, plus the scripts used to control compilation |
| 1626 | and installation of the library. |
| 1627 | |
| 1628 | Activities other than copying, distribution and modification are not |
| 1629 | covered by this License; they are outside its scope. The act of |
| 1630 | running a program using the Library is not restricted, and output from |
| 1631 | such a program is covered only if its contents constitute a work based |
| 1632 | on the Library (independent of the use of the Library in a tool for |
| 1633 | writing it). Whether that is true depends on what the Library does |
| 1634 | and what the program that uses the Library does. |
| 1635 | |
| 1636 | 1. You may copy and distribute verbatim copies of the Library's |
| 1637 | complete source code as you receive it, in any medium, provided that |
| 1638 | you conspicuously and appropriately publish on each copy an |
| 1639 | appropriate copyright notice and disclaimer of warranty; keep intact |
| 1640 | all the notices that refer to this License and to the absence of any |
| 1641 | warranty; and distribute a copy of this License along with the |
| 1642 | Library. |
| 1643 | |
| 1644 | You may charge a fee for the physical act of transferring a copy, |
| 1645 | and you may at your option offer warranty protection in exchange for a |
| 1646 | fee. |
| 1647 | |
| 1648 | 2. You may modify your copy or copies of the Library or any portion |
| 1649 | of it, thus forming a work based on the Library, and copy and |
| 1650 | distribute such modifications or work under the terms of Section 1 |
| 1651 | above, provided that you also meet all of these conditions: |
| 1652 | |
| 1653 | a) The modified work must itself be a software library. |
| 1654 | |
| 1655 | b) You must cause the files modified to carry prominent notices |
| 1656 | stating that you changed the files and the date of any change. |
| 1657 | |
| 1658 | c) You must cause the whole of the work to be licensed at no |
| 1659 | charge to all third parties under the terms of this License. |
| 1660 | |
| 1661 | d) If a facility in the modified Library refers to a function or a |
| 1662 | table of data to be supplied by an application program that uses |
| 1663 | the facility, other than as an argument passed when the facility |
| 1664 | is invoked, then you must make a good faith effort to ensure that, |
| 1665 | in the event an application does not supply such function or |
| 1666 | table, the facility still operates, and performs whatever part of |
| 1667 | its purpose remains meaningful. |
| 1668 | |
| 1669 | (For example, a function in a library to compute square roots has |
| 1670 | a purpose that is entirely well-defined independent of the |
| 1671 | application. Therefore, Subsection 2d requires that any |
| 1672 | application-supplied function or table used by this function must |
| 1673 | be optional: if the application does not supply it, the square |
| 1674 | root function must still compute square roots.) |
| 1675 | |
| 1676 | These requirements apply to the modified work as a whole. If |
| 1677 | identifiable sections of that work are not derived from the Library, |
| 1678 | and can be reasonably considered independent and separate works in |
| 1679 | themselves, then this License, and its terms, do not apply to those |
| 1680 | sections when you distribute them as separate works. But when you |
| 1681 | distribute the same sections as part of a whole which is a work based |
| 1682 | on the Library, the distribution of the whole must be on the terms of |
| 1683 | this License, whose permissions for other licensees extend to the |
| 1684 | entire whole, and thus to each and every part regardless of who wrote |
| 1685 | it. |
| 1686 | |
| 1687 | Thus, it is not the intent of this section to claim rights or contest |
| 1688 | your rights to work written entirely by you; rather, the intent is to |
| 1689 | exercise the right to control the distribution of derivative or |
| 1690 | collective works based on the Library. |
| 1691 | |
| 1692 | In addition, mere aggregation of another work not based on the Library |
| 1693 | with the Library (or with a work based on the Library) on a volume of |
| 1694 | a storage or distribution medium does not bring the other work under |
| 1695 | the scope of this License. |
| 1696 | |
| 1697 | 3. You may opt to apply the terms of the ordinary GNU General Public |
| 1698 | License instead of this License to a given copy of the Library. To do |
| 1699 | this, you must alter all the notices that refer to this License, so |
| 1700 | that they refer to the ordinary GNU General Public License, version 2, |
| 1701 | instead of to this License. (If a newer version than version 2 of the |
| 1702 | ordinary GNU General Public License has appeared, then you can specify |
| 1703 | that version instead if you wish.) Do not make any other change in |
| 1704 | these notices. |
| 1705 | |
| 1706 | Once this change is made in a given copy, it is irreversible for |
| 1707 | that copy, so the ordinary GNU General Public License applies to all |
| 1708 | subsequent copies and derivative works made from that copy. |
| 1709 | |
| 1710 | This option is useful when you wish to copy part of the code of |
| 1711 | the Library into a program that is not a library. |
| 1712 | |
| 1713 | 4. You may copy and distribute the Library (or a portion or |
| 1714 | derivative of it, under Section 2) in object code or executable form |
| 1715 | under the terms of Sections 1 and 2 above provided that you accompany |
| 1716 | it with the complete corresponding machine-readable source code, which |
| 1717 | must be distributed under the terms of Sections 1 and 2 above on a |
| 1718 | medium customarily used for software interchange. |
| 1719 | |
| 1720 | If distribution of object code is made by offering access to copy |
| 1721 | from a designated place, then offering equivalent access to copy the |
| 1722 | source code from the same place satisfies the requirement to |
| 1723 | distribute the source code, even though third parties are not |
| 1724 | compelled to copy the source along with the object code. |
| 1725 | |
| 1726 | 5. A program that contains no derivative of any portion of the |
| 1727 | Library, but is designed to work with the Library by being compiled or |
| 1728 | linked with it, is called a "work that uses the Library". Such a |
| 1729 | work, in isolation, is not a derivative work of the Library, and |
| 1730 | therefore falls outside the scope of this License. |
| 1731 | |
| 1732 | However, linking a "work that uses the Library" with the Library |
| 1733 | creates an executable that is a derivative of the Library (because it |
| 1734 | contains portions of the Library), rather than a "work that uses the |
| 1735 | library". The executable is therefore covered by this License. |
| 1736 | Section 6 states terms for distribution of such executables. |
| 1737 | |
| 1738 | When a "work that uses the Library" uses material from a header file |
| 1739 | that is part of the Library, the object code for the work may be a |
| 1740 | derivative work of the Library even though the source code is not. |
| 1741 | Whether this is true is especially significant if the work can be |
| 1742 | linked without the Library, or if the work is itself a library. The |
| 1743 | threshold for this to be true is not precisely defined by law. |
| 1744 | |
| 1745 | If such an object file uses only numerical parameters, data |
| 1746 | structure layouts and accessors, and small macros and small inline |
| 1747 | functions (ten lines or less in length), then the use of the object |
| 1748 | file is unrestricted, regardless of whether it is legally a derivative |
| 1749 | work. (Executables containing this object code plus portions of the |
| 1750 | Library will still fall under Section 6.) |
| 1751 | |
| 1752 | Otherwise, if the work is a derivative of the Library, you may |
| 1753 | distribute the object code for the work under the terms of Section 6. |
| 1754 | Any executables containing that work also fall under Section 6, |
| 1755 | whether or not they are linked directly with the Library itself. |
| 1756 | |
| 1757 | 6. As an exception to the Sections above, you may also compile or |
| 1758 | link a "work that uses the Library" with the Library to produce a |
| 1759 | work containing portions of the Library, and distribute that work |
| 1760 | under terms of your choice, provided that the terms permit |
| 1761 | modification of the work for the customer's own use and reverse |
| 1762 | engineering for debugging such modifications. |
| 1763 | |
| 1764 | You must give prominent notice with each copy of the work that the |
| 1765 | Library is used in it and that the Library and its use are covered by |
| 1766 | this License. You must supply a copy of this License. If the work |
| 1767 | during execution displays copyright notices, you must include the |
| 1768 | copyright notice for the Library among them, as well as a reference |
| 1769 | directing the user to the copy of this License. Also, you must do one |
| 1770 | of these things: |
| 1771 | |
| 1772 | a) Accompany the work with the complete corresponding |
| 1773 | machine-readable source code for the Library including whatever |
| 1774 | changes were used in the work (which must be distributed under |
| 1775 | Sections 1 and 2 above); and, if the work is an executable linked |
| 1776 | with the Library, with the complete machine-readable "work that |
| 1777 | uses the Library", as object code and/or source code, so that the |
| 1778 | user can modify the Library and then relink to produce a modified |
| 1779 | executable containing the modified Library. (It is understood |
| 1780 | that the user who changes the contents of definitions files in the |
| 1781 | Library will not necessarily be able to recompile the application |
| 1782 | to use the modified definitions.) |
| 1783 | |
| 1784 | b) Accompany the work with a written offer, valid for at |
| 1785 | least three years, to give the same user the materials |
| 1786 | specified in Subsection 6a, above, for a charge no more |
| 1787 | than the cost of performing this distribution. |
| 1788 | |
| 1789 | c) If distribution of the work is made by offering access to copy |
| 1790 | from a designated place, offer equivalent access to copy the above |
| 1791 | specified materials from the same place. |
| 1792 | |
| 1793 | d) Verify that the user has already received a copy of these |
| 1794 | materials or that you have already sent this user a copy. |
| 1795 | |
| 1796 | For an executable, the required form of the "work that uses the |
| 1797 | Library" must include any data and utility programs needed for |
| 1798 | reproducing the executable from it. However, as a special exception, |
| 1799 | the source code distributed need not include anything that is normally |
| 1800 | distributed (in either source or binary form) with the major |
| 1801 | components (compiler, kernel, and so on) of the operating system on |
| 1802 | which the executable runs, unless that component itself accompanies |
| 1803 | the executable. |
| 1804 | |
| 1805 | It may happen that this requirement contradicts the license |
| 1806 | restrictions of other proprietary libraries that do not normally |
| 1807 | accompany the operating system. Such a contradiction means you cannot |
| 1808 | use both them and the Library together in an executable that you |
| 1809 | distribute. |
| 1810 | |
| 1811 | 7. You may place library facilities that are a work based on the |
| 1812 | Library side-by-side in a single library together with other library |
| 1813 | facilities not covered by this License, and distribute such a combined |
| 1814 | library, provided that the separate distribution of the work based on |
| 1815 | the Library and of the other library facilities is otherwise |
| 1816 | permitted, and provided that you do these two things: |
| 1817 | |
| 1818 | a) Accompany the combined library with a copy of the same work |
| 1819 | based on the Library, uncombined with any other library |
| 1820 | facilities. This must be distributed under the terms of the |
| 1821 | Sections above. |
| 1822 | |
| 1823 | b) Give prominent notice with the combined library of the fact |
| 1824 | that part of it is a work based on the Library, and explaining |
| 1825 | where to find the accompanying uncombined form of the same work. |
| 1826 | |
| 1827 | 8. You may not copy, modify, sublicense, link with, or distribute |
| 1828 | the Library except as expressly provided under this License. Any |
| 1829 | attempt otherwise to copy, modify, sublicense, link with, or |
| 1830 | distribute the Library is void, and will automatically terminate your |
| 1831 | rights under this License. However, parties who have received copies, |
| 1832 | or rights, from you under this License will not have their licenses |
| 1833 | terminated so long as such parties remain in full compliance. |
| 1834 | |
| 1835 | 9. You are not required to accept this License, since you have not |
| 1836 | signed it. However, nothing else grants you permission to modify or |
| 1837 | distribute the Library or its derivative works. These actions are |
| 1838 | prohibited by law if you do not accept this License. Therefore, by |
| 1839 | modifying or distributing the Library (or any work based on the |
| 1840 | Library), you indicate your acceptance of this License to do so, and |
| 1841 | all its terms and conditions for copying, distributing or modifying |
| 1842 | the Library or works based on it. |
| 1843 | |
| 1844 | 10. Each time you redistribute the Library (or any work based on the |
| 1845 | Library), the recipient automatically receives a license from the |
| 1846 | original licensor to copy, distribute, link with or modify the Library |
| 1847 | subject to these terms and conditions. You may not impose any further |
| 1848 | restrictions on the recipients' exercise of the rights granted herein. |
| 1849 | You are not responsible for enforcing compliance by third parties to |
| 1850 | this License. |
| 1851 | |
| 1852 | 11. If, as a consequence of a court judgment or allegation of patent |
| 1853 | infringement or for any other reason (not limited to patent issues), |
| 1854 | conditions are imposed on you (whether by court order, agreement or |
| 1855 | otherwise) that contradict the conditions of this License, they do not |
| 1856 | excuse you from the conditions of this License. If you cannot |
| 1857 | distribute so as to satisfy simultaneously your obligations under this |
| 1858 | License and any other pertinent obligations, then as a consequence you |
| 1859 | may not distribute the Library at all. For example, if a patent |
| 1860 | license would not permit royalty-free redistribution of the Library by |
| 1861 | all those who receive copies directly or indirectly through you, then |
| 1862 | the only way you could satisfy both it and this License would be to |
| 1863 | refrain entirely from distribution of the Library. |
| 1864 | |
| 1865 | If any portion of this section is held invalid or unenforceable under any |
| 1866 | particular circumstance, the balance of the section is intended to apply, |
| 1867 | and the section as a whole is intended to apply in other circumstances. |
| 1868 | |
| 1869 | It is not the purpose of this section to induce you to infringe any |
| 1870 | patents or other property right claims or to contest validity of any |
| 1871 | such claims; this section has the sole purpose of protecting the |
| 1872 | integrity of the free software distribution system which is |
| 1873 | implemented by public license practices. Many people have made |
| 1874 | generous contributions to the wide range of software distributed |
| 1875 | through that system in reliance on consistent application of that |
| 1876 | system; it is up to the author/donor to decide if he or she is willing |
| 1877 | to distribute software through any other system and a licensee cannot |
| 1878 | impose that choice. |
| 1879 | |
| 1880 | This section is intended to make thoroughly clear what is believed to |
| 1881 | be a consequence of the rest of this License. |
| 1882 | |
| 1883 | 12. If the distribution and/or use of the Library is restricted in |
| 1884 | certain countries either by patents or by copyrighted interfaces, the |
| 1885 | original copyright holder who places the Library under this License may add |
| 1886 | an explicit geographical distribution limitation excluding those countries, |
| 1887 | so that distribution is permitted only in or among countries not thus |
| 1888 | excluded. In such case, this License incorporates the limitation as if |
| 1889 | written in the body of this License. |
| 1890 | |
| 1891 | 13. The Free Software Foundation may publish revised and/or new |
| 1892 | versions of the Library General Public License from time to time. |
| 1893 | Such new versions will be similar in spirit to the present version, |
| 1894 | but may differ in detail to address new problems or concerns. |
| 1895 | |
| 1896 | Each version is given a distinguishing version number. If the Library |
| 1897 | specifies a version number of this License which applies to it and |
| 1898 | "any later version", you have the option of following the terms and |
| 1899 | conditions either of that version or of any later version published by |
| 1900 | the Free Software Foundation. If the Library does not specify a |
| 1901 | license version number, you may choose any version ever published by |
| 1902 | the Free Software Foundation. |
| 1903 | |
| 1904 | 14. If you wish to incorporate parts of the Library into other free |
| 1905 | programs whose distribution conditions are incompatible with these, |
| 1906 | write to the author to ask for permission. For software which is |
| 1907 | copyrighted by the Free Software Foundation, write to the Free |
| 1908 | Software Foundation; we sometimes make exceptions for this. Our |
| 1909 | decision will be guided by the two goals of preserving the free status |
| 1910 | of all derivatives of our free software and of promoting the sharing |
| 1911 | and reuse of software generally. |
| 1912 | |
| 1913 | NO WARRANTY |
| 1914 | |
| 1915 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
| 1916 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
| 1917 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
| 1918 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
| 1919 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
| 1920 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 1921 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
| 1922 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
| 1923 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
| 1924 | |
| 1925 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
| 1926 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
| 1927 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
| 1928 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
| 1929 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
| 1930 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
| 1931 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
| 1932 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
| 1933 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
| 1934 | DAMAGES. |
| 1935 | |
| 1936 | END OF TERMS AND CONDITIONS |
| 1937 | |
| 1938 | GNU LESSER GENERAL PUBLIC LICENSE |
| 1939 | Version 2.1, February 1999 |
| 1940 | |
| 1941 | Copyright (C) 1991, 1999 Free Software Foundation, Inc. |
| 1942 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 1943 | Everyone is permitted to copy and distribute verbatim copies |
| 1944 | of this license document, but changing it is not allowed. |
| 1945 | |
| 1946 | [This is the first released version of the Lesser GPL. It also counts |
| 1947 | as the successor of the GNU Library Public License, version 2, hence |
| 1948 | the version number 2.1.] |
| 1949 | |
| 1950 | Preamble |
| 1951 | |
| 1952 | The licenses for most software are designed to take away your |
| 1953 | freedom to share and change it. By contrast, the GNU General Public |
| 1954 | Licenses are intended to guarantee your freedom to share and change |
| 1955 | free software--to make sure the software is free for all its users. |
| 1956 | |
| 1957 | This license, the Lesser General Public License, applies to some |
| 1958 | specially designated software packages--typically libraries--of the |
| 1959 | Free Software Foundation and other authors who decide to use it. You |
| 1960 | can use it too, but we suggest you first think carefully about whether |
| 1961 | this license or the ordinary General Public License is the better |
| 1962 | strategy to use in any particular case, based on the explanations below. |
| 1963 | |
| 1964 | When we speak of free software, we are referring to freedom of use, |
| 1965 | not price. Our General Public Licenses are designed to make sure that |
| 1966 | you have the freedom to distribute copies of free software (and charge |
| 1967 | for this service if you wish); that you receive source code or can get |
| 1968 | it if you want it; that you can change the software and use pieces of |
| 1969 | it in new free programs; and that you are informed that you can do |
| 1970 | these things. |
| 1971 | |
| 1972 | To protect your rights, we need to make restrictions that forbid |
| 1973 | distributors to deny you these rights or to ask you to surrender these |
| 1974 | rights. These restrictions translate to certain responsibilities for |
| 1975 | you if you distribute copies of the library or if you modify it. |
| 1976 | |
| 1977 | For example, if you distribute copies of the library, whether gratis |
| 1978 | or for a fee, you must give the recipients all the rights that we gave |
| 1979 | you. You must make sure that they, too, receive or can get the source |
| 1980 | code. If you link other code with the library, you must provide |
| 1981 | complete object files to the recipients, so that they can relink them |
| 1982 | with the library after making changes to the library and recompiling |
| 1983 | it. And you must show them these terms so they know their rights. |
| 1984 | |
| 1985 | We protect your rights with a two-step method: (1) we copyright the |
| 1986 | library, and (2) we offer you this license, which gives you legal |
| 1987 | permission to copy, distribute and/or modify the library. |
| 1988 | |
| 1989 | To protect each distributor, we want to make it very clear that |
| 1990 | there is no warranty for the free library. Also, if the library is |
| 1991 | modified by someone else and passed on, the recipients should know |
| 1992 | that what they have is not the original version, so that the original |
| 1993 | author's reputation will not be affected by problems that might be |
| 1994 | introduced by others. |
| 1995 | |
| 1996 | Finally, software patents pose a constant threat to the existence of |
| 1997 | any free program. We wish to make sure that a company cannot |
| 1998 | effectively restrict the users of a free program by obtaining a |
| 1999 | restrictive license from a patent holder. Therefore, we insist that |
| 2000 | any patent license obtained for a version of the library must be |
| 2001 | consistent with the full freedom of use specified in this license. |
| 2002 | |
| 2003 | Most GNU software, including some libraries, is covered by the |
| 2004 | ordinary GNU General Public License. This license, the GNU Lesser |
| 2005 | General Public License, applies to certain designated libraries, and |
| 2006 | is quite different from the ordinary General Public License. We use |
| 2007 | this license for certain libraries in order to permit linking those |
| 2008 | libraries into non-free programs. |
| 2009 | |
| 2010 | When a program is linked with a library, whether statically or using |
| 2011 | a shared library, the combination of the two is legally speaking a |
| 2012 | combined work, a derivative of the original library. The ordinary |
| 2013 | General Public License therefore permits such linking only if the |
| 2014 | entire combination fits its criteria of freedom. The Lesser General |
| 2015 | Public License permits more lax criteria for linking other code with |
| 2016 | the library. |
| 2017 | |
| 2018 | We call this license the "Lesser" General Public License because it |
| 2019 | does Less to protect the user's freedom than the ordinary General |
| 2020 | Public License. It also provides other free software developers Less |
| 2021 | of an advantage over competing non-free programs. These disadvantages |
| 2022 | are the reason we use the ordinary General Public License for many |
| 2023 | libraries. However, the Lesser license provides advantages in certain |
| 2024 | special circumstances. |
| 2025 | |
| 2026 | For example, on rare occasions, there may be a special need to |
| 2027 | encourage the widest possible use of a certain library, so that it becomes |
| 2028 | a de-facto standard. To achieve this, non-free programs must be |
| 2029 | allowed to use the library. A more frequent case is that a free |
| 2030 | library does the same job as widely used non-free libraries. In this |
| 2031 | case, there is little to gain by limiting the free library to free |
| 2032 | software only, so we use the Lesser General Public License. |
| 2033 | |
| 2034 | In other cases, permission to use a particular library in non-free |
| 2035 | programs enables a greater number of people to use a large body of |
| 2036 | free software. For example, permission to use the GNU C Library in |
| 2037 | non-free programs enables many more people to use the whole GNU |
| 2038 | operating system, as well as its variant, the GNU/Linux operating |
| 2039 | system. |
| 2040 | |
| 2041 | Although the Lesser General Public License is Less protective of the |
| 2042 | users' freedom, it does ensure that the user of a program that is |
| 2043 | linked with the Library has the freedom and the wherewithal to run |
| 2044 | that program using a modified version of the Library. |
| 2045 | |
| 2046 | The precise terms and conditions for copying, distribution and |
| 2047 | modification follow. Pay close attention to the difference between a |
| 2048 | "work based on the library" and a "work that uses the library". The |
| 2049 | former contains code derived from the library, whereas the latter must |
| 2050 | be combined with the library in order to run. |
| 2051 | |
| 2052 | GNU LESSER GENERAL PUBLIC LICENSE |
| 2053 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 2054 | |
| 2055 | 0. This License Agreement applies to any software library or other |
| 2056 | program which contains a notice placed by the copyright holder or |
| 2057 | other authorized party saying it may be distributed under the terms of |
| 2058 | this Lesser General Public License (also called "this License"). |
| 2059 | Each licensee is addressed as "you". |
| 2060 | |
| 2061 | A "library" means a collection of software functions and/or data |
| 2062 | prepared so as to be conveniently linked with application programs |
| 2063 | (which use some of those functions and data) to form executables. |
| 2064 | |
| 2065 | The "Library", below, refers to any such software library or work |
| 2066 | which has been distributed under these terms. A "work based on the |
| 2067 | Library" means either the Library or any derivative work under |
| 2068 | copyright law: that is to say, a work containing the Library or a |
| 2069 | portion of it, either verbatim or with modifications and/or translated |
| 2070 | straightforwardly into another language. (Hereinafter, translation is |
| 2071 | included without limitation in the term "modification".) |
| 2072 | |
| 2073 | "Source code" for a work means the preferred form of the work for |
| 2074 | making modifications to it. For a library, complete source code means |
| 2075 | all the source code for all modules it contains, plus any associated |
| 2076 | interface definition files, plus the scripts used to control compilation |
| 2077 | and installation of the library. |
| 2078 | |
| 2079 | Activities other than copying, distribution and modification are not |
| 2080 | covered by this License; they are outside its scope. The act of |
| 2081 | running a program using the Library is not restricted, and output from |
| 2082 | such a program is covered only if its contents constitute a work based |
| 2083 | on the Library (independent of the use of the Library in a tool for |
| 2084 | writing it). Whether that is true depends on what the Library does |
| 2085 | and what the program that uses the Library does. |
| 2086 | |
| 2087 | 1. You may copy and distribute verbatim copies of the Library's |
| 2088 | complete source code as you receive it, in any medium, provided that |
| 2089 | you conspicuously and appropriately publish on each copy an |
| 2090 | appropriate copyright notice and disclaimer of warranty; keep intact |
| 2091 | all the notices that refer to this License and to the absence of any |
| 2092 | warranty; and distribute a copy of this License along with the |
| 2093 | Library. |
| 2094 | |
| 2095 | You may charge a fee for the physical act of transferring a copy, |
| 2096 | and you may at your option offer warranty protection in exchange for a |
| 2097 | fee. |
| 2098 | |
| 2099 | 2. You may modify your copy or copies of the Library or any portion |
| 2100 | of it, thus forming a work based on the Library, and copy and |
| 2101 | distribute such modifications or work under the terms of Section 1 |
| 2102 | above, provided that you also meet all of these conditions: |
| 2103 | |
| 2104 | a) The modified work must itself be a software library. |
| 2105 | |
| 2106 | b) You must cause the files modified to carry prominent notices |
| 2107 | stating that you changed the files and the date of any change. |
| 2108 | |
| 2109 | c) You must cause the whole of the work to be licensed at no |
| 2110 | charge to all third parties under the terms of this License. |
| 2111 | |
| 2112 | d) If a facility in the modified Library refers to a function or a |
| 2113 | table of data to be supplied by an application program that uses |
| 2114 | the facility, other than as an argument passed when the facility |
| 2115 | is invoked, then you must make a good faith effort to ensure that, |
| 2116 | in the event an application does not supply such function or |
| 2117 | table, the facility still operates, and performs whatever part of |
| 2118 | its purpose remains meaningful. |
| 2119 | |
| 2120 | (For example, a function in a library to compute square roots has |
| 2121 | a purpose that is entirely well-defined independent of the |
| 2122 | application. Therefore, Subsection 2d requires that any |
| 2123 | application-supplied function or table used by this function must |
| 2124 | be optional: if the application does not supply it, the square |
| 2125 | root function must still compute square roots.) |
| 2126 | |
| 2127 | These requirements apply to the modified work as a whole. If |
| 2128 | identifiable sections of that work are not derived from the Library, |
| 2129 | and can be reasonably considered independent and separate works in |
| 2130 | themselves, then this License, and its terms, do not apply to those |
| 2131 | sections when you distribute them as separate works. But when you |
| 2132 | distribute the same sections as part of a whole which is a work based |
| 2133 | on the Library, the distribution of the whole must be on the terms of |
| 2134 | this License, whose permissions for other licensees extend to the |
| 2135 | entire whole, and thus to each and every part regardless of who wrote |
| 2136 | it. |
| 2137 | |
| 2138 | Thus, it is not the intent of this section to claim rights or contest |
| 2139 | your rights to work written entirely by you; rather, the intent is to |
| 2140 | exercise the right to control the distribution of derivative or |
| 2141 | collective works based on the Library. |
| 2142 | |
| 2143 | In addition, mere aggregation of another work not based on the Library |
| 2144 | with the Library (or with a work based on the Library) on a volume of |
| 2145 | a storage or distribution medium does not bring the other work under |
| 2146 | the scope of this License. |
| 2147 | |
| 2148 | 3. You may opt to apply the terms of the ordinary GNU General Public |
| 2149 | License instead of this License to a given copy of the Library. To do |
| 2150 | this, you must alter all the notices that refer to this License, so |
| 2151 | that they refer to the ordinary GNU General Public License, version 2, |
| 2152 | instead of to this License. (If a newer version than version 2 of the |
| 2153 | ordinary GNU General Public License has appeared, then you can specify |
| 2154 | that version instead if you wish.) Do not make any other change in |
| 2155 | these notices. |
| 2156 | |
| 2157 | Once this change is made in a given copy, it is irreversible for |
| 2158 | that copy, so the ordinary GNU General Public License applies to all |
| 2159 | subsequent copies and derivative works made from that copy. |
| 2160 | |
| 2161 | This option is useful when you wish to copy part of the code of |
| 2162 | the Library into a program that is not a library. |
| 2163 | |
| 2164 | 4. You may copy and distribute the Library (or a portion or |
| 2165 | derivative of it, under Section 2) in object code or executable form |
| 2166 | under the terms of Sections 1 and 2 above provided that you accompany |
| 2167 | it with the complete corresponding machine-readable source code, which |
| 2168 | must be distributed under the terms of Sections 1 and 2 above on a |
| 2169 | medium customarily used for software interchange. |
| 2170 | |
| 2171 | If distribution of object code is made by offering access to copy |
| 2172 | from a designated place, then offering equivalent access to copy the |
| 2173 | source code from the same place satisfies the requirement to |
| 2174 | distribute the source code, even though third parties are not |
| 2175 | compelled to copy the source along with the object code. |
| 2176 | |
| 2177 | 5. A program that contains no derivative of any portion of the |
| 2178 | Library, but is designed to work with the Library by being compiled or |
| 2179 | linked with it, is called a "work that uses the Library". Such a |
| 2180 | work, in isolation, is not a derivative work of the Library, and |
| 2181 | therefore falls outside the scope of this License. |
| 2182 | |
| 2183 | However, linking a "work that uses the Library" with the Library |
| 2184 | creates an executable that is a derivative of the Library (because it |
| 2185 | contains portions of the Library), rather than a "work that uses the |
| 2186 | library". The executable is therefore covered by this License. |
| 2187 | Section 6 states terms for distribution of such executables. |
| 2188 | |
| 2189 | When a "work that uses the Library" uses material from a header file |
| 2190 | that is part of the Library, the object code for the work may be a |
| 2191 | derivative work of the Library even though the source code is not. |
| 2192 | Whether this is true is especially significant if the work can be |
| 2193 | linked without the Library, or if the work is itself a library. The |
| 2194 | threshold for this to be true is not precisely defined by law. |
| 2195 | |
| 2196 | If such an object file uses only numerical parameters, data |
| 2197 | structure layouts and accessors, and small macros and small inline |
| 2198 | functions (ten lines or less in length), then the use of the object |
| 2199 | file is unrestricted, regardless of whether it is legally a derivative |
| 2200 | work. (Executables containing this object code plus portions of the |
| 2201 | Library will still fall under Section 6.) |
| 2202 | |
| 2203 | Otherwise, if the work is a derivative of the Library, you may |
| 2204 | distribute the object code for the work under the terms of Section 6. |
| 2205 | Any executables containing that work also fall under Section 6, |
| 2206 | whether or not they are linked directly with the Library itself. |
| 2207 | |
| 2208 | 6. As an exception to the Sections above, you may also combine or |
| 2209 | link a "work that uses the Library" with the Library to produce a |
| 2210 | work containing portions of the Library, and distribute that work |
| 2211 | under terms of your choice, provided that the terms permit |
| 2212 | modification of the work for the customer's own use and reverse |
| 2213 | engineering for debugging such modifications. |
| 2214 | |
| 2215 | You must give prominent notice with each copy of the work that the |
| 2216 | Library is used in it and that the Library and its use are covered by |
| 2217 | this License. You must supply a copy of this License. If the work |
| 2218 | during execution displays copyright notices, you must include the |
| 2219 | copyright notice for the Library among them, as well as a reference |
| 2220 | directing the user to the copy of this License. Also, you must do one |
| 2221 | of these things: |
| 2222 | |
| 2223 | a) Accompany the work with the complete corresponding |
| 2224 | machine-readable source code for the Library including whatever |
| 2225 | changes were used in the work (which must be distributed under |
| 2226 | Sections 1 and 2 above); and, if the work is an executable linked |
| 2227 | with the Library, with the complete machine-readable "work that |
| 2228 | uses the Library", as object code and/or source code, so that the |
| 2229 | user can modify the Library and then relink to produce a modified |
| 2230 | executable containing the modified Library. (It is understood |
| 2231 | that the user who changes the contents of definitions files in the |
| 2232 | Library will not necessarily be able to recompile the application |
| 2233 | to use the modified definitions.) |
| 2234 | |
| 2235 | b) Use a suitable shared library mechanism for linking with the |
| 2236 | Library. A suitable mechanism is one that (1) uses at run time a |
| 2237 | copy of the library already present on the user's computer system, |
| 2238 | rather than copying library functions into the executable, and (2) |
| 2239 | will operate properly with a modified version of the library, if |
| 2240 | the user installs one, as long as the modified version is |
| 2241 | interface-compatible with the version that the work was made with. |
| 2242 | |
| 2243 | c) Accompany the work with a written offer, valid for at |
| 2244 | least three years, to give the same user the materials |
| 2245 | specified in Subsection 6a, above, for a charge no more |
| 2246 | than the cost of performing this distribution. |
| 2247 | |
| 2248 | d) If distribution of the work is made by offering access to copy |
| 2249 | from a designated place, offer equivalent access to copy the above |
| 2250 | specified materials from the same place. |
| 2251 | |
| 2252 | e) Verify that the user has already received a copy of these |
| 2253 | materials or that you have already sent this user a copy. |
| 2254 | |
| 2255 | For an executable, the required form of the "work that uses the |
| 2256 | Library" must include any data and utility programs needed for |
| 2257 | reproducing the executable from it. However, as a special exception, |
| 2258 | the materials to be distributed need not include anything that is |
| 2259 | normally distributed (in either source or binary form) with the major |
| 2260 | components (compiler, kernel, and so on) of the operating system on |
| 2261 | which the executable runs, unless that component itself accompanies |
| 2262 | the executable. |
| 2263 | |
| 2264 | It may happen that this requirement contradicts the license |
| 2265 | restrictions of other proprietary libraries that do not normally |
| 2266 | accompany the operating system. Such a contradiction means you cannot |
| 2267 | use both them and the Library together in an executable that you |
| 2268 | distribute. |
| 2269 | |
| 2270 | 7. You may place library facilities that are a work based on the |
| 2271 | Library side-by-side in a single library together with other library |
| 2272 | facilities not covered by this License, and distribute such a combined |
| 2273 | library, provided that the separate distribution of the work based on |
| 2274 | the Library and of the other library facilities is otherwise |
| 2275 | permitted, and provided that you do these two things: |
| 2276 | |
| 2277 | a) Accompany the combined library with a copy of the same work |
| 2278 | based on the Library, uncombined with any other library |
| 2279 | facilities. This must be distributed under the terms of the |
| 2280 | Sections above. |
| 2281 | |
| 2282 | b) Give prominent notice with the combined library of the fact |
| 2283 | that part of it is a work based on the Library, and explaining |
| 2284 | where to find the accompanying uncombined form of the same work. |
| 2285 | |
| 2286 | 8. You may not copy, modify, sublicense, link with, or distribute |
| 2287 | the Library except as expressly provided under this License. Any |
| 2288 | attempt otherwise to copy, modify, sublicense, link with, or |
| 2289 | distribute the Library is void, and will automatically terminate your |
| 2290 | rights under this License. However, parties who have received copies, |
| 2291 | or rights, from you under this License will not have their licenses |
| 2292 | terminated so long as such parties remain in full compliance. |
| 2293 | |
| 2294 | 9. You are not required to accept this License, since you have not |
| 2295 | signed it. However, nothing else grants you permission to modify or |
| 2296 | distribute the Library or its derivative works. These actions are |
| 2297 | prohibited by law if you do not accept this License. Therefore, by |
| 2298 | modifying or distributing the Library (or any work based on the |
| 2299 | Library), you indicate your acceptance of this License to do so, and |
| 2300 | all its terms and conditions for copying, distributing or modifying |
| 2301 | the Library or works based on it. |
| 2302 | |
| 2303 | 10. Each time you redistribute the Library (or any work based on the |
| 2304 | Library), the recipient automatically receives a license from the |
| 2305 | original licensor to copy, distribute, link with or modify the Library |
| 2306 | subject to these terms and conditions. You may not impose any further |
| 2307 | restrictions on the recipients' exercise of the rights granted herein. |
| 2308 | You are not responsible for enforcing compliance by third parties with |
| 2309 | this License. |
| 2310 | |
| 2311 | 11. If, as a consequence of a court judgment or allegation of patent |
| 2312 | infringement or for any other reason (not limited to patent issues), |
| 2313 | conditions are imposed on you (whether by court order, agreement or |
| 2314 | otherwise) that contradict the conditions of this License, they do not |
| 2315 | excuse you from the conditions of this License. If you cannot |
| 2316 | distribute so as to satisfy simultaneously your obligations under this |
| 2317 | License and any other pertinent obligations, then as a consequence you |
| 2318 | may not distribute the Library at all. For example, if a patent |
| 2319 | license would not permit royalty-free redistribution of the Library by |
| 2320 | all those who receive copies directly or indirectly through you, then |
| 2321 | the only way you could satisfy both it and this License would be to |
| 2322 | refrain entirely from distribution of the Library. |
| 2323 | |
| 2324 | If any portion of this section is held invalid or unenforceable under any |
| 2325 | particular circumstance, the balance of the section is intended to apply, |
| 2326 | and the section as a whole is intended to apply in other circumstances. |
| 2327 | |
| 2328 | It is not the purpose of this section to induce you to infringe any |
| 2329 | patents or other property right claims or to contest validity of any |
| 2330 | such claims; this section has the sole purpose of protecting the |
| 2331 | integrity of the free software distribution system which is |
| 2332 | implemented by public license practices. Many people have made |
| 2333 | generous contributions to the wide range of software distributed |
| 2334 | through that system in reliance on consistent application of that |
| 2335 | system; it is up to the author/donor to decide if he or she is willing |
| 2336 | to distribute software through any other system and a licensee cannot |
| 2337 | impose that choice. |
| 2338 | |
| 2339 | This section is intended to make thoroughly clear what is believed to |
| 2340 | be a consequence of the rest of this License. |
| 2341 | |
| 2342 | 12. If the distribution and/or use of the Library is restricted in |
| 2343 | certain countries either by patents or by copyrighted interfaces, the |
| 2344 | original copyright holder who places the Library under this License may add |
| 2345 | an explicit geographical distribution limitation excluding those countries, |
| 2346 | so that distribution is permitted only in or among countries not thus |
| 2347 | excluded. In such case, this License incorporates the limitation as if |
| 2348 | written in the body of this License. |
| 2349 | |
| 2350 | 13. The Free Software Foundation may publish revised and/or new |
| 2351 | versions of the Lesser General Public License from time to time. |
| 2352 | Such new versions will be similar in spirit to the present version, |
| 2353 | but may differ in detail to address new problems or concerns. |
| 2354 | |
| 2355 | Each version is given a distinguishing version number. If the Library |
| 2356 | specifies a version number of this License which applies to it and |
| 2357 | "any later version", you have the option of following the terms and |
| 2358 | conditions either of that version or of any later version published by |
| 2359 | the Free Software Foundation. If the Library does not specify a |
| 2360 | license version number, you may choose any version ever published by |
| 2361 | the Free Software Foundation. |
| 2362 | |
| 2363 | 14. If you wish to incorporate parts of the Library into other free |
| 2364 | programs whose distribution conditions are incompatible with these, |
| 2365 | write to the author to ask for permission. For software which is |
| 2366 | copyrighted by the Free Software Foundation, write to the Free |
| 2367 | Software Foundation; we sometimes make exceptions for this. Our |
| 2368 | decision will be guided by the two goals of preserving the free status |
| 2369 | of all derivatives of our free software and of promoting the sharing |
| 2370 | and reuse of software generally. |
| 2371 | |
| 2372 | NO WARRANTY |
| 2373 | |
| 2374 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
| 2375 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
| 2376 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
| 2377 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
| 2378 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
| 2379 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 2380 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
| 2381 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
| 2382 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
| 2383 | |
| 2384 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
| 2385 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
| 2386 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
| 2387 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
| 2388 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
| 2389 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
| 2390 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
| 2391 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
| 2392 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
| 2393 | DAMAGES. |
| 2394 | |
| 2395 | END OF TERMS AND CONDITIONS |
| 2396 | |
Torne (Richard Coles) | 68043e1 | 2013-09-26 13:24:57 +0100 | [diff] [blame] | 2397 | |
| 2398 | Apache License |
| 2399 | Version 2.0, January 2004 |
| 2400 | http://www.apache.org/licenses/ |
| 2401 | |
| 2402 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 2403 | |
| 2404 | 1. Definitions. |
| 2405 | |
| 2406 | "License" shall mean the terms and conditions for use, reproduction, |
| 2407 | and distribution as defined by Sections 1 through 9 of this document. |
| 2408 | |
| 2409 | "Licensor" shall mean the copyright owner or entity authorized by |
| 2410 | the copyright owner that is granting the License. |
| 2411 | |
| 2412 | "Legal Entity" shall mean the union of the acting entity and all |
| 2413 | other entities that control, are controlled by, or are under common |
| 2414 | control with that entity. For the purposes of this definition, |
| 2415 | "control" means (i) the power, direct or indirect, to cause the |
| 2416 | direction or management of such entity, whether by contract or |
| 2417 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 2418 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 2419 | |
| 2420 | "You" (or "Your") shall mean an individual or Legal Entity |
| 2421 | exercising permissions granted by this License. |
| 2422 | |
| 2423 | "Source" form shall mean the preferred form for making modifications, |
| 2424 | including but not limited to software source code, documentation |
| 2425 | source, and configuration files. |
| 2426 | |
| 2427 | "Object" form shall mean any form resulting from mechanical |
| 2428 | transformation or translation of a Source form, including but |
| 2429 | not limited to compiled object code, generated documentation, |
| 2430 | and conversions to other media types. |
| 2431 | |
| 2432 | "Work" shall mean the work of authorship, whether in Source or |
| 2433 | Object form, made available under the License, as indicated by a |
| 2434 | copyright notice that is included in or attached to the work |
| 2435 | (an example is provided in the Appendix below). |
| 2436 | |
| 2437 | "Derivative Works" shall mean any work, whether in Source or Object |
| 2438 | form, that is based on (or derived from) the Work and for which the |
| 2439 | editorial revisions, annotations, elaborations, or other modifications |
| 2440 | represent, as a whole, an original work of authorship. For the purposes |
| 2441 | of this License, Derivative Works shall not include works that remain |
| 2442 | separable from, or merely link (or bind by name) to the interfaces of, |
| 2443 | the Work and Derivative Works thereof. |
| 2444 | |
| 2445 | "Contribution" shall mean any work of authorship, including |
| 2446 | the original version of the Work and any modifications or additions |
| 2447 | to that Work or Derivative Works thereof, that is intentionally |
| 2448 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 2449 | or by an individual or Legal Entity authorized to submit on behalf of |
| 2450 | the copyright owner. For the purposes of this definition, "submitted" |
| 2451 | means any form of electronic, verbal, or written communication sent |
| 2452 | to the Licensor or its representatives, including but not limited to |
| 2453 | communication on electronic mailing lists, source code control systems, |
| 2454 | and issue tracking systems that are managed by, or on behalf of, the |
| 2455 | Licensor for the purpose of discussing and improving the Work, but |
| 2456 | excluding communication that is conspicuously marked or otherwise |
| 2457 | designated in writing by the copyright owner as "Not a Contribution." |
| 2458 | |
| 2459 | "Contributor" shall mean Licensor and any individual or Legal Entity |
| 2460 | on behalf of whom a Contribution has been received by Licensor and |
| 2461 | subsequently incorporated within the Work. |
| 2462 | |
| 2463 | 2. Grant of Copyright License. Subject to the terms and conditions of |
| 2464 | this License, each Contributor hereby grants to You a perpetual, |
| 2465 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 2466 | copyright license to reproduce, prepare Derivative Works of, |
| 2467 | publicly display, publicly perform, sublicense, and distribute the |
| 2468 | Work and such Derivative Works in Source or Object form. |
| 2469 | |
| 2470 | 3. Grant of Patent License. Subject to the terms and conditions of |
| 2471 | this License, each Contributor hereby grants to You a perpetual, |
| 2472 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 2473 | (except as stated in this section) patent license to make, have made, |
| 2474 | use, offer to sell, sell, import, and otherwise transfer the Work, |
| 2475 | where such license applies only to those patent claims licensable |
| 2476 | by such Contributor that are necessarily infringed by their |
| 2477 | Contribution(s) alone or by combination of their Contribution(s) |
| 2478 | with the Work to which such Contribution(s) was submitted. If You |
| 2479 | institute patent litigation against any entity (including a |
| 2480 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 2481 | or a Contribution incorporated within the Work constitutes direct |
| 2482 | or contributory patent infringement, then any patent licenses |
| 2483 | granted to You under this License for that Work shall terminate |
| 2484 | as of the date such litigation is filed. |
| 2485 | |
| 2486 | 4. Redistribution. You may reproduce and distribute copies of the |
| 2487 | Work or Derivative Works thereof in any medium, with or without |
| 2488 | modifications, and in Source or Object form, provided that You |
| 2489 | meet the following conditions: |
| 2490 | |
| 2491 | (a) You must give any other recipients of the Work or |
| 2492 | Derivative Works a copy of this License; and |
| 2493 | |
| 2494 | (b) You must cause any modified files to carry prominent notices |
| 2495 | stating that You changed the files; and |
| 2496 | |
| 2497 | (c) You must retain, in the Source form of any Derivative Works |
| 2498 | that You distribute, all copyright, patent, trademark, and |
| 2499 | attribution notices from the Source form of the Work, |
| 2500 | excluding those notices that do not pertain to any part of |
| 2501 | the Derivative Works; and |
| 2502 | |
| 2503 | (d) If the Work includes a "NOTICE" text file as part of its |
| 2504 | distribution, then any Derivative Works that You distribute must |
| 2505 | include a readable copy of the attribution notices contained |
| 2506 | within such NOTICE file, excluding those notices that do not |
| 2507 | pertain to any part of the Derivative Works, in at least one |
| 2508 | of the following places: within a NOTICE text file distributed |
| 2509 | as part of the Derivative Works; within the Source form or |
| 2510 | documentation, if provided along with the Derivative Works; or, |
| 2511 | within a display generated by the Derivative Works, if and |
| 2512 | wherever such third-party notices normally appear. The contents |
| 2513 | of the NOTICE file are for informational purposes only and |
| 2514 | do not modify the License. You may add Your own attribution |
| 2515 | notices within Derivative Works that You distribute, alongside |
| 2516 | or as an addendum to the NOTICE text from the Work, provided |
| 2517 | that such additional attribution notices cannot be construed |
| 2518 | as modifying the License. |
| 2519 | |
| 2520 | You may add Your own copyright statement to Your modifications and |
| 2521 | may provide additional or different license terms and conditions |
| 2522 | for use, reproduction, or distribution of Your modifications, or |
| 2523 | for any such Derivative Works as a whole, provided Your use, |
| 2524 | reproduction, and distribution of the Work otherwise complies with |
| 2525 | the conditions stated in this License. |
| 2526 | |
| 2527 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
| 2528 | any Contribution intentionally submitted for inclusion in the Work |
| 2529 | by You to the Licensor shall be under the terms and conditions of |
| 2530 | this License, without any additional terms or conditions. |
| 2531 | Notwithstanding the above, nothing herein shall supersede or modify |
| 2532 | the terms of any separate license agreement you may have executed |
| 2533 | with Licensor regarding such Contributions. |
| 2534 | |
| 2535 | 6. Trademarks. This License does not grant permission to use the trade |
| 2536 | names, trademarks, service marks, or product names of the Licensor, |
| 2537 | except as required for reasonable and customary use in describing the |
| 2538 | origin of the Work and reproducing the content of the NOTICE file. |
| 2539 | |
| 2540 | 7. Disclaimer of Warranty. Unless required by applicable law or |
| 2541 | agreed to in writing, Licensor provides the Work (and each |
| 2542 | Contributor provides its Contributions) on an "AS IS" BASIS, |
| 2543 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 2544 | implied, including, without limitation, any warranties or conditions |
| 2545 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
| 2546 | PARTICULAR PURPOSE. You are solely responsible for determining the |
| 2547 | appropriateness of using or redistributing the Work and assume any |
| 2548 | risks associated with Your exercise of permissions under this License. |
| 2549 | |
| 2550 | 8. Limitation of Liability. In no event and under no legal theory, |
| 2551 | whether in tort (including negligence), contract, or otherwise, |
| 2552 | unless required by applicable law (such as deliberate and grossly |
| 2553 | negligent acts) or agreed to in writing, shall any Contributor be |
| 2554 | liable to You for damages, including any direct, indirect, special, |
| 2555 | incidental, or consequential damages of any character arising as a |
| 2556 | result of this License or out of the use or inability to use the |
| 2557 | Work (including but not limited to damages for loss of goodwill, |
| 2558 | work stoppage, computer failure or malfunction, or any and all |
| 2559 | other commercial damages or losses), even if such Contributor |
| 2560 | has been advised of the possibility of such damages. |
| 2561 | |
| 2562 | 9. Accepting Warranty or Additional Liability. While redistributing |
| 2563 | the Work or Derivative Works thereof, You may choose to offer, |
| 2564 | and charge a fee for, acceptance of support, warranty, indemnity, |
| 2565 | or other liability obligations and/or rights consistent with this |
| 2566 | License. However, in accepting such obligations, You may act only |
| 2567 | on Your own behalf and on Your sole responsibility, not on behalf |
| 2568 | of any other Contributor, and only if You agree to indemnify, |
| 2569 | defend, and hold each Contributor harmless for any liability |
| 2570 | incurred by, or claims asserted against, such Contributor by reason |
| 2571 | of your accepting any such warranty or additional liability. |
| 2572 | |
| 2573 | END OF TERMS AND CONDITIONS |
| 2574 | |
| 2575 | APPENDIX: How to apply the Apache License to your work. |
| 2576 | |
| 2577 | To apply the Apache License to your work, attach the following |
| 2578 | boilerplate notice, with the fields enclosed by brackets "[]" |
| 2579 | replaced with your own identifying information. (Don't include |
| 2580 | the brackets!) The text should be enclosed in the appropriate |
| 2581 | comment syntax for the file format. We also recommend that a |
| 2582 | file or class name and description of purpose be included on the |
| 2583 | same "printed page" as the copyright notice for easier |
| 2584 | identification within third-party archives. |
| 2585 | |
| 2586 | Copyright [yyyy] [name of copyright owner] |
| 2587 | |
| 2588 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 2589 | you may not use this file except in compliance with the License. |
| 2590 | You may obtain a copy of the License at |
| 2591 | |
| 2592 | http://www.apache.org/licenses/LICENSE-2.0 |
| 2593 | |
| 2594 | Unless required by applicable law or agreed to in writing, software |
| 2595 | distributed under the License is distributed on an "AS IS" BASIS, |
| 2596 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 2597 | See the License for the specific language governing permissions and |
| 2598 | limitations under the License. |
| 2599 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 2600 | // Copyright (C) 2002-2013 The ANGLE Project Authors. |
| 2601 | // All rights reserved. |
| 2602 | // |
| 2603 | // Redistribution and use in source and binary forms, with or without |
| 2604 | // modification, are permitted provided that the following conditions |
| 2605 | // are met: |
| 2606 | // |
| 2607 | // Redistributions of source code must retain the above copyright |
| 2608 | // notice, this list of conditions and the following disclaimer. |
| 2609 | // |
| 2610 | // Redistributions in binary form must reproduce the above |
| 2611 | // copyright notice, this list of conditions and the following |
| 2612 | // disclaimer in the documentation and/or other materials provided |
| 2613 | // with the distribution. |
| 2614 | // |
| 2615 | // Neither the name of TransGaming Inc., Google Inc., 3DLabs Inc. |
| 2616 | // Ltd., nor the names of their contributors may be used to endorse |
| 2617 | // or promote products derived from this software without specific |
| 2618 | // prior written permission. |
| 2619 | // |
| 2620 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 2621 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 2622 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 2623 | // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
| 2624 | // COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 2625 | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
| 2626 | // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 2627 | // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 2628 | // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 2629 | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
| 2630 | // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 2631 | // POSSIBILITY OF SUCH DAMAGE. |
| 2632 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 2633 | |
| 2634 | Apache License |
| 2635 | Version 2.0, January 2004 |
| 2636 | http://www.apache.org/licenses/ |
| 2637 | |
| 2638 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 2639 | |
| 2640 | 1. Definitions. |
| 2641 | |
| 2642 | "License" shall mean the terms and conditions for use, reproduction, |
| 2643 | and distribution as defined by Sections 1 through 9 of this document. |
| 2644 | |
| 2645 | "Licensor" shall mean the copyright owner or entity authorized by |
| 2646 | the copyright owner that is granting the License. |
| 2647 | |
| 2648 | "Legal Entity" shall mean the union of the acting entity and all |
| 2649 | other entities that control, are controlled by, or are under common |
| 2650 | control with that entity. For the purposes of this definition, |
| 2651 | "control" means (i) the power, direct or indirect, to cause the |
| 2652 | direction or management of such entity, whether by contract or |
| 2653 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 2654 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 2655 | |
| 2656 | "You" (or "Your") shall mean an individual or Legal Entity |
| 2657 | exercising permissions granted by this License. |
| 2658 | |
| 2659 | "Source" form shall mean the preferred form for making modifications, |
| 2660 | including but not limited to software source code, documentation |
| 2661 | source, and configuration files. |
| 2662 | |
| 2663 | "Object" form shall mean any form resulting from mechanical |
| 2664 | transformation or translation of a Source form, including but |
| 2665 | not limited to compiled object code, generated documentation, |
| 2666 | and conversions to other media types. |
| 2667 | |
| 2668 | "Work" shall mean the work of authorship, whether in Source or |
| 2669 | Object form, made available under the License, as indicated by a |
| 2670 | copyright notice that is included in or attached to the work |
| 2671 | (an example is provided in the Appendix below). |
| 2672 | |
| 2673 | "Derivative Works" shall mean any work, whether in Source or Object |
| 2674 | form, that is based on (or derived from) the Work and for which the |
| 2675 | editorial revisions, annotations, elaborations, or other modifications |
| 2676 | represent, as a whole, an original work of authorship. For the purposes |
| 2677 | of this License, Derivative Works shall not include works that remain |
| 2678 | separable from, or merely link (or bind by name) to the interfaces of, |
| 2679 | the Work and Derivative Works thereof. |
| 2680 | |
| 2681 | "Contribution" shall mean any work of authorship, including |
| 2682 | the original version of the Work and any modifications or additions |
| 2683 | to that Work or Derivative Works thereof, that is intentionally |
| 2684 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 2685 | or by an individual or Legal Entity authorized to submit on behalf of |
| 2686 | the copyright owner. For the purposes of this definition, "submitted" |
| 2687 | means any form of electronic, verbal, or written communication sent |
| 2688 | to the Licensor or its representatives, including but not limited to |
| 2689 | communication on electronic mailing lists, source code control systems, |
| 2690 | and issue tracking systems that are managed by, or on behalf of, the |
| 2691 | Licensor for the purpose of discussing and improving the Work, but |
| 2692 | excluding communication that is conspicuously marked or otherwise |
| 2693 | designated in writing by the copyright owner as "Not a Contribution." |
| 2694 | |
| 2695 | "Contributor" shall mean Licensor and any individual or Legal Entity |
| 2696 | on behalf of whom a Contribution has been received by Licensor and |
| 2697 | subsequently incorporated within the Work. |
| 2698 | |
| 2699 | 2. Grant of Copyright License. Subject to the terms and conditions of |
| 2700 | this License, each Contributor hereby grants to You a perpetual, |
| 2701 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 2702 | copyright license to reproduce, prepare Derivative Works of, |
| 2703 | publicly display, publicly perform, sublicense, and distribute the |
| 2704 | Work and such Derivative Works in Source or Object form. |
| 2705 | |
| 2706 | 3. Grant of Patent License. Subject to the terms and conditions of |
| 2707 | this License, each Contributor hereby grants to You a perpetual, |
| 2708 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 2709 | (except as stated in this section) patent license to make, have made, |
| 2710 | use, offer to sell, sell, import, and otherwise transfer the Work, |
| 2711 | where such license applies only to those patent claims licensable |
| 2712 | by such Contributor that are necessarily infringed by their |
| 2713 | Contribution(s) alone or by combination of their Contribution(s) |
| 2714 | with the Work to which such Contribution(s) was submitted. If You |
| 2715 | institute patent litigation against any entity (including a |
| 2716 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 2717 | or a Contribution incorporated within the Work constitutes direct |
| 2718 | or contributory patent infringement, then any patent licenses |
| 2719 | granted to You under this License for that Work shall terminate |
| 2720 | as of the date such litigation is filed. |
| 2721 | |
| 2722 | 4. Redistribution. You may reproduce and distribute copies of the |
| 2723 | Work or Derivative Works thereof in any medium, with or without |
| 2724 | modifications, and in Source or Object form, provided that You |
| 2725 | meet the following conditions: |
| 2726 | |
| 2727 | (a) You must give any other recipients of the Work or |
| 2728 | Derivative Works a copy of this License; and |
| 2729 | |
| 2730 | (b) You must cause any modified files to carry prominent notices |
| 2731 | stating that You changed the files; and |
| 2732 | |
| 2733 | (c) You must retain, in the Source form of any Derivative Works |
| 2734 | that You distribute, all copyright, patent, trademark, and |
| 2735 | attribution notices from the Source form of the Work, |
| 2736 | excluding those notices that do not pertain to any part of |
| 2737 | the Derivative Works; and |
| 2738 | |
| 2739 | (d) If the Work includes a "NOTICE" text file as part of its |
| 2740 | distribution, then any Derivative Works that You distribute must |
| 2741 | include a readable copy of the attribution notices contained |
| 2742 | within such NOTICE file, excluding those notices that do not |
| 2743 | pertain to any part of the Derivative Works, in at least one |
| 2744 | of the following places: within a NOTICE text file distributed |
| 2745 | as part of the Derivative Works; within the Source form or |
| 2746 | documentation, if provided along with the Derivative Works; or, |
| 2747 | within a display generated by the Derivative Works, if and |
| 2748 | wherever such third-party notices normally appear. The contents |
| 2749 | of the NOTICE file are for informational purposes only and |
| 2750 | do not modify the License. You may add Your own attribution |
| 2751 | notices within Derivative Works that You distribute, alongside |
| 2752 | or as an addendum to the NOTICE text from the Work, provided |
| 2753 | that such additional attribution notices cannot be construed |
| 2754 | as modifying the License. |
| 2755 | |
| 2756 | You may add Your own copyright statement to Your modifications and |
| 2757 | may provide additional or different license terms and conditions |
| 2758 | for use, reproduction, or distribution of Your modifications, or |
| 2759 | for any such Derivative Works as a whole, provided Your use, |
| 2760 | reproduction, and distribution of the Work otherwise complies with |
| 2761 | the conditions stated in this License. |
| 2762 | |
| 2763 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
| 2764 | any Contribution intentionally submitted for inclusion in the Work |
| 2765 | by You to the Licensor shall be under the terms and conditions of |
| 2766 | this License, without any additional terms or conditions. |
| 2767 | Notwithstanding the above, nothing herein shall supersede or modify |
| 2768 | the terms of any separate license agreement you may have executed |
| 2769 | with Licensor regarding such Contributions. |
| 2770 | |
| 2771 | 6. Trademarks. This License does not grant permission to use the trade |
| 2772 | names, trademarks, service marks, or product names of the Licensor, |
| 2773 | except as required for reasonable and customary use in describing the |
| 2774 | origin of the Work and reproducing the content of the NOTICE file. |
| 2775 | |
| 2776 | 7. Disclaimer of Warranty. Unless required by applicable law or |
| 2777 | agreed to in writing, Licensor provides the Work (and each |
| 2778 | Contributor provides its Contributions) on an "AS IS" BASIS, |
| 2779 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 2780 | implied, including, without limitation, any warranties or conditions |
| 2781 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
| 2782 | PARTICULAR PURPOSE. You are solely responsible for determining the |
| 2783 | appropriateness of using or redistributing the Work and assume any |
| 2784 | risks associated with Your exercise of permissions under this License. |
| 2785 | |
| 2786 | 8. Limitation of Liability. In no event and under no legal theory, |
| 2787 | whether in tort (including negligence), contract, or otherwise, |
| 2788 | unless required by applicable law (such as deliberate and grossly |
| 2789 | negligent acts) or agreed to in writing, shall any Contributor be |
| 2790 | liable to You for damages, including any direct, indirect, special, |
| 2791 | incidental, or consequential damages of any character arising as a |
| 2792 | result of this License or out of the use or inability to use the |
| 2793 | Work (including but not limited to damages for loss of goodwill, |
| 2794 | work stoppage, computer failure or malfunction, or any and all |
| 2795 | other commercial damages or losses), even if such Contributor |
| 2796 | has been advised of the possibility of such damages. |
| 2797 | |
| 2798 | 9. Accepting Warranty or Additional Liability. While redistributing |
| 2799 | the Work or Derivative Works thereof, You may choose to offer, |
| 2800 | and charge a fee for, acceptance of support, warranty, indemnity, |
| 2801 | or other liability obligations and/or rights consistent with this |
| 2802 | License. However, in accepting such obligations, You may act only |
| 2803 | on Your own behalf and on Your sole responsibility, not on behalf |
| 2804 | of any other Contributor, and only if You agree to indemnify, |
| 2805 | defend, and hold each Contributor harmless for any liability |
| 2806 | incurred by, or claims asserted against, such Contributor by reason |
| 2807 | of your accepting any such warranty or additional liability. |
| 2808 | |
| 2809 | END OF TERMS AND CONDITIONS |
| 2810 | |
| 2811 | APPENDIX: How to apply the Apache License to your work. |
| 2812 | |
| 2813 | To apply the Apache License to your work, attach the following |
| 2814 | boilerplate notice, with the fields enclosed by brackets "[]" |
| 2815 | replaced with your own identifying information. (Don't include |
| 2816 | the brackets!) The text should be enclosed in the appropriate |
| 2817 | comment syntax for the file format. We also recommend that a |
| 2818 | file or class name and description of purpose be included on the |
| 2819 | same "printed page" as the copyright notice for easier |
| 2820 | identification within third-party archives. |
| 2821 | |
| 2822 | Copyright [yyyy] [name of copyright owner] |
| 2823 | |
| 2824 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 2825 | you may not use this file except in compliance with the License. |
| 2826 | You may obtain a copy of the License at |
| 2827 | |
| 2828 | http://www.apache.org/licenses/LICENSE-2.0 |
| 2829 | |
| 2830 | Unless required by applicable law or agreed to in writing, software |
| 2831 | distributed under the License is distributed on an "AS IS" BASIS, |
| 2832 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 2833 | See the License for the specific language governing permissions and |
| 2834 | limitations under the License. |
| 2835 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 2836 | Copyright (c) 2012, Manfred Moitzi |
| 2837 | |
| 2838 | Permission is hereby granted, free of charge, to any person obtaining a |
| 2839 | copy of this software and associated documentation files (the |
| 2840 | "Software"), to deal in the Software without restriction, including |
| 2841 | without limitation the rights to use, copy, modify, merge, publish, |
| 2842 | distribute, sublicense, and/or sell copies of the Software, and to |
| 2843 | permit persons to whom the Software is furnished to do so, subject to |
| 2844 | the following conditions: |
| 2845 | |
| 2846 | The above copyright notice and this permission notice shall be included |
| 2847 | in all copies or substantial portions of the Software. |
| 2848 | |
| 2849 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 2850 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 2851 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 2852 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 2853 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 2854 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 2855 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 2856 | |
| 2857 | Deutsche Übersetzung: |
| 2858 | |
| 2859 | Copyright (c) 2012, Manfred Moitzi |
| 2860 | |
| 2861 | Hiermit wird unentgeltlich, jeder Person, die eine Kopie der Software |
| 2862 | und der zugehörigen Dokumentationen (die "Software") erhält, die |
| 2863 | Erlaubnis erteilt, uneingeschränkt zu benutzen, inklusive und ohne |
| 2864 | Ausnahme, dem Recht, sie zu verwenden, kopieren, ändern, fusionieren, |
| 2865 | verlegen, verbreiten, unterlizenzieren und/oder zu verkaufen, und |
| 2866 | Personen, die diese Software erhalten, diese Rechte zu geben, unter den |
| 2867 | folgenden Bedingungen: |
| 2868 | |
| 2869 | Der obige Urheberrechtsvermerk und dieser Erlaubnisvermerk sind in allen |
| 2870 | Kopien oder Teilkopien der Software beizulegen. |
| 2871 | |
| 2872 | DIE SOFTWARE WIRD OHNE JEDE AUSDRÜCKLICHE ODER IMPLIZIERTE GARANTIE |
| 2873 | BEREITGESTELLT, EINSCHLIESSLICH DER GARANTIE ZUR BENUTZUNG FÜR DEN |
| 2874 | VORGESEHENEN ODER EINEM BESTIMMTEN ZWECK SOWIE JEGLICHER |
| 2875 | RECHTSVERLETZUNG, JEDOCH NICHT DARAUF BESCHRÄNKT. IN KEINEM FALL SIND |
| 2876 | DIE AUTOREN ODER COPYRIGHTINHABER FÜR JEGLICHEN SCHADEN ODER SONSTIGE |
| 2877 | ANSPRÜCHE HAFTBAR ZU MACHEN, OB INFOLGE DER ERFÜLLUNG EINES VERTRAGES, |
| 2878 | EINES DELIKTES ODER ANDERS IM ZUSAMMENHANG MIT DER SOFTWARE ODER |
| 2879 | SONSTIGER VERWENDUNG DER SOFTWARE ENTSTANDEN. |
| 2880 | |
| 2881 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 2882 | // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2883 | // |
| 2884 | // Redistribution and use in source and binary forms, with or without |
| 2885 | // modification, are permitted provided that the following conditions are |
| 2886 | // met: |
| 2887 | // |
| 2888 | // * Redistributions of source code must retain the above copyright |
| 2889 | // notice, this list of conditions and the following disclaimer. |
| 2890 | // * Redistributions in binary form must reproduce the above |
| 2891 | // copyright notice, this list of conditions and the following disclaimer |
| 2892 | // in the documentation and/or other materials provided with the |
| 2893 | // distribution. |
| 2894 | // * Neither the name of Google Inc. nor the names of its |
| 2895 | // contributors may be used to endorse or promote products derived from |
| 2896 | // this software without specific prior written permission. |
| 2897 | // |
| 2898 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 2899 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 2900 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 2901 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 2902 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 2903 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 2904 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 2905 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 2906 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 2907 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 2908 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 2909 | |
Torne (Richard Coles) | 58537e2 | 2013-09-12 12:10:22 +0100 | [diff] [blame] | 2910 | |
| 2911 | Apache License |
| 2912 | Version 2.0, January 2004 |
| 2913 | http://www.apache.org/licenses/ |
| 2914 | |
| 2915 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 2916 | |
| 2917 | 1. Definitions. |
| 2918 | |
| 2919 | "License" shall mean the terms and conditions for use, reproduction, |
| 2920 | and distribution as defined by Sections 1 through 9 of this document. |
| 2921 | |
| 2922 | "Licensor" shall mean the copyright owner or entity authorized by |
| 2923 | the copyright owner that is granting the License. |
| 2924 | |
| 2925 | "Legal Entity" shall mean the union of the acting entity and all |
| 2926 | other entities that control, are controlled by, or are under common |
| 2927 | control with that entity. For the purposes of this definition, |
| 2928 | "control" means (i) the power, direct or indirect, to cause the |
| 2929 | direction or management of such entity, whether by contract or |
| 2930 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 2931 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 2932 | |
| 2933 | "You" (or "Your") shall mean an individual or Legal Entity |
| 2934 | exercising permissions granted by this License. |
| 2935 | |
| 2936 | "Source" form shall mean the preferred form for making modifications, |
| 2937 | including but not limited to software source code, documentation |
| 2938 | source, and configuration files. |
| 2939 | |
| 2940 | "Object" form shall mean any form resulting from mechanical |
| 2941 | transformation or translation of a Source form, including but |
| 2942 | not limited to compiled object code, generated documentation, |
| 2943 | and conversions to other media types. |
| 2944 | |
| 2945 | "Work" shall mean the work of authorship, whether in Source or |
| 2946 | Object form, made available under the License, as indicated by a |
| 2947 | copyright notice that is included in or attached to the work |
| 2948 | (an example is provided in the Appendix below). |
| 2949 | |
| 2950 | "Derivative Works" shall mean any work, whether in Source or Object |
| 2951 | form, that is based on (or derived from) the Work and for which the |
| 2952 | editorial revisions, annotations, elaborations, or other modifications |
| 2953 | represent, as a whole, an original work of authorship. For the purposes |
| 2954 | of this License, Derivative Works shall not include works that remain |
| 2955 | separable from, or merely link (or bind by name) to the interfaces of, |
| 2956 | the Work and Derivative Works thereof. |
| 2957 | |
| 2958 | "Contribution" shall mean any work of authorship, including |
| 2959 | the original version of the Work and any modifications or additions |
| 2960 | to that Work or Derivative Works thereof, that is intentionally |
| 2961 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 2962 | or by an individual or Legal Entity authorized to submit on behalf of |
| 2963 | the copyright owner. For the purposes of this definition, "submitted" |
| 2964 | means any form of electronic, verbal, or written communication sent |
| 2965 | to the Licensor or its representatives, including but not limited to |
| 2966 | communication on electronic mailing lists, source code control systems, |
| 2967 | and issue tracking systems that are managed by, or on behalf of, the |
| 2968 | Licensor for the purpose of discussing and improving the Work, but |
| 2969 | excluding communication that is conspicuously marked or otherwise |
| 2970 | designated in writing by the copyright owner as "Not a Contribution." |
| 2971 | |
| 2972 | "Contributor" shall mean Licensor and any individual or Legal Entity |
| 2973 | on behalf of whom a Contribution has been received by Licensor and |
| 2974 | subsequently incorporated within the Work. |
| 2975 | |
| 2976 | 2. Grant of Copyright License. Subject to the terms and conditions of |
| 2977 | this License, each Contributor hereby grants to You a perpetual, |
| 2978 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 2979 | copyright license to reproduce, prepare Derivative Works of, |
| 2980 | publicly display, publicly perform, sublicense, and distribute the |
| 2981 | Work and such Derivative Works in Source or Object form. |
| 2982 | |
| 2983 | 3. Grant of Patent License. Subject to the terms and conditions of |
| 2984 | this License, each Contributor hereby grants to You a perpetual, |
| 2985 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 2986 | (except as stated in this section) patent license to make, have made, |
| 2987 | use, offer to sell, sell, import, and otherwise transfer the Work, |
| 2988 | where such license applies only to those patent claims licensable |
| 2989 | by such Contributor that are necessarily infringed by their |
| 2990 | Contribution(s) alone or by combination of their Contribution(s) |
| 2991 | with the Work to which such Contribution(s) was submitted. If You |
| 2992 | institute patent litigation against any entity (including a |
| 2993 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 2994 | or a Contribution incorporated within the Work constitutes direct |
| 2995 | or contributory patent infringement, then any patent licenses |
| 2996 | granted to You under this License for that Work shall terminate |
| 2997 | as of the date such litigation is filed. |
| 2998 | |
| 2999 | 4. Redistribution. You may reproduce and distribute copies of the |
| 3000 | Work or Derivative Works thereof in any medium, with or without |
| 3001 | modifications, and in Source or Object form, provided that You |
| 3002 | meet the following conditions: |
| 3003 | |
| 3004 | (a) You must give any other recipients of the Work or |
| 3005 | Derivative Works a copy of this License; and |
| 3006 | |
| 3007 | (b) You must cause any modified files to carry prominent notices |
| 3008 | stating that You changed the files; and |
| 3009 | |
| 3010 | (c) You must retain, in the Source form of any Derivative Works |
| 3011 | that You distribute, all copyright, patent, trademark, and |
| 3012 | attribution notices from the Source form of the Work, |
| 3013 | excluding those notices that do not pertain to any part of |
| 3014 | the Derivative Works; and |
| 3015 | |
| 3016 | (d) If the Work includes a "NOTICE" text file as part of its |
| 3017 | distribution, then any Derivative Works that You distribute must |
| 3018 | include a readable copy of the attribution notices contained |
| 3019 | within such NOTICE file, excluding those notices that do not |
| 3020 | pertain to any part of the Derivative Works, in at least one |
| 3021 | of the following places: within a NOTICE text file distributed |
| 3022 | as part of the Derivative Works; within the Source form or |
| 3023 | documentation, if provided along with the Derivative Works; or, |
| 3024 | within a display generated by the Derivative Works, if and |
| 3025 | wherever such third-party notices normally appear. The contents |
| 3026 | of the NOTICE file are for informational purposes only and |
| 3027 | do not modify the License. You may add Your own attribution |
| 3028 | notices within Derivative Works that You distribute, alongside |
| 3029 | or as an addendum to the NOTICE text from the Work, provided |
| 3030 | that such additional attribution notices cannot be construed |
| 3031 | as modifying the License. |
| 3032 | |
| 3033 | You may add Your own copyright statement to Your modifications and |
| 3034 | may provide additional or different license terms and conditions |
| 3035 | for use, reproduction, or distribution of Your modifications, or |
| 3036 | for any such Derivative Works as a whole, provided Your use, |
| 3037 | reproduction, and distribution of the Work otherwise complies with |
| 3038 | the conditions stated in this License. |
| 3039 | |
| 3040 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
| 3041 | any Contribution intentionally submitted for inclusion in the Work |
| 3042 | by You to the Licensor shall be under the terms and conditions of |
| 3043 | this License, without any additional terms or conditions. |
| 3044 | Notwithstanding the above, nothing herein shall supersede or modify |
| 3045 | the terms of any separate license agreement you may have executed |
| 3046 | with Licensor regarding such Contributions. |
| 3047 | |
| 3048 | 6. Trademarks. This License does not grant permission to use the trade |
| 3049 | names, trademarks, service marks, or product names of the Licensor, |
| 3050 | except as required for reasonable and customary use in describing the |
| 3051 | origin of the Work and reproducing the content of the NOTICE file. |
| 3052 | |
| 3053 | 7. Disclaimer of Warranty. Unless required by applicable law or |
| 3054 | agreed to in writing, Licensor provides the Work (and each |
| 3055 | Contributor provides its Contributions) on an "AS IS" BASIS, |
| 3056 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 3057 | implied, including, without limitation, any warranties or conditions |
| 3058 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
| 3059 | PARTICULAR PURPOSE. You are solely responsible for determining the |
| 3060 | appropriateness of using or redistributing the Work and assume any |
| 3061 | risks associated with Your exercise of permissions under this License. |
| 3062 | |
| 3063 | 8. Limitation of Liability. In no event and under no legal theory, |
| 3064 | whether in tort (including negligence), contract, or otherwise, |
| 3065 | unless required by applicable law (such as deliberate and grossly |
| 3066 | negligent acts) or agreed to in writing, shall any Contributor be |
| 3067 | liable to You for damages, including any direct, indirect, special, |
| 3068 | incidental, or consequential damages of any character arising as a |
| 3069 | result of this License or out of the use or inability to use the |
| 3070 | Work (including but not limited to damages for loss of goodwill, |
| 3071 | work stoppage, computer failure or malfunction, or any and all |
| 3072 | other commercial damages or losses), even if such Contributor |
| 3073 | has been advised of the possibility of such damages. |
| 3074 | |
| 3075 | 9. Accepting Warranty or Additional Liability. While redistributing |
| 3076 | the Work or Derivative Works thereof, You may choose to offer, |
| 3077 | and charge a fee for, acceptance of support, warranty, indemnity, |
| 3078 | or other liability obligations and/or rights consistent with this |
| 3079 | License. However, in accepting such obligations, You may act only |
| 3080 | on Your own behalf and on Your sole responsibility, not on behalf |
| 3081 | of any other Contributor, and only if You agree to indemnify, |
| 3082 | defend, and hold each Contributor harmless for any liability |
| 3083 | incurred by, or claims asserted against, such Contributor by reason |
| 3084 | of your accepting any such warranty or additional liability. |
| 3085 | |
| 3086 | END OF TERMS AND CONDITIONS |
| 3087 | |
| 3088 | APPENDIX: How to apply the Apache License to your work. |
| 3089 | |
| 3090 | To apply the Apache License to your work, attach the following |
| 3091 | boilerplate notice, with the fields enclosed by brackets "[]" |
| 3092 | replaced with your own identifying information. (Don't include |
| 3093 | the brackets!) The text should be enclosed in the appropriate |
| 3094 | comment syntax for the file format. We also recommend that a |
| 3095 | file or class name and description of purpose be included on the |
| 3096 | same "printed page" as the copyright notice for easier |
| 3097 | identification within third-party archives. |
| 3098 | |
| 3099 | Copyright [yyyy] [name of copyright owner] |
| 3100 | |
| 3101 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 3102 | you may not use this file except in compliance with the License. |
| 3103 | You may obtain a copy of the License at |
| 3104 | |
| 3105 | http://www.apache.org/licenses/LICENSE-2.0 |
| 3106 | |
| 3107 | Unless required by applicable law or agreed to in writing, software |
| 3108 | distributed under the License is distributed on an "AS IS" BASIS, |
| 3109 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 3110 | See the License for the specific language governing permissions and |
| 3111 | limitations under the License. |
| 3112 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 3113 | MOZILLA PUBLIC LICENSE |
| 3114 | Version 1.1 |
| 3115 | |
| 3116 | --------------- |
| 3117 | |
| 3118 | 1. Definitions. |
| 3119 | |
| 3120 | 1.0.1. "Commercial Use" means distribution or otherwise making the |
| 3121 | Covered Code available to a third party. |
| 3122 | |
| 3123 | 1.1. "Contributor" means each entity that creates or contributes to |
| 3124 | the creation of Modifications. |
| 3125 | |
| 3126 | 1.2. "Contributor Version" means the combination of the Original |
| 3127 | Code, prior Modifications used by a Contributor, and the Modifications |
| 3128 | made by that particular Contributor. |
| 3129 | |
| 3130 | 1.3. "Covered Code" means the Original Code or Modifications or the |
| 3131 | combination of the Original Code and Modifications, in each case |
| 3132 | including portions thereof. |
| 3133 | |
| 3134 | 1.4. "Electronic Distribution Mechanism" means a mechanism generally |
| 3135 | accepted in the software development community for the electronic |
| 3136 | transfer of data. |
| 3137 | |
| 3138 | 1.5. "Executable" means Covered Code in any form other than Source |
| 3139 | Code. |
| 3140 | |
| 3141 | 1.6. "Initial Developer" means the individual or entity identified |
| 3142 | as the Initial Developer in the Source Code notice required by Exhibit |
| 3143 | A. |
| 3144 | |
| 3145 | 1.7. "Larger Work" means a work which combines Covered Code or |
| 3146 | portions thereof with code not governed by the terms of this License. |
| 3147 | |
| 3148 | 1.8. "License" means this document. |
| 3149 | |
| 3150 | 1.8.1. "Licensable" means having the right to grant, to the maximum |
| 3151 | extent possible, whether at the time of the initial grant or |
| 3152 | subsequently acquired, any and all of the rights conveyed herein. |
| 3153 | |
| 3154 | 1.9. "Modifications" means any addition to or deletion from the |
| 3155 | substance or structure of either the Original Code or any previous |
| 3156 | Modifications. When Covered Code is released as a series of files, a |
| 3157 | Modification is: |
| 3158 | A. Any addition to or deletion from the contents of a file |
| 3159 | containing Original Code or previous Modifications. |
| 3160 | |
| 3161 | B. Any new file that contains any part of the Original Code or |
| 3162 | previous Modifications. |
| 3163 | |
| 3164 | 1.10. "Original Code" means Source Code of computer software code |
| 3165 | which is described in the Source Code notice required by Exhibit A as |
| 3166 | Original Code, and which, at the time of its release under this |
| 3167 | License is not already Covered Code governed by this License. |
| 3168 | |
| 3169 | 1.10.1. "Patent Claims" means any patent claim(s), now owned or |
| 3170 | hereafter acquired, including without limitation, method, process, |
| 3171 | and apparatus claims, in any patent Licensable by grantor. |
| 3172 | |
| 3173 | 1.11. "Source Code" means the preferred form of the Covered Code for |
| 3174 | making modifications to it, including all modules it contains, plus |
| 3175 | any associated interface definition files, scripts used to control |
| 3176 | compilation and installation of an Executable, or source code |
| 3177 | differential comparisons against either the Original Code or another |
| 3178 | well known, available Covered Code of the Contributor's choice. The |
| 3179 | Source Code can be in a compressed or archival form, provided the |
| 3180 | appropriate decompression or de-archiving software is widely available |
| 3181 | for no charge. |
| 3182 | |
| 3183 | 1.12. "You" (or "Your") means an individual or a legal entity |
| 3184 | exercising rights under, and complying with all of the terms of, this |
| 3185 | License or a future version of this License issued under Section 6.1. |
| 3186 | For legal entities, "You" includes any entity which controls, is |
| 3187 | controlled by, or is under common control with You. For purposes of |
| 3188 | this definition, "control" means (a) the power, direct or indirect, |
| 3189 | to cause the direction or management of such entity, whether by |
| 3190 | contract or otherwise, or (b) ownership of more than fifty percent |
| 3191 | (50%) of the outstanding shares or beneficial ownership of such |
| 3192 | entity. |
| 3193 | |
| 3194 | 2. Source Code License. |
| 3195 | |
| 3196 | 2.1. The Initial Developer Grant. |
| 3197 | The Initial Developer hereby grants You a world-wide, royalty-free, |
| 3198 | non-exclusive license, subject to third party intellectual property |
| 3199 | claims: |
| 3200 | (a) under intellectual property rights (other than patent or |
| 3201 | trademark) Licensable by Initial Developer to use, reproduce, |
| 3202 | modify, display, perform, sublicense and distribute the Original |
| 3203 | Code (or portions thereof) with or without Modifications, and/or |
| 3204 | as part of a Larger Work; and |
| 3205 | |
| 3206 | (b) under Patents Claims infringed by the making, using or |
| 3207 | selling of Original Code, to make, have made, use, practice, |
| 3208 | sell, and offer for sale, and/or otherwise dispose of the |
| 3209 | Original Code (or portions thereof). |
| 3210 | |
| 3211 | (c) the licenses granted in this Section 2.1(a) and (b) are |
| 3212 | effective on the date Initial Developer first distributes |
| 3213 | Original Code under the terms of this License. |
| 3214 | |
| 3215 | (d) Notwithstanding Section 2.1(b) above, no patent license is |
| 3216 | granted: 1) for code that You delete from the Original Code; 2) |
| 3217 | separate from the Original Code; or 3) for infringements caused |
| 3218 | by: i) the modification of the Original Code or ii) the |
| 3219 | combination of the Original Code with other software or devices. |
| 3220 | |
| 3221 | 2.2. Contributor Grant. |
| 3222 | Subject to third party intellectual property claims, each Contributor |
| 3223 | hereby grants You a world-wide, royalty-free, non-exclusive license |
| 3224 | |
| 3225 | (a) under intellectual property rights (other than patent or |
| 3226 | trademark) Licensable by Contributor, to use, reproduce, modify, |
| 3227 | display, perform, sublicense and distribute the Modifications |
| 3228 | created by such Contributor (or portions thereof) either on an |
| 3229 | unmodified basis, with other Modifications, as Covered Code |
| 3230 | and/or as part of a Larger Work; and |
| 3231 | |
| 3232 | (b) under Patent Claims infringed by the making, using, or |
| 3233 | selling of Modifications made by that Contributor either alone |
| 3234 | and/or in combination with its Contributor Version (or portions |
| 3235 | of such combination), to make, use, sell, offer for sale, have |
| 3236 | made, and/or otherwise dispose of: 1) Modifications made by that |
| 3237 | Contributor (or portions thereof); and 2) the combination of |
| 3238 | Modifications made by that Contributor with its Contributor |
| 3239 | Version (or portions of such combination). |
| 3240 | |
| 3241 | (c) the licenses granted in Sections 2.2(a) and 2.2(b) are |
| 3242 | effective on the date Contributor first makes Commercial Use of |
| 3243 | the Covered Code. |
| 3244 | |
| 3245 | (d) Notwithstanding Section 2.2(b) above, no patent license is |
| 3246 | granted: 1) for any code that Contributor has deleted from the |
| 3247 | Contributor Version; 2) separate from the Contributor Version; |
| 3248 | 3) for infringements caused by: i) third party modifications of |
| 3249 | Contributor Version or ii) the combination of Modifications made |
| 3250 | by that Contributor with other software (except as part of the |
| 3251 | Contributor Version) or other devices; or 4) under Patent Claims |
| 3252 | infringed by Covered Code in the absence of Modifications made by |
| 3253 | that Contributor. |
| 3254 | |
| 3255 | 3. Distribution Obligations. |
| 3256 | |
| 3257 | 3.1. Application of License. |
| 3258 | The Modifications which You create or to which You contribute are |
| 3259 | governed by the terms of this License, including without limitation |
| 3260 | Section 2.2. The Source Code version of Covered Code may be |
| 3261 | distributed only under the terms of this License or a future version |
| 3262 | of this License released under Section 6.1, and You must include a |
| 3263 | copy of this License with every copy of the Source Code You |
| 3264 | distribute. You may not offer or impose any terms on any Source Code |
| 3265 | version that alters or restricts the applicable version of this |
| 3266 | License or the recipients' rights hereunder. However, You may include |
| 3267 | an additional document offering the additional rights described in |
| 3268 | Section 3.5. |
| 3269 | |
| 3270 | 3.2. Availability of Source Code. |
| 3271 | Any Modification which You create or to which You contribute must be |
| 3272 | made available in Source Code form under the terms of this License |
| 3273 | either on the same media as an Executable version or via an accepted |
| 3274 | Electronic Distribution Mechanism to anyone to whom you made an |
| 3275 | Executable version available; and if made available via Electronic |
| 3276 | Distribution Mechanism, must remain available for at least twelve (12) |
| 3277 | months after the date it initially became available, or at least six |
| 3278 | (6) months after a subsequent version of that particular Modification |
| 3279 | has been made available to such recipients. You are responsible for |
| 3280 | ensuring that the Source Code version remains available even if the |
| 3281 | Electronic Distribution Mechanism is maintained by a third party. |
| 3282 | |
| 3283 | 3.3. Description of Modifications. |
| 3284 | You must cause all Covered Code to which You contribute to contain a |
| 3285 | file documenting the changes You made to create that Covered Code and |
| 3286 | the date of any change. You must include a prominent statement that |
| 3287 | the Modification is derived, directly or indirectly, from Original |
| 3288 | Code provided by the Initial Developer and including the name of the |
| 3289 | Initial Developer in (a) the Source Code, and (b) in any notice in an |
| 3290 | Executable version or related documentation in which You describe the |
| 3291 | origin or ownership of the Covered Code. |
| 3292 | |
| 3293 | 3.4. Intellectual Property Matters |
| 3294 | (a) Third Party Claims. |
| 3295 | If Contributor has knowledge that a license under a third party's |
| 3296 | intellectual property rights is required to exercise the rights |
| 3297 | granted by such Contributor under Sections 2.1 or 2.2, |
| 3298 | Contributor must include a text file with the Source Code |
| 3299 | distribution titled "LEGAL" which describes the claim and the |
| 3300 | party making the claim in sufficient detail that a recipient will |
| 3301 | know whom to contact. If Contributor obtains such knowledge after |
| 3302 | the Modification is made available as described in Section 3.2, |
| 3303 | Contributor shall promptly modify the LEGAL file in all copies |
| 3304 | Contributor makes available thereafter and shall take other steps |
| 3305 | (such as notifying appropriate mailing lists or newsgroups) |
| 3306 | reasonably calculated to inform those who received the Covered |
| 3307 | Code that new knowledge has been obtained. |
| 3308 | |
| 3309 | (b) Contributor APIs. |
| 3310 | If Contributor's Modifications include an application programming |
| 3311 | interface and Contributor has knowledge of patent licenses which |
| 3312 | are reasonably necessary to implement that API, Contributor must |
| 3313 | also include this information in the LEGAL file. |
| 3314 | |
| 3315 | (c) Representations. |
| 3316 | Contributor represents that, except as disclosed pursuant to |
| 3317 | Section 3.4(a) above, Contributor believes that Contributor's |
| 3318 | Modifications are Contributor's original creation(s) and/or |
| 3319 | Contributor has sufficient rights to grant the rights conveyed by |
| 3320 | this License. |
| 3321 | |
| 3322 | 3.5. Required Notices. |
| 3323 | You must duplicate the notice in Exhibit A in each file of the Source |
| 3324 | Code. If it is not possible to put such notice in a particular Source |
| 3325 | Code file due to its structure, then You must include such notice in a |
| 3326 | location (such as a relevant directory) where a user would be likely |
| 3327 | to look for such a notice. If You created one or more Modification(s) |
| 3328 | You may add your name as a Contributor to the notice described in |
| 3329 | Exhibit A. You must also duplicate this License in any documentation |
| 3330 | for the Source Code where You describe recipients' rights or ownership |
| 3331 | rights relating to Covered Code. You may choose to offer, and to |
| 3332 | charge a fee for, warranty, support, indemnity or liability |
| 3333 | obligations to one or more recipients of Covered Code. However, You |
| 3334 | may do so only on Your own behalf, and not on behalf of the Initial |
| 3335 | Developer or any Contributor. You must make it absolutely clear than |
| 3336 | any such warranty, support, indemnity or liability obligation is |
| 3337 | offered by You alone, and You hereby agree to indemnify the Initial |
| 3338 | Developer and every Contributor for any liability incurred by the |
| 3339 | Initial Developer or such Contributor as a result of warranty, |
| 3340 | support, indemnity or liability terms You offer. |
| 3341 | |
| 3342 | 3.6. Distribution of Executable Versions. |
| 3343 | You may distribute Covered Code in Executable form only if the |
| 3344 | requirements of Section 3.1-3.5 have been met for that Covered Code, |
| 3345 | and if You include a notice stating that the Source Code version of |
| 3346 | the Covered Code is available under the terms of this License, |
| 3347 | including a description of how and where You have fulfilled the |
| 3348 | obligations of Section 3.2. The notice must be conspicuously included |
| 3349 | in any notice in an Executable version, related documentation or |
| 3350 | collateral in which You describe recipients' rights relating to the |
| 3351 | Covered Code. You may distribute the Executable version of Covered |
| 3352 | Code or ownership rights under a license of Your choice, which may |
| 3353 | contain terms different from this License, provided that You are in |
| 3354 | compliance with the terms of this License and that the license for the |
| 3355 | Executable version does not attempt to limit or alter the recipient's |
| 3356 | rights in the Source Code version from the rights set forth in this |
| 3357 | License. If You distribute the Executable version under a different |
| 3358 | license You must make it absolutely clear that any terms which differ |
| 3359 | from this License are offered by You alone, not by the Initial |
| 3360 | Developer or any Contributor. You hereby agree to indemnify the |
| 3361 | Initial Developer and every Contributor for any liability incurred by |
| 3362 | the Initial Developer or such Contributor as a result of any such |
| 3363 | terms You offer. |
| 3364 | |
| 3365 | 3.7. Larger Works. |
| 3366 | You may create a Larger Work by combining Covered Code with other code |
| 3367 | not governed by the terms of this License and distribute the Larger |
| 3368 | Work as a single product. In such a case, You must make sure the |
| 3369 | requirements of this License are fulfilled for the Covered Code. |
| 3370 | |
| 3371 | 4. Inability to Comply Due to Statute or Regulation. |
| 3372 | |
| 3373 | If it is impossible for You to comply with any of the terms of this |
| 3374 | License with respect to some or all of the Covered Code due to |
| 3375 | statute, judicial order, or regulation then You must: (a) comply with |
| 3376 | the terms of this License to the maximum extent possible; and (b) |
| 3377 | describe the limitations and the code they affect. Such description |
| 3378 | must be included in the LEGAL file described in Section 3.4 and must |
| 3379 | be included with all distributions of the Source Code. Except to the |
| 3380 | extent prohibited by statute or regulation, such description must be |
| 3381 | sufficiently detailed for a recipient of ordinary skill to be able to |
| 3382 | understand it. |
| 3383 | |
| 3384 | 5. Application of this License. |
| 3385 | |
| 3386 | This License applies to code to which the Initial Developer has |
| 3387 | attached the notice in Exhibit A and to related Covered Code. |
| 3388 | |
| 3389 | 6. Versions of the License. |
| 3390 | |
| 3391 | 6.1. New Versions. |
| 3392 | Netscape Communications Corporation ("Netscape") may publish revised |
| 3393 | and/or new versions of the License from time to time. Each version |
| 3394 | will be given a distinguishing version number. |
| 3395 | |
| 3396 | 6.2. Effect of New Versions. |
| 3397 | Once Covered Code has been published under a particular version of the |
| 3398 | License, You may always continue to use it under the terms of that |
| 3399 | version. You may also choose to use such Covered Code under the terms |
| 3400 | of any subsequent version of the License published by Netscape. No one |
| 3401 | other than Netscape has the right to modify the terms applicable to |
| 3402 | Covered Code created under this License. |
| 3403 | |
| 3404 | 6.3. Derivative Works. |
| 3405 | If You create or use a modified version of this License (which you may |
| 3406 | only do in order to apply it to code which is not already Covered Code |
| 3407 | governed by this License), You must (a) rename Your license so that |
| 3408 | the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", |
| 3409 | "MPL", "NPL" or any confusingly similar phrase do not appear in your |
| 3410 | license (except to note that your license differs from this License) |
| 3411 | and (b) otherwise make it clear that Your version of the license |
| 3412 | contains terms which differ from the Mozilla Public License and |
| 3413 | Netscape Public License. (Filling in the name of the Initial |
| 3414 | Developer, Original Code or Contributor in the notice described in |
| 3415 | Exhibit A shall not of themselves be deemed to be modifications of |
| 3416 | this License.) |
| 3417 | |
| 3418 | 7. DISCLAIMER OF WARRANTY. |
| 3419 | |
| 3420 | COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, |
| 3421 | WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, |
| 3422 | WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF |
| 3423 | DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. |
| 3424 | THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE |
| 3425 | IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, |
| 3426 | YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE |
| 3427 | COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER |
| 3428 | OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF |
| 3429 | ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. |
| 3430 | |
| 3431 | 8. TERMINATION. |
| 3432 | |
| 3433 | 8.1. This License and the rights granted hereunder will terminate |
| 3434 | automatically if You fail to comply with terms herein and fail to cure |
| 3435 | such breach within 30 days of becoming aware of the breach. All |
| 3436 | sublicenses to the Covered Code which are properly granted shall |
| 3437 | survive any termination of this License. Provisions which, by their |
| 3438 | nature, must remain in effect beyond the termination of this License |
| 3439 | shall survive. |
| 3440 | |
| 3441 | 8.2. If You initiate litigation by asserting a patent infringement |
| 3442 | claim (excluding declatory judgment actions) against Initial Developer |
| 3443 | or a Contributor (the Initial Developer or Contributor against whom |
| 3444 | You file such action is referred to as "Participant") alleging that: |
| 3445 | |
| 3446 | (a) such Participant's Contributor Version directly or indirectly |
| 3447 | infringes any patent, then any and all rights granted by such |
| 3448 | Participant to You under Sections 2.1 and/or 2.2 of this License |
| 3449 | shall, upon 60 days notice from Participant terminate prospectively, |
| 3450 | unless if within 60 days after receipt of notice You either: (i) |
| 3451 | agree in writing to pay Participant a mutually agreeable reasonable |
| 3452 | royalty for Your past and future use of Modifications made by such |
| 3453 | Participant, or (ii) withdraw Your litigation claim with respect to |
| 3454 | the Contributor Version against such Participant. If within 60 days |
| 3455 | of notice, a reasonable royalty and payment arrangement are not |
| 3456 | mutually agreed upon in writing by the parties or the litigation claim |
| 3457 | is not withdrawn, the rights granted by Participant to You under |
| 3458 | Sections 2.1 and/or 2.2 automatically terminate at the expiration of |
| 3459 | the 60 day notice period specified above. |
| 3460 | |
| 3461 | (b) any software, hardware, or device, other than such Participant's |
| 3462 | Contributor Version, directly or indirectly infringes any patent, then |
| 3463 | any rights granted to You by such Participant under Sections 2.1(b) |
| 3464 | and 2.2(b) are revoked effective as of the date You first made, used, |
| 3465 | sold, distributed, or had made, Modifications made by that |
| 3466 | Participant. |
| 3467 | |
| 3468 | 8.3. If You assert a patent infringement claim against Participant |
| 3469 | alleging that such Participant's Contributor Version directly or |
| 3470 | indirectly infringes any patent where such claim is resolved (such as |
| 3471 | by license or settlement) prior to the initiation of patent |
| 3472 | infringement litigation, then the reasonable value of the licenses |
| 3473 | granted by such Participant under Sections 2.1 or 2.2 shall be taken |
| 3474 | into account in determining the amount or value of any payment or |
| 3475 | license. |
| 3476 | |
| 3477 | 8.4. In the event of termination under Sections 8.1 or 8.2 above, |
| 3478 | all end user license agreements (excluding distributors and resellers) |
| 3479 | which have been validly granted by You or any distributor hereunder |
| 3480 | prior to termination shall survive termination. |
| 3481 | |
| 3482 | 9. LIMITATION OF LIABILITY. |
| 3483 | |
| 3484 | UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT |
| 3485 | (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL |
| 3486 | DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, |
| 3487 | OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR |
| 3488 | ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY |
| 3489 | CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, |
| 3490 | WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER |
| 3491 | COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN |
| 3492 | INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF |
| 3493 | LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY |
| 3494 | RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW |
| 3495 | PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE |
| 3496 | EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO |
| 3497 | THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. |
| 3498 | |
| 3499 | 10. U.S. GOVERNMENT END USERS. |
| 3500 | |
| 3501 | The Covered Code is a "commercial item," as that term is defined in |
| 3502 | 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer |
| 3503 | software" and "commercial computer software documentation," as such |
| 3504 | terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 |
| 3505 | C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), |
| 3506 | all U.S. Government End Users acquire Covered Code with only those |
| 3507 | rights set forth herein. |
| 3508 | |
| 3509 | 11. MISCELLANEOUS. |
| 3510 | |
| 3511 | This License represents the complete agreement concerning subject |
| 3512 | matter hereof. If any provision of this License is held to be |
| 3513 | unenforceable, such provision shall be reformed only to the extent |
| 3514 | necessary to make it enforceable. This License shall be governed by |
| 3515 | California law provisions (except to the extent applicable law, if |
| 3516 | any, provides otherwise), excluding its conflict-of-law provisions. |
| 3517 | With respect to disputes in which at least one party is a citizen of, |
| 3518 | or an entity chartered or registered to do business in the United |
| 3519 | States of America, any litigation relating to this License shall be |
| 3520 | subject to the jurisdiction of the Federal Courts of the Northern |
| 3521 | District of California, with venue lying in Santa Clara County, |
| 3522 | California, with the losing party responsible for costs, including |
| 3523 | without limitation, court costs and reasonable attorneys' fees and |
| 3524 | expenses. The application of the United Nations Convention on |
| 3525 | Contracts for the International Sale of Goods is expressly excluded. |
| 3526 | Any law or regulation which provides that the language of a contract |
| 3527 | shall be construed against the drafter shall not apply to this |
| 3528 | License. |
| 3529 | |
| 3530 | 12. RESPONSIBILITY FOR CLAIMS. |
| 3531 | |
| 3532 | As between Initial Developer and the Contributors, each party is |
| 3533 | responsible for claims and damages arising, directly or indirectly, |
| 3534 | out of its utilization of rights under this License and You agree to |
| 3535 | work with Initial Developer and Contributors to distribute such |
| 3536 | responsibility on an equitable basis. Nothing herein is intended or |
| 3537 | shall be deemed to constitute any admission of liability. |
| 3538 | |
| 3539 | 13. MULTIPLE-LICENSED CODE. |
| 3540 | |
| 3541 | Initial Developer may designate portions of the Covered Code as |
| 3542 | "Multiple-Licensed". "Multiple-Licensed" means that the Initial |
| 3543 | Developer permits you to utilize portions of the Covered Code under |
| 3544 | Your choice of the NPL or the alternative licenses, if any, specified |
| 3545 | by the Initial Developer in the file described in Exhibit A. |
| 3546 | |
| 3547 | EXHIBIT A -Mozilla Public License. |
| 3548 | |
| 3549 | ``The contents of this file are subject to the Mozilla Public License |
| 3550 | Version 1.1 (the "License"); you may not use this file except in |
| 3551 | compliance with the License. You may obtain a copy of the License at |
| 3552 | http://www.mozilla.org/MPL/ |
| 3553 | |
| 3554 | Software distributed under the License is distributed on an "AS IS" |
| 3555 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
| 3556 | License for the specific language governing rights and limitations |
| 3557 | under the License. |
| 3558 | |
| 3559 | The Original Code is ______________________________________. |
| 3560 | |
| 3561 | The Initial Developer of the Original Code is ________________________. |
| 3562 | Portions created by ______________________ are Copyright (C) ______ |
| 3563 | _______________________. All Rights Reserved. |
| 3564 | |
| 3565 | Contributor(s): ______________________________________. |
| 3566 | |
| 3567 | Alternatively, the contents of this file may be used under the terms |
| 3568 | of the _____ license (the "[___] License"), in which case the |
| 3569 | provisions of [______] License are applicable instead of those |
| 3570 | above. If you wish to allow use of your version of this file only |
| 3571 | under the terms of the [____] License and not to allow others to use |
| 3572 | your version of this file under the MPL, indicate your decision by |
| 3573 | deleting the provisions above and replace them with the notice and |
| 3574 | other provisions required by the [___] License. If you do not delete |
| 3575 | the provisions above, a recipient may use your version of this file |
| 3576 | under either the MPL or the [___] License." |
| 3577 | |
| 3578 | [NOTE: The text of this Exhibit A may differ slightly from the text of |
| 3579 | the notices in the Source Code files of the Original Code. You should |
| 3580 | use the text of this Exhibit A rather than the text found in the |
| 3581 | Original Code Source Code for Your Modifications.] |
| 3582 | |
| 3583 | ---------------------------------------------------------------------- |
| 3584 | |
| 3585 | AMENDMENTS |
| 3586 | |
| 3587 | The Netscape Public License Version 1.1 ("NPL") consists of the |
| 3588 | Mozilla Public License Version 1.1 with the following Amendments, |
| 3589 | including Exhibit A-Netscape Public License. Files identified with |
| 3590 | "Exhibit A-Netscape Public License" are governed by the Netscape |
| 3591 | Public License Version 1.1. |
| 3592 | |
| 3593 | Additional Terms applicable to the Netscape Public License. |
| 3594 | I. Effect. |
| 3595 | These additional terms described in this Netscape Public |
| 3596 | License -- Amendments shall apply to the Mozilla Communicator |
| 3597 | client code and to all Covered Code under this License. |
| 3598 | |
| 3599 | II. "Netscape's Branded Code" means Covered Code that Netscape |
| 3600 | distributes and/or permits others to distribute under one or more |
| 3601 | trademark(s) which are controlled by Netscape but which are not |
| 3602 | licensed for use under this License. |
| 3603 | |
| 3604 | III. Netscape and logo. |
| 3605 | This License does not grant any rights to use the trademarks |
| 3606 | "Netscape", the "Netscape N and horizon" logo or the "Netscape |
| 3607 | lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript", |
| 3608 | "Smart Browsing" even if such marks are included in the Original |
| 3609 | Code or Modifications. |
| 3610 | |
| 3611 | IV. Inability to Comply Due to Contractual Obligation. |
| 3612 | Prior to licensing the Original Code under this License, Netscape |
| 3613 | has licensed third party code for use in Netscape's Branded Code. |
| 3614 | To the extent that Netscape is limited contractually from making |
| 3615 | such third party code available under this License, Netscape may |
| 3616 | choose to reintegrate such code into Covered Code without being |
| 3617 | required to distribute such code in Source Code form, even if |
| 3618 | such code would otherwise be considered "Modifications" under |
| 3619 | this License. |
| 3620 | |
| 3621 | V. Use of Modifications and Covered Code by Initial Developer. |
| 3622 | V.1. In General. |
| 3623 | The obligations of Section 3 apply to Netscape, except to |
| 3624 | the extent specified in this Amendment, Section V.2 and V.3. |
| 3625 | |
| 3626 | V.2. Other Products. |
| 3627 | Netscape may include Covered Code in products other than the |
| 3628 | Netscape's Branded Code which are released by Netscape |
| 3629 | during the two (2) years following the release date of the |
| 3630 | Original Code, without such additional products becoming |
| 3631 | subject to the terms of this License, and may license such |
| 3632 | additional products on different terms from those contained |
| 3633 | in this License. |
| 3634 | |
| 3635 | V.3. Alternative Licensing. |
| 3636 | Netscape may license the Source Code of Netscape's Branded |
| 3637 | Code, including Modifications incorporated therein, without |
| 3638 | such Netscape Branded Code becoming subject to the terms of |
| 3639 | this License, and may license such Netscape Branded Code on |
| 3640 | different terms from those contained in this License. |
| 3641 | |
| 3642 | VI. Litigation. |
| 3643 | Notwithstanding the limitations of Section 11 above, the |
| 3644 | provisions regarding litigation in Section 11(a), (b) and (c) of |
| 3645 | the License shall apply to all disputes relating to this License. |
| 3646 | |
| 3647 | EXHIBIT A-Netscape Public License. |
| 3648 | |
| 3649 | "The contents of this file are subject to the Netscape Public |
| 3650 | License Version 1.1 (the "License"); you may not use this file |
| 3651 | except in compliance with the License. You may obtain a copy of |
| 3652 | the License at http://www.mozilla.org/NPL/ |
| 3653 | |
| 3654 | Software distributed under the License is distributed on an "AS |
| 3655 | IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
| 3656 | implied. See the License for the specific language governing |
| 3657 | rights and limitations under the License. |
| 3658 | |
| 3659 | The Original Code is Mozilla Communicator client code, released |
| 3660 | March 31, 1998. |
| 3661 | |
| 3662 | The Initial Developer of the Original Code is Netscape |
| 3663 | Communications Corporation. Portions created by Netscape are |
| 3664 | Copyright (C) 1998-1999 Netscape Communications Corporation. All |
| 3665 | Rights Reserved. |
| 3666 | |
| 3667 | Contributor(s): ______________________________________. |
| 3668 | |
| 3669 | Alternatively, the contents of this file may be used under the |
| 3670 | terms of the _____ license (the "[___] License"), in which case |
| 3671 | the provisions of [______] License are applicable instead of |
| 3672 | those above. If you wish to allow use of your version of this |
| 3673 | file only under the terms of the [____] License and not to allow |
| 3674 | others to use your version of this file under the NPL, indicate |
| 3675 | your decision by deleting the provisions above and replace them |
| 3676 | with the notice and other provisions required by the [___] |
| 3677 | License. If you do not delete the provisions above, a recipient |
| 3678 | may use your version of this file under either the NPL or the |
| 3679 | [___] License." |
| 3680 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 3681 | GNU GENERAL PUBLIC LICENSE |
| 3682 | Version 2, June 1991 |
| 3683 | |
| 3684 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
| 3685 | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
| 3686 | Everyone is permitted to copy and distribute verbatim copies |
| 3687 | of this license document, but changing it is not allowed. |
| 3688 | |
| 3689 | Preamble |
| 3690 | |
| 3691 | The licenses for most software are designed to take away your |
| 3692 | freedom to share and change it. By contrast, the GNU General Public |
| 3693 | License is intended to guarantee your freedom to share and change free |
| 3694 | software--to make sure the software is free for all its users. This |
| 3695 | General Public License applies to most of the Free Software |
| 3696 | Foundation's software and to any other program whose authors commit to |
| 3697 | using it. (Some other Free Software Foundation software is covered by |
| 3698 | the GNU Library General Public License instead.) You can apply it to |
| 3699 | your programs, too. |
| 3700 | |
| 3701 | When we speak of free software, we are referring to freedom, not |
| 3702 | price. Our General Public Licenses are designed to make sure that you |
| 3703 | have the freedom to distribute copies of free software (and charge for |
| 3704 | this service if you wish), that you receive source code or can get it |
| 3705 | if you want it, that you can change the software or use pieces of it |
| 3706 | in new free programs; and that you know you can do these things. |
| 3707 | |
| 3708 | To protect your rights, we need to make restrictions that forbid |
| 3709 | anyone to deny you these rights or to ask you to surrender the rights. |
| 3710 | These restrictions translate to certain responsibilities for you if you |
| 3711 | distribute copies of the software, or if you modify it. |
| 3712 | |
| 3713 | For example, if you distribute copies of such a program, whether |
| 3714 | gratis or for a fee, you must give the recipients all the rights that |
| 3715 | you have. You must make sure that they, too, receive or can get the |
| 3716 | source code. And you must show them these terms so they know their |
| 3717 | rights. |
| 3718 | |
| 3719 | We protect your rights with two steps: (1) copyright the software, and |
| 3720 | (2) offer you this license which gives you legal permission to copy, |
| 3721 | distribute and/or modify the software. |
| 3722 | |
| 3723 | Also, for each author's protection and ours, we want to make certain |
| 3724 | that everyone understands that there is no warranty for this free |
| 3725 | software. If the software is modified by someone else and passed on, we |
| 3726 | want its recipients to know that what they have is not the original, so |
| 3727 | that any problems introduced by others will not reflect on the original |
| 3728 | authors' reputations. |
| 3729 | |
| 3730 | Finally, any free program is threatened constantly by software |
| 3731 | patents. We wish to avoid the danger that redistributors of a free |
| 3732 | program will individually obtain patent licenses, in effect making the |
| 3733 | program proprietary. To prevent this, we have made it clear that any |
| 3734 | patent must be licensed for everyone's free use or not licensed at all. |
| 3735 | |
| 3736 | The precise terms and conditions for copying, distribution and |
| 3737 | modification follow. |
| 3738 | |
| 3739 | GNU GENERAL PUBLIC LICENSE |
| 3740 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 3741 | |
| 3742 | 0. This License applies to any program or other work which contains |
| 3743 | a notice placed by the copyright holder saying it may be distributed |
| 3744 | under the terms of this General Public License. The "Program", below, |
| 3745 | refers to any such program or work, and a "work based on the Program" |
| 3746 | means either the Program or any derivative work under copyright law: |
| 3747 | that is to say, a work containing the Program or a portion of it, |
| 3748 | either verbatim or with modifications and/or translated into another |
| 3749 | language. (Hereinafter, translation is included without limitation in |
| 3750 | the term "modification".) Each licensee is addressed as "you". |
| 3751 | |
| 3752 | Activities other than copying, distribution and modification are not |
| 3753 | covered by this License; they are outside its scope. The act of |
| 3754 | running the Program is not restricted, and the output from the Program |
| 3755 | is covered only if its contents constitute a work based on the |
| 3756 | Program (independent of having been made by running the Program). |
| 3757 | Whether that is true depends on what the Program does. |
| 3758 | |
| 3759 | 1. You may copy and distribute verbatim copies of the Program's |
| 3760 | source code as you receive it, in any medium, provided that you |
| 3761 | conspicuously and appropriately publish on each copy an appropriate |
| 3762 | copyright notice and disclaimer of warranty; keep intact all the |
| 3763 | notices that refer to this License and to the absence of any warranty; |
| 3764 | and give any other recipients of the Program a copy of this License |
| 3765 | along with the Program. |
| 3766 | |
| 3767 | You may charge a fee for the physical act of transferring a copy, and |
| 3768 | you may at your option offer warranty protection in exchange for a fee. |
| 3769 | |
| 3770 | 2. You may modify your copy or copies of the Program or any portion |
| 3771 | of it, thus forming a work based on the Program, and copy and |
| 3772 | distribute such modifications or work under the terms of Section 1 |
| 3773 | above, provided that you also meet all of these conditions: |
| 3774 | |
| 3775 | a) You must cause the modified files to carry prominent notices |
| 3776 | stating that you changed the files and the date of any change. |
| 3777 | |
| 3778 | b) You must cause any work that you distribute or publish, that in |
| 3779 | whole or in part contains or is derived from the Program or any |
| 3780 | part thereof, to be licensed as a whole at no charge to all third |
| 3781 | parties under the terms of this License. |
| 3782 | |
| 3783 | c) If the modified program normally reads commands interactively |
| 3784 | when run, you must cause it, when started running for such |
| 3785 | interactive use in the most ordinary way, to print or display an |
| 3786 | announcement including an appropriate copyright notice and a |
| 3787 | notice that there is no warranty (or else, saying that you provide |
| 3788 | a warranty) and that users may redistribute the program under |
| 3789 | these conditions, and telling the user how to view a copy of this |
| 3790 | License. (Exception: if the Program itself is interactive but |
| 3791 | does not normally print such an announcement, your work based on |
| 3792 | the Program is not required to print an announcement.) |
| 3793 | |
| 3794 | These requirements apply to the modified work as a whole. If |
| 3795 | identifiable sections of that work are not derived from the Program, |
| 3796 | and can be reasonably considered independent and separate works in |
| 3797 | themselves, then this License, and its terms, do not apply to those |
| 3798 | sections when you distribute them as separate works. But when you |
| 3799 | distribute the same sections as part of a whole which is a work based |
| 3800 | on the Program, the distribution of the whole must be on the terms of |
| 3801 | this License, whose permissions for other licensees extend to the |
| 3802 | entire whole, and thus to each and every part regardless of who wrote it. |
| 3803 | |
| 3804 | Thus, it is not the intent of this section to claim rights or contest |
| 3805 | your rights to work written entirely by you; rather, the intent is to |
| 3806 | exercise the right to control the distribution of derivative or |
| 3807 | collective works based on the Program. |
| 3808 | |
| 3809 | In addition, mere aggregation of another work not based on the Program |
| 3810 | with the Program (or with a work based on the Program) on a volume of |
| 3811 | a storage or distribution medium does not bring the other work under |
| 3812 | the scope of this License. |
| 3813 | |
| 3814 | 3. You may copy and distribute the Program (or a work based on it, |
| 3815 | under Section 2) in object code or executable form under the terms of |
| 3816 | Sections 1 and 2 above provided that you also do one of the following: |
| 3817 | |
| 3818 | a) Accompany it with the complete corresponding machine-readable |
| 3819 | source code, which must be distributed under the terms of Sections |
| 3820 | 1 and 2 above on a medium customarily used for software interchange; or, |
| 3821 | |
| 3822 | b) Accompany it with a written offer, valid for at least three |
| 3823 | years, to give any third party, for a charge no more than your |
| 3824 | cost of physically performing source distribution, a complete |
| 3825 | machine-readable copy of the corresponding source code, to be |
| 3826 | distributed under the terms of Sections 1 and 2 above on a medium |
| 3827 | customarily used for software interchange; or, |
| 3828 | |
| 3829 | c) Accompany it with the information you received as to the offer |
| 3830 | to distribute corresponding source code. (This alternative is |
| 3831 | allowed only for noncommercial distribution and only if you |
| 3832 | received the program in object code or executable form with such |
| 3833 | an offer, in accord with Subsection b above.) |
| 3834 | |
| 3835 | The source code for a work means the preferred form of the work for |
| 3836 | making modifications to it. For an executable work, complete source |
| 3837 | code means all the source code for all modules it contains, plus any |
| 3838 | associated interface definition files, plus the scripts used to |
| 3839 | control compilation and installation of the executable. However, as a |
| 3840 | special exception, the source code distributed need not include |
| 3841 | anything that is normally distributed (in either source or binary |
| 3842 | form) with the major components (compiler, kernel, and so on) of the |
| 3843 | operating system on which the executable runs, unless that component |
| 3844 | itself accompanies the executable. |
| 3845 | |
| 3846 | If distribution of executable or object code is made by offering |
| 3847 | access to copy from a designated place, then offering equivalent |
| 3848 | access to copy the source code from the same place counts as |
| 3849 | distribution of the source code, even though third parties are not |
| 3850 | compelled to copy the source along with the object code. |
| 3851 | |
| 3852 | 4. You may not copy, modify, sublicense, or distribute the Program |
| 3853 | except as expressly provided under this License. Any attempt |
| 3854 | otherwise to copy, modify, sublicense or distribute the Program is |
| 3855 | void, and will automatically terminate your rights under this License. |
| 3856 | However, parties who have received copies, or rights, from you under |
| 3857 | this License will not have their licenses terminated so long as such |
| 3858 | parties remain in full compliance. |
| 3859 | |
| 3860 | 5. You are not required to accept this License, since you have not |
| 3861 | signed it. However, nothing else grants you permission to modify or |
| 3862 | distribute the Program or its derivative works. These actions are |
| 3863 | prohibited by law if you do not accept this License. Therefore, by |
| 3864 | modifying or distributing the Program (or any work based on the |
| 3865 | Program), you indicate your acceptance of this License to do so, and |
| 3866 | all its terms and conditions for copying, distributing or modifying |
| 3867 | the Program or works based on it. |
| 3868 | |
| 3869 | 6. Each time you redistribute the Program (or any work based on the |
| 3870 | Program), the recipient automatically receives a license from the |
| 3871 | original licensor to copy, distribute or modify the Program subject to |
| 3872 | these terms and conditions. You may not impose any further |
| 3873 | restrictions on the recipients' exercise of the rights granted herein. |
| 3874 | You are not responsible for enforcing compliance by third parties to |
| 3875 | this License. |
| 3876 | |
| 3877 | 7. If, as a consequence of a court judgment or allegation of patent |
| 3878 | infringement or for any other reason (not limited to patent issues), |
| 3879 | conditions are imposed on you (whether by court order, agreement or |
| 3880 | otherwise) that contradict the conditions of this License, they do not |
| 3881 | excuse you from the conditions of this License. If you cannot |
| 3882 | distribute so as to satisfy simultaneously your obligations under this |
| 3883 | License and any other pertinent obligations, then as a consequence you |
| 3884 | may not distribute the Program at all. For example, if a patent |
| 3885 | license would not permit royalty-free redistribution of the Program by |
| 3886 | all those who receive copies directly or indirectly through you, then |
| 3887 | the only way you could satisfy both it and this License would be to |
| 3888 | refrain entirely from distribution of the Program. |
| 3889 | |
| 3890 | If any portion of this section is held invalid or unenforceable under |
| 3891 | any particular circumstance, the balance of the section is intended to |
| 3892 | apply and the section as a whole is intended to apply in other |
| 3893 | circumstances. |
| 3894 | |
| 3895 | It is not the purpose of this section to induce you to infringe any |
| 3896 | patents or other property right claims or to contest validity of any |
| 3897 | such claims; this section has the sole purpose of protecting the |
| 3898 | integrity of the free software distribution system, which is |
| 3899 | implemented by public license practices. Many people have made |
| 3900 | generous contributions to the wide range of software distributed |
| 3901 | through that system in reliance on consistent application of that |
| 3902 | system; it is up to the author/donor to decide if he or she is willing |
| 3903 | to distribute software through any other system and a licensee cannot |
| 3904 | impose that choice. |
| 3905 | |
| 3906 | This section is intended to make thoroughly clear what is believed to |
| 3907 | be a consequence of the rest of this License. |
| 3908 | |
| 3909 | 8. If the distribution and/or use of the Program is restricted in |
| 3910 | certain countries either by patents or by copyrighted interfaces, the |
| 3911 | original copyright holder who places the Program under this License |
| 3912 | may add an explicit geographical distribution limitation excluding |
| 3913 | those countries, so that distribution is permitted only in or among |
| 3914 | countries not thus excluded. In such case, this License incorporates |
| 3915 | the limitation as if written in the body of this License. |
| 3916 | |
| 3917 | 9. The Free Software Foundation may publish revised and/or new versions |
| 3918 | of the General Public License from time to time. Such new versions will |
| 3919 | be similar in spirit to the present version, but may differ in detail to |
| 3920 | address new problems or concerns. |
| 3921 | |
| 3922 | Each version is given a distinguishing version number. If the Program |
| 3923 | specifies a version number of this License which applies to it and "any |
| 3924 | later version", you have the option of following the terms and conditions |
| 3925 | either of that version or of any later version published by the Free |
| 3926 | Software Foundation. If the Program does not specify a version number of |
| 3927 | this License, you may choose any version ever published by the Free Software |
| 3928 | Foundation. |
| 3929 | |
| 3930 | 10. If you wish to incorporate parts of the Program into other free |
| 3931 | programs whose distribution conditions are different, write to the author |
| 3932 | to ask for permission. For software which is copyrighted by the Free |
| 3933 | Software Foundation, write to the Free Software Foundation; we sometimes |
| 3934 | make exceptions for this. Our decision will be guided by the two goals |
| 3935 | of preserving the free status of all derivatives of our free software and |
| 3936 | of promoting the sharing and reuse of software generally. |
| 3937 | |
| 3938 | NO WARRANTY |
| 3939 | |
| 3940 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
| 3941 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
| 3942 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
| 3943 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
| 3944 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 3945 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
| 3946 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
| 3947 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
| 3948 | REPAIR OR CORRECTION. |
| 3949 | |
| 3950 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
| 3951 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
| 3952 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
| 3953 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
| 3954 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
| 3955 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
| 3956 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
| 3957 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
| 3958 | POSSIBILITY OF SUCH DAMAGES. |
| 3959 | |
| 3960 | END OF TERMS AND CONDITIONS |
| 3961 | |
| 3962 | How to Apply These Terms to Your New Programs |
| 3963 | |
| 3964 | If you develop a new program, and you want it to be of the greatest |
| 3965 | possible use to the public, the best way to achieve this is to make it |
| 3966 | free software which everyone can redistribute and change under these terms. |
| 3967 | |
| 3968 | To do so, attach the following notices to the program. It is safest |
| 3969 | to attach them to the start of each source file to most effectively |
| 3970 | convey the exclusion of warranty; and each file should have at least |
| 3971 | the "copyright" line and a pointer to where the full notice is found. |
| 3972 | |
| 3973 | <one line to give the program's name and a brief idea of what it does.> |
| 3974 | Copyright (C) 19yy <name of author> |
| 3975 | |
| 3976 | This program is free software; you can redistribute it and/or modify |
| 3977 | it under the terms of the GNU General Public License as published by |
| 3978 | the Free Software Foundation; either version 2 of the License, or |
| 3979 | (at your option) any later version. |
| 3980 | |
| 3981 | This program is distributed in the hope that it will be useful, |
| 3982 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 3983 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 3984 | GNU General Public License for more details. |
| 3985 | |
| 3986 | You should have received a copy of the GNU General Public License |
| 3987 | along with this program; if not, write to the Free Software |
| 3988 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
| 3989 | |
| 3990 | |
| 3991 | Also add information on how to contact you by electronic and paper mail. |
| 3992 | |
| 3993 | If the program is interactive, make it output a short notice like this |
| 3994 | when it starts in an interactive mode: |
| 3995 | |
| 3996 | Gnomovision version 69, Copyright (C) 19yy name of author |
| 3997 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
| 3998 | This is free software, and you are welcome to redistribute it |
| 3999 | under certain conditions; type `show c' for details. |
| 4000 | |
| 4001 | The hypothetical commands `show w' and `show c' should show the appropriate |
| 4002 | parts of the General Public License. Of course, the commands you use may |
| 4003 | be called something other than `show w' and `show c'; they could even be |
| 4004 | mouse-clicks or menu items--whatever suits your program. |
| 4005 | |
| 4006 | You should also get your employer (if you work as a programmer) or your |
| 4007 | school, if any, to sign a "copyright disclaimer" for the program, if |
| 4008 | necessary. Here is a sample; alter the names: |
| 4009 | |
| 4010 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
| 4011 | `Gnomovision' (which makes passes at compilers) written by James Hacker. |
| 4012 | |
| 4013 | <signature of Ty Coon>, 1 April 1989 |
| 4014 | Ty Coon, President of Vice |
| 4015 | |
| 4016 | This General Public License does not permit incorporating your program into |
| 4017 | proprietary programs. If your program is a subroutine library, you may |
| 4018 | consider it more useful to permit linking proprietary applications with the |
| 4019 | library. If this is what you want to do, use the GNU Library General |
| 4020 | Public License instead of this License. |
| 4021 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 4022 | Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd |
| 4023 | and Clark Cooper |
| 4024 | Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers. |
| 4025 | |
| 4026 | Permission is hereby granted, free of charge, to any person obtaining |
| 4027 | a copy of this software and associated documentation files (the |
| 4028 | "Software"), to deal in the Software without restriction, including |
| 4029 | without limitation the rights to use, copy, modify, merge, publish, |
| 4030 | distribute, sublicense, and/or sell copies of the Software, and to |
| 4031 | permit persons to whom the Software is furnished to do so, subject to |
| 4032 | the following conditions: |
| 4033 | |
| 4034 | The above copyright notice and this permission notice shall be included |
| 4035 | in all copies or substantial portions of the Software. |
| 4036 | |
| 4037 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 4038 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 4039 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 4040 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 4041 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 4042 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 4043 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 4044 | |
| 4045 | |
| 4046 | Apache License |
| 4047 | Version 2.0, January 2004 |
| 4048 | http://www.apache.org/licenses/ |
| 4049 | |
| 4050 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 4051 | |
| 4052 | 1. Definitions. |
| 4053 | |
| 4054 | "License" shall mean the terms and conditions for use, reproduction, |
| 4055 | and distribution as defined by Sections 1 through 9 of this document. |
| 4056 | |
| 4057 | "Licensor" shall mean the copyright owner or entity authorized by |
| 4058 | the copyright owner that is granting the License. |
| 4059 | |
| 4060 | "Legal Entity" shall mean the union of the acting entity and all |
| 4061 | other entities that control, are controlled by, or are under common |
| 4062 | control with that entity. For the purposes of this definition, |
| 4063 | "control" means (i) the power, direct or indirect, to cause the |
| 4064 | direction or management of such entity, whether by contract or |
| 4065 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 4066 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 4067 | |
| 4068 | "You" (or "Your") shall mean an individual or Legal Entity |
| 4069 | exercising permissions granted by this License. |
| 4070 | |
| 4071 | "Source" form shall mean the preferred form for making modifications, |
| 4072 | including but not limited to software source code, documentation |
| 4073 | source, and configuration files. |
| 4074 | |
| 4075 | "Object" form shall mean any form resulting from mechanical |
| 4076 | transformation or translation of a Source form, including but |
| 4077 | not limited to compiled object code, generated documentation, |
| 4078 | and conversions to other media types. |
| 4079 | |
| 4080 | "Work" shall mean the work of authorship, whether in Source or |
| 4081 | Object form, made available under the License, as indicated by a |
| 4082 | copyright notice that is included in or attached to the work |
| 4083 | (an example is provided in the Appendix below). |
| 4084 | |
| 4085 | "Derivative Works" shall mean any work, whether in Source or Object |
| 4086 | form, that is based on (or derived from) the Work and for which the |
| 4087 | editorial revisions, annotations, elaborations, or other modifications |
| 4088 | represent, as a whole, an original work of authorship. For the purposes |
| 4089 | of this License, Derivative Works shall not include works that remain |
| 4090 | separable from, or merely link (or bind by name) to the interfaces of, |
| 4091 | the Work and Derivative Works thereof. |
| 4092 | |
| 4093 | "Contribution" shall mean any work of authorship, including |
| 4094 | the original version of the Work and any modifications or additions |
| 4095 | to that Work or Derivative Works thereof, that is intentionally |
| 4096 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 4097 | or by an individual or Legal Entity authorized to submit on behalf of |
| 4098 | the copyright owner. For the purposes of this definition, "submitted" |
| 4099 | means any form of electronic, verbal, or written communication sent |
| 4100 | to the Licensor or its representatives, including but not limited to |
| 4101 | communication on electronic mailing lists, source code control systems, |
| 4102 | and issue tracking systems that are managed by, or on behalf of, the |
| 4103 | Licensor for the purpose of discussing and improving the Work, but |
| 4104 | excluding communication that is conspicuously marked or otherwise |
| 4105 | designated in writing by the copyright owner as "Not a Contribution." |
| 4106 | |
| 4107 | "Contributor" shall mean Licensor and any individual or Legal Entity |
| 4108 | on behalf of whom a Contribution has been received by Licensor and |
| 4109 | subsequently incorporated within the Work. |
| 4110 | |
| 4111 | 2. Grant of Copyright License. Subject to the terms and conditions of |
| 4112 | this License, each Contributor hereby grants to You a perpetual, |
| 4113 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 4114 | copyright license to reproduce, prepare Derivative Works of, |
| 4115 | publicly display, publicly perform, sublicense, and distribute the |
| 4116 | Work and such Derivative Works in Source or Object form. |
| 4117 | |
| 4118 | 3. Grant of Patent License. Subject to the terms and conditions of |
| 4119 | this License, each Contributor hereby grants to You a perpetual, |
| 4120 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 4121 | (except as stated in this section) patent license to make, have made, |
| 4122 | use, offer to sell, sell, import, and otherwise transfer the Work, |
| 4123 | where such license applies only to those patent claims licensable |
| 4124 | by such Contributor that are necessarily infringed by their |
| 4125 | Contribution(s) alone or by combination of their Contribution(s) |
| 4126 | with the Work to which such Contribution(s) was submitted. If You |
| 4127 | institute patent litigation against any entity (including a |
| 4128 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 4129 | or a Contribution incorporated within the Work constitutes direct |
| 4130 | or contributory patent infringement, then any patent licenses |
| 4131 | granted to You under this License for that Work shall terminate |
| 4132 | as of the date such litigation is filed. |
| 4133 | |
| 4134 | 4. Redistribution. You may reproduce and distribute copies of the |
| 4135 | Work or Derivative Works thereof in any medium, with or without |
| 4136 | modifications, and in Source or Object form, provided that You |
| 4137 | meet the following conditions: |
| 4138 | |
| 4139 | (a) You must give any other recipients of the Work or |
| 4140 | Derivative Works a copy of this License; and |
| 4141 | |
| 4142 | (b) You must cause any modified files to carry prominent notices |
| 4143 | stating that You changed the files; and |
| 4144 | |
| 4145 | (c) You must retain, in the Source form of any Derivative Works |
| 4146 | that You distribute, all copyright, patent, trademark, and |
| 4147 | attribution notices from the Source form of the Work, |
| 4148 | excluding those notices that do not pertain to any part of |
| 4149 | the Derivative Works; and |
| 4150 | |
| 4151 | (d) If the Work includes a "NOTICE" text file as part of its |
| 4152 | distribution, then any Derivative Works that You distribute must |
| 4153 | include a readable copy of the attribution notices contained |
| 4154 | within such NOTICE file, excluding those notices that do not |
| 4155 | pertain to any part of the Derivative Works, in at least one |
| 4156 | of the following places: within a NOTICE text file distributed |
| 4157 | as part of the Derivative Works; within the Source form or |
| 4158 | documentation, if provided along with the Derivative Works; or, |
| 4159 | within a display generated by the Derivative Works, if and |
| 4160 | wherever such third-party notices normally appear. The contents |
| 4161 | of the NOTICE file are for informational purposes only and |
| 4162 | do not modify the License. You may add Your own attribution |
| 4163 | notices within Derivative Works that You distribute, alongside |
| 4164 | or as an addendum to the NOTICE text from the Work, provided |
| 4165 | that such additional attribution notices cannot be construed |
| 4166 | as modifying the License. |
| 4167 | |
| 4168 | You may add Your own copyright statement to Your modifications and |
| 4169 | may provide additional or different license terms and conditions |
| 4170 | for use, reproduction, or distribution of Your modifications, or |
| 4171 | for any such Derivative Works as a whole, provided Your use, |
| 4172 | reproduction, and distribution of the Work otherwise complies with |
| 4173 | the conditions stated in this License. |
| 4174 | |
| 4175 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
| 4176 | any Contribution intentionally submitted for inclusion in the Work |
| 4177 | by You to the Licensor shall be under the terms and conditions of |
| 4178 | this License, without any additional terms or conditions. |
| 4179 | Notwithstanding the above, nothing herein shall supersede or modify |
| 4180 | the terms of any separate license agreement you may have executed |
| 4181 | with Licensor regarding such Contributions. |
| 4182 | |
| 4183 | 6. Trademarks. This License does not grant permission to use the trade |
| 4184 | names, trademarks, service marks, or product names of the Licensor, |
| 4185 | except as required for reasonable and customary use in describing the |
| 4186 | origin of the Work and reproducing the content of the NOTICE file. |
| 4187 | |
| 4188 | 7. Disclaimer of Warranty. Unless required by applicable law or |
| 4189 | agreed to in writing, Licensor provides the Work (and each |
| 4190 | Contributor provides its Contributions) on an "AS IS" BASIS, |
| 4191 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 4192 | implied, including, without limitation, any warranties or conditions |
| 4193 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
| 4194 | PARTICULAR PURPOSE. You are solely responsible for determining the |
| 4195 | appropriateness of using or redistributing the Work and assume any |
| 4196 | risks associated with Your exercise of permissions under this License. |
| 4197 | |
| 4198 | 8. Limitation of Liability. In no event and under no legal theory, |
| 4199 | whether in tort (including negligence), contract, or otherwise, |
| 4200 | unless required by applicable law (such as deliberate and grossly |
| 4201 | negligent acts) or agreed to in writing, shall any Contributor be |
| 4202 | liable to You for damages, including any direct, indirect, special, |
| 4203 | incidental, or consequential damages of any character arising as a |
| 4204 | result of this License or out of the use or inability to use the |
| 4205 | Work (including but not limited to damages for loss of goodwill, |
| 4206 | work stoppage, computer failure or malfunction, or any and all |
| 4207 | other commercial damages or losses), even if such Contributor |
| 4208 | has been advised of the possibility of such damages. |
| 4209 | |
| 4210 | 9. Accepting Warranty or Additional Liability. While redistributing |
| 4211 | the Work or Derivative Works thereof, You may choose to offer, |
| 4212 | and charge a fee for, acceptance of support, warranty, indemnity, |
| 4213 | or other liability obligations and/or rights consistent with this |
| 4214 | License. However, in accepting such obligations, You may act only |
| 4215 | on Your own behalf and on Your sole responsibility, not on behalf |
| 4216 | of any other Contributor, and only if You agree to indemnify, |
| 4217 | defend, and hold each Contributor harmless for any liability |
| 4218 | incurred by, or claims asserted against, such Contributor by reason |
| 4219 | of your accepting any such warranty or additional liability. |
| 4220 | |
| 4221 | END OF TERMS AND CONDITIONS |
| 4222 | |
| 4223 | APPENDIX: How to apply the Apache License to your work. |
| 4224 | |
| 4225 | To apply the Apache License to your work, attach the following |
| 4226 | boilerplate notice, with the fields enclosed by brackets "[]" |
| 4227 | replaced with your own identifying information. (Don't include |
| 4228 | the brackets!) The text should be enclosed in the appropriate |
| 4229 | comment syntax for the file format. We also recommend that a |
| 4230 | file or class name and description of purpose be included on the |
| 4231 | same "printed page" as the copyright notice for easier |
| 4232 | identification within third-party archives. |
| 4233 | |
| 4234 | Copyright 2011 Google Inc. All Rights Reserved. |
| 4235 | |
| 4236 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 4237 | you may not use this file except in compliance with the License. |
| 4238 | You may obtain a copy of the License at |
| 4239 | |
| 4240 | http://www.apache.org/licenses/LICENSE-2.0 |
| 4241 | |
| 4242 | Unless required by applicable law or agreed to in writing, software |
| 4243 | distributed under the License is distributed on an "AS IS" BASIS, |
| 4244 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 4245 | See the License for the specific language governing permissions and |
| 4246 | limitations under the License. |
| 4247 | |
| 4248 | |
Torne (Richard Coles) | 3551c9c | 2013-08-23 16:39:15 +0100 | [diff] [blame] | 4249 | Copyright (c) 2007-2013 IOLA and Ole Laursen |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 4250 | |
| 4251 | Permission is hereby granted, free of charge, to any person |
| 4252 | obtaining a copy of this software and associated documentation |
| 4253 | files (the "Software"), to deal in the Software without |
| 4254 | restriction, including without limitation the rights to use, |
| 4255 | copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 4256 | copies of the Software, and to permit persons to whom the |
| 4257 | Software is furnished to do so, subject to the following |
| 4258 | conditions: |
| 4259 | |
| 4260 | The above copyright notice and this permission notice shall be |
| 4261 | included in all copies or substantial portions of the Software. |
| 4262 | |
| 4263 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 4264 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 4265 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 4266 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 4267 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 4268 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 4269 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 4270 | OTHER DEALINGS IN THE SOFTWARE. |
| 4271 | |
| 4272 | This software is based in part on the work of the FreeType Team. |
| 4273 | |
| 4274 | ---------------------- |
| 4275 | |
| 4276 | The FreeType Project LICENSE |
| 4277 | ---------------------------- |
| 4278 | |
| 4279 | 2006-Jan-27 |
| 4280 | |
| 4281 | Copyright 1996-2002, 2006 by |
| 4282 | David Turner, Robert Wilhelm, and Werner Lemberg |
| 4283 | |
| 4284 | |
| 4285 | |
| 4286 | Introduction |
| 4287 | ============ |
| 4288 | |
| 4289 | The FreeType Project is distributed in several archive packages; |
| 4290 | some of them may contain, in addition to the FreeType font engine, |
| 4291 | various tools and contributions which rely on, or relate to, the |
| 4292 | FreeType Project. |
| 4293 | |
| 4294 | This license applies to all files found in such packages, and |
| 4295 | which do not fall under their own explicit license. The license |
| 4296 | affects thus the FreeType font engine, the test programs, |
| 4297 | documentation and makefiles, at the very least. |
| 4298 | |
| 4299 | This license was inspired by the BSD, Artistic, and IJG |
| 4300 | (Independent JPEG Group) licenses, which all encourage inclusion |
| 4301 | and use of free software in commercial and freeware products |
| 4302 | alike. As a consequence, its main points are that: |
| 4303 | |
| 4304 | o We don't promise that this software works. However, we will be |
| 4305 | interested in any kind of bug reports. (`as is' distribution) |
| 4306 | |
| 4307 | o You can use this software for whatever you want, in parts or |
| 4308 | full form, without having to pay us. (`royalty-free' usage) |
| 4309 | |
| 4310 | o You may not pretend that you wrote this software. If you use |
| 4311 | it, or only parts of it, in a program, you must acknowledge |
| 4312 | somewhere in your documentation that you have used the |
| 4313 | FreeType code. (`credits') |
| 4314 | |
| 4315 | We specifically permit and encourage the inclusion of this |
| 4316 | software, with or without modifications, in commercial products. |
| 4317 | We disclaim all warranties covering The FreeType Project and |
| 4318 | assume no liability related to The FreeType Project. |
| 4319 | |
| 4320 | |
| 4321 | Finally, many people asked us for a preferred form for a |
| 4322 | credit/disclaimer to use in compliance with this license. We thus |
| 4323 | encourage you to use the following text: |
| 4324 | |
| 4325 | """ |
| 4326 | Portions of this software are copyright © <year> The FreeType |
| 4327 | Project (www.freetype.org). All rights reserved. |
| 4328 | """ |
| 4329 | |
| 4330 | Please replace <year> with the value from the FreeType version you |
| 4331 | actually use. |
| 4332 | |
| 4333 | |
| 4334 | Legal Terms |
| 4335 | =========== |
| 4336 | |
| 4337 | 0. Definitions |
| 4338 | -------------- |
| 4339 | |
| 4340 | Throughout this license, the terms `package', `FreeType Project', |
| 4341 | and `FreeType archive' refer to the set of files originally |
| 4342 | distributed by the authors (David Turner, Robert Wilhelm, and |
| 4343 | Werner Lemberg) as the `FreeType Project', be they named as alpha, |
| 4344 | beta or final release. |
| 4345 | |
| 4346 | `You' refers to the licensee, or person using the project, where |
| 4347 | `using' is a generic term including compiling the project's source |
| 4348 | code as well as linking it to form a `program' or `executable'. |
| 4349 | This program is referred to as `a program using the FreeType |
| 4350 | engine'. |
| 4351 | |
| 4352 | This license applies to all files distributed in the original |
| 4353 | FreeType Project, including all source code, binaries and |
| 4354 | documentation, unless otherwise stated in the file in its |
| 4355 | original, unmodified form as distributed in the original archive. |
| 4356 | If you are unsure whether or not a particular file is covered by |
| 4357 | this license, you must contact us to verify this. |
| 4358 | |
| 4359 | The FreeType Project is copyright (C) 1996-2000 by David Turner, |
| 4360 | Robert Wilhelm, and Werner Lemberg. All rights reserved except as |
| 4361 | specified below. |
| 4362 | |
| 4363 | 1. No Warranty |
| 4364 | -------------- |
| 4365 | |
| 4366 | THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY |
| 4367 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, |
| 4368 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 4369 | PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS |
| 4370 | BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO |
| 4371 | USE, OF THE FREETYPE PROJECT. |
| 4372 | |
| 4373 | 2. Redistribution |
| 4374 | ----------------- |
| 4375 | |
| 4376 | This license grants a worldwide, royalty-free, perpetual and |
| 4377 | irrevocable right and license to use, execute, perform, compile, |
| 4378 | display, copy, create derivative works of, distribute and |
| 4379 | sublicense the FreeType Project (in both source and object code |
| 4380 | forms) and derivative works thereof for any purpose; and to |
| 4381 | authorize others to exercise some or all of the rights granted |
| 4382 | herein, subject to the following conditions: |
| 4383 | |
| 4384 | o Redistribution of source code must retain this license file |
| 4385 | (`FTL.TXT') unaltered; any additions, deletions or changes to |
| 4386 | the original files must be clearly indicated in accompanying |
| 4387 | documentation. The copyright notices of the unaltered, |
| 4388 | original files must be preserved in all copies of source |
| 4389 | files. |
| 4390 | |
| 4391 | o Redistribution in binary form must provide a disclaimer that |
| 4392 | states that the software is based in part of the work of the |
| 4393 | FreeType Team, in the distribution documentation. We also |
| 4394 | encourage you to put an URL to the FreeType web page in your |
| 4395 | documentation, though this isn't mandatory. |
| 4396 | |
| 4397 | These conditions apply to any software derived from or based on |
| 4398 | the FreeType Project, not just the unmodified files. If you use |
| 4399 | our work, you must acknowledge us. However, no fee need be paid |
| 4400 | to us. |
| 4401 | |
| 4402 | 3. Advertising |
| 4403 | -------------- |
| 4404 | |
| 4405 | Neither the FreeType authors and contributors nor you shall use |
| 4406 | the name of the other for commercial, advertising, or promotional |
| 4407 | purposes without specific prior written permission. |
| 4408 | |
| 4409 | We suggest, but do not require, that you use one or more of the |
| 4410 | following phrases to refer to this software in your documentation |
| 4411 | or advertising materials: `FreeType Project', `FreeType Engine', |
| 4412 | `FreeType library', or `FreeType Distribution'. |
| 4413 | |
| 4414 | As you have not signed this license, you are not required to |
| 4415 | accept it. However, as the FreeType Project is copyrighted |
| 4416 | material, only this license, or another one contracted with the |
| 4417 | authors, grants you the right to use, distribute, and modify it. |
| 4418 | Therefore, by using, distributing, or modifying the FreeType |
| 4419 | Project, you indicate that you understand and accept all the terms |
| 4420 | of this license. |
| 4421 | |
| 4422 | 4. Contacts |
| 4423 | ----------- |
| 4424 | |
| 4425 | There are two mailing lists related to FreeType: |
| 4426 | |
| 4427 | o freetype@nongnu.org |
| 4428 | |
| 4429 | Discusses general use and applications of FreeType, as well as |
| 4430 | future and wanted additions to the library and distribution. |
| 4431 | If you are looking for support, start in this list if you |
| 4432 | haven't found anything to help you in the documentation. |
| 4433 | |
| 4434 | o freetype-devel@nongnu.org |
| 4435 | |
| 4436 | Discusses bugs, as well as engine internals, design issues, |
| 4437 | specific licenses, porting, etc. |
| 4438 | |
| 4439 | Our home page can be found at |
| 4440 | |
| 4441 | http://www.freetype.org |
| 4442 | |
| 4443 | |
| 4444 | --- end of FTL.TXT --- |
| 4445 | |
| 4446 | // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 4447 | // |
| 4448 | // Redistribution and use in source and binary forms, with or without |
| 4449 | // modification, are permitted provided that the following conditions are |
| 4450 | // met: |
| 4451 | // |
| 4452 | // * Redistributions of source code must retain the above copyright |
| 4453 | // notice, this list of conditions and the following disclaimer. |
| 4454 | // * Redistributions in binary form must reproduce the above |
| 4455 | // copyright notice, this list of conditions and the following disclaimer |
| 4456 | // in the documentation and/or other materials provided with the |
| 4457 | // distribution. |
| 4458 | // * Neither the name of Google Inc. nor the names of its |
| 4459 | // contributors may be used to endorse or promote products derived from |
| 4460 | // this software without specific prior written permission. |
| 4461 | // |
| 4462 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 4463 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 4464 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 4465 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 4466 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 4467 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 4468 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 4469 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 4470 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 4471 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 4472 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 4473 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 4474 | GNU LIBRARY GENERAL PUBLIC LICENSE |
| 4475 | Version 2, June 1991 |
| 4476 | |
| 4477 | Copyright (C) 1991 Free Software Foundation, Inc. |
| 4478 | 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 4479 | Everyone is permitted to copy and distribute verbatim copies |
| 4480 | of this license document, but changing it is not allowed. |
| 4481 | |
| 4482 | [This is the first released version of the library GPL. It is |
| 4483 | numbered 2 because it goes with version 2 of the ordinary GPL.] |
| 4484 | |
| 4485 | Preamble |
| 4486 | |
| 4487 | The licenses for most software are designed to take away your |
| 4488 | freedom to share and change it. By contrast, the GNU General Public |
| 4489 | Licenses are intended to guarantee your freedom to share and change |
| 4490 | free software--to make sure the software is free for all its users. |
| 4491 | |
| 4492 | This license, the Library General Public License, applies to some |
| 4493 | specially designated Free Software Foundation software, and to any |
| 4494 | other libraries whose authors decide to use it. You can use it for |
| 4495 | your libraries, too. |
| 4496 | |
| 4497 | When we speak of free software, we are referring to freedom, not |
| 4498 | price. Our General Public Licenses are designed to make sure that you |
| 4499 | have the freedom to distribute copies of free software (and charge for |
| 4500 | this service if you wish), that you receive source code or can get it |
| 4501 | if you want it, that you can change the software or use pieces of it |
| 4502 | in new free programs; and that you know you can do these things. |
| 4503 | |
| 4504 | To protect your rights, we need to make restrictions that forbid |
| 4505 | anyone to deny you these rights or to ask you to surrender the rights. |
| 4506 | These restrictions translate to certain responsibilities for you if |
| 4507 | you distribute copies of the library, or if you modify it. |
| 4508 | |
| 4509 | For example, if you distribute copies of the library, whether gratis |
| 4510 | or for a fee, you must give the recipients all the rights that we gave |
| 4511 | you. You must make sure that they, too, receive or can get the source |
| 4512 | code. If you link a program with the library, you must provide |
| 4513 | complete object files to the recipients so that they can relink them |
| 4514 | with the library, after making changes to the library and recompiling |
| 4515 | it. And you must show them these terms so they know their rights. |
| 4516 | |
| 4517 | Our method of protecting your rights has two steps: (1) copyright |
| 4518 | the library, and (2) offer you this license which gives you legal |
| 4519 | permission to copy, distribute and/or modify the library. |
| 4520 | |
| 4521 | Also, for each distributor's protection, we want to make certain |
| 4522 | that everyone understands that there is no warranty for this free |
| 4523 | library. If the library is modified by someone else and passed on, we |
| 4524 | want its recipients to know that what they have is not the original |
| 4525 | version, so that any problems introduced by others will not reflect on |
| 4526 | the original authors' reputations. |
| 4527 | |
| 4528 | Finally, any free program is threatened constantly by software |
| 4529 | patents. We wish to avoid the danger that companies distributing free |
| 4530 | software will individually obtain patent licenses, thus in effect |
| 4531 | transforming the program into proprietary software. To prevent this, |
| 4532 | we have made it clear that any patent must be licensed for everyone's |
| 4533 | free use or not licensed at all. |
| 4534 | |
| 4535 | Most GNU software, including some libraries, is covered by the ordinary |
| 4536 | GNU General Public License, which was designed for utility programs. This |
| 4537 | license, the GNU Library General Public License, applies to certain |
| 4538 | designated libraries. This license is quite different from the ordinary |
| 4539 | one; be sure to read it in full, and don't assume that anything in it is |
| 4540 | the same as in the ordinary license. |
| 4541 | |
| 4542 | The reason we have a separate public license for some libraries is that |
| 4543 | they blur the distinction we usually make between modifying or adding to a |
| 4544 | program and simply using it. Linking a program with a library, without |
| 4545 | changing the library, is in some sense simply using the library, and is |
| 4546 | analogous to running a utility program or application program. However, in |
| 4547 | a textual and legal sense, the linked executable is a combined work, a |
| 4548 | derivative of the original library, and the ordinary General Public License |
| 4549 | treats it as such. |
| 4550 | |
| 4551 | Because of this blurred distinction, using the ordinary General |
| 4552 | Public License for libraries did not effectively promote software |
| 4553 | sharing, because most developers did not use the libraries. We |
| 4554 | concluded that weaker conditions might promote sharing better. |
| 4555 | |
| 4556 | However, unrestricted linking of non-free programs would deprive the |
| 4557 | users of those programs of all benefit from the free status of the |
| 4558 | libraries themselves. This Library General Public License is intended to |
| 4559 | permit developers of non-free programs to use free libraries, while |
| 4560 | preserving your freedom as a user of such programs to change the free |
| 4561 | libraries that are incorporated in them. (We have not seen how to achieve |
| 4562 | this as regards changes in header files, but we have achieved it as regards |
| 4563 | changes in the actual functions of the Library.) The hope is that this |
| 4564 | will lead to faster development of free libraries. |
| 4565 | |
| 4566 | The precise terms and conditions for copying, distribution and |
| 4567 | modification follow. Pay close attention to the difference between a |
| 4568 | "work based on the library" and a "work that uses the library". The |
| 4569 | former contains code derived from the library, while the latter only |
| 4570 | works together with the library. |
| 4571 | |
| 4572 | Note that it is possible for a library to be covered by the ordinary |
| 4573 | General Public License rather than by this special one. |
| 4574 | |
| 4575 | GNU LIBRARY GENERAL PUBLIC LICENSE |
| 4576 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 4577 | |
| 4578 | 0. This License Agreement applies to any software library which |
| 4579 | contains a notice placed by the copyright holder or other authorized |
| 4580 | party saying it may be distributed under the terms of this Library |
| 4581 | General Public License (also called "this License"). Each licensee is |
| 4582 | addressed as "you". |
| 4583 | |
| 4584 | A "library" means a collection of software functions and/or data |
| 4585 | prepared so as to be conveniently linked with application programs |
| 4586 | (which use some of those functions and data) to form executables. |
| 4587 | |
| 4588 | The "Library", below, refers to any such software library or work |
| 4589 | which has been distributed under these terms. A "work based on the |
| 4590 | Library" means either the Library or any derivative work under |
| 4591 | copyright law: that is to say, a work containing the Library or a |
| 4592 | portion of it, either verbatim or with modifications and/or translated |
| 4593 | straightforwardly into another language. (Hereinafter, translation is |
| 4594 | included without limitation in the term "modification".) |
| 4595 | |
| 4596 | "Source code" for a work means the preferred form of the work for |
| 4597 | making modifications to it. For a library, complete source code means |
| 4598 | all the source code for all modules it contains, plus any associated |
| 4599 | interface definition files, plus the scripts used to control compilation |
| 4600 | and installation of the library. |
| 4601 | |
| 4602 | Activities other than copying, distribution and modification are not |
| 4603 | covered by this License; they are outside its scope. The act of |
| 4604 | running a program using the Library is not restricted, and output from |
| 4605 | such a program is covered only if its contents constitute a work based |
| 4606 | on the Library (independent of the use of the Library in a tool for |
| 4607 | writing it). Whether that is true depends on what the Library does |
| 4608 | and what the program that uses the Library does. |
| 4609 | |
| 4610 | 1. You may copy and distribute verbatim copies of the Library's |
| 4611 | complete source code as you receive it, in any medium, provided that |
| 4612 | you conspicuously and appropriately publish on each copy an |
| 4613 | appropriate copyright notice and disclaimer of warranty; keep intact |
| 4614 | all the notices that refer to this License and to the absence of any |
| 4615 | warranty; and distribute a copy of this License along with the |
| 4616 | Library. |
| 4617 | |
| 4618 | You may charge a fee for the physical act of transferring a copy, |
| 4619 | and you may at your option offer warranty protection in exchange for a |
| 4620 | fee. |
| 4621 | |
| 4622 | 2. You may modify your copy or copies of the Library or any portion |
| 4623 | of it, thus forming a work based on the Library, and copy and |
| 4624 | distribute such modifications or work under the terms of Section 1 |
| 4625 | above, provided that you also meet all of these conditions: |
| 4626 | |
| 4627 | a) The modified work must itself be a software library. |
| 4628 | |
| 4629 | b) You must cause the files modified to carry prominent notices |
| 4630 | stating that you changed the files and the date of any change. |
| 4631 | |
| 4632 | c) You must cause the whole of the work to be licensed at no |
| 4633 | charge to all third parties under the terms of this License. |
| 4634 | |
| 4635 | d) If a facility in the modified Library refers to a function or a |
| 4636 | table of data to be supplied by an application program that uses |
| 4637 | the facility, other than as an argument passed when the facility |
| 4638 | is invoked, then you must make a good faith effort to ensure that, |
| 4639 | in the event an application does not supply such function or |
| 4640 | table, the facility still operates, and performs whatever part of |
| 4641 | its purpose remains meaningful. |
| 4642 | |
| 4643 | (For example, a function in a library to compute square roots has |
| 4644 | a purpose that is entirely well-defined independent of the |
| 4645 | application. Therefore, Subsection 2d requires that any |
| 4646 | application-supplied function or table used by this function must |
| 4647 | be optional: if the application does not supply it, the square |
| 4648 | root function must still compute square roots.) |
| 4649 | |
| 4650 | These requirements apply to the modified work as a whole. If |
| 4651 | identifiable sections of that work are not derived from the Library, |
| 4652 | and can be reasonably considered independent and separate works in |
| 4653 | themselves, then this License, and its terms, do not apply to those |
| 4654 | sections when you distribute them as separate works. But when you |
| 4655 | distribute the same sections as part of a whole which is a work based |
| 4656 | on the Library, the distribution of the whole must be on the terms of |
| 4657 | this License, whose permissions for other licensees extend to the |
| 4658 | entire whole, and thus to each and every part regardless of who wrote |
| 4659 | it. |
| 4660 | |
| 4661 | Thus, it is not the intent of this section to claim rights or contest |
| 4662 | your rights to work written entirely by you; rather, the intent is to |
| 4663 | exercise the right to control the distribution of derivative or |
| 4664 | collective works based on the Library. |
| 4665 | |
| 4666 | In addition, mere aggregation of another work not based on the Library |
| 4667 | with the Library (or with a work based on the Library) on a volume of |
| 4668 | a storage or distribution medium does not bring the other work under |
| 4669 | the scope of this License. |
| 4670 | |
| 4671 | 3. You may opt to apply the terms of the ordinary GNU General Public |
| 4672 | License instead of this License to a given copy of the Library. To do |
| 4673 | this, you must alter all the notices that refer to this License, so |
| 4674 | that they refer to the ordinary GNU General Public License, version 2, |
| 4675 | instead of to this License. (If a newer version than version 2 of the |
| 4676 | ordinary GNU General Public License has appeared, then you can specify |
| 4677 | that version instead if you wish.) Do not make any other change in |
| 4678 | these notices. |
| 4679 | |
| 4680 | Once this change is made in a given copy, it is irreversible for |
| 4681 | that copy, so the ordinary GNU General Public License applies to all |
| 4682 | subsequent copies and derivative works made from that copy. |
| 4683 | |
| 4684 | This option is useful when you wish to copy part of the code of |
| 4685 | the Library into a program that is not a library. |
| 4686 | |
| 4687 | 4. You may copy and distribute the Library (or a portion or |
| 4688 | derivative of it, under Section 2) in object code or executable form |
| 4689 | under the terms of Sections 1 and 2 above provided that you accompany |
| 4690 | it with the complete corresponding machine-readable source code, which |
| 4691 | must be distributed under the terms of Sections 1 and 2 above on a |
| 4692 | medium customarily used for software interchange. |
| 4693 | |
| 4694 | If distribution of object code is made by offering access to copy |
| 4695 | from a designated place, then offering equivalent access to copy the |
| 4696 | source code from the same place satisfies the requirement to |
| 4697 | distribute the source code, even though third parties are not |
| 4698 | compelled to copy the source along with the object code. |
| 4699 | |
| 4700 | 5. A program that contains no derivative of any portion of the |
| 4701 | Library, but is designed to work with the Library by being compiled or |
| 4702 | linked with it, is called a "work that uses the Library". Such a |
| 4703 | work, in isolation, is not a derivative work of the Library, and |
| 4704 | therefore falls outside the scope of this License. |
| 4705 | |
| 4706 | However, linking a "work that uses the Library" with the Library |
| 4707 | creates an executable that is a derivative of the Library (because it |
| 4708 | contains portions of the Library), rather than a "work that uses the |
| 4709 | library". The executable is therefore covered by this License. |
| 4710 | Section 6 states terms for distribution of such executables. |
| 4711 | |
| 4712 | When a "work that uses the Library" uses material from a header file |
| 4713 | that is part of the Library, the object code for the work may be a |
| 4714 | derivative work of the Library even though the source code is not. |
| 4715 | Whether this is true is especially significant if the work can be |
| 4716 | linked without the Library, or if the work is itself a library. The |
| 4717 | threshold for this to be true is not precisely defined by law. |
| 4718 | |
| 4719 | If such an object file uses only numerical parameters, data |
| 4720 | structure layouts and accessors, and small macros and small inline |
| 4721 | functions (ten lines or less in length), then the use of the object |
| 4722 | file is unrestricted, regardless of whether it is legally a derivative |
| 4723 | work. (Executables containing this object code plus portions of the |
| 4724 | Library will still fall under Section 6.) |
| 4725 | |
| 4726 | Otherwise, if the work is a derivative of the Library, you may |
| 4727 | distribute the object code for the work under the terms of Section 6. |
| 4728 | Any executables containing that work also fall under Section 6, |
| 4729 | whether or not they are linked directly with the Library itself. |
| 4730 | |
| 4731 | 6. As an exception to the Sections above, you may also compile or |
| 4732 | link a "work that uses the Library" with the Library to produce a |
| 4733 | work containing portions of the Library, and distribute that work |
| 4734 | under terms of your choice, provided that the terms permit |
| 4735 | modification of the work for the customer's own use and reverse |
| 4736 | engineering for debugging such modifications. |
| 4737 | |
| 4738 | You must give prominent notice with each copy of the work that the |
| 4739 | Library is used in it and that the Library and its use are covered by |
| 4740 | this License. You must supply a copy of this License. If the work |
| 4741 | during execution displays copyright notices, you must include the |
| 4742 | copyright notice for the Library among them, as well as a reference |
| 4743 | directing the user to the copy of this License. Also, you must do one |
| 4744 | of these things: |
| 4745 | |
| 4746 | a) Accompany the work with the complete corresponding |
| 4747 | machine-readable source code for the Library including whatever |
| 4748 | changes were used in the work (which must be distributed under |
| 4749 | Sections 1 and 2 above); and, if the work is an executable linked |
| 4750 | with the Library, with the complete machine-readable "work that |
| 4751 | uses the Library", as object code and/or source code, so that the |
| 4752 | user can modify the Library and then relink to produce a modified |
| 4753 | executable containing the modified Library. (It is understood |
| 4754 | that the user who changes the contents of definitions files in the |
| 4755 | Library will not necessarily be able to recompile the application |
| 4756 | to use the modified definitions.) |
| 4757 | |
| 4758 | b) Accompany the work with a written offer, valid for at |
| 4759 | least three years, to give the same user the materials |
| 4760 | specified in Subsection 6a, above, for a charge no more |
| 4761 | than the cost of performing this distribution. |
| 4762 | |
| 4763 | c) If distribution of the work is made by offering access to copy |
| 4764 | from a designated place, offer equivalent access to copy the above |
| 4765 | specified materials from the same place. |
| 4766 | |
| 4767 | d) Verify that the user has already received a copy of these |
| 4768 | materials or that you have already sent this user a copy. |
| 4769 | |
| 4770 | For an executable, the required form of the "work that uses the |
| 4771 | Library" must include any data and utility programs needed for |
| 4772 | reproducing the executable from it. However, as a special exception, |
| 4773 | the source code distributed need not include anything that is normally |
| 4774 | distributed (in either source or binary form) with the major |
| 4775 | components (compiler, kernel, and so on) of the operating system on |
| 4776 | which the executable runs, unless that component itself accompanies |
| 4777 | the executable. |
| 4778 | |
| 4779 | It may happen that this requirement contradicts the license |
| 4780 | restrictions of other proprietary libraries that do not normally |
| 4781 | accompany the operating system. Such a contradiction means you cannot |
| 4782 | use both them and the Library together in an executable that you |
| 4783 | distribute. |
| 4784 | |
| 4785 | 7. You may place library facilities that are a work based on the |
| 4786 | Library side-by-side in a single library together with other library |
| 4787 | facilities not covered by this License, and distribute such a combined |
| 4788 | library, provided that the separate distribution of the work based on |
| 4789 | the Library and of the other library facilities is otherwise |
| 4790 | permitted, and provided that you do these two things: |
| 4791 | |
| 4792 | a) Accompany the combined library with a copy of the same work |
| 4793 | based on the Library, uncombined with any other library |
| 4794 | facilities. This must be distributed under the terms of the |
| 4795 | Sections above. |
| 4796 | |
| 4797 | b) Give prominent notice with the combined library of the fact |
| 4798 | that part of it is a work based on the Library, and explaining |
| 4799 | where to find the accompanying uncombined form of the same work. |
| 4800 | |
| 4801 | 8. You may not copy, modify, sublicense, link with, or distribute |
| 4802 | the Library except as expressly provided under this License. Any |
| 4803 | attempt otherwise to copy, modify, sublicense, link with, or |
| 4804 | distribute the Library is void, and will automatically terminate your |
| 4805 | rights under this License. However, parties who have received copies, |
| 4806 | or rights, from you under this License will not have their licenses |
| 4807 | terminated so long as such parties remain in full compliance. |
| 4808 | |
| 4809 | 9. You are not required to accept this License, since you have not |
| 4810 | signed it. However, nothing else grants you permission to modify or |
| 4811 | distribute the Library or its derivative works. These actions are |
| 4812 | prohibited by law if you do not accept this License. Therefore, by |
| 4813 | modifying or distributing the Library (or any work based on the |
| 4814 | Library), you indicate your acceptance of this License to do so, and |
| 4815 | all its terms and conditions for copying, distributing or modifying |
| 4816 | the Library or works based on it. |
| 4817 | |
| 4818 | 10. Each time you redistribute the Library (or any work based on the |
| 4819 | Library), the recipient automatically receives a license from the |
| 4820 | original licensor to copy, distribute, link with or modify the Library |
| 4821 | subject to these terms and conditions. You may not impose any further |
| 4822 | restrictions on the recipients' exercise of the rights granted herein. |
| 4823 | You are not responsible for enforcing compliance by third parties to |
| 4824 | this License. |
| 4825 | |
| 4826 | 11. If, as a consequence of a court judgment or allegation of patent |
| 4827 | infringement or for any other reason (not limited to patent issues), |
| 4828 | conditions are imposed on you (whether by court order, agreement or |
| 4829 | otherwise) that contradict the conditions of this License, they do not |
| 4830 | excuse you from the conditions of this License. If you cannot |
| 4831 | distribute so as to satisfy simultaneously your obligations under this |
| 4832 | License and any other pertinent obligations, then as a consequence you |
| 4833 | may not distribute the Library at all. For example, if a patent |
| 4834 | license would not permit royalty-free redistribution of the Library by |
| 4835 | all those who receive copies directly or indirectly through you, then |
| 4836 | the only way you could satisfy both it and this License would be to |
| 4837 | refrain entirely from distribution of the Library. |
| 4838 | |
| 4839 | If any portion of this section is held invalid or unenforceable under any |
| 4840 | particular circumstance, the balance of the section is intended to apply, |
| 4841 | and the section as a whole is intended to apply in other circumstances. |
| 4842 | |
| 4843 | It is not the purpose of this section to induce you to infringe any |
| 4844 | patents or other property right claims or to contest validity of any |
| 4845 | such claims; this section has the sole purpose of protecting the |
| 4846 | integrity of the free software distribution system which is |
| 4847 | implemented by public license practices. Many people have made |
| 4848 | generous contributions to the wide range of software distributed |
| 4849 | through that system in reliance on consistent application of that |
| 4850 | system; it is up to the author/donor to decide if he or she is willing |
| 4851 | to distribute software through any other system and a licensee cannot |
| 4852 | impose that choice. |
| 4853 | |
| 4854 | This section is intended to make thoroughly clear what is believed to |
| 4855 | be a consequence of the rest of this License. |
| 4856 | |
| 4857 | 12. If the distribution and/or use of the Library is restricted in |
| 4858 | certain countries either by patents or by copyrighted interfaces, the |
| 4859 | original copyright holder who places the Library under this License may add |
| 4860 | an explicit geographical distribution limitation excluding those countries, |
| 4861 | so that distribution is permitted only in or among countries not thus |
| 4862 | excluded. In such case, this License incorporates the limitation as if |
| 4863 | written in the body of this License. |
| 4864 | |
| 4865 | 13. The Free Software Foundation may publish revised and/or new |
| 4866 | versions of the Library General Public License from time to time. |
| 4867 | Such new versions will be similar in spirit to the present version, |
| 4868 | but may differ in detail to address new problems or concerns. |
| 4869 | |
| 4870 | Each version is given a distinguishing version number. If the Library |
| 4871 | specifies a version number of this License which applies to it and |
| 4872 | "any later version", you have the option of following the terms and |
| 4873 | conditions either of that version or of any later version published by |
| 4874 | the Free Software Foundation. If the Library does not specify a |
| 4875 | license version number, you may choose any version ever published by |
| 4876 | the Free Software Foundation. |
| 4877 | |
| 4878 | 14. If you wish to incorporate parts of the Library into other free |
| 4879 | programs whose distribution conditions are incompatible with these, |
| 4880 | write to the author to ask for permission. For software which is |
| 4881 | copyrighted by the Free Software Foundation, write to the Free |
| 4882 | Software Foundation; we sometimes make exceptions for this. Our |
| 4883 | decision will be guided by the two goals of preserving the free status |
| 4884 | of all derivatives of our free software and of promoting the sharing |
| 4885 | and reuse of software generally. |
| 4886 | |
| 4887 | NO WARRANTY |
| 4888 | |
| 4889 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
| 4890 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
| 4891 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
| 4892 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
| 4893 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
| 4894 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 4895 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
| 4896 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
| 4897 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
| 4898 | |
| 4899 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
| 4900 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
| 4901 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
| 4902 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
| 4903 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
| 4904 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
| 4905 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
| 4906 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
| 4907 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
| 4908 | DAMAGES. |
| 4909 | |
| 4910 | END OF TERMS AND CONDITIONS |
| 4911 | |
| 4912 | How to Apply These Terms to Your New Libraries |
| 4913 | |
| 4914 | If you develop a new library, and you want it to be of the greatest |
| 4915 | possible use to the public, we recommend making it free software that |
| 4916 | everyone can redistribute and change. You can do so by permitting |
| 4917 | redistribution under these terms (or, alternatively, under the terms of the |
| 4918 | ordinary General Public License). |
| 4919 | |
| 4920 | To apply these terms, attach the following notices to the library. It is |
| 4921 | safest to attach them to the start of each source file to most effectively |
| 4922 | convey the exclusion of warranty; and each file should have at least the |
| 4923 | "copyright" line and a pointer to where the full notice is found. |
| 4924 | |
| 4925 | <one line to give the library's name and a brief idea of what it does.> |
| 4926 | Copyright (C) <year> <name of author> |
| 4927 | |
| 4928 | This library is free software; you can redistribute it and/or |
| 4929 | modify it under the terms of the GNU Library General Public |
| 4930 | License as published by the Free Software Foundation; either |
| 4931 | version 2 of the License, or (at your option) any later version. |
| 4932 | |
| 4933 | This library is distributed in the hope that it will be useful, |
| 4934 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 4935 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 4936 | Library General Public License for more details. |
| 4937 | |
| 4938 | You should have received a copy of the GNU Library General Public |
| 4939 | License along with this library; if not, write to the |
| 4940 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 4941 | Boston, MA 02111-1307 USA. |
| 4942 | |
| 4943 | Also add information on how to contact you by electronic and paper mail. |
| 4944 | |
| 4945 | You should also get your employer (if you work as a programmer) or your |
| 4946 | school, if any, to sign a "copyright disclaimer" for the library, if |
| 4947 | necessary. Here is a sample; alter the names: |
| 4948 | |
| 4949 | Yoyodyne, Inc., hereby disclaims all copyright interest in the |
| 4950 | library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
| 4951 | |
| 4952 | <signature of Ty Coon>, 1 April 1990 |
| 4953 | Ty Coon, President of Vice |
| 4954 | |
| 4955 | That's all there is to it! |
| 4956 | |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 4957 | HarfBuzz is licensed under the so-called "Old MIT" license. Details follow. |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 4958 | For parts of HarfBuzz that are licensed under different licenses see individual |
| 4959 | files names COPYING in subdirectories where applicable. |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 4960 | |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 4961 | Copyright © 2010,2011,2012 Google, Inc. |
| 4962 | Copyright © 2012 Mozilla Foundation |
| 4963 | Copyright © 2011 Codethink Limited |
| 4964 | Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies) |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 4965 | Copyright © 2009 Keith Stribley |
| 4966 | Copyright © 2009 Martin Hosken and SIL International |
| 4967 | Copyright © 2007 Chris Wilson |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 4968 | Copyright © 2006 Behdad Esfahbod |
| 4969 | Copyright © 2005 David Turner |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 4970 | Copyright © 2004,2007,2008,2009,2010 Red Hat, Inc. |
| 4971 | Copyright © 1998-2004 David Turner and Werner Lemberg |
| 4972 | |
| 4973 | For full copyright notices consult the individual files in the package. |
| 4974 | |
| 4975 | |
| 4976 | Permission is hereby granted, without written agreement and without |
| 4977 | license or royalty fees, to use, copy, modify, and distribute this |
| 4978 | software and its documentation for any purpose, provided that the |
| 4979 | above copyright notice and the following two paragraphs appear in |
| 4980 | all copies of this software. |
| 4981 | |
| 4982 | IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR |
| 4983 | DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES |
| 4984 | ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN |
| 4985 | IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
| 4986 | DAMAGE. |
| 4987 | |
| 4988 | THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, |
| 4989 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND |
| 4990 | FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS |
| 4991 | ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO |
| 4992 | PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 4993 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 4994 | /************************************************************************* |
| 4995 | * |
| 4996 | * IAccessible2 IDL Specification |
| 4997 | * |
| 4998 | * Copyright (c) 2007, 2010 Linux Foundation |
| 4999 | * Copyright (c) 2006 IBM Corporation |
| 5000 | * Copyright (c) 2000, 2006 Sun Microsystems, Inc. |
| 5001 | * All rights reserved. |
| 5002 | * |
| 5003 | * |
| 5004 | * Redistribution and use in source and binary forms, with or without |
| 5005 | * modification, are permitted provided that the following conditions |
| 5006 | * are met: |
| 5007 | * |
| 5008 | * 1. Redistributions of source code must retain the above copyright |
| 5009 | * notice, this list of conditions and the following disclaimer. |
| 5010 | * |
| 5011 | * 2. Redistributions in binary form must reproduce the above |
| 5012 | * copyright notice, this list of conditions and the following |
| 5013 | * disclaimer in the documentation and/or other materials |
| 5014 | * provided with the distribution. |
| 5015 | * |
| 5016 | * 3. Neither the name of the Linux Foundation nor the names of its |
| 5017 | * contributors may be used to endorse or promote products |
| 5018 | * derived from this software without specific prior written |
| 5019 | * permission. |
| 5020 | * |
| 5021 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND |
| 5022 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, |
| 5023 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 5024 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 5025 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
| 5026 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 5027 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 5028 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 5029 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 5030 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 5031 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 5032 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, |
| 5033 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 5034 | * |
| 5035 | * This BSD License conforms to the Open Source Initiative "Simplified |
| 5036 | * BSD License" as published at: |
| 5037 | * http://www.opensource.org/licenses/bsd-license.php |
| 5038 | * |
| 5039 | * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2 |
| 5040 | * mark may be used in accordance with the Linux Foundation Trademark |
| 5041 | * Policy to indicate compliance with the IAccessible2 specification. |
| 5042 | * |
| 5043 | ************************************************************************/ |
| 5044 | |
| 5045 | LICENSE extracted from IJG's jpeg distribution: |
| 5046 | ----------------------------------------------- |
| 5047 | |
| 5048 | In plain English: |
| 5049 | |
| 5050 | 1. We don't promise that this software works. (But if you find any bugs, |
| 5051 | please let us know!) |
| 5052 | 2. You can use this software for whatever you want. You don't have to pay us. |
| 5053 | 3. You may not pretend that you wrote this software. If you use it in a |
| 5054 | program, you must acknowledge somewhere in your documentation that |
| 5055 | you've used the IJG code. |
| 5056 | |
| 5057 | In legalese: |
| 5058 | |
| 5059 | The authors make NO WARRANTY or representation, either express or implied, |
| 5060 | with respect to this software, its quality, accuracy, merchantability, or |
| 5061 | fitness for a particular purpose. This software is provided "AS IS", and you, |
| 5062 | its user, assume the entire risk as to its quality and accuracy. |
| 5063 | |
| 5064 | This software is copyright (C) 1991-1998, Thomas G. Lane. |
| 5065 | All Rights Reserved except as specified below. |
| 5066 | |
| 5067 | Permission is hereby granted to use, copy, modify, and distribute this |
| 5068 | software (or portions thereof) for any purpose, without fee, subject to these |
| 5069 | conditions: |
| 5070 | (1) If any part of the source code for this software is distributed, then this |
| 5071 | README file must be included, with this copyright and no-warranty notice |
| 5072 | unaltered; and any additions, deletions, or changes to the original files |
| 5073 | must be clearly indicated in accompanying documentation. |
| 5074 | (2) If only executable code is distributed, then the accompanying |
| 5075 | documentation must state that "this software is based in part on the work of |
| 5076 | the Independent JPEG Group". |
| 5077 | (3) Permission for use of this software is granted only if the user accepts |
| 5078 | full responsibility for any undesirable consequences; the authors accept |
| 5079 | NO LIABILITY for damages of any kind. |
| 5080 | |
| 5081 | These conditions apply to any software derived from or based on the IJG code, |
| 5082 | not just to the unmodified library. If you use our work, you ought to |
| 5083 | acknowledge us. |
| 5084 | |
| 5085 | Permission is NOT granted for the use of any IJG author's name or company name |
| 5086 | in advertising or publicity relating to this software or products derived from |
| 5087 | it. This software may be referred to only as "the Independent JPEG Group's |
| 5088 | software". |
| 5089 | |
| 5090 | We specifically permit and encourage the use of this software as the basis of |
| 5091 | commercial products, provided that all warranty or liability claims are |
| 5092 | assumed by the product vendor. |
| 5093 | |
| 5094 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 5095 | ICU License - ICU 1.8.1 and later |
| 5096 | |
| 5097 | COPYRIGHT AND PERMISSION NOTICE |
| 5098 | |
| 5099 | Copyright (c) 1995-2010 International Business Machines Corporation and others |
| 5100 | |
| 5101 | All rights reserved. |
| 5102 | |
| 5103 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 5104 | of this software and associated documentation files (the "Software"), |
| 5105 | to deal in the Software without restriction, including without limitation |
| 5106 | the rights to use, copy, modify, merge, publish, distribute, and/or sell |
| 5107 | copies of the Software, and to permit persons |
| 5108 | to whom the Software is furnished to do so, provided that the above |
| 5109 | copyright notice(s) and this permission notice appear in all copies |
| 5110 | of the Software and that both the above copyright notice(s) and this |
| 5111 | permission notice appear in supporting documentation. |
| 5112 | |
| 5113 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, |
| 5114 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A |
| 5115 | PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL |
| 5116 | THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, |
| 5117 | OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER |
| 5118 | RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
| 5119 | NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE |
| 5120 | USE OR PERFORMANCE OF THIS SOFTWARE. |
| 5121 | |
| 5122 | Except as contained in this notice, the name of a copyright holder shall not be |
| 5123 | used in advertising or otherwise to promote the sale, use or other dealings in |
| 5124 | this Software without prior written authorization of the copyright holder. |
| 5125 | |
| 5126 | All trademarks and registered trademarks mentioned herein are the property of their respective owners. |
| 5127 | |
| 5128 | /* ***** BEGIN LICENSE BLOCK ***** |
| 5129 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 5130 | * |
| 5131 | * The contents of this file are subject to the Mozilla Public License Version |
| 5132 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 5133 | * the License. You may obtain a copy of the License at |
| 5134 | * http://www.mozilla.org/MPL/ |
| 5135 | * |
| 5136 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 5137 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 5138 | * for the specific language governing rights and limitations under the |
| 5139 | * License. |
| 5140 | * |
| 5141 | * The Original Code is mozilla.org code. |
| 5142 | * |
| 5143 | * The Initial Developer of the Original Code is |
| 5144 | * Netscape Communications Corporation. |
| 5145 | * Portions created by the Initial Developer are Copyright (C) 2002 |
| 5146 | * the Initial Developer. All Rights Reserved. |
| 5147 | * |
| 5148 | * Contributor(s): |
| 5149 | * |
| 5150 | * Alternatively, the contents of this file may be used under the terms of |
| 5151 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 5152 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 5153 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 5154 | * of those above. If you wish to allow use of your version of this file only |
| 5155 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 5156 | * use your version of this file under the terms of the MPL, indicate your |
| 5157 | * decision by deleting the provisions above and replace them with the notice |
| 5158 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 5159 | * the provisions above, a recipient may use your version of this file under |
| 5160 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 5161 | * |
| 5162 | * ***** END LICENSE BLOCK ***** */ |
| 5163 | |
| 5164 | The following is the license for the jemalloc source code, as provided
|
| 5165 | in the initial section of the source files.
|
| 5166 |
|
| 5167 | Copyright (C) 2006-2008 Jason Evans <jasone@FreeBSD.org>.
|
| 5168 | All rights reserved.
|
| 5169 |
|
| 5170 | Redistribution and use in source and binary forms, with or without
|
| 5171 | modification, are permitted provided that the following conditions
|
| 5172 | are met:
|
| 5173 | 1. Redistributions of source code must retain the above copyright
|
| 5174 | notice(s), this list of conditions and the following disclaimer as
|
| 5175 | the first lines of this file unmodified other than the possible
|
| 5176 | addition of one or more copyright notices.
|
| 5177 | 2. Redistributions in binary form must reproduce the above copyright
|
| 5178 | notice(s), this list of conditions and the following disclaimer in
|
| 5179 | the documentation and/or other materials provided with the
|
| 5180 | distribution.
|
| 5181 |
|
| 5182 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
|
| 5183 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 5184 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 5185 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE
|
| 5186 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 5187 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 5188 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
| 5189 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 5190 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
| 5191 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
| 5192 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 5193 |
|
| 5194 | |
| 5195 | The JsonCpp library's source code, including accompanying documentation, |
| 5196 | tests and demonstration applications, are licensed under the following |
| 5197 | conditions... |
| 5198 | |
| 5199 | The author (Baptiste Lepilleur) explicitly disclaims copyright in all |
| 5200 | jurisdictions which recognize such a disclaimer. In such jurisdictions, |
| 5201 | this software is released into the Public Domain. |
| 5202 | |
| 5203 | In jurisdictions which do not recognize Public Domain property (e.g. Germany as of |
| 5204 | 2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is |
| 5205 | released under the terms of the MIT License (see below). |
| 5206 | |
| 5207 | In jurisdictions which recognize Public Domain property, the user of this |
| 5208 | software may choose to accept it either as 1) Public Domain, 2) under the |
| 5209 | conditions of the MIT License (see below), or 3) under the terms of dual |
| 5210 | Public Domain/MIT License conditions described here, as they choose. |
| 5211 | |
| 5212 | The MIT License is about as close to Public Domain as a license can get, and is |
| 5213 | described in clear, concise terms at: |
| 5214 | |
| 5215 | http://en.wikipedia.org/wiki/MIT_License |
| 5216 | |
| 5217 | The full text of the MIT License follows: |
| 5218 | |
| 5219 | ======================================================================== |
| 5220 | Copyright (c) 2007-2010 Baptiste Lepilleur |
| 5221 | |
| 5222 | Permission is hereby granted, free of charge, to any person |
| 5223 | obtaining a copy of this software and associated documentation |
| 5224 | files (the "Software"), to deal in the Software without |
| 5225 | restriction, including without limitation the rights to use, copy, |
| 5226 | modify, merge, publish, distribute, sublicense, and/or sell copies |
| 5227 | of the Software, and to permit persons to whom the Software is |
| 5228 | furnished to do so, subject to the following conditions: |
| 5229 | |
| 5230 | The above copyright notice and this permission notice shall be |
| 5231 | included in all copies or substantial portions of the Software. |
| 5232 | |
| 5233 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 5234 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 5235 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 5236 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS |
| 5237 | BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
| 5238 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 5239 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 5240 | SOFTWARE. |
| 5241 | ======================================================================== |
| 5242 | (END LICENSE TEXT) |
| 5243 | |
| 5244 | The MIT license is compatible with both the GPL and commercial |
| 5245 | software, affording one all of the rights of Public Domain with the |
| 5246 | minor nuisance of being required to keep the above copyright notice |
| 5247 | and license text in the source code. Note also that by accepting the |
| 5248 | Public Domain "license" you can re-license your copy using whatever |
| 5249 | license you like. |
| 5250 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 5251 | |
| 5252 | Apache License |
| 5253 | Version 2.0, January 2004 |
| 5254 | http://www.apache.org/licenses/ |
| 5255 | |
| 5256 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 5257 | |
| 5258 | 1. Definitions. |
| 5259 | |
| 5260 | "License" shall mean the terms and conditions for use, reproduction, |
| 5261 | and distribution as defined by Sections 1 through 9 of this document. |
| 5262 | |
| 5263 | "Licensor" shall mean the copyright owner or entity authorized by |
| 5264 | the copyright owner that is granting the License. |
| 5265 | |
| 5266 | "Legal Entity" shall mean the union of the acting entity and all |
| 5267 | other entities that control, are controlled by, or are under common |
| 5268 | control with that entity. For the purposes of this definition, |
| 5269 | "control" means (i) the power, direct or indirect, to cause the |
| 5270 | direction or management of such entity, whether by contract or |
| 5271 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 5272 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 5273 | |
| 5274 | "You" (or "Your") shall mean an individual or Legal Entity |
| 5275 | exercising permissions granted by this License. |
| 5276 | |
| 5277 | "Source" form shall mean the preferred form for making modifications, |
| 5278 | including but not limited to software source code, documentation |
| 5279 | source, and configuration files. |
| 5280 | |
| 5281 | "Object" form shall mean any form resulting from mechanical |
| 5282 | transformation or translation of a Source form, including but |
| 5283 | not limited to compiled object code, generated documentation, |
| 5284 | and conversions to other media types. |
| 5285 | |
| 5286 | "Work" shall mean the work of authorship, whether in Source or |
| 5287 | Object form, made available under the License, as indicated by a |
| 5288 | copyright notice that is included in or attached to the work |
| 5289 | (an example is provided in the Appendix below). |
| 5290 | |
| 5291 | "Derivative Works" shall mean any work, whether in Source or Object |
| 5292 | form, that is based on (or derived from) the Work and for which the |
| 5293 | editorial revisions, annotations, elaborations, or other modifications |
| 5294 | represent, as a whole, an original work of authorship. For the purposes |
| 5295 | of this License, Derivative Works shall not include works that remain |
| 5296 | separable from, or merely link (or bind by name) to the interfaces of, |
| 5297 | the Work and Derivative Works thereof. |
| 5298 | |
| 5299 | "Contribution" shall mean any work of authorship, including |
| 5300 | the original version of the Work and any modifications or additions |
| 5301 | to that Work or Derivative Works thereof, that is intentionally |
| 5302 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 5303 | or by an individual or Legal Entity authorized to submit on behalf of |
| 5304 | the copyright owner. For the purposes of this definition, "submitted" |
| 5305 | means any form of electronic, verbal, or written communication sent |
| 5306 | to the Licensor or its representatives, including but not limited to |
| 5307 | communication on electronic mailing lists, source code control systems, |
| 5308 | and issue tracking systems that are managed by, or on behalf of, the |
| 5309 | Licensor for the purpose of discussing and improving the Work, but |
| 5310 | excluding communication that is conspicuously marked or otherwise |
| 5311 | designated in writing by the copyright owner as "Not a Contribution." |
| 5312 | |
| 5313 | "Contributor" shall mean Licensor and any individual or Legal Entity |
| 5314 | on behalf of whom a Contribution has been received by Licensor and |
| 5315 | subsequently incorporated within the Work. |
| 5316 | |
| 5317 | 2. Grant of Copyright License. Subject to the terms and conditions of |
| 5318 | this License, each Contributor hereby grants to You a perpetual, |
| 5319 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 5320 | copyright license to reproduce, prepare Derivative Works of, |
| 5321 | publicly display, publicly perform, sublicense, and distribute the |
| 5322 | Work and such Derivative Works in Source or Object form. |
| 5323 | |
| 5324 | 3. Grant of Patent License. Subject to the terms and conditions of |
| 5325 | this License, each Contributor hereby grants to You a perpetual, |
| 5326 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 5327 | (except as stated in this section) patent license to make, have made, |
| 5328 | use, offer to sell, sell, import, and otherwise transfer the Work, |
| 5329 | where such license applies only to those patent claims licensable |
| 5330 | by such Contributor that are necessarily infringed by their |
| 5331 | Contribution(s) alone or by combination of their Contribution(s) |
| 5332 | with the Work to which such Contribution(s) was submitted. If You |
| 5333 | institute patent litigation against any entity (including a |
| 5334 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 5335 | or a Contribution incorporated within the Work constitutes direct |
| 5336 | or contributory patent infringement, then any patent licenses |
| 5337 | granted to You under this License for that Work shall terminate |
| 5338 | as of the date such litigation is filed. |
| 5339 | |
| 5340 | 4. Redistribution. You may reproduce and distribute copies of the |
| 5341 | Work or Derivative Works thereof in any medium, with or without |
| 5342 | modifications, and in Source or Object form, provided that You |
| 5343 | meet the following conditions: |
| 5344 | |
| 5345 | (a) You must give any other recipients of the Work or |
| 5346 | Derivative Works a copy of this License; and |
| 5347 | |
| 5348 | (b) You must cause any modified files to carry prominent notices |
| 5349 | stating that You changed the files; and |
| 5350 | |
| 5351 | (c) You must retain, in the Source form of any Derivative Works |
| 5352 | that You distribute, all copyright, patent, trademark, and |
| 5353 | attribution notices from the Source form of the Work, |
| 5354 | excluding those notices that do not pertain to any part of |
| 5355 | the Derivative Works; and |
| 5356 | |
| 5357 | (d) If the Work includes a "NOTICE" text file as part of its |
| 5358 | distribution, then any Derivative Works that You distribute must |
| 5359 | include a readable copy of the attribution notices contained |
| 5360 | within such NOTICE file, excluding those notices that do not |
| 5361 | pertain to any part of the Derivative Works, in at least one |
| 5362 | of the following places: within a NOTICE text file distributed |
| 5363 | as part of the Derivative Works; within the Source form or |
| 5364 | documentation, if provided along with the Derivative Works; or, |
| 5365 | within a display generated by the Derivative Works, if and |
| 5366 | wherever such third-party notices normally appear. The contents |
| 5367 | of the NOTICE file are for informational purposes only and |
| 5368 | do not modify the License. You may add Your own attribution |
| 5369 | notices within Derivative Works that You distribute, alongside |
| 5370 | or as an addendum to the NOTICE text from the Work, provided |
| 5371 | that such additional attribution notices cannot be construed |
| 5372 | as modifying the License. |
| 5373 | |
| 5374 | You may add Your own copyright statement to Your modifications and |
| 5375 | may provide additional or different license terms and conditions |
| 5376 | for use, reproduction, or distribution of Your modifications, or |
| 5377 | for any such Derivative Works as a whole, provided Your use, |
| 5378 | reproduction, and distribution of the Work otherwise complies with |
| 5379 | the conditions stated in this License. |
| 5380 | |
| 5381 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
| 5382 | any Contribution intentionally submitted for inclusion in the Work |
| 5383 | by You to the Licensor shall be under the terms and conditions of |
| 5384 | this License, without any additional terms or conditions. |
| 5385 | Notwithstanding the above, nothing herein shall supersede or modify |
| 5386 | the terms of any separate license agreement you may have executed |
| 5387 | with Licensor regarding such Contributions. |
| 5388 | |
| 5389 | 6. Trademarks. This License does not grant permission to use the trade |
| 5390 | names, trademarks, service marks, or product names of the Licensor, |
| 5391 | except as required for reasonable and customary use in describing the |
| 5392 | origin of the Work and reproducing the content of the NOTICE file. |
| 5393 | |
| 5394 | 7. Disclaimer of Warranty. Unless required by applicable law or |
| 5395 | agreed to in writing, Licensor provides the Work (and each |
| 5396 | Contributor provides its Contributions) on an "AS IS" BASIS, |
| 5397 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 5398 | implied, including, without limitation, any warranties or conditions |
| 5399 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
| 5400 | PARTICULAR PURPOSE. You are solely responsible for determining the |
| 5401 | appropriateness of using or redistributing the Work and assume any |
| 5402 | risks associated with Your exercise of permissions under this License. |
| 5403 | |
| 5404 | 8. Limitation of Liability. In no event and under no legal theory, |
| 5405 | whether in tort (including negligence), contract, or otherwise, |
| 5406 | unless required by applicable law (such as deliberate and grossly |
| 5407 | negligent acts) or agreed to in writing, shall any Contributor be |
| 5408 | liable to You for damages, including any direct, indirect, special, |
| 5409 | incidental, or consequential damages of any character arising as a |
| 5410 | result of this License or out of the use or inability to use the |
| 5411 | Work (including but not limited to damages for loss of goodwill, |
| 5412 | work stoppage, computer failure or malfunction, or any and all |
| 5413 | other commercial damages or losses), even if such Contributor |
| 5414 | has been advised of the possibility of such damages. |
| 5415 | |
| 5416 | 9. Accepting Warranty or Additional Liability. While redistributing |
| 5417 | the Work or Derivative Works thereof, You may choose to offer, |
| 5418 | and charge a fee for, acceptance of support, warranty, indemnity, |
| 5419 | or other liability obligations and/or rights consistent with this |
| 5420 | License. However, in accepting such obligations, You may act only |
| 5421 | on Your own behalf and on Your sole responsibility, not on behalf |
| 5422 | of any other Contributor, and only if You agree to indemnify, |
| 5423 | defend, and hold each Contributor harmless for any liability |
| 5424 | incurred by, or claims asserted against, such Contributor by reason |
| 5425 | of your accepting any such warranty or additional liability. |
| 5426 | |
| 5427 | END OF TERMS AND CONDITIONS |
| 5428 | |
| 5429 | APPENDIX: How to apply the Apache License to your work. |
| 5430 | |
| 5431 | To apply the Apache License to your work, attach the following |
| 5432 | boilerplate notice, with the fields enclosed by brackets "[]" |
| 5433 | replaced with your own identifying information. (Don't include |
| 5434 | the brackets!) The text should be enclosed in the appropriate |
| 5435 | comment syntax for the file format. We also recommend that a |
| 5436 | file or class name and description of purpose be included on the |
| 5437 | same "printed page" as the copyright notice for easier |
| 5438 | identification within third-party archives. |
| 5439 | |
| 5440 | Copyright [yyyy] [name of copyright owner] |
| 5441 | |
| 5442 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5443 | you may not use this file except in compliance with the License. |
| 5444 | You may obtain a copy of the License at |
| 5445 | |
| 5446 | http://www.apache.org/licenses/LICENSE-2.0 |
| 5447 | |
| 5448 | Unless required by applicable law or agreed to in writing, software |
| 5449 | distributed under the License is distributed on an "AS IS" BASIS, |
| 5450 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 5451 | See the License for the specific language governing permissions and |
| 5452 | limitations under the License. |
| 5453 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 5454 | Copyright (c) 2007-2010 The Khronos Group Inc. |
| 5455 | |
| 5456 | Permission is hereby granted, free of charge, to any person obtaining a |
| 5457 | copy of this software and/or associated documentation files (the |
| 5458 | "Materials"), to deal in the Materials without restriction, including |
| 5459 | without limitation the rights to use, copy, modify, merge, publish, |
| 5460 | distribute, sublicense, and/or sell copies of the Materials, and to |
| 5461 | permit persons to whom the Materials are furnished to do so, subject to |
| 5462 | the following conditions: |
| 5463 | |
| 5464 | The above copyright notice and this permission notice shall be included |
| 5465 | in all copies or substantial portions of the Materials. |
| 5466 | |
| 5467 | THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 5468 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 5469 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 5470 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 5471 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 5472 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 5473 | MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. |
| 5474 | |
| 5475 | |
| 5476 | SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) |
| 5477 | |
| 5478 | Copyright (C) 1992 Silicon Graphics, Inc. All Rights Reserved. |
| 5479 | |
| 5480 | Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 5481 | this software and associated documentation files (the "Software"), to deal in |
| 5482 | the Software without restriction, including without limitation the rights to |
| 5483 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
| 5484 | of the Software, and to permit persons to whom the Software is furnished to do |
| 5485 | so, subject to the following conditions: |
| 5486 | |
| 5487 | The above copyright notice including the dates of first publication and either |
| 5488 | this permission notice or a reference to http://oss.sgi.com/projects/FreeB/ |
| 5489 | shall be included in all copies or substantial portions of the Software. |
| 5490 | |
| 5491 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 5492 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 5493 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SILICON |
| 5494 | GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
| 5495 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| 5496 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 5497 | |
| 5498 | Except as contained in this notice, the name of Silicon Graphics, Inc. shall |
| 5499 | not be used in advertising or otherwise to promote the sale, use or other |
| 5500 | dealings in this Software without prior written authorization from Silicon |
| 5501 | Graphics, Inc. |
| 5502 | |
| 5503 | Redistribution and use in source and binary forms, with or without |
| 5504 | modification, are permitted provided that the following conditions are |
| 5505 | met: |
| 5506 | |
| 5507 | * Redistributions of source code must retain the above copyright |
| 5508 | notice, this list of conditions and the following disclaimer. |
| 5509 | |
| 5510 | * Redistributions in binary form must reproduce the above |
| 5511 | copyright notice, this list of conditions and the following |
| 5512 | disclaimer in the documentation and/or other materials provided |
| 5513 | with the distribution. |
| 5514 | |
| 5515 | * Neither the name of the copyright holders nor the names of its |
| 5516 | contributors may be used to endorse or promote products derived |
| 5517 | from this software without specific prior written permission. |
| 5518 | |
| 5519 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 5520 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 5521 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 5522 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 5523 | HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 5524 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 5525 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 5526 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 5527 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 5528 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 5529 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 5530 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 5531 | GNU GENERAL PUBLIC LICENSE |
| 5532 | Version 2, June 1991 |
| 5533 | |
| 5534 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., |
| 5535 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 5536 | Everyone is permitted to copy and distribute verbatim copies |
| 5537 | of this license document, but changing it is not allowed. |
| 5538 | |
| 5539 | Preamble |
| 5540 | |
| 5541 | The licenses for most software are designed to take away your |
| 5542 | freedom to share and change it. By contrast, the GNU General Public |
| 5543 | License is intended to guarantee your freedom to share and change free |
| 5544 | software--to make sure the software is free for all its users. This |
| 5545 | General Public License applies to most of the Free Software |
| 5546 | Foundation's software and to any other program whose authors commit to |
| 5547 | using it. (Some other Free Software Foundation software is covered by |
| 5548 | the GNU Lesser General Public License instead.) You can apply it to |
| 5549 | your programs, too. |
| 5550 | |
| 5551 | When we speak of free software, we are referring to freedom, not |
| 5552 | price. Our General Public Licenses are designed to make sure that you |
| 5553 | have the freedom to distribute copies of free software (and charge for |
| 5554 | this service if you wish), that you receive source code or can get it |
| 5555 | if you want it, that you can change the software or use pieces of it |
| 5556 | in new free programs; and that you know you can do these things. |
| 5557 | |
| 5558 | To protect your rights, we need to make restrictions that forbid |
| 5559 | anyone to deny you these rights or to ask you to surrender the rights. |
| 5560 | These restrictions translate to certain responsibilities for you if you |
| 5561 | distribute copies of the software, or if you modify it. |
| 5562 | |
| 5563 | For example, if you distribute copies of such a program, whether |
| 5564 | gratis or for a fee, you must give the recipients all the rights that |
| 5565 | you have. You must make sure that they, too, receive or can get the |
| 5566 | source code. And you must show them these terms so they know their |
| 5567 | rights. |
| 5568 | |
| 5569 | We protect your rights with two steps: (1) copyright the software, and |
| 5570 | (2) offer you this license which gives you legal permission to copy, |
| 5571 | distribute and/or modify the software. |
| 5572 | |
| 5573 | Also, for each author's protection and ours, we want to make certain |
| 5574 | that everyone understands that there is no warranty for this free |
| 5575 | software. If the software is modified by someone else and passed on, we |
| 5576 | want its recipients to know that what they have is not the original, so |
| 5577 | that any problems introduced by others will not reflect on the original |
| 5578 | authors' reputations. |
| 5579 | |
| 5580 | Finally, any free program is threatened constantly by software |
| 5581 | patents. We wish to avoid the danger that redistributors of a free |
| 5582 | program will individually obtain patent licenses, in effect making the |
| 5583 | program proprietary. To prevent this, we have made it clear that any |
| 5584 | patent must be licensed for everyone's free use or not licensed at all. |
| 5585 | |
| 5586 | The precise terms and conditions for copying, distribution and |
| 5587 | modification follow. |
| 5588 | |
| 5589 | GNU GENERAL PUBLIC LICENSE |
| 5590 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 5591 | |
| 5592 | 0. This License applies to any program or other work which contains |
| 5593 | a notice placed by the copyright holder saying it may be distributed |
| 5594 | under the terms of this General Public License. The "Program", below, |
| 5595 | refers to any such program or work, and a "work based on the Program" |
| 5596 | means either the Program or any derivative work under copyright law: |
| 5597 | that is to say, a work containing the Program or a portion of it, |
| 5598 | either verbatim or with modifications and/or translated into another |
| 5599 | language. (Hereinafter, translation is included without limitation in |
| 5600 | the term "modification".) Each licensee is addressed as "you". |
| 5601 | |
| 5602 | Activities other than copying, distribution and modification are not |
| 5603 | covered by this License; they are outside its scope. The act of |
| 5604 | running the Program is not restricted, and the output from the Program |
| 5605 | is covered only if its contents constitute a work based on the |
| 5606 | Program (independent of having been made by running the Program). |
| 5607 | Whether that is true depends on what the Program does. |
| 5608 | |
| 5609 | 1. You may copy and distribute verbatim copies of the Program's |
| 5610 | source code as you receive it, in any medium, provided that you |
| 5611 | conspicuously and appropriately publish on each copy an appropriate |
| 5612 | copyright notice and disclaimer of warranty; keep intact all the |
| 5613 | notices that refer to this License and to the absence of any warranty; |
| 5614 | and give any other recipients of the Program a copy of this License |
| 5615 | along with the Program. |
| 5616 | |
| 5617 | You may charge a fee for the physical act of transferring a copy, and |
| 5618 | you may at your option offer warranty protection in exchange for a fee. |
| 5619 | |
| 5620 | 2. You may modify your copy or copies of the Program or any portion |
| 5621 | of it, thus forming a work based on the Program, and copy and |
| 5622 | distribute such modifications or work under the terms of Section 1 |
| 5623 | above, provided that you also meet all of these conditions: |
| 5624 | |
| 5625 | a) You must cause the modified files to carry prominent notices |
| 5626 | stating that you changed the files and the date of any change. |
| 5627 | |
| 5628 | b) You must cause any work that you distribute or publish, that in |
| 5629 | whole or in part contains or is derived from the Program or any |
| 5630 | part thereof, to be licensed as a whole at no charge to all third |
| 5631 | parties under the terms of this License. |
| 5632 | |
| 5633 | c) If the modified program normally reads commands interactively |
| 5634 | when run, you must cause it, when started running for such |
| 5635 | interactive use in the most ordinary way, to print or display an |
| 5636 | announcement including an appropriate copyright notice and a |
| 5637 | notice that there is no warranty (or else, saying that you provide |
| 5638 | a warranty) and that users may redistribute the program under |
| 5639 | these conditions, and telling the user how to view a copy of this |
| 5640 | License. (Exception: if the Program itself is interactive but |
| 5641 | does not normally print such an announcement, your work based on |
| 5642 | the Program is not required to print an announcement.) |
| 5643 | |
| 5644 | These requirements apply to the modified work as a whole. If |
| 5645 | identifiable sections of that work are not derived from the Program, |
| 5646 | and can be reasonably considered independent and separate works in |
| 5647 | themselves, then this License, and its terms, do not apply to those |
| 5648 | sections when you distribute them as separate works. But when you |
| 5649 | distribute the same sections as part of a whole which is a work based |
| 5650 | on the Program, the distribution of the whole must be on the terms of |
| 5651 | this License, whose permissions for other licensees extend to the |
| 5652 | entire whole, and thus to each and every part regardless of who wrote it. |
| 5653 | |
| 5654 | Thus, it is not the intent of this section to claim rights or contest |
| 5655 | your rights to work written entirely by you; rather, the intent is to |
| 5656 | exercise the right to control the distribution of derivative or |
| 5657 | collective works based on the Program. |
| 5658 | |
| 5659 | In addition, mere aggregation of another work not based on the Program |
| 5660 | with the Program (or with a work based on the Program) on a volume of |
| 5661 | a storage or distribution medium does not bring the other work under |
| 5662 | the scope of this License. |
| 5663 | |
| 5664 | 3. You may copy and distribute the Program (or a work based on it, |
| 5665 | under Section 2) in object code or executable form under the terms of |
| 5666 | Sections 1 and 2 above provided that you also do one of the following: |
| 5667 | |
| 5668 | a) Accompany it with the complete corresponding machine-readable |
| 5669 | source code, which must be distributed under the terms of Sections |
| 5670 | 1 and 2 above on a medium customarily used for software interchange; or, |
| 5671 | |
| 5672 | b) Accompany it with a written offer, valid for at least three |
| 5673 | years, to give any third party, for a charge no more than your |
| 5674 | cost of physically performing source distribution, a complete |
| 5675 | machine-readable copy of the corresponding source code, to be |
| 5676 | distributed under the terms of Sections 1 and 2 above on a medium |
| 5677 | customarily used for software interchange; or, |
| 5678 | |
| 5679 | c) Accompany it with the information you received as to the offer |
| 5680 | to distribute corresponding source code. (This alternative is |
| 5681 | allowed only for noncommercial distribution and only if you |
| 5682 | received the program in object code or executable form with such |
| 5683 | an offer, in accord with Subsection b above.) |
| 5684 | |
| 5685 | The source code for a work means the preferred form of the work for |
| 5686 | making modifications to it. For an executable work, complete source |
| 5687 | code means all the source code for all modules it contains, plus any |
| 5688 | associated interface definition files, plus the scripts used to |
| 5689 | control compilation and installation of the executable. However, as a |
| 5690 | special exception, the source code distributed need not include |
| 5691 | anything that is normally distributed (in either source or binary |
| 5692 | form) with the major components (compiler, kernel, and so on) of the |
| 5693 | operating system on which the executable runs, unless that component |
| 5694 | itself accompanies the executable. |
| 5695 | |
| 5696 | If distribution of executable or object code is made by offering |
| 5697 | access to copy from a designated place, then offering equivalent |
| 5698 | access to copy the source code from the same place counts as |
| 5699 | distribution of the source code, even though third parties are not |
| 5700 | compelled to copy the source along with the object code. |
| 5701 | |
| 5702 | 4. You may not copy, modify, sublicense, or distribute the Program |
| 5703 | except as expressly provided under this License. Any attempt |
| 5704 | otherwise to copy, modify, sublicense or distribute the Program is |
| 5705 | void, and will automatically terminate your rights under this License. |
| 5706 | However, parties who have received copies, or rights, from you under |
| 5707 | this License will not have their licenses terminated so long as such |
| 5708 | parties remain in full compliance. |
| 5709 | |
| 5710 | 5. You are not required to accept this License, since you have not |
| 5711 | signed it. However, nothing else grants you permission to modify or |
| 5712 | distribute the Program or its derivative works. These actions are |
| 5713 | prohibited by law if you do not accept this License. Therefore, by |
| 5714 | modifying or distributing the Program (or any work based on the |
| 5715 | Program), you indicate your acceptance of this License to do so, and |
| 5716 | all its terms and conditions for copying, distributing or modifying |
| 5717 | the Program or works based on it. |
| 5718 | |
| 5719 | 6. Each time you redistribute the Program (or any work based on the |
| 5720 | Program), the recipient automatically receives a license from the |
| 5721 | original licensor to copy, distribute or modify the Program subject to |
| 5722 | these terms and conditions. You may not impose any further |
| 5723 | restrictions on the recipients' exercise of the rights granted herein. |
| 5724 | You are not responsible for enforcing compliance by third parties to |
| 5725 | this License. |
| 5726 | |
| 5727 | 7. If, as a consequence of a court judgment or allegation of patent |
| 5728 | infringement or for any other reason (not limited to patent issues), |
| 5729 | conditions are imposed on you (whether by court order, agreement or |
| 5730 | otherwise) that contradict the conditions of this License, they do not |
| 5731 | excuse you from the conditions of this License. If you cannot |
| 5732 | distribute so as to satisfy simultaneously your obligations under this |
| 5733 | License and any other pertinent obligations, then as a consequence you |
| 5734 | may not distribute the Program at all. For example, if a patent |
| 5735 | license would not permit royalty-free redistribution of the Program by |
| 5736 | all those who receive copies directly or indirectly through you, then |
| 5737 | the only way you could satisfy both it and this License would be to |
| 5738 | refrain entirely from distribution of the Program. |
| 5739 | |
| 5740 | If any portion of this section is held invalid or unenforceable under |
| 5741 | any particular circumstance, the balance of the section is intended to |
| 5742 | apply and the section as a whole is intended to apply in other |
| 5743 | circumstances. |
| 5744 | |
| 5745 | It is not the purpose of this section to induce you to infringe any |
| 5746 | patents or other property right claims or to contest validity of any |
| 5747 | such claims; this section has the sole purpose of protecting the |
| 5748 | integrity of the free software distribution system, which is |
| 5749 | implemented by public license practices. Many people have made |
| 5750 | generous contributions to the wide range of software distributed |
| 5751 | through that system in reliance on consistent application of that |
| 5752 | system; it is up to the author/donor to decide if he or she is willing |
| 5753 | to distribute software through any other system and a licensee cannot |
| 5754 | impose that choice. |
| 5755 | |
| 5756 | This section is intended to make thoroughly clear what is believed to |
| 5757 | be a consequence of the rest of this License. |
| 5758 | |
| 5759 | 8. If the distribution and/or use of the Program is restricted in |
| 5760 | certain countries either by patents or by copyrighted interfaces, the |
| 5761 | original copyright holder who places the Program under this License |
| 5762 | may add an explicit geographical distribution limitation excluding |
| 5763 | those countries, so that distribution is permitted only in or among |
| 5764 | countries not thus excluded. In such case, this License incorporates |
| 5765 | the limitation as if written in the body of this License. |
| 5766 | |
| 5767 | 9. The Free Software Foundation may publish revised and/or new versions |
| 5768 | of the General Public License from time to time. Such new versions will |
| 5769 | be similar in spirit to the present version, but may differ in detail to |
| 5770 | address new problems or concerns. |
| 5771 | |
| 5772 | Each version is given a distinguishing version number. If the Program |
| 5773 | specifies a version number of this License which applies to it and "any |
| 5774 | later version", you have the option of following the terms and conditions |
| 5775 | either of that version or of any later version published by the Free |
| 5776 | Software Foundation. If the Program does not specify a version number of |
| 5777 | this License, you may choose any version ever published by the Free Software |
| 5778 | Foundation. |
| 5779 | |
| 5780 | 10. If you wish to incorporate parts of the Program into other free |
| 5781 | programs whose distribution conditions are different, write to the author |
| 5782 | to ask for permission. For software which is copyrighted by the Free |
| 5783 | Software Foundation, write to the Free Software Foundation; we sometimes |
| 5784 | make exceptions for this. Our decision will be guided by the two goals |
| 5785 | of preserving the free status of all derivatives of our free software and |
| 5786 | of promoting the sharing and reuse of software generally. |
| 5787 | |
| 5788 | NO WARRANTY |
| 5789 | |
| 5790 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
| 5791 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
| 5792 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
| 5793 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
| 5794 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 5795 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
| 5796 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
| 5797 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
| 5798 | REPAIR OR CORRECTION. |
| 5799 | |
| 5800 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
| 5801 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
| 5802 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
| 5803 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
| 5804 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
| 5805 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
| 5806 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
| 5807 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
| 5808 | POSSIBILITY OF SUCH DAMAGES. |
| 5809 | |
| 5810 | END OF TERMS AND CONDITIONS |
| 5811 | |
| 5812 | How to Apply These Terms to Your New Programs |
| 5813 | |
| 5814 | If you develop a new program, and you want it to be of the greatest |
| 5815 | possible use to the public, the best way to achieve this is to make it |
| 5816 | free software which everyone can redistribute and change under these terms. |
| 5817 | |
| 5818 | To do so, attach the following notices to the program. It is safest |
| 5819 | to attach them to the start of each source file to most effectively |
| 5820 | convey the exclusion of warranty; and each file should have at least |
| 5821 | the "copyright" line and a pointer to where the full notice is found. |
| 5822 | |
| 5823 | <one line to give the program's name and a brief idea of what it does.> |
| 5824 | Copyright (C) <year> <name of author> |
| 5825 | |
| 5826 | This program is free software; you can redistribute it and/or modify |
| 5827 | it under the terms of the GNU General Public License as published by |
| 5828 | the Free Software Foundation; either version 2 of the License, or |
| 5829 | (at your option) any later version. |
| 5830 | |
| 5831 | This program is distributed in the hope that it will be useful, |
| 5832 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 5833 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 5834 | GNU General Public License for more details. |
| 5835 | |
| 5836 | You should have received a copy of the GNU General Public License along |
| 5837 | with this program; if not, write to the Free Software Foundation, Inc., |
| 5838 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 5839 | |
| 5840 | Also add information on how to contact you by electronic and paper mail. |
| 5841 | |
| 5842 | If the program is interactive, make it output a short notice like this |
| 5843 | when it starts in an interactive mode: |
| 5844 | |
| 5845 | Gnomovision version 69, Copyright (C) year name of author |
| 5846 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
| 5847 | This is free software, and you are welcome to redistribute it |
| 5848 | under certain conditions; type `show c' for details. |
| 5849 | |
| 5850 | The hypothetical commands `show w' and `show c' should show the appropriate |
| 5851 | parts of the General Public License. Of course, the commands you use may |
| 5852 | be called something other than `show w' and `show c'; they could even be |
| 5853 | mouse-clicks or menu items--whatever suits your program. |
| 5854 | |
| 5855 | You should also get your employer (if you work as a programmer) or your |
| 5856 | school, if any, to sign a "copyright disclaimer" for the program, if |
| 5857 | necessary. Here is a sample; alter the names: |
| 5858 | |
| 5859 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
| 5860 | `Gnomovision' (which makes passes at compilers) written by James Hacker. |
| 5861 | |
| 5862 | <signature of Ty Coon>, 1 April 1989 |
| 5863 | Ty Coon, President of Vice |
| 5864 | |
| 5865 | This General Public License does not permit incorporating your program into |
| 5866 | proprietary programs. If your program is a subroutine library, you may |
| 5867 | consider it more useful to permit linking proprietary applications with the |
| 5868 | library. If this is what you want to do, use the GNU Lesser General |
| 5869 | Public License instead of this License. |
| 5870 | |
| 5871 | Copyright (c) 2011 The LevelDB Authors. All rights reserved. |
| 5872 | |
| 5873 | Redistribution and use in source and binary forms, with or without |
| 5874 | modification, are permitted provided that the following conditions are |
| 5875 | met: |
| 5876 | |
| 5877 | * Redistributions of source code must retain the above copyright |
| 5878 | notice, this list of conditions and the following disclaimer. |
| 5879 | * Redistributions in binary form must reproduce the above |
| 5880 | copyright notice, this list of conditions and the following disclaimer |
| 5881 | in the documentation and/or other materials provided with the |
| 5882 | distribution. |
| 5883 | * Neither the name of Google Inc. nor the names of its |
| 5884 | contributors may be used to endorse or promote products derived from |
| 5885 | this software without specific prior written permission. |
| 5886 | |
| 5887 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 5888 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 5889 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 5890 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 5891 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 5892 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 5893 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 5894 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 5895 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 5896 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 5897 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 5898 | |
| 5899 | /* |
| 5900 | * Copyright (c) 2008 NVIDIA, Corporation |
| 5901 | * |
| 5902 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 5903 | * of this software and associated documentation files (the "Software"), to deal |
| 5904 | * in the Software without restriction, including without limitation the rights |
| 5905 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 5906 | * copies of the Software, and to permit persons to whom the Software is |
| 5907 | * furnished to do so, subject to the following conditions: |
| 5908 | * |
| 5909 | * The above copyright notice and this permission notice (including the next |
| 5910 | * paragraph) shall be included in all copies or substantial portions of the |
| 5911 | * Software. |
| 5912 | * |
| 5913 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 5914 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 5915 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 5916 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 5917 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 5918 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 5919 | * SOFTWARE. |
| 5920 | */ |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 5921 | |
| 5922 | Apache License |
| 5923 | Version 2.0, January 2004 |
| 5924 | http://www.apache.org/licenses/ |
| 5925 | |
| 5926 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 5927 | |
| 5928 | 1. Definitions. |
| 5929 | |
| 5930 | "License" shall mean the terms and conditions for use, reproduction, |
| 5931 | and distribution as defined by Sections 1 through 9 of this document. |
| 5932 | |
| 5933 | "Licensor" shall mean the copyright owner or entity authorized by |
| 5934 | the copyright owner that is granting the License. |
| 5935 | |
| 5936 | "Legal Entity" shall mean the union of the acting entity and all |
| 5937 | other entities that control, are controlled by, or are under common |
| 5938 | control with that entity. For the purposes of this definition, |
| 5939 | "control" means (i) the power, direct or indirect, to cause the |
| 5940 | direction or management of such entity, whether by contract or |
| 5941 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 5942 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 5943 | |
| 5944 | "You" (or "Your") shall mean an individual or Legal Entity |
| 5945 | exercising permissions granted by this License. |
| 5946 | |
| 5947 | "Source" form shall mean the preferred form for making modifications, |
| 5948 | including but not limited to software source code, documentation |
| 5949 | source, and configuration files. |
| 5950 | |
| 5951 | "Object" form shall mean any form resulting from mechanical |
| 5952 | transformation or translation of a Source form, including but |
| 5953 | not limited to compiled object code, generated documentation, |
| 5954 | and conversions to other media types. |
| 5955 | |
| 5956 | "Work" shall mean the work of authorship, whether in Source or |
| 5957 | Object form, made available under the License, as indicated by a |
| 5958 | copyright notice that is included in or attached to the work |
| 5959 | (an example is provided in the Appendix below). |
| 5960 | |
| 5961 | "Derivative Works" shall mean any work, whether in Source or Object |
| 5962 | form, that is based on (or derived from) the Work and for which the |
| 5963 | editorial revisions, annotations, elaborations, or other modifications |
| 5964 | represent, as a whole, an original work of authorship. For the purposes |
| 5965 | of this License, Derivative Works shall not include works that remain |
| 5966 | separable from, or merely link (or bind by name) to the interfaces of, |
| 5967 | the Work and Derivative Works thereof. |
| 5968 | |
| 5969 | "Contribution" shall mean any work of authorship, including |
| 5970 | the original version of the Work and any modifications or additions |
| 5971 | to that Work or Derivative Works thereof, that is intentionally |
| 5972 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 5973 | or by an individual or Legal Entity authorized to submit on behalf of |
| 5974 | the copyright owner. For the purposes of this definition, "submitted" |
| 5975 | means any form of electronic, verbal, or written communication sent |
| 5976 | to the Licensor or its representatives, including but not limited to |
| 5977 | communication on electronic mailing lists, source code control systems, |
| 5978 | and issue tracking systems that are managed by, or on behalf of, the |
| 5979 | Licensor for the purpose of discussing and improving the Work, but |
| 5980 | excluding communication that is conspicuously marked or otherwise |
| 5981 | designated in writing by the copyright owner as "Not a Contribution." |
| 5982 | |
| 5983 | "Contributor" shall mean Licensor and any individual or Legal Entity |
| 5984 | on behalf of whom a Contribution has been received by Licensor and |
| 5985 | subsequently incorporated within the Work. |
| 5986 | |
| 5987 | 2. Grant of Copyright License. Subject to the terms and conditions of |
| 5988 | this License, each Contributor hereby grants to You a perpetual, |
| 5989 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 5990 | copyright license to reproduce, prepare Derivative Works of, |
| 5991 | publicly display, publicly perform, sublicense, and distribute the |
| 5992 | Work and such Derivative Works in Source or Object form. |
| 5993 | |
| 5994 | 3. Grant of Patent License. Subject to the terms and conditions of |
| 5995 | this License, each Contributor hereby grants to You a perpetual, |
| 5996 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 5997 | (except as stated in this section) patent license to make, have made, |
| 5998 | use, offer to sell, sell, import, and otherwise transfer the Work, |
| 5999 | where such license applies only to those patent claims licensable |
| 6000 | by such Contributor that are necessarily infringed by their |
| 6001 | Contribution(s) alone or by combination of their Contribution(s) |
| 6002 | with the Work to which such Contribution(s) was submitted. If You |
| 6003 | institute patent litigation against any entity (including a |
| 6004 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 6005 | or a Contribution incorporated within the Work constitutes direct |
| 6006 | or contributory patent infringement, then any patent licenses |
| 6007 | granted to You under this License for that Work shall terminate |
| 6008 | as of the date such litigation is filed. |
| 6009 | |
| 6010 | 4. Redistribution. You may reproduce and distribute copies of the |
| 6011 | Work or Derivative Works thereof in any medium, with or without |
| 6012 | modifications, and in Source or Object form, provided that You |
| 6013 | meet the following conditions: |
| 6014 | |
| 6015 | (a) You must give any other recipients of the Work or |
| 6016 | Derivative Works a copy of this License; and |
| 6017 | |
| 6018 | (b) You must cause any modified files to carry prominent notices |
| 6019 | stating that You changed the files; and |
| 6020 | |
| 6021 | (c) You must retain, in the Source form of any Derivative Works |
| 6022 | that You distribute, all copyright, patent, trademark, and |
| 6023 | attribution notices from the Source form of the Work, |
| 6024 | excluding those notices that do not pertain to any part of |
| 6025 | the Derivative Works; and |
| 6026 | |
| 6027 | (d) If the Work includes a "NOTICE" text file as part of its |
| 6028 | distribution, then any Derivative Works that You distribute must |
| 6029 | include a readable copy of the attribution notices contained |
| 6030 | within such NOTICE file, excluding those notices that do not |
| 6031 | pertain to any part of the Derivative Works, in at least one |
| 6032 | of the following places: within a NOTICE text file distributed |
| 6033 | as part of the Derivative Works; within the Source form or |
| 6034 | documentation, if provided along with the Derivative Works; or, |
| 6035 | within a display generated by the Derivative Works, if and |
| 6036 | wherever such third-party notices normally appear. The contents |
| 6037 | of the NOTICE file are for informational purposes only and |
| 6038 | do not modify the License. You may add Your own attribution |
| 6039 | notices within Derivative Works that You distribute, alongside |
| 6040 | or as an addendum to the NOTICE text from the Work, provided |
| 6041 | that such additional attribution notices cannot be construed |
| 6042 | as modifying the License. |
| 6043 | |
| 6044 | You may add Your own copyright statement to Your modifications and |
| 6045 | may provide additional or different license terms and conditions |
| 6046 | for use, reproduction, or distribution of Your modifications, or |
| 6047 | for any such Derivative Works as a whole, provided Your use, |
| 6048 | reproduction, and distribution of the Work otherwise complies with |
| 6049 | the conditions stated in this License. |
| 6050 | |
| 6051 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
| 6052 | any Contribution intentionally submitted for inclusion in the Work |
| 6053 | by You to the Licensor shall be under the terms and conditions of |
| 6054 | this License, without any additional terms or conditions. |
| 6055 | Notwithstanding the above, nothing herein shall supersede or modify |
| 6056 | the terms of any separate license agreement you may have executed |
| 6057 | with Licensor regarding such Contributions. |
| 6058 | |
| 6059 | 6. Trademarks. This License does not grant permission to use the trade |
| 6060 | names, trademarks, service marks, or product names of the Licensor, |
| 6061 | except as required for reasonable and customary use in describing the |
| 6062 | origin of the Work and reproducing the content of the NOTICE file. |
| 6063 | |
| 6064 | 7. Disclaimer of Warranty. Unless required by applicable law or |
| 6065 | agreed to in writing, Licensor provides the Work (and each |
| 6066 | Contributor provides its Contributions) on an "AS IS" BASIS, |
| 6067 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 6068 | implied, including, without limitation, any warranties or conditions |
| 6069 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
| 6070 | PARTICULAR PURPOSE. You are solely responsible for determining the |
| 6071 | appropriateness of using or redistributing the Work and assume any |
| 6072 | risks associated with Your exercise of permissions under this License. |
| 6073 | |
| 6074 | 8. Limitation of Liability. In no event and under no legal theory, |
| 6075 | whether in tort (including negligence), contract, or otherwise, |
| 6076 | unless required by applicable law (such as deliberate and grossly |
| 6077 | negligent acts) or agreed to in writing, shall any Contributor be |
| 6078 | liable to You for damages, including any direct, indirect, special, |
| 6079 | incidental, or consequential damages of any character arising as a |
| 6080 | result of this License or out of the use or inability to use the |
| 6081 | Work (including but not limited to damages for loss of goodwill, |
| 6082 | work stoppage, computer failure or malfunction, or any and all |
| 6083 | other commercial damages or losses), even if such Contributor |
| 6084 | has been advised of the possibility of such damages. |
| 6085 | |
| 6086 | 9. Accepting Warranty or Additional Liability. While redistributing |
| 6087 | the Work or Derivative Works thereof, You may choose to offer, |
| 6088 | and charge a fee for, acceptance of support, warranty, indemnity, |
| 6089 | or other liability obligations and/or rights consistent with this |
| 6090 | License. However, in accepting such obligations, You may act only |
| 6091 | on Your own behalf and on Your sole responsibility, not on behalf |
| 6092 | of any other Contributor, and only if You agree to indemnify, |
| 6093 | defend, and hold each Contributor harmless for any liability |
| 6094 | incurred by, or claims asserted against, such Contributor by reason |
| 6095 | of your accepting any such warranty or additional liability. |
| 6096 | |
| 6097 | END OF TERMS AND CONDITIONS |
| 6098 | |
| 6099 | APPENDIX: How to apply the Apache License to your work. |
| 6100 | |
| 6101 | To apply the Apache License to your work, attach the following |
| 6102 | boilerplate notice, with the fields enclosed by brackets "[]" |
| 6103 | replaced with your own identifying information. (Don't include |
| 6104 | the brackets!) The text should be enclosed in the appropriate |
| 6105 | comment syntax for the file format. We also recommend that a |
| 6106 | file or class name and description of purpose be included on the |
| 6107 | same "printed page" as the copyright notice for easier |
| 6108 | identification within third-party archives. |
| 6109 | |
| 6110 | Copyright [yyyy] [name of copyright owner] |
| 6111 | |
| 6112 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6113 | you may not use this file except in compliance with the License. |
| 6114 | You may obtain a copy of the License at |
| 6115 | |
| 6116 | http://www.apache.org/licenses/LICENSE-2.0 |
| 6117 | |
| 6118 | Unless required by applicable law or agreed to in writing, software |
| 6119 | distributed under the License is distributed on an "AS IS" BASIS, |
| 6120 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 6121 | See the License for the specific language governing permissions and |
| 6122 | limitations under the License. |
| 6123 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6124 | Copyright 2000-2007 Niels Provos <provos@citi.umich.edu> |
| 6125 | Copyright 2007-2009 Niels Provos and Nick Mathewson |
| 6126 | |
| 6127 | Redistribution and use in source and binary forms, with or without |
| 6128 | modification, are permitted provided that the following conditions |
| 6129 | are met: |
| 6130 | 1. Redistributions of source code must retain the above copyright |
| 6131 | notice, this list of conditions and the following disclaimer. |
| 6132 | 2. Redistributions in binary form must reproduce the above copyright |
| 6133 | notice, this list of conditions and the following disclaimer in the |
| 6134 | documentation and/or other materials provided with the distribution. |
| 6135 | 3. The name of the author may not be used to endorse or promote products |
| 6136 | derived from this software without specific prior written permission. |
| 6137 | |
| 6138 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 6139 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 6140 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 6141 | IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 6142 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 6143 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 6144 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 6145 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 6146 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 6147 | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 6148 | |
Torne (Richard Coles) | a36e592 | 2013-08-05 13:57:33 +0100 | [diff] [blame] | 6149 | Copyright (c) 2013, Google Inc. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6150 | All rights reserved. |
| 6151 | |
| 6152 | Redistribution and use in source and binary forms, with or without modification, |
| 6153 | are permitted provided that the following conditions are met: |
| 6154 | |
| 6155 | * Redistributions of source code must retain the above copyright notice, |
| 6156 | this list of conditions and the following disclaimer. |
| 6157 | * Redistributions in binary form must reproduce the above copyright notice, |
| 6158 | this list of conditions and the following disclaimer in the documentation |
| 6159 | and/or other materials provided with the distribution. |
| 6160 | * The name of the author may not be used to endorse or promote products |
| 6161 | derived from this software without specific prior written permission. |
| 6162 | |
| 6163 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 6164 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 6165 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 6166 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
| 6167 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 6168 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
| 6169 | GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 6170 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
Torne (Richard Coles) | a36e592 | 2013-08-05 13:57:33 +0100 | [diff] [blame] | 6171 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY |
| 6172 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6173 | SUCH DAMAGE. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6174 | (Copied from the README.) |
| 6175 | |
| 6176 | -------------------------------------------------------------------------------- |
| 6177 | |
| 6178 | The authors make NO WARRANTY or representation, either express or implied, |
| 6179 | with respect to this software, its quality, accuracy, merchantability, or |
| 6180 | fitness for a particular purpose. This software is provided "AS IS", and you, |
| 6181 | its user, assume the entire risk as to its quality and accuracy. |
| 6182 | |
| 6183 | This software is copyright (C) 1991-1998, Thomas G. Lane. |
| 6184 | All Rights Reserved except as specified below. |
| 6185 | |
| 6186 | Permission is hereby granted to use, copy, modify, and distribute this |
| 6187 | software (or portions thereof) for any purpose, without fee, subject to these |
| 6188 | conditions: |
| 6189 | (1) If any part of the source code for this software is distributed, then this |
| 6190 | README file must be included, with this copyright and no-warranty notice |
| 6191 | unaltered; and any additions, deletions, or changes to the original files |
| 6192 | must be clearly indicated in accompanying documentation. |
| 6193 | (2) If only executable code is distributed, then the accompanying |
| 6194 | documentation must state that "this software is based in part on the work of |
| 6195 | the Independent JPEG Group". |
| 6196 | (3) Permission for use of this software is granted only if the user accepts |
| 6197 | full responsibility for any undesirable consequences; the authors accept |
| 6198 | NO LIABILITY for damages of any kind. |
| 6199 | |
| 6200 | These conditions apply to any software derived from or based on the IJG code, |
| 6201 | not just to the unmodified library. If you use our work, you ought to |
| 6202 | acknowledge us. |
| 6203 | |
| 6204 | Permission is NOT granted for the use of any IJG author's name or company name |
| 6205 | in advertising or publicity relating to this software or products derived from |
| 6206 | it. This software may be referred to only as "the Independent JPEG Group's |
| 6207 | software". |
| 6208 | |
| 6209 | We specifically permit and encourage the use of this software as the basis of |
| 6210 | commercial products, provided that all warranty or liability claims are |
| 6211 | assumed by the product vendor. |
| 6212 | |
| 6213 | |
| 6214 | ansi2knr.c is included in this distribution by permission of L. Peter Deutsch, |
| 6215 | sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA. |
| 6216 | ansi2knr.c is NOT covered by the above copyright and conditions, but instead |
| 6217 | by the usual distribution terms of the Free Software Foundation; principally, |
| 6218 | that you must include source code if you redistribute it. (See the file |
| 6219 | ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part |
| 6220 | of any program generated from the IJG code, this does not limit you more than |
| 6221 | the foregoing paragraphs do. |
| 6222 | |
| 6223 | The Unix configuration script "configure" was produced with GNU Autoconf. |
| 6224 | It is copyright by the Free Software Foundation but is freely distributable. |
| 6225 | The same holds for its supporting scripts (config.guess, config.sub, |
| 6226 | ltconfig, ltmain.sh). Another support script, install-sh, is copyright |
| 6227 | by M.I.T. but is also freely distributable. |
| 6228 | |
| 6229 | It appears that the arithmetic coding option of the JPEG spec is covered by |
| 6230 | patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot |
| 6231 | legally be used without obtaining one or more licenses. For this reason, |
| 6232 | support for arithmetic coding has been removed from the free JPEG software. |
| 6233 | (Since arithmetic coding provides only a marginal gain over the unpatented |
| 6234 | Huffman mode, it is unlikely that very many implementations will support it.) |
| 6235 | So far as we are aware, there are no patent restrictions on the remaining |
| 6236 | code. |
| 6237 | |
| 6238 | The IJG distribution formerly included code to read and write GIF files. |
| 6239 | To avoid entanglement with the Unisys LZW patent, GIF reading support has |
| 6240 | been removed altogether, and the GIF writer has been simplified to produce |
| 6241 | "uncompressed GIFs". This technique does not use the LZW algorithm; the |
| 6242 | resulting GIF files are larger than usual, but are readable by all standard |
| 6243 | GIF decoders. |
| 6244 | |
| 6245 | We are required to state that |
| 6246 | "The Graphics Interchange Format(c) is the Copyright property of |
| 6247 | CompuServe Incorporated. GIF(sm) is a Service Mark property of |
| 6248 | CompuServe Incorporated." |
| 6249 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6250 | Copyright (C) 2011 Google Inc. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6251 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6252 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6253 | you may not use this file except in compliance with the License. |
| 6254 | You may obtain a copy of the License at |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6255 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6256 | http://www.apache.org/licenses/LICENSE-2.0 |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6257 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6258 | Unless required by applicable law or agreed to in writing, software |
| 6259 | distributed under the License is distributed on an "AS IS" BASIS, |
| 6260 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 6261 | See the License for the specific language governing permissions and |
| 6262 | limitations under the License. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6263 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6264 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6265 | This copy of the libpng notices is provided for your convenience. In case of |
| 6266 | any discrepancy between this copy and the notices in the file png.h that is |
| 6267 | included in the libpng distribution, the latter shall prevail. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6268 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6269 | COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6270 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6271 | If you modify libpng you may insert additional notices immediately following |
| 6272 | this sentence. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6273 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6274 | This code is released under the libpng license. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6275 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6276 | libpng versions 1.2.6, August 15, 2004, through 1.2.45, July 7, 2011, are |
| 6277 | Copyright (c) 2004, 2006-2009 Glenn Randers-Pehrson, and are |
| 6278 | distributed according to the same disclaimer and license as libpng-1.2.5 |
| 6279 | with the following individual added to the list of Contributing Authors |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6280 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6281 | Cosmin Truta |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6282 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6283 | libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are |
| 6284 | Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are |
| 6285 | distributed according to the same disclaimer and license as libpng-1.0.6 |
| 6286 | with the following individuals added to the list of Contributing Authors |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6287 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6288 | Simon-Pierre Cadieux |
| 6289 | Eric S. Raymond |
| 6290 | Gilles Vollant |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6291 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6292 | and with the following additions to the disclaimer: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6293 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6294 | There is no warranty against interference with your enjoyment of the |
| 6295 | library or against infringement. There is no warranty that our |
| 6296 | efforts or the library will fulfill any of your particular purposes |
| 6297 | or needs. This library is provided with all faults, and the entire |
| 6298 | risk of satisfactory quality, performance, accuracy, and effort is with |
| 6299 | the user. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6300 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6301 | libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are |
| 6302 | Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are |
| 6303 | distributed according to the same disclaimer and license as libpng-0.96, |
| 6304 | with the following individuals added to the list of Contributing Authors: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6305 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6306 | Tom Lane |
| 6307 | Glenn Randers-Pehrson |
| 6308 | Willem van Schaik |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6309 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6310 | libpng versions 0.89, June 1996, through 0.96, May 1997, are |
| 6311 | Copyright (c) 1996, 1997 Andreas Dilger |
| 6312 | Distributed according to the same disclaimer and license as libpng-0.88, |
| 6313 | with the following individuals added to the list of Contributing Authors: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6314 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6315 | John Bowler |
| 6316 | Kevin Bracey |
| 6317 | Sam Bushell |
| 6318 | Magnus Holmgren |
| 6319 | Greg Roelofs |
| 6320 | Tom Tanner |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6321 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6322 | libpng versions 0.5, May 1995, through 0.88, January 1996, are |
| 6323 | Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6324 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6325 | For the purposes of this copyright and license, "Contributing Authors" |
| 6326 | is defined as the following set of individuals: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6327 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6328 | Andreas Dilger |
| 6329 | Dave Martindale |
| 6330 | Guy Eric Schalnat |
| 6331 | Paul Schmidt |
| 6332 | Tim Wegner |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6333 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6334 | The PNG Reference Library is supplied "AS IS". The Contributing Authors |
| 6335 | and Group 42, Inc. disclaim all warranties, expressed or implied, |
| 6336 | including, without limitation, the warranties of merchantability and of |
| 6337 | fitness for any purpose. The Contributing Authors and Group 42, Inc. |
| 6338 | assume no liability for direct, indirect, incidental, special, exemplary, |
| 6339 | or consequential damages, which may result from the use of the PNG |
| 6340 | Reference Library, even if advised of the possibility of such damage. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6341 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6342 | Permission is hereby granted to use, copy, modify, and distribute this |
| 6343 | source code, or portions hereof, for any purpose, without fee, subject |
| 6344 | to the following restrictions: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6345 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6346 | 1. The origin of this source code must not be misrepresented. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6347 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6348 | 2. Altered versions must be plainly marked as such and must not |
| 6349 | be misrepresented as being the original source. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6350 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6351 | 3. This Copyright notice may not be removed or altered from any |
| 6352 | source or altered source distribution. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6353 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6354 | The Contributing Authors and Group 42, Inc. specifically permit, without |
| 6355 | fee, and encourage the use of this source code as a component to |
| 6356 | supporting the PNG file format in commercial products. If you use this |
| 6357 | source code in a product, acknowledgment is not required but would be |
| 6358 | appreciated. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6359 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6360 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6361 | A "png_get_copyright" function is available, for convenient use in "about" |
| 6362 | boxes and the like: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6363 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6364 | printf("%s",png_get_copyright(NULL)); |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6365 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6366 | Also, the PNG logo (in PNG format, of course) is supplied in the |
| 6367 | files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6368 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6369 | Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a |
| 6370 | certification mark of the Open Source Initiative. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6371 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6372 | Glenn Randers-Pehrson |
| 6373 | glennrp at users.sourceforge.net |
| 6374 | July 7, 2011 |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6375 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6376 | GNU LESSER GENERAL PUBLIC LICENSE |
| 6377 | Version 2.1, February 1999 |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6378 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6379 | Copyright (C) 1991, 1999 Free Software Foundation, Inc. |
| 6380 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 6381 | Everyone is permitted to copy and distribute verbatim copies |
| 6382 | of this license document, but changing it is not allowed. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6383 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6384 | [This is the first released version of the Lesser GPL. It also counts |
| 6385 | as the successor of the GNU Library Public License, version 2, hence |
| 6386 | the version number 2.1.] |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6387 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6388 | Preamble |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6389 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6390 | The licenses for most software are designed to take away your |
| 6391 | freedom to share and change it. By contrast, the GNU General Public |
| 6392 | Licenses are intended to guarantee your freedom to share and change |
| 6393 | free software--to make sure the software is free for all its users. |
| 6394 | |
| 6395 | This license, the Lesser General Public License, applies to some |
| 6396 | specially designated software packages--typically libraries--of the |
| 6397 | Free Software Foundation and other authors who decide to use it. You |
| 6398 | can use it too, but we suggest you first think carefully about whether |
| 6399 | this license or the ordinary General Public License is the better |
| 6400 | strategy to use in any particular case, based on the explanations below. |
| 6401 | |
| 6402 | When we speak of free software, we are referring to freedom of use, |
| 6403 | not price. Our General Public Licenses are designed to make sure that |
| 6404 | you have the freedom to distribute copies of free software (and charge |
| 6405 | for this service if you wish); that you receive source code or can get |
| 6406 | it if you want it; that you can change the software and use pieces of |
| 6407 | it in new free programs; and that you are informed that you can do |
| 6408 | these things. |
| 6409 | |
| 6410 | To protect your rights, we need to make restrictions that forbid |
| 6411 | distributors to deny you these rights or to ask you to surrender these |
| 6412 | rights. These restrictions translate to certain responsibilities for |
| 6413 | you if you distribute copies of the library or if you modify it. |
| 6414 | |
| 6415 | For example, if you distribute copies of the library, whether gratis |
| 6416 | or for a fee, you must give the recipients all the rights that we gave |
| 6417 | you. You must make sure that they, too, receive or can get the source |
| 6418 | code. If you link other code with the library, you must provide |
| 6419 | complete object files to the recipients, so that they can relink them |
| 6420 | with the library after making changes to the library and recompiling |
| 6421 | it. And you must show them these terms so they know their rights. |
| 6422 | |
| 6423 | We protect your rights with a two-step method: (1) we copyright the |
| 6424 | library, and (2) we offer you this license, which gives you legal |
| 6425 | permission to copy, distribute and/or modify the library. |
| 6426 | |
| 6427 | To protect each distributor, we want to make it very clear that |
| 6428 | there is no warranty for the free library. Also, if the library is |
| 6429 | modified by someone else and passed on, the recipients should know |
| 6430 | that what they have is not the original version, so that the original |
| 6431 | author's reputation will not be affected by problems that might be |
| 6432 | introduced by others. |
| 6433 | |
| 6434 | Finally, software patents pose a constant threat to the existence of |
| 6435 | any free program. We wish to make sure that a company cannot |
| 6436 | effectively restrict the users of a free program by obtaining a |
| 6437 | restrictive license from a patent holder. Therefore, we insist that |
| 6438 | any patent license obtained for a version of the library must be |
| 6439 | consistent with the full freedom of use specified in this license. |
| 6440 | |
| 6441 | Most GNU software, including some libraries, is covered by the |
| 6442 | ordinary GNU General Public License. This license, the GNU Lesser |
| 6443 | General Public License, applies to certain designated libraries, and |
| 6444 | is quite different from the ordinary General Public License. We use |
| 6445 | this license for certain libraries in order to permit linking those |
| 6446 | libraries into non-free programs. |
| 6447 | |
| 6448 | When a program is linked with a library, whether statically or using |
| 6449 | a shared library, the combination of the two is legally speaking a |
| 6450 | combined work, a derivative of the original library. The ordinary |
| 6451 | General Public License therefore permits such linking only if the |
| 6452 | entire combination fits its criteria of freedom. The Lesser General |
| 6453 | Public License permits more lax criteria for linking other code with |
| 6454 | the library. |
| 6455 | |
| 6456 | We call this license the "Lesser" General Public License because it |
| 6457 | does Less to protect the user's freedom than the ordinary General |
| 6458 | Public License. It also provides other free software developers Less |
| 6459 | of an advantage over competing non-free programs. These disadvantages |
| 6460 | are the reason we use the ordinary General Public License for many |
| 6461 | libraries. However, the Lesser license provides advantages in certain |
| 6462 | special circumstances. |
| 6463 | |
| 6464 | For example, on rare occasions, there may be a special need to |
| 6465 | encourage the widest possible use of a certain library, so that it becomes |
| 6466 | a de-facto standard. To achieve this, non-free programs must be |
| 6467 | allowed to use the library. A more frequent case is that a free |
| 6468 | library does the same job as widely used non-free libraries. In this |
| 6469 | case, there is little to gain by limiting the free library to free |
| 6470 | software only, so we use the Lesser General Public License. |
| 6471 | |
| 6472 | In other cases, permission to use a particular library in non-free |
| 6473 | programs enables a greater number of people to use a large body of |
| 6474 | free software. For example, permission to use the GNU C Library in |
| 6475 | non-free programs enables many more people to use the whole GNU |
| 6476 | operating system, as well as its variant, the GNU/Linux operating |
| 6477 | system. |
| 6478 | |
| 6479 | Although the Lesser General Public License is Less protective of the |
| 6480 | users' freedom, it does ensure that the user of a program that is |
| 6481 | linked with the Library has the freedom and the wherewithal to run |
| 6482 | that program using a modified version of the Library. |
| 6483 | |
| 6484 | The precise terms and conditions for copying, distribution and |
| 6485 | modification follow. Pay close attention to the difference between a |
| 6486 | "work based on the library" and a "work that uses the library". The |
| 6487 | former contains code derived from the library, whereas the latter must |
| 6488 | be combined with the library in order to run. |
| 6489 | |
| 6490 | GNU LESSER GENERAL PUBLIC LICENSE |
| 6491 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 6492 | |
| 6493 | 0. This License Agreement applies to any software library or other |
| 6494 | program which contains a notice placed by the copyright holder or |
| 6495 | other authorized party saying it may be distributed under the terms of |
| 6496 | this Lesser General Public License (also called "this License"). |
| 6497 | Each licensee is addressed as "you". |
| 6498 | |
| 6499 | A "library" means a collection of software functions and/or data |
| 6500 | prepared so as to be conveniently linked with application programs |
| 6501 | (which use some of those functions and data) to form executables. |
| 6502 | |
| 6503 | The "Library", below, refers to any such software library or work |
| 6504 | which has been distributed under these terms. A "work based on the |
| 6505 | Library" means either the Library or any derivative work under |
| 6506 | copyright law: that is to say, a work containing the Library or a |
| 6507 | portion of it, either verbatim or with modifications and/or translated |
| 6508 | straightforwardly into another language. (Hereinafter, translation is |
| 6509 | included without limitation in the term "modification".) |
| 6510 | |
| 6511 | "Source code" for a work means the preferred form of the work for |
| 6512 | making modifications to it. For a library, complete source code means |
| 6513 | all the source code for all modules it contains, plus any associated |
| 6514 | interface definition files, plus the scripts used to control compilation |
| 6515 | and installation of the library. |
| 6516 | |
| 6517 | Activities other than copying, distribution and modification are not |
| 6518 | covered by this License; they are outside its scope. The act of |
| 6519 | running a program using the Library is not restricted, and output from |
| 6520 | such a program is covered only if its contents constitute a work based |
| 6521 | on the Library (independent of the use of the Library in a tool for |
| 6522 | writing it). Whether that is true depends on what the Library does |
| 6523 | and what the program that uses the Library does. |
| 6524 | |
| 6525 | 1. You may copy and distribute verbatim copies of the Library's |
| 6526 | complete source code as you receive it, in any medium, provided that |
| 6527 | you conspicuously and appropriately publish on each copy an |
| 6528 | appropriate copyright notice and disclaimer of warranty; keep intact |
| 6529 | all the notices that refer to this License and to the absence of any |
| 6530 | warranty; and distribute a copy of this License along with the |
| 6531 | Library. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6532 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6533 | You may charge a fee for the physical act of transferring a copy, |
| 6534 | and you may at your option offer warranty protection in exchange for a |
| 6535 | fee. |
| 6536 | |
| 6537 | 2. You may modify your copy or copies of the Library or any portion |
| 6538 | of it, thus forming a work based on the Library, and copy and |
| 6539 | distribute such modifications or work under the terms of Section 1 |
| 6540 | above, provided that you also meet all of these conditions: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6541 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6542 | a) The modified work must itself be a software library. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6543 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6544 | b) You must cause the files modified to carry prominent notices |
| 6545 | stating that you changed the files and the date of any change. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6546 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6547 | c) You must cause the whole of the work to be licensed at no |
| 6548 | charge to all third parties under the terms of this License. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6549 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6550 | d) If a facility in the modified Library refers to a function or a |
| 6551 | table of data to be supplied by an application program that uses |
| 6552 | the facility, other than as an argument passed when the facility |
| 6553 | is invoked, then you must make a good faith effort to ensure that, |
| 6554 | in the event an application does not supply such function or |
| 6555 | table, the facility still operates, and performs whatever part of |
| 6556 | its purpose remains meaningful. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6557 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6558 | (For example, a function in a library to compute square roots has |
| 6559 | a purpose that is entirely well-defined independent of the |
| 6560 | application. Therefore, Subsection 2d requires that any |
| 6561 | application-supplied function or table used by this function must |
| 6562 | be optional: if the application does not supply it, the square |
| 6563 | root function must still compute square roots.) |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6564 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6565 | These requirements apply to the modified work as a whole. If |
| 6566 | identifiable sections of that work are not derived from the Library, |
| 6567 | and can be reasonably considered independent and separate works in |
| 6568 | themselves, then this License, and its terms, do not apply to those |
| 6569 | sections when you distribute them as separate works. But when you |
| 6570 | distribute the same sections as part of a whole which is a work based |
| 6571 | on the Library, the distribution of the whole must be on the terms of |
| 6572 | this License, whose permissions for other licensees extend to the |
| 6573 | entire whole, and thus to each and every part regardless of who wrote |
| 6574 | it. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6575 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6576 | Thus, it is not the intent of this section to claim rights or contest |
| 6577 | your rights to work written entirely by you; rather, the intent is to |
| 6578 | exercise the right to control the distribution of derivative or |
| 6579 | collective works based on the Library. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6580 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6581 | In addition, mere aggregation of another work not based on the Library |
| 6582 | with the Library (or with a work based on the Library) on a volume of |
| 6583 | a storage or distribution medium does not bring the other work under |
| 6584 | the scope of this License. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6585 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6586 | 3. You may opt to apply the terms of the ordinary GNU General Public |
| 6587 | License instead of this License to a given copy of the Library. To do |
| 6588 | this, you must alter all the notices that refer to this License, so |
| 6589 | that they refer to the ordinary GNU General Public License, version 2, |
| 6590 | instead of to this License. (If a newer version than version 2 of the |
| 6591 | ordinary GNU General Public License has appeared, then you can specify |
| 6592 | that version instead if you wish.) Do not make any other change in |
| 6593 | these notices. |
| 6594 | |
| 6595 | Once this change is made in a given copy, it is irreversible for |
| 6596 | that copy, so the ordinary GNU General Public License applies to all |
| 6597 | subsequent copies and derivative works made from that copy. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6598 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6599 | This option is useful when you wish to copy part of the code of |
| 6600 | the Library into a program that is not a library. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6601 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6602 | 4. You may copy and distribute the Library (or a portion or |
| 6603 | derivative of it, under Section 2) in object code or executable form |
| 6604 | under the terms of Sections 1 and 2 above provided that you accompany |
| 6605 | it with the complete corresponding machine-readable source code, which |
| 6606 | must be distributed under the terms of Sections 1 and 2 above on a |
| 6607 | medium customarily used for software interchange. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6608 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6609 | If distribution of object code is made by offering access to copy |
| 6610 | from a designated place, then offering equivalent access to copy the |
| 6611 | source code from the same place satisfies the requirement to |
| 6612 | distribute the source code, even though third parties are not |
| 6613 | compelled to copy the source along with the object code. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6614 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6615 | 5. A program that contains no derivative of any portion of the |
| 6616 | Library, but is designed to work with the Library by being compiled or |
| 6617 | linked with it, is called a "work that uses the Library". Such a |
| 6618 | work, in isolation, is not a derivative work of the Library, and |
| 6619 | therefore falls outside the scope of this License. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6620 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6621 | However, linking a "work that uses the Library" with the Library |
| 6622 | creates an executable that is a derivative of the Library (because it |
| 6623 | contains portions of the Library), rather than a "work that uses the |
| 6624 | library". The executable is therefore covered by this License. |
| 6625 | Section 6 states terms for distribution of such executables. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6626 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6627 | When a "work that uses the Library" uses material from a header file |
| 6628 | that is part of the Library, the object code for the work may be a |
| 6629 | derivative work of the Library even though the source code is not. |
| 6630 | Whether this is true is especially significant if the work can be |
| 6631 | linked without the Library, or if the work is itself a library. The |
| 6632 | threshold for this to be true is not precisely defined by law. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6633 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6634 | If such an object file uses only numerical parameters, data |
| 6635 | structure layouts and accessors, and small macros and small inline |
| 6636 | functions (ten lines or less in length), then the use of the object |
| 6637 | file is unrestricted, regardless of whether it is legally a derivative |
| 6638 | work. (Executables containing this object code plus portions of the |
| 6639 | Library will still fall under Section 6.) |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6640 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6641 | Otherwise, if the work is a derivative of the Library, you may |
| 6642 | distribute the object code for the work under the terms of Section 6. |
| 6643 | Any executables containing that work also fall under Section 6, |
| 6644 | whether or not they are linked directly with the Library itself. |
| 6645 | |
| 6646 | 6. As an exception to the Sections above, you may also combine or |
| 6647 | link a "work that uses the Library" with the Library to produce a |
| 6648 | work containing portions of the Library, and distribute that work |
| 6649 | under terms of your choice, provided that the terms permit |
| 6650 | modification of the work for the customer's own use and reverse |
| 6651 | engineering for debugging such modifications. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6652 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6653 | You must give prominent notice with each copy of the work that the |
| 6654 | Library is used in it and that the Library and its use are covered by |
| 6655 | this License. You must supply a copy of this License. If the work |
| 6656 | during execution displays copyright notices, you must include the |
| 6657 | copyright notice for the Library among them, as well as a reference |
| 6658 | directing the user to the copy of this License. Also, you must do one |
| 6659 | of these things: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6660 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6661 | a) Accompany the work with the complete corresponding |
| 6662 | machine-readable source code for the Library including whatever |
| 6663 | changes were used in the work (which must be distributed under |
| 6664 | Sections 1 and 2 above); and, if the work is an executable linked |
| 6665 | with the Library, with the complete machine-readable "work that |
| 6666 | uses the Library", as object code and/or source code, so that the |
| 6667 | user can modify the Library and then relink to produce a modified |
| 6668 | executable containing the modified Library. (It is understood |
| 6669 | that the user who changes the contents of definitions files in the |
| 6670 | Library will not necessarily be able to recompile the application |
| 6671 | to use the modified definitions.) |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6672 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6673 | b) Use a suitable shared library mechanism for linking with the |
| 6674 | Library. A suitable mechanism is one that (1) uses at run time a |
| 6675 | copy of the library already present on the user's computer system, |
| 6676 | rather than copying library functions into the executable, and (2) |
| 6677 | will operate properly with a modified version of the library, if |
| 6678 | the user installs one, as long as the modified version is |
| 6679 | interface-compatible with the version that the work was made with. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6680 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6681 | c) Accompany the work with a written offer, valid for at |
| 6682 | least three years, to give the same user the materials |
| 6683 | specified in Subsection 6a, above, for a charge no more |
| 6684 | than the cost of performing this distribution. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6685 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6686 | d) If distribution of the work is made by offering access to copy |
| 6687 | from a designated place, offer equivalent access to copy the above |
| 6688 | specified materials from the same place. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6689 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6690 | e) Verify that the user has already received a copy of these |
| 6691 | materials or that you have already sent this user a copy. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6692 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6693 | For an executable, the required form of the "work that uses the |
| 6694 | Library" must include any data and utility programs needed for |
| 6695 | reproducing the executable from it. However, as a special exception, |
| 6696 | the materials to be distributed need not include anything that is |
| 6697 | normally distributed (in either source or binary form) with the major |
| 6698 | components (compiler, kernel, and so on) of the operating system on |
| 6699 | which the executable runs, unless that component itself accompanies |
| 6700 | the executable. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6701 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6702 | It may happen that this requirement contradicts the license |
| 6703 | restrictions of other proprietary libraries that do not normally |
| 6704 | accompany the operating system. Such a contradiction means you cannot |
| 6705 | use both them and the Library together in an executable that you |
| 6706 | distribute. |
| 6707 | |
| 6708 | 7. You may place library facilities that are a work based on the |
| 6709 | Library side-by-side in a single library together with other library |
| 6710 | facilities not covered by this License, and distribute such a combined |
| 6711 | library, provided that the separate distribution of the work based on |
| 6712 | the Library and of the other library facilities is otherwise |
| 6713 | permitted, and provided that you do these two things: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6714 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6715 | a) Accompany the combined library with a copy of the same work |
| 6716 | based on the Library, uncombined with any other library |
| 6717 | facilities. This must be distributed under the terms of the |
| 6718 | Sections above. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6719 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6720 | b) Give prominent notice with the combined library of the fact |
| 6721 | that part of it is a work based on the Library, and explaining |
| 6722 | where to find the accompanying uncombined form of the same work. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6723 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6724 | 8. You may not copy, modify, sublicense, link with, or distribute |
| 6725 | the Library except as expressly provided under this License. Any |
| 6726 | attempt otherwise to copy, modify, sublicense, link with, or |
| 6727 | distribute the Library is void, and will automatically terminate your |
| 6728 | rights under this License. However, parties who have received copies, |
| 6729 | or rights, from you under this License will not have their licenses |
| 6730 | terminated so long as such parties remain in full compliance. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6731 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6732 | 9. You are not required to accept this License, since you have not |
| 6733 | signed it. However, nothing else grants you permission to modify or |
| 6734 | distribute the Library or its derivative works. These actions are |
| 6735 | prohibited by law if you do not accept this License. Therefore, by |
| 6736 | modifying or distributing the Library (or any work based on the |
| 6737 | Library), you indicate your acceptance of this License to do so, and |
| 6738 | all its terms and conditions for copying, distributing or modifying |
| 6739 | the Library or works based on it. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6740 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6741 | 10. Each time you redistribute the Library (or any work based on the |
| 6742 | Library), the recipient automatically receives a license from the |
| 6743 | original licensor to copy, distribute, link with or modify the Library |
| 6744 | subject to these terms and conditions. You may not impose any further |
| 6745 | restrictions on the recipients' exercise of the rights granted herein. |
| 6746 | You are not responsible for enforcing compliance by third parties with |
| 6747 | this License. |
| 6748 | |
| 6749 | 11. If, as a consequence of a court judgment or allegation of patent |
| 6750 | infringement or for any other reason (not limited to patent issues), |
| 6751 | conditions are imposed on you (whether by court order, agreement or |
| 6752 | otherwise) that contradict the conditions of this License, they do not |
| 6753 | excuse you from the conditions of this License. If you cannot |
| 6754 | distribute so as to satisfy simultaneously your obligations under this |
| 6755 | License and any other pertinent obligations, then as a consequence you |
| 6756 | may not distribute the Library at all. For example, if a patent |
| 6757 | license would not permit royalty-free redistribution of the Library by |
| 6758 | all those who receive copies directly or indirectly through you, then |
| 6759 | the only way you could satisfy both it and this License would be to |
| 6760 | refrain entirely from distribution of the Library. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6761 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6762 | If any portion of this section is held invalid or unenforceable under any |
| 6763 | particular circumstance, the balance of the section is intended to apply, |
| 6764 | and the section as a whole is intended to apply in other circumstances. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6765 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6766 | It is not the purpose of this section to induce you to infringe any |
| 6767 | patents or other property right claims or to contest validity of any |
| 6768 | such claims; this section has the sole purpose of protecting the |
| 6769 | integrity of the free software distribution system which is |
| 6770 | implemented by public license practices. Many people have made |
| 6771 | generous contributions to the wide range of software distributed |
| 6772 | through that system in reliance on consistent application of that |
| 6773 | system; it is up to the author/donor to decide if he or she is willing |
| 6774 | to distribute software through any other system and a licensee cannot |
| 6775 | impose that choice. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6776 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6777 | This section is intended to make thoroughly clear what is believed to |
| 6778 | be a consequence of the rest of this License. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6779 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6780 | 12. If the distribution and/or use of the Library is restricted in |
| 6781 | certain countries either by patents or by copyrighted interfaces, the |
| 6782 | original copyright holder who places the Library under this License may add |
| 6783 | an explicit geographical distribution limitation excluding those countries, |
| 6784 | so that distribution is permitted only in or among countries not thus |
| 6785 | excluded. In such case, this License incorporates the limitation as if |
| 6786 | written in the body of this License. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6787 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6788 | 13. The Free Software Foundation may publish revised and/or new |
| 6789 | versions of the Lesser General Public License from time to time. |
| 6790 | Such new versions will be similar in spirit to the present version, |
| 6791 | but may differ in detail to address new problems or concerns. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6792 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6793 | Each version is given a distinguishing version number. If the Library |
| 6794 | specifies a version number of this License which applies to it and |
| 6795 | "any later version", you have the option of following the terms and |
| 6796 | conditions either of that version or of any later version published by |
| 6797 | the Free Software Foundation. If the Library does not specify a |
| 6798 | license version number, you may choose any version ever published by |
| 6799 | the Free Software Foundation. |
| 6800 | |
| 6801 | 14. If you wish to incorporate parts of the Library into other free |
| 6802 | programs whose distribution conditions are incompatible with these, |
| 6803 | write to the author to ask for permission. For software which is |
| 6804 | copyrighted by the Free Software Foundation, write to the Free |
| 6805 | Software Foundation; we sometimes make exceptions for this. Our |
| 6806 | decision will be guided by the two goals of preserving the free status |
| 6807 | of all derivatives of our free software and of promoting the sharing |
| 6808 | and reuse of software generally. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6809 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6810 | NO WARRANTY |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6811 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6812 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
| 6813 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
| 6814 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
| 6815 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
| 6816 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
| 6817 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 6818 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
| 6819 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
| 6820 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6821 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6822 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
| 6823 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
| 6824 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
| 6825 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
| 6826 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
| 6827 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
| 6828 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
| 6829 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
| 6830 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
| 6831 | DAMAGES. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6832 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6833 | END OF TERMS AND CONDITIONS |
| 6834 | |
| 6835 | How to Apply These Terms to Your New Libraries |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6836 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6837 | If you develop a new library, and you want it to be of the greatest |
| 6838 | possible use to the public, we recommend making it free software that |
| 6839 | everyone can redistribute and change. You can do so by permitting |
| 6840 | redistribution under these terms (or, alternatively, under the terms of the |
| 6841 | ordinary General Public License). |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6842 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6843 | To apply these terms, attach the following notices to the library. It is |
| 6844 | safest to attach them to the start of each source file to most effectively |
| 6845 | convey the exclusion of warranty; and each file should have at least the |
| 6846 | "copyright" line and a pointer to where the full notice is found. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6847 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6848 | <one line to give the library's name and a brief idea of what it does.> |
| 6849 | Copyright (C) <year> <name of author> |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6850 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6851 | This library is free software; you can redistribute it and/or |
| 6852 | modify it under the terms of the GNU Lesser General Public |
| 6853 | License as published by the Free Software Foundation; either |
| 6854 | version 2.1 of the License, or (at your option) any later version. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6855 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6856 | This library is distributed in the hope that it will be useful, |
| 6857 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 6858 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 6859 | Lesser General Public License for more details. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6860 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6861 | You should have received a copy of the GNU Lesser General Public |
| 6862 | License along with this library; if not, write to the Free Software |
| 6863 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6864 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6865 | Also add information on how to contact you by electronic and paper mail. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6866 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6867 | You should also get your employer (if you work as a programmer) or your |
| 6868 | school, if any, to sign a "copyright disclaimer" for the library, if |
| 6869 | necessary. Here is a sample; alter the names: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6870 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6871 | Yoyodyne, Inc., hereby disclaims all copyright interest in the |
| 6872 | library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6873 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6874 | <signature of Ty Coon>, 1 April 1990 |
| 6875 | Ty Coon, President of Vice |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6876 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6877 | That's all there is to it! |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6878 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6879 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6880 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6881 | Permission is hereby granted, free of charge, to any person obtaining a |
| 6882 | copy of this software and associated documentation files (the |
| 6883 | "Software"), to deal in the Software without restriction, including |
| 6884 | without limitation the rights to use, copy, modify, merge, publish, |
| 6885 | distribute, sub license, and/or sell copies of the Software, and to |
| 6886 | permit persons to whom the Software is furnished to do so, subject to |
| 6887 | the following conditions: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6888 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6889 | The above copyright notice and this permission notice (including the |
| 6890 | next paragraph) shall be included in all copies or substantial portions |
| 6891 | of the Software. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6892 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6893 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 6894 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 6895 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. |
| 6896 | IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR |
| 6897 | ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 6898 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 6899 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6900 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 6901 | Copyright (c) 2010, Google Inc. All rights reserved. |
| 6902 | |
| 6903 | Redistribution and use in source and binary forms, with or without |
| 6904 | modification, are permitted provided that the following conditions are |
| 6905 | met: |
| 6906 | |
| 6907 | * Redistributions of source code must retain the above copyright |
| 6908 | notice, this list of conditions and the following disclaimer. |
| 6909 | |
| 6910 | * Redistributions in binary form must reproduce the above copyright |
| 6911 | notice, this list of conditions and the following disclaimer in |
| 6912 | the documentation and/or other materials provided with the |
| 6913 | distribution. |
| 6914 | |
| 6915 | * Neither the name of Google nor the names of its contributors may |
| 6916 | be used to endorse or promote products derived from this software |
| 6917 | without specific prior written permission. |
| 6918 | |
| 6919 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 6920 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 6921 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 6922 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 6923 | HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 6924 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 6925 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 6926 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 6927 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 6928 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 6929 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 6930 | |
| 6931 | Additional IP Rights Grant (Patents) |
| 6932 | |
| 6933 | "This implementation" means the copyrightable works distributed by |
| 6934 | Google as part of the WebM Project. |
| 6935 | |
| 6936 | Google hereby grants to you a perpetual, worldwide, non-exclusive, |
| 6937 | no-charge, royalty-free, irrevocable (except as stated in this section) |
| 6938 | patent license to make, have made, use, offer to sell, sell, import, |
| 6939 | transfer, and otherwise run, modify and propagate the contents of this |
| 6940 | implementation of VP8, where such license applies only to those patent |
| 6941 | claims, both currently owned by Google and acquired in the future, |
| 6942 | licensable by Google that are necessarily infringed by this |
| 6943 | implementation of VP8. This grant does not include claims that would be |
| 6944 | infringed only as a consequence of further modification of this |
| 6945 | implementation. If you or your agent or exclusive licensee institute or |
| 6946 | order or agree to the institution of patent litigation against any |
| 6947 | entity (including a cross-claim or counterclaim in a lawsuit) alleging |
| 6948 | that this implementation of VP8 or any code incorporated within this |
| 6949 | implementation of VP8 constitutes direct or contributory patent |
| 6950 | infringement, or inducement of patent infringement, then any patent |
| 6951 | rights granted to you under this License for this implementation of VP8 |
| 6952 | shall terminate as of the date such litigation is filed. |
| 6953 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 6954 | Except where otherwise noted in the source code (e.g. the files hash.c, |
| 6955 | list.c and the trio files, which are covered by a similar licence but |
| 6956 | with different Copyright notices) all the files are: |
| 6957 | |
| 6958 | Copyright (C) 1998-2003 Daniel Veillard. All Rights Reserved. |
| 6959 | |
| 6960 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 6961 | of this software and associated documentation files (the "Software"), to deal |
| 6962 | in the Software without restriction, including without limitation the rights |
| 6963 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 6964 | copies of the Software, and to permit persons to whom the Software is fur- |
| 6965 | nished to do so, subject to the following conditions: |
| 6966 | |
| 6967 | The above copyright notice and this permission notice shall be included in |
| 6968 | all copies or substantial portions of the Software. |
| 6969 | |
| 6970 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 6971 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- |
| 6972 | NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 6973 | DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 6974 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- |
| 6975 | NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 6976 | |
| 6977 | Except as contained in this notice, the name of Daniel Veillard shall not |
| 6978 | be used in advertising or otherwise to promote the sale, use or other deal- |
| 6979 | ings in this Software without prior written authorization from him. |
| 6980 | |
| 6981 | |
| 6982 | Licence for libxslt except libexslt |
| 6983 | ---------------------------------------------------------------------- |
| 6984 | Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved. |
| 6985 | |
| 6986 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 6987 | of this software and associated documentation files (the "Software"), to deal |
| 6988 | in the Software without restriction, including without limitation the rights |
| 6989 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 6990 | copies of the Software, and to permit persons to whom the Software is fur- |
| 6991 | nished to do so, subject to the following conditions: |
| 6992 | |
| 6993 | The above copyright notice and this permission notice shall be included in |
| 6994 | all copies or substantial portions of the Software. |
| 6995 | |
| 6996 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 6997 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- |
| 6998 | NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 6999 | DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 7000 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- |
| 7001 | NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 7002 | |
| 7003 | Except as contained in this notice, the name of Daniel Veillard shall not |
| 7004 | be used in advertising or otherwise to promote the sale, use or other deal- |
| 7005 | ings in this Software without prior written authorization from him. |
| 7006 | |
| 7007 | ---------------------------------------------------------------------- |
| 7008 | |
| 7009 | Licence for libexslt |
| 7010 | ---------------------------------------------------------------------- |
| 7011 | Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard. |
| 7012 | All Rights Reserved. |
| 7013 | |
| 7014 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7015 | of this software and associated documentation files (the "Software"), to deal |
| 7016 | in the Software without restriction, including without limitation the rights |
| 7017 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 7018 | copies of the Software, and to permit persons to whom the Software is fur- |
| 7019 | nished to do so, subject to the following conditions: |
| 7020 | |
| 7021 | The above copyright notice and this permission notice shall be included in |
| 7022 | all copies or substantial portions of the Software. |
| 7023 | |
| 7024 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 7025 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- |
| 7026 | NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 7027 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 7028 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- |
| 7029 | NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 7030 | |
| 7031 | Except as contained in this notice, the name of the authors shall not |
| 7032 | be used in advertising or otherwise to promote the sale, use or other deal- |
| 7033 | ings in this Software without prior written authorization from him. |
| 7034 | ---------------------------------------------------------------------- |
| 7035 | |
| 7036 | LZMA SDK is placed in the public domain. |
| 7037 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 7038 | Copyright (c) 2003-2012 Jonathan 'Wolf' Rentzsch: http://rentzsch.com |
| 7039 | Some rights reserved: http://opensource.org/licenses/mit |
| 7040 | |
| 7041 | mach_override includes a copy of libudis86, licensed as follows: |
| 7042 | |
| 7043 | Copyright (c) 2002-2009 Vivek Thampi |
| 7044 | All rights reserved. |
| 7045 | |
| 7046 | Redistribution and use in source and binary forms, with or without modification, |
| 7047 | are permitted provided that the following conditions are met: |
| 7048 | |
| 7049 | * Redistributions of source code must retain the above copyright notice, |
| 7050 | this list of conditions and the following disclaimer. |
| 7051 | * Redistributions in binary form must reproduce the above copyright notice, |
| 7052 | this list of conditions and the following disclaimer in the documentation |
| 7053 | and/or other materials provided with the distribution. |
| 7054 | |
| 7055 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 7056 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 7057 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 7058 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR |
| 7059 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 7060 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 7061 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| 7062 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 7063 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 7064 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7065 | |
| 7066 | The default Mesa license is as follows: |
| 7067 | |
| 7068 | Copyright (C) 1999-2007 Brian Paul All Rights Reserved. |
| 7069 | |
| 7070 | Permission is hereby granted, free of charge, to any person obtaining a |
| 7071 | copy of this software and associated documentation files (the "Software"), |
| 7072 | to deal in the Software without restriction, including without limitation |
| 7073 | the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 7074 | and/or sell copies of the Software, and to permit persons to whom the |
| 7075 | Software is furnished to do so, subject to the following conditions: |
| 7076 | |
| 7077 | The above copyright notice and this permission notice shall be included |
| 7078 | in all copies or substantial portions of the Software. |
| 7079 | |
| 7080 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 7081 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 7082 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 7083 | BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
| 7084 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 7085 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 7086 | |
| 7087 | |
| 7088 | |
| 7089 | Some parts of Mesa are copyrighted under the GNU LGPL. See the |
| 7090 | Mesa/docs/COPYRIGHT file for details. |
| 7091 | |
| 7092 | The following is the standard GNU copyright file. |
| 7093 | ---------------------------------------------------------------------- |
| 7094 | |
| 7095 | |
| 7096 | GNU LIBRARY GENERAL PUBLIC LICENSE |
| 7097 | Version 2, June 1991 |
| 7098 | |
| 7099 | Copyright (C) 1991 Free Software Foundation, Inc. |
| 7100 | 675 Mass Ave, Cambridge, MA 02139, USA |
| 7101 | Everyone is permitted to copy and distribute verbatim copies |
| 7102 | of this license document, but changing it is not allowed. |
| 7103 | |
| 7104 | [This is the first released version of the library GPL. It is |
| 7105 | numbered 2 because it goes with version 2 of the ordinary GPL.] |
| 7106 | |
| 7107 | Preamble |
| 7108 | |
| 7109 | The licenses for most software are designed to take away your |
| 7110 | freedom to share and change it. By contrast, the GNU General Public |
| 7111 | Licenses are intended to guarantee your freedom to share and change |
| 7112 | free software--to make sure the software is free for all its users. |
| 7113 | |
| 7114 | This license, the Library General Public License, applies to some |
| 7115 | specially designated Free Software Foundation software, and to any |
| 7116 | other libraries whose authors decide to use it. You can use it for |
| 7117 | your libraries, too. |
| 7118 | |
| 7119 | When we speak of free software, we are referring to freedom, not |
| 7120 | price. Our General Public Licenses are designed to make sure that you |
| 7121 | have the freedom to distribute copies of free software (and charge for |
| 7122 | this service if you wish), that you receive source code or can get it |
| 7123 | if you want it, that you can change the software or use pieces of it |
| 7124 | in new free programs; and that you know you can do these things. |
| 7125 | |
| 7126 | To protect your rights, we need to make restrictions that forbid |
| 7127 | anyone to deny you these rights or to ask you to surrender the rights. |
| 7128 | These restrictions translate to certain responsibilities for you if |
| 7129 | you distribute copies of the library, or if you modify it. |
| 7130 | |
| 7131 | For example, if you distribute copies of the library, whether gratis |
| 7132 | or for a fee, you must give the recipients all the rights that we gave |
| 7133 | you. You must make sure that they, too, receive or can get the source |
| 7134 | code. If you link a program with the library, you must provide |
| 7135 | complete object files to the recipients so that they can relink them |
| 7136 | with the library, after making changes to the library and recompiling |
| 7137 | it. And you must show them these terms so they know their rights. |
| 7138 | |
| 7139 | Our method of protecting your rights has two steps: (1) copyright |
| 7140 | the library, and (2) offer you this license which gives you legal |
| 7141 | permission to copy, distribute and/or modify the library. |
| 7142 | |
| 7143 | Also, for each distributor's protection, we want to make certain |
| 7144 | that everyone understands that there is no warranty for this free |
| 7145 | library. If the library is modified by someone else and passed on, we |
| 7146 | want its recipients to know that what they have is not the original |
| 7147 | version, so that any problems introduced by others will not reflect on |
| 7148 | the original authors' reputations. |
| 7149 | |
| 7150 | Finally, any free program is threatened constantly by software |
| 7151 | patents. We wish to avoid the danger that companies distributing free |
| 7152 | software will individually obtain patent licenses, thus in effect |
| 7153 | transforming the program into proprietary software. To prevent this, |
| 7154 | we have made it clear that any patent must be licensed for everyone's |
| 7155 | free use or not licensed at all. |
| 7156 | |
| 7157 | Most GNU software, including some libraries, is covered by the ordinary |
| 7158 | GNU General Public License, which was designed for utility programs. This |
| 7159 | license, the GNU Library General Public License, applies to certain |
| 7160 | designated libraries. This license is quite different from the ordinary |
| 7161 | one; be sure to read it in full, and don't assume that anything in it is |
| 7162 | the same as in the ordinary license. |
| 7163 | |
| 7164 | The reason we have a separate public license for some libraries is that |
| 7165 | they blur the distinction we usually make between modifying or adding to a |
| 7166 | program and simply using it. Linking a program with a library, without |
| 7167 | changing the library, is in some sense simply using the library, and is |
| 7168 | analogous to running a utility program or application program. However, in |
| 7169 | a textual and legal sense, the linked executable is a combined work, a |
| 7170 | derivative of the original library, and the ordinary General Public License |
| 7171 | treats it as such. |
| 7172 | |
| 7173 | Because of this blurred distinction, using the ordinary General |
| 7174 | Public License for libraries did not effectively promote software |
| 7175 | sharing, because most developers did not use the libraries. We |
| 7176 | concluded that weaker conditions might promote sharing better. |
| 7177 | |
| 7178 | However, unrestricted linking of non-free programs would deprive the |
| 7179 | users of those programs of all benefit from the free status of the |
| 7180 | libraries themselves. This Library General Public License is intended to |
| 7181 | permit developers of non-free programs to use free libraries, while |
| 7182 | preserving your freedom as a user of such programs to change the free |
| 7183 | libraries that are incorporated in them. (We have not seen how to achieve |
| 7184 | this as regards changes in header files, but we have achieved it as regards |
| 7185 | changes in the actual functions of the Library.) The hope is that this |
| 7186 | will lead to faster development of free libraries. |
| 7187 | |
| 7188 | The precise terms and conditions for copying, distribution and |
| 7189 | modification follow. Pay close attention to the difference between a |
| 7190 | "work based on the library" and a "work that uses the library". The |
| 7191 | former contains code derived from the library, while the latter only |
| 7192 | works together with the library. |
| 7193 | |
| 7194 | Note that it is possible for a library to be covered by the ordinary |
| 7195 | General Public License rather than by this special one. |
| 7196 | |
| 7197 | GNU LIBRARY GENERAL PUBLIC LICENSE |
| 7198 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 7199 | |
| 7200 | 0. This License Agreement applies to any software library which |
| 7201 | contains a notice placed by the copyright holder or other authorized |
| 7202 | party saying it may be distributed under the terms of this Library |
| 7203 | General Public License (also called "this License"). Each licensee is |
| 7204 | addressed as "you". |
| 7205 | |
| 7206 | A "library" means a collection of software functions and/or data |
| 7207 | prepared so as to be conveniently linked with application programs |
| 7208 | (which use some of those functions and data) to form executables. |
| 7209 | |
| 7210 | The "Library", below, refers to any such software library or work |
| 7211 | which has been distributed under these terms. A "work based on the |
| 7212 | Library" means either the Library or any derivative work under |
| 7213 | copyright law: that is to say, a work containing the Library or a |
| 7214 | portion of it, either verbatim or with modifications and/or translated |
| 7215 | straightforwardly into another language. (Hereinafter, translation is |
| 7216 | included without limitation in the term "modification".) |
| 7217 | |
| 7218 | "Source code" for a work means the preferred form of the work for |
| 7219 | making modifications to it. For a library, complete source code means |
| 7220 | all the source code for all modules it contains, plus any associated |
| 7221 | interface definition files, plus the scripts used to control compilation |
| 7222 | and installation of the library. |
| 7223 | |
| 7224 | Activities other than copying, distribution and modification are not |
| 7225 | covered by this License; they are outside its scope. The act of |
| 7226 | running a program using the Library is not restricted, and output from |
| 7227 | such a program is covered only if its contents constitute a work based |
| 7228 | on the Library (independent of the use of the Library in a tool for |
| 7229 | writing it). Whether that is true depends on what the Library does |
| 7230 | and what the program that uses the Library does. |
| 7231 | |
| 7232 | 1. You may copy and distribute verbatim copies of the Library's |
| 7233 | complete source code as you receive it, in any medium, provided that |
| 7234 | you conspicuously and appropriately publish on each copy an |
| 7235 | appropriate copyright notice and disclaimer of warranty; keep intact |
| 7236 | all the notices that refer to this License and to the absence of any |
| 7237 | warranty; and distribute a copy of this License along with the |
| 7238 | Library. |
| 7239 | |
| 7240 | You may charge a fee for the physical act of transferring a copy, |
| 7241 | and you may at your option offer warranty protection in exchange for a |
| 7242 | fee. |
| 7243 | |
| 7244 | 2. You may modify your copy or copies of the Library or any portion |
| 7245 | of it, thus forming a work based on the Library, and copy and |
| 7246 | distribute such modifications or work under the terms of Section 1 |
| 7247 | above, provided that you also meet all of these conditions: |
| 7248 | |
| 7249 | a) The modified work must itself be a software library. |
| 7250 | |
| 7251 | b) You must cause the files modified to carry prominent notices |
| 7252 | stating that you changed the files and the date of any change. |
| 7253 | |
| 7254 | c) You must cause the whole of the work to be licensed at no |
| 7255 | charge to all third parties under the terms of this License. |
| 7256 | |
| 7257 | d) If a facility in the modified Library refers to a function or a |
| 7258 | table of data to be supplied by an application program that uses |
| 7259 | the facility, other than as an argument passed when the facility |
| 7260 | is invoked, then you must make a good faith effort to ensure that, |
| 7261 | in the event an application does not supply such function or |
| 7262 | table, the facility still operates, and performs whatever part of |
| 7263 | its purpose remains meaningful. |
| 7264 | |
| 7265 | (For example, a function in a library to compute square roots has |
| 7266 | a purpose that is entirely well-defined independent of the |
| 7267 | application. Therefore, Subsection 2d requires that any |
| 7268 | application-supplied function or table used by this function must |
| 7269 | be optional: if the application does not supply it, the square |
| 7270 | root function must still compute square roots.) |
| 7271 | |
| 7272 | These requirements apply to the modified work as a whole. If |
| 7273 | identifiable sections of that work are not derived from the Library, |
| 7274 | and can be reasonably considered independent and separate works in |
| 7275 | themselves, then this License, and its terms, do not apply to those |
| 7276 | sections when you distribute them as separate works. But when you |
| 7277 | distribute the same sections as part of a whole which is a work based |
| 7278 | on the Library, the distribution of the whole must be on the terms of |
| 7279 | this License, whose permissions for other licensees extend to the |
| 7280 | entire whole, and thus to each and every part regardless of who wrote |
| 7281 | it. |
| 7282 | |
| 7283 | Thus, it is not the intent of this section to claim rights or contest |
| 7284 | your rights to work written entirely by you; rather, the intent is to |
| 7285 | exercise the right to control the distribution of derivative or |
| 7286 | collective works based on the Library. |
| 7287 | |
| 7288 | In addition, mere aggregation of another work not based on the Library |
| 7289 | with the Library (or with a work based on the Library) on a volume of |
| 7290 | a storage or distribution medium does not bring the other work under |
| 7291 | the scope of this License. |
| 7292 | |
| 7293 | 3. You may opt to apply the terms of the ordinary GNU General Public |
| 7294 | License instead of this License to a given copy of the Library. To do |
| 7295 | this, you must alter all the notices that refer to this License, so |
| 7296 | that they refer to the ordinary GNU General Public License, version 2, |
| 7297 | instead of to this License. (If a newer version than version 2 of the |
| 7298 | ordinary GNU General Public License has appeared, then you can specify |
| 7299 | that version instead if you wish.) Do not make any other change in |
| 7300 | these notices. |
| 7301 | |
| 7302 | Once this change is made in a given copy, it is irreversible for |
| 7303 | that copy, so the ordinary GNU General Public License applies to all |
| 7304 | subsequent copies and derivative works made from that copy. |
| 7305 | |
| 7306 | This option is useful when you wish to copy part of the code of |
| 7307 | the Library into a program that is not a library. |
| 7308 | |
| 7309 | 4. You may copy and distribute the Library (or a portion or |
| 7310 | derivative of it, under Section 2) in object code or executable form |
| 7311 | under the terms of Sections 1 and 2 above provided that you accompany |
| 7312 | it with the complete corresponding machine-readable source code, which |
| 7313 | must be distributed under the terms of Sections 1 and 2 above on a |
| 7314 | medium customarily used for software interchange. |
| 7315 | |
| 7316 | If distribution of object code is made by offering access to copy |
| 7317 | from a designated place, then offering equivalent access to copy the |
| 7318 | source code from the same place satisfies the requirement to |
| 7319 | distribute the source code, even though third parties are not |
| 7320 | compelled to copy the source along with the object code. |
| 7321 | |
| 7322 | 5. A program that contains no derivative of any portion of the |
| 7323 | Library, but is designed to work with the Library by being compiled or |
| 7324 | linked with it, is called a "work that uses the Library". Such a |
| 7325 | work, in isolation, is not a derivative work of the Library, and |
| 7326 | therefore falls outside the scope of this License. |
| 7327 | |
| 7328 | However, linking a "work that uses the Library" with the Library |
| 7329 | creates an executable that is a derivative of the Library (because it |
| 7330 | contains portions of the Library), rather than a "work that uses the |
| 7331 | library". The executable is therefore covered by this License. |
| 7332 | Section 6 states terms for distribution of such executables. |
| 7333 | |
| 7334 | When a "work that uses the Library" uses material from a header file |
| 7335 | that is part of the Library, the object code for the work may be a |
| 7336 | derivative work of the Library even though the source code is not. |
| 7337 | Whether this is true is especially significant if the work can be |
| 7338 | linked without the Library, or if the work is itself a library. The |
| 7339 | threshold for this to be true is not precisely defined by law. |
| 7340 | |
| 7341 | If such an object file uses only numerical parameters, data |
| 7342 | structure layouts and accessors, and small macros and small inline |
| 7343 | functions (ten lines or less in length), then the use of the object |
| 7344 | file is unrestricted, regardless of whether it is legally a derivative |
| 7345 | work. (Executables containing this object code plus portions of the |
| 7346 | Library will still fall under Section 6.) |
| 7347 | |
| 7348 | Otherwise, if the work is a derivative of the Library, you may |
| 7349 | distribute the object code for the work under the terms of Section 6. |
| 7350 | Any executables containing that work also fall under Section 6, |
| 7351 | whether or not they are linked directly with the Library itself. |
| 7352 | |
| 7353 | 6. As an exception to the Sections above, you may also compile or |
| 7354 | link a "work that uses the Library" with the Library to produce a |
| 7355 | work containing portions of the Library, and distribute that work |
| 7356 | under terms of your choice, provided that the terms permit |
| 7357 | modification of the work for the customer's own use and reverse |
| 7358 | engineering for debugging such modifications. |
| 7359 | |
| 7360 | You must give prominent notice with each copy of the work that the |
| 7361 | Library is used in it and that the Library and its use are covered by |
| 7362 | this License. You must supply a copy of this License. If the work |
| 7363 | during execution displays copyright notices, you must include the |
| 7364 | copyright notice for the Library among them, as well as a reference |
| 7365 | directing the user to the copy of this License. Also, you must do one |
| 7366 | of these things: |
| 7367 | |
| 7368 | a) Accompany the work with the complete corresponding |
| 7369 | machine-readable source code for the Library including whatever |
| 7370 | changes were used in the work (which must be distributed under |
| 7371 | Sections 1 and 2 above); and, if the work is an executable linked |
| 7372 | with the Library, with the complete machine-readable "work that |
| 7373 | uses the Library", as object code and/or source code, so that the |
| 7374 | user can modify the Library and then relink to produce a modified |
| 7375 | executable containing the modified Library. (It is understood |
| 7376 | that the user who changes the contents of definitions files in the |
| 7377 | Library will not necessarily be able to recompile the application |
| 7378 | to use the modified definitions.) |
| 7379 | |
| 7380 | b) Accompany the work with a written offer, valid for at |
| 7381 | least three years, to give the same user the materials |
| 7382 | specified in Subsection 6a, above, for a charge no more |
| 7383 | than the cost of performing this distribution. |
| 7384 | |
| 7385 | c) If distribution of the work is made by offering access to copy |
| 7386 | from a designated place, offer equivalent access to copy the above |
| 7387 | specified materials from the same place. |
| 7388 | |
| 7389 | d) Verify that the user has already received a copy of these |
| 7390 | materials or that you have already sent this user a copy. |
| 7391 | |
| 7392 | For an executable, the required form of the "work that uses the |
| 7393 | Library" must include any data and utility programs needed for |
| 7394 | reproducing the executable from it. However, as a special exception, |
| 7395 | the source code distributed need not include anything that is normally |
| 7396 | distributed (in either source or binary form) with the major |
| 7397 | components (compiler, kernel, and so on) of the operating system on |
| 7398 | which the executable runs, unless that component itself accompanies |
| 7399 | the executable. |
| 7400 | |
| 7401 | It may happen that this requirement contradicts the license |
| 7402 | restrictions of other proprietary libraries that do not normally |
| 7403 | accompany the operating system. Such a contradiction means you cannot |
| 7404 | use both them and the Library together in an executable that you |
| 7405 | distribute. |
| 7406 | |
| 7407 | 7. You may place library facilities that are a work based on the |
| 7408 | Library side-by-side in a single library together with other library |
| 7409 | facilities not covered by this License, and distribute such a combined |
| 7410 | library, provided that the separate distribution of the work based on |
| 7411 | the Library and of the other library facilities is otherwise |
| 7412 | permitted, and provided that you do these two things: |
| 7413 | |
| 7414 | a) Accompany the combined library with a copy of the same work |
| 7415 | based on the Library, uncombined with any other library |
| 7416 | facilities. This must be distributed under the terms of the |
| 7417 | Sections above. |
| 7418 | |
| 7419 | b) Give prominent notice with the combined library of the fact |
| 7420 | that part of it is a work based on the Library, and explaining |
| 7421 | where to find the accompanying uncombined form of the same work. |
| 7422 | |
| 7423 | 8. You may not copy, modify, sublicense, link with, or distribute |
| 7424 | the Library except as expressly provided under this License. Any |
| 7425 | attempt otherwise to copy, modify, sublicense, link with, or |
| 7426 | distribute the Library is void, and will automatically terminate your |
| 7427 | rights under this License. However, parties who have received copies, |
| 7428 | or rights, from you under this License will not have their licenses |
| 7429 | terminated so long as such parties remain in full compliance. |
| 7430 | |
| 7431 | 9. You are not required to accept this License, since you have not |
| 7432 | signed it. However, nothing else grants you permission to modify or |
| 7433 | distribute the Library or its derivative works. These actions are |
| 7434 | prohibited by law if you do not accept this License. Therefore, by |
| 7435 | modifying or distributing the Library (or any work based on the |
| 7436 | Library), you indicate your acceptance of this License to do so, and |
| 7437 | all its terms and conditions for copying, distributing or modifying |
| 7438 | the Library or works based on it. |
| 7439 | |
| 7440 | 10. Each time you redistribute the Library (or any work based on the |
| 7441 | Library), the recipient automatically receives a license from the |
| 7442 | original licensor to copy, distribute, link with or modify the Library |
| 7443 | subject to these terms and conditions. You may not impose any further |
| 7444 | restrictions on the recipients' exercise of the rights granted herein. |
| 7445 | You are not responsible for enforcing compliance by third parties to |
| 7446 | this License. |
| 7447 | |
| 7448 | 11. If, as a consequence of a court judgment or allegation of patent |
| 7449 | infringement or for any other reason (not limited to patent issues), |
| 7450 | conditions are imposed on you (whether by court order, agreement or |
| 7451 | otherwise) that contradict the conditions of this License, they do not |
| 7452 | excuse you from the conditions of this License. If you cannot |
| 7453 | distribute so as to satisfy simultaneously your obligations under this |
| 7454 | License and any other pertinent obligations, then as a consequence you |
| 7455 | may not distribute the Library at all. For example, if a patent |
| 7456 | license would not permit royalty-free redistribution of the Library by |
| 7457 | all those who receive copies directly or indirectly through you, then |
| 7458 | the only way you could satisfy both it and this License would be to |
| 7459 | refrain entirely from distribution of the Library. |
| 7460 | |
| 7461 | If any portion of this section is held invalid or unenforceable under any |
| 7462 | particular circumstance, the balance of the section is intended to apply, |
| 7463 | and the section as a whole is intended to apply in other circumstances. |
| 7464 | |
| 7465 | It is not the purpose of this section to induce you to infringe any |
| 7466 | patents or other property right claims or to contest validity of any |
| 7467 | such claims; this section has the sole purpose of protecting the |
| 7468 | integrity of the free software distribution system which is |
| 7469 | implemented by public license practices. Many people have made |
| 7470 | generous contributions to the wide range of software distributed |
| 7471 | through that system in reliance on consistent application of that |
| 7472 | system; it is up to the author/donor to decide if he or she is willing |
| 7473 | to distribute software through any other system and a licensee cannot |
| 7474 | impose that choice. |
| 7475 | |
| 7476 | This section is intended to make thoroughly clear what is believed to |
| 7477 | be a consequence of the rest of this License. |
| 7478 | |
| 7479 | 12. If the distribution and/or use of the Library is restricted in |
| 7480 | certain countries either by patents or by copyrighted interfaces, the |
| 7481 | original copyright holder who places the Library under this License may add |
| 7482 | an explicit geographical distribution limitation excluding those countries, |
| 7483 | so that distribution is permitted only in or among countries not thus |
| 7484 | excluded. In such case, this License incorporates the limitation as if |
| 7485 | written in the body of this License. |
| 7486 | |
| 7487 | 13. The Free Software Foundation may publish revised and/or new |
| 7488 | versions of the Library General Public License from time to time. |
| 7489 | Such new versions will be similar in spirit to the present version, |
| 7490 | but may differ in detail to address new problems or concerns. |
| 7491 | |
| 7492 | Each version is given a distinguishing version number. If the Library |
| 7493 | specifies a version number of this License which applies to it and |
| 7494 | "any later version", you have the option of following the terms and |
| 7495 | conditions either of that version or of any later version published by |
| 7496 | the Free Software Foundation. If the Library does not specify a |
| 7497 | license version number, you may choose any version ever published by |
| 7498 | the Free Software Foundation. |
| 7499 | |
| 7500 | 14. If you wish to incorporate parts of the Library into other free |
| 7501 | programs whose distribution conditions are incompatible with these, |
| 7502 | write to the author to ask for permission. For software which is |
| 7503 | copyrighted by the Free Software Foundation, write to the Free |
| 7504 | Software Foundation; we sometimes make exceptions for this. Our |
| 7505 | decision will be guided by the two goals of preserving the free status |
| 7506 | of all derivatives of our free software and of promoting the sharing |
| 7507 | and reuse of software generally. |
| 7508 | |
| 7509 | NO WARRANTY |
| 7510 | |
| 7511 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
| 7512 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
| 7513 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
| 7514 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
| 7515 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
| 7516 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 7517 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
| 7518 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
| 7519 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
| 7520 | |
| 7521 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
| 7522 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
| 7523 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
| 7524 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
| 7525 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
| 7526 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
| 7527 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
| 7528 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
| 7529 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
| 7530 | DAMAGES. |
| 7531 | |
| 7532 | END OF TERMS AND CONDITIONS |
| 7533 | |
| 7534 | Appendix: How to Apply These Terms to Your New Libraries |
| 7535 | |
| 7536 | If you develop a new library, and you want it to be of the greatest |
| 7537 | possible use to the public, we recommend making it free software that |
| 7538 | everyone can redistribute and change. You can do so by permitting |
| 7539 | redistribution under these terms (or, alternatively, under the terms of the |
| 7540 | ordinary General Public License). |
| 7541 | |
| 7542 | To apply these terms, attach the following notices to the library. It is |
| 7543 | safest to attach them to the start of each source file to most effectively |
| 7544 | convey the exclusion of warranty; and each file should have at least the |
| 7545 | "copyright" line and a pointer to where the full notice is found. |
| 7546 | |
| 7547 | <one line to give the library's name and a brief idea of what it does.> |
| 7548 | Copyright (C) <year> <name of author> |
| 7549 | |
| 7550 | This library is free software; you can redistribute it and/or |
| 7551 | modify it under the terms of the GNU Library General Public |
| 7552 | License as published by the Free Software Foundation; either |
| 7553 | version 2 of the License, or (at your option) any later version. |
| 7554 | |
| 7555 | This library is distributed in the hope that it will be useful, |
| 7556 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 7557 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 7558 | Library General Public License for more details. |
| 7559 | |
| 7560 | You should have received a copy of the GNU Library General Public |
| 7561 | License along with this library; if not, write to the Free |
| 7562 | Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 7563 | |
| 7564 | Also add information on how to contact you by electronic and paper mail. |
| 7565 | |
| 7566 | You should also get your employer (if you work as a programmer) or your |
| 7567 | school, if any, to sign a "copyright disclaimer" for the library, if |
| 7568 | necessary. Here is a sample; alter the names: |
| 7569 | |
| 7570 | Yoyodyne, Inc., hereby disclaims all copyright interest in the |
| 7571 | library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
| 7572 | |
| 7573 | <signature of Ty Coon>, 1 April 1990 |
| 7574 | Ty Coon, President of Vice |
| 7575 | |
| 7576 | That's all there is to it! |
| 7577 | |
| 7578 | |
| 7579 | * MODP_B64 - High performance base64 encoder/decoder |
| 7580 | * Version 1.3 -- 17-Mar-2006 |
| 7581 | * http://modp.com/release/base64 |
| 7582 | * |
| 7583 | * Copyright (c) 2005, 2006 Nick Galbreath -- nickg [at] modp [dot] com |
| 7584 | * All rights reserved. |
| 7585 | * |
| 7586 | * Redistribution and use in source and binary forms, with or without |
| 7587 | * modification, are permitted provided that the following conditions are |
| 7588 | * met: |
| 7589 | * |
| 7590 | * Redistributions of source code must retain the above copyright |
| 7591 | * notice, this list of conditions and the following disclaimer. |
| 7592 | * |
| 7593 | * Redistributions in binary form must reproduce the above copyright |
| 7594 | * notice, this list of conditions and the following disclaimer in the |
| 7595 | * documentation and/or other materials provided with the distribution. |
| 7596 | * |
| 7597 | * Neither the name of the modp.com nor the names of its |
| 7598 | * contributors may be used to endorse or promote products derived from |
| 7599 | * this software without specific prior written permission. |
| 7600 | * |
| 7601 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 7602 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 7603 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 7604 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 7605 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 7606 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 7607 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 7608 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 7609 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 7610 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 7611 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 7612 | |
| 7613 | Copyright 2008 MolokoCacao |
| 7614 | All rights reserved |
| 7615 | |
| 7616 | Redistribution and use in source and binary forms, with or without |
| 7617 | modification, are permitted providing that the following conditions |
| 7618 | are met: |
| 7619 | 1. Redistributions of source code must retain the above copyright |
| 7620 | notice, this list of conditions and the following disclaimer. |
| 7621 | 2. Redistributions in binary form must reproduce the above copyright |
| 7622 | notice, this list of conditions and the following disclaimer in the |
| 7623 | documentation and/or other materials provided with the distribution. |
| 7624 | |
| 7625 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 7626 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 7627 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 7628 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
| 7629 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 7630 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 7631 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 7632 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
| 7633 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
| 7634 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 7635 | POSSIBILITY OF SUCH DAMAGE. |
| 7636 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7637 | Copyright 2010-2011, Google Inc. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7638 | All rights reserved. |
| 7639 | |
| 7640 | Redistribution and use in source and binary forms, with or without |
| 7641 | modification, are permitted provided that the following conditions are |
| 7642 | met: |
| 7643 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7644 | * Redistributions of source code must retain the above copyright |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7645 | notice, this list of conditions and the following disclaimer. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7646 | * Redistributions in binary form must reproduce the above |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7647 | copyright notice, this list of conditions and the following disclaimer |
| 7648 | in the documentation and/or other materials provided with the |
| 7649 | distribution. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7650 | * Neither the name of Google Inc. nor the names of its |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7651 | contributors may be used to endorse or promote products derived from |
| 7652 | this software without specific prior written permission. |
| 7653 | |
| 7654 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 7655 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 7656 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 7657 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 7658 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 7659 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 7660 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 7661 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 7662 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 7663 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 7664 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 7665 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7666 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7667 | /* ***** BEGIN LICENSE BLOCK ***** |
| 7668 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7669 | * |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7670 | * The contents of this file are subject to the Mozilla Public License Version |
| 7671 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 7672 | * the License. You may obtain a copy of the License at |
| 7673 | * http://www.mozilla.org/MPL/ |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7674 | * |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7675 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 7676 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 7677 | * for the specific language governing rights and limitations under the |
| 7678 | * License. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7679 | * |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7680 | * The Original Code is mozilla.org code. |
| 7681 | * |
| 7682 | * The Initial Developer of the Original Code is |
| 7683 | * Netscape Communications Corporation. |
| 7684 | * Portions created by the Initial Developer are Copyright (C) 2002 |
| 7685 | * the Initial Developer. All Rights Reserved. |
| 7686 | * |
| 7687 | * Contributor(s): |
| 7688 | * |
| 7689 | * Alternatively, the contents of this file may be used under the terms of |
| 7690 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 7691 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 7692 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 7693 | * of those above. If you wish to allow use of your version of this file only |
| 7694 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 7695 | * use your version of this file under the terms of the MPL, indicate your |
| 7696 | * decision by deleting the provisions above and replace them with the notice |
| 7697 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 7698 | * the provisions above, a recipient may use your version of this file under |
| 7699 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 7700 | * |
| 7701 | * ***** END LICENSE BLOCK ***** */ |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7702 | |
| 7703 | A C-program for MT19937, with initialization improved 2002/1/26. |
| 7704 | Coded by Takuji Nishimura and Makoto Matsumoto. |
| 7705 | |
| 7706 | Before using, initialize the state by using init_genrand(seed) |
| 7707 | or init_by_array(init_key, key_length). |
| 7708 | |
| 7709 | Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, |
| 7710 | All rights reserved. |
| 7711 | |
| 7712 | Redistribution and use in source and binary forms, with or without |
| 7713 | modification, are permitted provided that the following conditions |
| 7714 | are met: |
| 7715 | |
| 7716 | 1. Redistributions of source code must retain the above copyright |
| 7717 | notice, this list of conditions and the following disclaimer. |
| 7718 | |
| 7719 | 2. Redistributions in binary form must reproduce the above copyright |
| 7720 | notice, this list of conditions and the following disclaimer in the |
| 7721 | documentation and/or other materials provided with the distribution. |
| 7722 | |
| 7723 | 3. The names of its contributors may not be used to endorse or promote |
| 7724 | products derived from this software without specific prior written |
| 7725 | permission. |
| 7726 | |
| 7727 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 7728 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 7729 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 7730 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
| 7731 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 7732 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 7733 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 7734 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 7735 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 7736 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 7737 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 7738 | |
| 7739 | // Copyright (c) 2006-2009 The Chromium OS Authors. All rights reserved. |
| 7740 | // |
| 7741 | // Redistribution and use in source and binary forms, with or without |
| 7742 | // modification, are permitted provided that the following conditions are |
| 7743 | // met: |
| 7744 | // |
| 7745 | // * Redistributions of source code must retain the above copyright |
| 7746 | // notice, this list of conditions and the following disclaimer. |
| 7747 | // * Redistributions in binary form must reproduce the above |
| 7748 | // copyright notice, this list of conditions and the following disclaimer |
| 7749 | // in the documentation and/or other materials provided with the |
| 7750 | // distribution. |
| 7751 | // * Neither the name of Google Inc. nor the names of its |
| 7752 | // contributors may be used to endorse or promote products derived from |
| 7753 | // this software without specific prior written permission. |
| 7754 | // |
| 7755 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 7756 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 7757 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 7758 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 7759 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 7760 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 7761 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 7762 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 7763 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 7764 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 7765 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 7766 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7767 | Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7768 | |
| 7769 | The contents of this file are subject to the Mozilla Public License Version |
| 7770 | 1.1 (the "License"); you may not use this file except in compliance with |
| 7771 | the License. You may obtain a copy of the License at |
| 7772 | http://www.mozilla.org/MPL/ |
| 7773 | |
| 7774 | Software distributed under the License is distributed on an "AS IS" basis, |
| 7775 | WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 7776 | for the specific language governing rights and limitations under the |
| 7777 | License. |
| 7778 | |
| 7779 | The Original Code is mozilla.org code. |
| 7780 | |
| 7781 | The Initial Developer of the Original Code is |
| 7782 | Netscape Communications Corporation. |
| 7783 | Portions created by the Initial Developer are Copyright (C) 1998 |
| 7784 | the Initial Developer. All Rights Reserved. |
| 7785 | |
| 7786 | Contributor(s): |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7787 | |
| 7788 | Alternatively, the contents of this file may be used under the terms of |
| 7789 | either the GNU General Public License Version 2 or later (the "GPL"), or |
| 7790 | the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 7791 | in which case the provisions of the GPL or the LGPL are applicable instead |
| 7792 | of those above. If you wish to allow use of your version of this file only |
| 7793 | under the terms of either the GPL or the LGPL, and not to allow others to |
| 7794 | use your version of this file under the terms of the MPL, indicate your |
| 7795 | decision by deleting the provisions above and replace them with the notice |
| 7796 | and other provisions required by the GPL or the LGPL. If you do not delete |
| 7797 | the provisions above, a recipient may use your version of this file under |
| 7798 | the terms of any one of the MPL, the GPL or the LGPL. |
| 7799 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7800 | |
| 7801 | Copyright (c) 2004-2012 by Mulle Kybernetik. All rights reserved. |
| 7802 | |
| 7803 | Permission to use, copy, modify and distribute this software and its documentation |
| 7804 | is hereby granted, provided that both the copyright notice and this permission |
| 7805 | notice appear in all copies of the software, derivative works or modified versions, |
| 7806 | and any portions thereof, and that both notices appear in supporting documentation, |
| 7807 | and that credit is given to Mulle Kybernetik in all documents and publicity |
| 7808 | pertaining to direct or indirect use of this code or its derivatives. |
| 7809 | |
| 7810 | THIS IS EXPERIMENTAL SOFTWARE AND IT IS KNOWN TO HAVE BUGS, SOME OF WHICH MAY HAVE |
| 7811 | SERIOUS CONSEQUENCES. THE COPYRIGHT HOLDER ALLOWS FREE USE OF THIS SOFTWARE IN ITS |
| 7812 | "AS IS" CONDITION. THE COPYRIGHT HOLDER DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY |
| 7813 | DAMAGES WHATSOEVER RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE |
| 7814 | OR OF ANY DERIVATIVE WORK. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7815 | |
| 7816 | LICENSE ISSUES |
| 7817 | ============== |
| 7818 | |
| 7819 | The OpenSSL toolkit stays under a dual license, i.e. both the conditions of |
| 7820 | the OpenSSL License and the original SSLeay license apply to the toolkit. |
| 7821 | See below for the actual license texts. Actually both licenses are BSD-style |
| 7822 | Open Source licenses. In case of any license issues related to OpenSSL |
| 7823 | please contact openssl-core@openssl.org. |
| 7824 | |
| 7825 | OpenSSL License |
| 7826 | --------------- |
| 7827 | |
| 7828 | /* ==================================================================== |
| 7829 | * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved. |
| 7830 | * |
| 7831 | * Redistribution and use in source and binary forms, with or without |
| 7832 | * modification, are permitted provided that the following conditions |
| 7833 | * are met: |
| 7834 | * |
| 7835 | * 1. Redistributions of source code must retain the above copyright |
| 7836 | * notice, this list of conditions and the following disclaimer. |
| 7837 | * |
| 7838 | * 2. Redistributions in binary form must reproduce the above copyright |
| 7839 | * notice, this list of conditions and the following disclaimer in |
| 7840 | * the documentation and/or other materials provided with the |
| 7841 | * distribution. |
| 7842 | * |
| 7843 | * 3. All advertising materials mentioning features or use of this |
| 7844 | * software must display the following acknowledgment: |
| 7845 | * "This product includes software developed by the OpenSSL Project |
| 7846 | * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" |
| 7847 | * |
| 7848 | * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to |
| 7849 | * endorse or promote products derived from this software without |
| 7850 | * prior written permission. For written permission, please contact |
| 7851 | * openssl-core@openssl.org. |
| 7852 | * |
| 7853 | * 5. Products derived from this software may not be called "OpenSSL" |
| 7854 | * nor may "OpenSSL" appear in their names without prior written |
| 7855 | * permission of the OpenSSL Project. |
| 7856 | * |
| 7857 | * 6. Redistributions of any form whatsoever must retain the following |
| 7858 | * acknowledgment: |
| 7859 | * "This product includes software developed by the OpenSSL Project |
| 7860 | * for use in the OpenSSL Toolkit (http://www.openssl.org/)" |
| 7861 | * |
| 7862 | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY |
| 7863 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 7864 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 7865 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR |
| 7866 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 7867 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 7868 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 7869 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 7870 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
| 7871 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 7872 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 7873 | * OF THE POSSIBILITY OF SUCH DAMAGE. |
| 7874 | * ==================================================================== |
| 7875 | * |
| 7876 | * This product includes cryptographic software written by Eric Young |
| 7877 | * (eay@cryptsoft.com). This product includes software written by Tim |
| 7878 | * Hudson (tjh@cryptsoft.com). |
| 7879 | * |
| 7880 | */ |
| 7881 | |
| 7882 | Original SSLeay License |
| 7883 | ----------------------- |
| 7884 | |
| 7885 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 7886 | * All rights reserved. |
| 7887 | * |
| 7888 | * This package is an SSL implementation written |
| 7889 | * by Eric Young (eay@cryptsoft.com). |
| 7890 | * The implementation was written so as to conform with Netscapes SSL. |
| 7891 | * |
| 7892 | * This library is free for commercial and non-commercial use as long as |
| 7893 | * the following conditions are aheared to. The following conditions |
| 7894 | * apply to all code found in this distribution, be it the RC4, RSA, |
| 7895 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation |
| 7896 | * included with this distribution is covered by the same copyright terms |
| 7897 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). |
| 7898 | * |
| 7899 | * Copyright remains Eric Young's, and as such any Copyright notices in |
| 7900 | * the code are not to be removed. |
| 7901 | * If this package is used in a product, Eric Young should be given attribution |
| 7902 | * as the author of the parts of the library used. |
| 7903 | * This can be in the form of a textual message at program startup or |
| 7904 | * in documentation (online or textual) provided with the package. |
| 7905 | * |
| 7906 | * Redistribution and use in source and binary forms, with or without |
| 7907 | * modification, are permitted provided that the following conditions |
| 7908 | * are met: |
| 7909 | * 1. Redistributions of source code must retain the copyright |
| 7910 | * notice, this list of conditions and the following disclaimer. |
| 7911 | * 2. Redistributions in binary form must reproduce the above copyright |
| 7912 | * notice, this list of conditions and the following disclaimer in the |
| 7913 | * documentation and/or other materials provided with the distribution. |
| 7914 | * 3. All advertising materials mentioning features or use of this software |
| 7915 | * must display the following acknowledgement: |
| 7916 | * "This product includes cryptographic software written by |
| 7917 | * Eric Young (eay@cryptsoft.com)" |
| 7918 | * The word 'cryptographic' can be left out if the rouines from the library |
| 7919 | * being used are not cryptographic related :-). |
| 7920 | * 4. If you include any Windows specific code (or a derivative thereof) from |
| 7921 | * the apps directory (application code) you must include an acknowledgement: |
| 7922 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" |
| 7923 | * |
| 7924 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND |
| 7925 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 7926 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 7927 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
| 7928 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 7929 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 7930 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 7931 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 7932 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 7933 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 7934 | * SUCH DAMAGE. |
| 7935 | * |
| 7936 | * The licence and distribution terms for any publically available version or |
| 7937 | * derivative of this code cannot be changed. i.e. this code cannot simply be |
| 7938 | * copied and put under another distribution licence |
| 7939 | * [including the GNU Public Licence.] |
| 7940 | */ |
| 7941 | |
| 7942 | |
| 7943 | Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic, |
| 7944 | Jean-Marc Valin, Timothy B. Terriberry, |
| 7945 | CSIRO, Gregory Maxwell, Mark Borgerding, |
| 7946 | Erik de Castro Lopo |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7947 | |
| 7948 | Redistribution and use in source and binary forms, with or without |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7949 | modification, are permitted provided that the following conditions |
| 7950 | are met: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7951 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7952 | - Redistributions of source code must retain the above copyright |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7953 | notice, this list of conditions and the following disclaimer. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7954 | |
| 7955 | - Redistributions in binary form must reproduce the above copyright |
| 7956 | notice, this list of conditions and the following disclaimer in the |
| 7957 | documentation and/or other materials provided with the distribution. |
| 7958 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 7959 | - Neither the name of Internet Society, IETF or IETF Trust, nor the |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7960 | names of specific contributors, may be used to endorse or promote |
| 7961 | products derived from this software without specific prior written |
| 7962 | permission. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7963 | |
| 7964 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7965 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7966 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7967 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER |
| 7968 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 7969 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 7970 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 7971 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 7972 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 7973 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 7974 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7975 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7976 | Opus is subject to the royalty-free patent licenses which are |
| 7977 | specified at: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7978 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7979 | Xiph.Org Foundation: |
| 7980 | https://datatracker.ietf.org/ipr/1524/ |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7981 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7982 | Microsoft Corporation: |
| 7983 | https://datatracker.ietf.org/ipr/1914/ |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7984 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7985 | Broadcom Corporation: |
| 7986 | https://datatracker.ietf.org/ipr/1526/ |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7987 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 7988 | // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 7989 | // |
| 7990 | // Redistribution and use in source and binary forms, with or without |
| 7991 | // modification, are permitted provided that the following conditions are |
| 7992 | // met: |
| 7993 | // |
| 7994 | // * Redistributions of source code must retain the above copyright |
| 7995 | // notice, this list of conditions and the following disclaimer. |
| 7996 | // * Redistributions in binary form must reproduce the above |
| 7997 | // copyright notice, this list of conditions and the following disclaimer |
| 7998 | // in the documentation and/or other materials provided with the |
| 7999 | // distribution. |
| 8000 | // * Neither the name of Google Inc. nor the names of its |
| 8001 | // contributors may be used to endorse or promote products derived from |
| 8002 | // this software without specific prior written permission. |
| 8003 | // |
| 8004 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 8005 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 8006 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 8007 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 8008 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8009 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 8010 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 8011 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 8012 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 8013 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 8014 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 8015 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8016 | PLY (Python Lex-Yacc) Version 3.4 |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8017 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8018 | Copyright (C) 2001-2011, |
| 8019 | David M. Beazley (Dabeaz LLC) |
| 8020 | All rights reserved. |
| 8021 | |
| 8022 | Redistribution and use in source and binary forms, with or without |
| 8023 | modification, are permitted provided that the following conditions are |
| 8024 | met: |
| 8025 | |
| 8026 | * Redistributions of source code must retain the above copyright notice, |
| 8027 | this list of conditions and the following disclaimer. |
| 8028 | * Redistributions in binary form must reproduce the above copyright notice, |
| 8029 | this list of conditions and the following disclaimer in the documentation |
| 8030 | and/or other materials provided with the distribution. |
| 8031 | * Neither the name of the David Beazley or Dabeaz LLC may be used to |
| 8032 | endorse or promote products derived from this software without |
| 8033 | specific prior written permission. |
| 8034 | |
| 8035 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 8036 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 8037 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 8038 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 8039 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8040 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 8041 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 8042 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 8043 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 8044 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 8045 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 8046 | // Copyright (c) 2012 The Polymer Authors. All rights reserved. |
| 8047 | // |
| 8048 | // Redistribution and use in source and binary forms, with or without |
| 8049 | // modification, are permitted provided that the following conditions are |
| 8050 | // met: |
| 8051 | // |
| 8052 | // * Redistributions of source code must retain the above copyright |
| 8053 | // notice, this list of conditions and the following disclaimer. |
| 8054 | // * Redistributions in binary form must reproduce the above |
| 8055 | // copyright notice, this list of conditions and the following disclaimer |
| 8056 | // in the documentation and/or other materials provided with the |
| 8057 | // distribution. |
| 8058 | // * Neither the name of Google Inc. nor the names of its |
| 8059 | // contributors may be used to endorse or promote products derived from |
| 8060 | // this software without specific prior written permission. |
| 8061 | // |
| 8062 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 8063 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 8064 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 8065 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 8066 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8067 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 8068 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 8069 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 8070 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 8071 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 8072 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 8073 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8074 | Copyright 2008, Google Inc. |
| 8075 | All rights reserved. |
| 8076 | |
| 8077 | Redistribution and use in source and binary forms, with or without |
| 8078 | modification, are permitted provided that the following conditions are |
| 8079 | met: |
| 8080 | |
| 8081 | * Redistributions of source code must retain the above copyright |
| 8082 | notice, this list of conditions and the following disclaimer. |
| 8083 | * Redistributions in binary form must reproduce the above |
| 8084 | copyright notice, this list of conditions and the following disclaimer |
| 8085 | in the documentation and/or other materials provided with the |
| 8086 | distribution. |
| 8087 | * Neither the name of Google Inc. nor the names of its |
| 8088 | contributors may be used to endorse or promote products derived from |
| 8089 | this software without specific prior written permission. |
| 8090 | |
| 8091 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 8092 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 8093 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 8094 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 8095 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8096 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 8097 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 8098 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 8099 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 8100 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 8101 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 8102 | |
| 8103 | Code generated by the Protocol Buffer compiler is owned by the owner |
| 8104 | of the input file used when generating it. This code is not |
| 8105 | standalone and requires a support library to be linked with it. This |
| 8106 | support library is itself covered by the above license. |
| 8107 | |
| 8108 | Copyright (c) 2003-2012, Michael Foord |
| 8109 | All rights reserved. |
| 8110 | |
| 8111 | Redistribution and use in source and binary forms, with or without |
| 8112 | modification, are permitted provided that the following conditions are |
| 8113 | met: |
| 8114 | |
| 8115 | * Redistributions of source code must retain the above copyright |
| 8116 | notice, this list of conditions and the following disclaimer. |
| 8117 | |
| 8118 | * Redistributions in binary form must reproduce the above |
| 8119 | copyright notice, this list of conditions and the following |
| 8120 | disclaimer in the documentation and/or other materials provided |
| 8121 | with the distribution. |
| 8122 | |
| 8123 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 8124 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 8125 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 8126 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 8127 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8128 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 8129 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 8130 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 8131 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 8132 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 8133 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 8134 | |
| 8135 | qcms |
| 8136 | Copyright (C) 2009 Mozilla Corporation |
| 8137 | Copyright (C) 1998-2007 Marti Maria |
| 8138 | |
| 8139 | Permission is hereby granted, free of charge, to any person obtaining |
| 8140 | a copy of this software and associated documentation files (the "Software"), |
| 8141 | to deal in the Software without restriction, including without limitation |
| 8142 | the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 8143 | and/or sell copies of the Software, and to permit persons to whom the Software |
| 8144 | is furnished to do so, subject to the following conditions: |
| 8145 | |
| 8146 | The above copyright notice and this permission notice shall be included in |
| 8147 | all copies or substantial portions of the Software. |
| 8148 | |
| 8149 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 8150 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
| 8151 | THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 8152 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
| 8153 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
| 8154 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| 8155 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 8156 | |
| 8157 | // Copyright (c) 2009 The RE2 Authors. All rights reserved. |
| 8158 | // |
| 8159 | // Redistribution and use in source and binary forms, with or without |
| 8160 | // modification, are permitted provided that the following conditions are |
| 8161 | // met: |
| 8162 | // |
| 8163 | // * Redistributions of source code must retain the above copyright |
| 8164 | // notice, this list of conditions and the following disclaimer. |
| 8165 | // * Redistributions in binary form must reproduce the above |
| 8166 | // copyright notice, this list of conditions and the following disclaimer |
| 8167 | // in the documentation and/or other materials provided with the |
| 8168 | // distribution. |
| 8169 | // * Neither the name of Google Inc. nor the names of its |
| 8170 | // contributors may be used to endorse or promote products derived from |
| 8171 | // this software without specific prior written permission. |
| 8172 | // |
| 8173 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 8174 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 8175 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 8176 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 8177 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8178 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 8179 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 8180 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 8181 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 8182 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 8183 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8184 | |
| 8185 | |
| 8186 | Apache License |
| 8187 | Version 2.0, January 2004 |
| 8188 | http://www.apache.org/licenses/ |
| 8189 | |
| 8190 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 8191 | |
| 8192 | 1. Definitions. |
| 8193 | |
| 8194 | "License" shall mean the terms and conditions for use, reproduction, |
| 8195 | and distribution as defined by Sections 1 through 9 of this document. |
| 8196 | |
| 8197 | "Licensor" shall mean the copyright owner or entity authorized by |
| 8198 | the copyright owner that is granting the License. |
| 8199 | |
| 8200 | "Legal Entity" shall mean the union of the acting entity and all |
| 8201 | other entities that control, are controlled by, or are under common |
| 8202 | control with that entity. For the purposes of this definition, |
| 8203 | "control" means (i) the power, direct or indirect, to cause the |
| 8204 | direction or management of such entity, whether by contract or |
| 8205 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 8206 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 8207 | |
| 8208 | "You" (or "Your") shall mean an individual or Legal Entity |
| 8209 | exercising permissions granted by this License. |
| 8210 | |
| 8211 | "Source" form shall mean the preferred form for making modifications, |
| 8212 | including but not limited to software source code, documentation |
| 8213 | source, and configuration files. |
| 8214 | |
| 8215 | "Object" form shall mean any form resulting from mechanical |
| 8216 | transformation or translation of a Source form, including but |
| 8217 | not limited to compiled object code, generated documentation, |
| 8218 | and conversions to other media types. |
| 8219 | |
| 8220 | "Work" shall mean the work of authorship, whether in Source or |
| 8221 | Object form, made available under the License, as indicated by a |
| 8222 | copyright notice that is included in or attached to the work |
| 8223 | (an example is provided in the Appendix below). |
| 8224 | |
| 8225 | "Derivative Works" shall mean any work, whether in Source or Object |
| 8226 | form, that is based on (or derived from) the Work and for which the |
| 8227 | editorial revisions, annotations, elaborations, or other modifications |
| 8228 | represent, as a whole, an original work of authorship. For the purposes |
| 8229 | of this License, Derivative Works shall not include works that remain |
| 8230 | separable from, or merely link (or bind by name) to the interfaces of, |
| 8231 | the Work and Derivative Works thereof. |
| 8232 | |
| 8233 | "Contribution" shall mean any work of authorship, including |
| 8234 | the original version of the Work and any modifications or additions |
| 8235 | to that Work or Derivative Works thereof, that is intentionally |
| 8236 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 8237 | or by an individual or Legal Entity authorized to submit on behalf of |
| 8238 | the copyright owner. For the purposes of this definition, "submitted" |
| 8239 | means any form of electronic, verbal, or written communication sent |
| 8240 | to the Licensor or its representatives, including but not limited to |
| 8241 | communication on electronic mailing lists, source code control systems, |
| 8242 | and issue tracking systems that are managed by, or on behalf of, the |
| 8243 | Licensor for the purpose of discussing and improving the Work, but |
| 8244 | excluding communication that is conspicuously marked or otherwise |
| 8245 | designated in writing by the copyright owner as "Not a Contribution." |
| 8246 | |
| 8247 | "Contributor" shall mean Licensor and any individual or Legal Entity |
| 8248 | on behalf of whom a Contribution has been received by Licensor and |
| 8249 | subsequently incorporated within the Work. |
| 8250 | |
| 8251 | 2. Grant of Copyright License. Subject to the terms and conditions of |
| 8252 | this License, each Contributor hereby grants to You a perpetual, |
| 8253 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 8254 | copyright license to reproduce, prepare Derivative Works of, |
| 8255 | publicly display, publicly perform, sublicense, and distribute the |
| 8256 | Work and such Derivative Works in Source or Object form. |
| 8257 | |
| 8258 | 3. Grant of Patent License. Subject to the terms and conditions of |
| 8259 | this License, each Contributor hereby grants to You a perpetual, |
| 8260 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 8261 | (except as stated in this section) patent license to make, have made, |
| 8262 | use, offer to sell, sell, import, and otherwise transfer the Work, |
| 8263 | where such license applies only to those patent claims licensable |
| 8264 | by such Contributor that are necessarily infringed by their |
| 8265 | Contribution(s) alone or by combination of their Contribution(s) |
| 8266 | with the Work to which such Contribution(s) was submitted. If You |
| 8267 | institute patent litigation against any entity (including a |
| 8268 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 8269 | or a Contribution incorporated within the Work constitutes direct |
| 8270 | or contributory patent infringement, then any patent licenses |
| 8271 | granted to You under this License for that Work shall terminate |
| 8272 | as of the date such litigation is filed. |
| 8273 | |
| 8274 | 4. Redistribution. You may reproduce and distribute copies of the |
| 8275 | Work or Derivative Works thereof in any medium, with or without |
| 8276 | modifications, and in Source or Object form, provided that You |
| 8277 | meet the following conditions: |
| 8278 | |
| 8279 | (a) You must give any other recipients of the Work or |
| 8280 | Derivative Works a copy of this License; and |
| 8281 | |
| 8282 | (b) You must cause any modified files to carry prominent notices |
| 8283 | stating that You changed the files; and |
| 8284 | |
| 8285 | (c) You must retain, in the Source form of any Derivative Works |
| 8286 | that You distribute, all copyright, patent, trademark, and |
| 8287 | attribution notices from the Source form of the Work, |
| 8288 | excluding those notices that do not pertain to any part of |
| 8289 | the Derivative Works; and |
| 8290 | |
| 8291 | (d) If the Work includes a "NOTICE" text file as part of its |
| 8292 | distribution, then any Derivative Works that You distribute must |
| 8293 | include a readable copy of the attribution notices contained |
| 8294 | within such NOTICE file, excluding those notices that do not |
| 8295 | pertain to any part of the Derivative Works, in at least one |
| 8296 | of the following places: within a NOTICE text file distributed |
| 8297 | as part of the Derivative Works; within the Source form or |
| 8298 | documentation, if provided along with the Derivative Works; or, |
| 8299 | within a display generated by the Derivative Works, if and |
| 8300 | wherever such third-party notices normally appear. The contents |
| 8301 | of the NOTICE file are for informational purposes only and |
| 8302 | do not modify the License. You may add Your own attribution |
| 8303 | notices within Derivative Works that You distribute, alongside |
| 8304 | or as an addendum to the NOTICE text from the Work, provided |
| 8305 | that such additional attribution notices cannot be construed |
| 8306 | as modifying the License. |
| 8307 | |
| 8308 | You may add Your own copyright statement to Your modifications and |
| 8309 | may provide additional or different license terms and conditions |
| 8310 | for use, reproduction, or distribution of Your modifications, or |
| 8311 | for any such Derivative Works as a whole, provided Your use, |
| 8312 | reproduction, and distribution of the Work otherwise complies with |
| 8313 | the conditions stated in this License. |
| 8314 | |
| 8315 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
| 8316 | any Contribution intentionally submitted for inclusion in the Work |
| 8317 | by You to the Licensor shall be under the terms and conditions of |
| 8318 | this License, without any additional terms or conditions. |
| 8319 | Notwithstanding the above, nothing herein shall supersede or modify |
| 8320 | the terms of any separate license agreement you may have executed |
| 8321 | with Licensor regarding such Contributions. |
| 8322 | |
| 8323 | 6. Trademarks. This License does not grant permission to use the trade |
| 8324 | names, trademarks, service marks, or product names of the Licensor, |
| 8325 | except as required for reasonable and customary use in describing the |
| 8326 | origin of the Work and reproducing the content of the NOTICE file. |
| 8327 | |
| 8328 | 7. Disclaimer of Warranty. Unless required by applicable law or |
| 8329 | agreed to in writing, Licensor provides the Work (and each |
| 8330 | Contributor provides its Contributions) on an "AS IS" BASIS, |
| 8331 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 8332 | implied, including, without limitation, any warranties or conditions |
| 8333 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
| 8334 | PARTICULAR PURPOSE. You are solely responsible for determining the |
| 8335 | appropriateness of using or redistributing the Work and assume any |
| 8336 | risks associated with Your exercise of permissions under this License. |
| 8337 | |
| 8338 | 8. Limitation of Liability. In no event and under no legal theory, |
| 8339 | whether in tort (including negligence), contract, or otherwise, |
| 8340 | unless required by applicable law (such as deliberate and grossly |
| 8341 | negligent acts) or agreed to in writing, shall any Contributor be |
| 8342 | liable to You for damages, including any direct, indirect, special, |
| 8343 | incidental, or consequential damages of any character arising as a |
| 8344 | result of this License or out of the use or inability to use the |
| 8345 | Work (including but not limited to damages for loss of goodwill, |
| 8346 | work stoppage, computer failure or malfunction, or any and all |
| 8347 | other commercial damages or losses), even if such Contributor |
| 8348 | has been advised of the possibility of such damages. |
| 8349 | |
| 8350 | 9. Accepting Warranty or Additional Liability. While redistributing |
| 8351 | the Work or Derivative Works thereof, You may choose to offer, |
| 8352 | and charge a fee for, acceptance of support, warranty, indemnity, |
| 8353 | or other liability obligations and/or rights consistent with this |
| 8354 | License. However, in accepting such obligations, You may act only |
| 8355 | on Your own behalf and on Your sole responsibility, not on behalf |
| 8356 | of any other Contributor, and only if You agree to indemnify, |
| 8357 | defend, and hold each Contributor harmless for any liability |
| 8358 | incurred by, or claims asserted against, such Contributor by reason |
| 8359 | of your accepting any such warranty or additional liability. |
| 8360 | |
| 8361 | END OF TERMS AND CONDITIONS |
| 8362 | |
| 8363 | APPENDIX: How to apply the Apache License to your work. |
| 8364 | |
| 8365 | To apply the Apache License to your work, attach the following |
| 8366 | boilerplate notice, with the fields enclosed by brackets "[]" |
| 8367 | replaced with your own identifying information. (Don't include |
| 8368 | the brackets!) The text should be enclosed in the appropriate |
| 8369 | comment syntax for the file format. We also recommend that a |
| 8370 | file or class name and description of purpose be included on the |
| 8371 | same "printed page" as the copyright notice for easier |
| 8372 | identification within third-party archives. |
| 8373 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8374 | Copyright 2011 Google Inc. All Rights Reserved. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8375 | |
| 8376 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8377 | you may not use this file except in compliance with the License. |
| 8378 | You may obtain a copy of the License at |
| 8379 | |
| 8380 | http://www.apache.org/licenses/LICENSE-2.0 |
| 8381 | |
| 8382 | Unless required by applicable law or agreed to in writing, software |
| 8383 | distributed under the License is distributed on an "AS IS" BASIS, |
| 8384 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 8385 | See the License for the specific language governing permissions and |
| 8386 | limitations under the License. |
| 8387 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8388 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8389 | Copyright (c) 2006 Bob Ippolito |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8390 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8391 | Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 8392 | this software and associated documentation files (the "Software"), to deal in |
| 8393 | the Software without restriction, including without limitation the rights to |
| 8394 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
| 8395 | of the Software, and to permit persons to whom the Software is furnished to do |
| 8396 | so, subject to the following conditions: |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8397 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8398 | The above copyright notice and this permission notice shall be included in all |
| 8399 | copies or substantial portions of the Software. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8400 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8401 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 8402 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 8403 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 8404 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 8405 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 8406 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 8407 | SOFTWARE. |
| 8408 | |
| 8409 | // Copyright (c) 2011 Google Inc. All rights reserved. |
| 8410 | // |
| 8411 | // Redistribution and use in source and binary forms, with or without |
| 8412 | // modification, are permitted provided that the following conditions are |
| 8413 | // met: |
| 8414 | // |
| 8415 | // * Redistributions of source code must retain the above copyright |
| 8416 | // notice, this list of conditions and the following disclaimer. |
| 8417 | // * Redistributions in binary form must reproduce the above |
| 8418 | // copyright notice, this list of conditions and the following disclaimer |
| 8419 | // in the documentation and/or other materials provided with the |
| 8420 | // distribution. |
| 8421 | // * Neither the name of Google Inc. nor the names of its |
| 8422 | // contributors may be used to endorse or promote products derived from |
| 8423 | // this software without specific prior written permission. |
| 8424 | // |
| 8425 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 8426 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 8427 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 8428 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 8429 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8430 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 8431 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 8432 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 8433 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 8434 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 8435 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 8436 | |
| 8437 | All MurmurHash source files are placed in the public domain. |
| 8438 | |
| 8439 | The license below applies to all other code in SMHasher: |
| 8440 | |
| 8441 | Copyright (c) 2011 Google, Inc. |
| 8442 | |
| 8443 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 8444 | of this software and associated documentation files (the "Software"), to deal |
| 8445 | in the Software without restriction, including without limitation the rights |
| 8446 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 8447 | copies of the Software, and to permit persons to whom the Software is |
| 8448 | furnished to do so, subject to the following conditions: |
| 8449 | |
| 8450 | The above copyright notice and this permission notice shall be included in |
| 8451 | all copies or substantial portions of the Software. |
| 8452 | |
| 8453 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 8454 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 8455 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 8456 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 8457 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 8458 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 8459 | THE SOFTWARE. |
| 8460 | |
| 8461 | The author disclaims copyright to this source code. In place of |
| 8462 | a legal notice, here is a blessing: |
| 8463 | |
| 8464 | May you do good and not evil. |
| 8465 | May you find forgiveness for yourself and forgive others. |
| 8466 | May you share freely, never taking more than you give. |
| 8467 | |
| 8468 | SWIG is distributed under the following terms: |
| 8469 | |
| 8470 | I. |
| 8471 | |
| 8472 | Copyright (c) 1995-1998 |
| 8473 | The University of Utah and the Regents of the University of California |
| 8474 | All Rights Reserved |
| 8475 | |
| 8476 | Permission is hereby granted, without written agreement and without |
| 8477 | license or royalty fees, to use, copy, modify, and distribute this |
| 8478 | software and its documentation for any purpose, provided that |
| 8479 | (1) The above copyright notice and the following two paragraphs |
| 8480 | appear in all copies of the source code and (2) redistributions |
| 8481 | including binaries reproduces these notices in the supporting |
| 8482 | documentation. Substantial modifications to this software may be |
| 8483 | copyrighted by their authors and need not follow the licensing terms |
| 8484 | described here, provided that the new terms are clearly indicated in |
| 8485 | all files where they apply. |
| 8486 | |
| 8487 | IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE |
| 8488 | UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY |
| 8489 | PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL |
| 8490 | DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, |
| 8491 | EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF |
| 8492 | THE POSSIBILITY OF SUCH DAMAGE. |
| 8493 | |
| 8494 | THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH |
| 8495 | SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO, |
| 8496 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 8497 | PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND |
| 8498 | THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, |
| 8499 | SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 8500 | |
| 8501 | |
| 8502 | II. |
| 8503 | |
| 8504 | This software includes contributions that are Copyright (c) 1998-2005 |
| 8505 | University of Chicago. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8506 | All rights reserved. |
| 8507 | |
| 8508 | Redistribution and use in source and binary forms, with or without |
| 8509 | modification, are permitted provided that the following conditions are |
| 8510 | met: |
| 8511 | |
| 8512 | Redistributions of source code must retain the above copyright notice, |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8513 | this list of conditions and the following disclaimer. Redistributions |
| 8514 | in binary form must reproduce the above copyright notice, this list of |
| 8515 | conditions and the following disclaimer in the documentation and/or |
| 8516 | other materials provided with the distribution. Neither the name of |
| 8517 | the University of Chicago nor the names of its contributors may be |
| 8518 | used to endorse or promote products derived from this software without |
| 8519 | specific prior written permission. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8520 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8521 | THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF CHICAGO AND CONTRIBUTORS |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8522 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8523 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
| 8524 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF |
| 8525 | CHICAGO OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8526 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED |
| 8527 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 8528 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 8529 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 8530 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 8531 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8532 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8533 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8534 | III. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8535 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8536 | This software includes contributions that are Copyright (c) 2005-2006 |
| 8537 | Arizona Board of Regents (University of Arizona). |
| 8538 | All Rights Reserved |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8539 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8540 | Permission is hereby granted, without written agreement and without |
| 8541 | license or royalty fees, to use, copy, modify, and distribute this |
| 8542 | software and its documentation for any purpose, provided that |
| 8543 | (1) The above copyright notice and the following two paragraphs |
| 8544 | appear in all copies of the source code and (2) redistributions |
| 8545 | including binaries reproduces these notices in the supporting |
| 8546 | documentation. Substantial modifications to this software may be |
| 8547 | copyrighted by their authors and need not follow the licensing terms |
| 8548 | described here, provided that the new terms are clearly indicated in |
| 8549 | all files where they apply. |
| 8550 | |
| 8551 | THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA AND CONTRIBUTORS |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8552 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8553 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
| 8554 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF |
| 8555 | ARIZONA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8556 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED |
| 8557 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 8558 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 8559 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 8560 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 8561 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 8562 | |
| 8563 | |
| 8564 | // Copyright (c) 2005, Google Inc. |
| 8565 | // All rights reserved. |
| 8566 | // |
| 8567 | // Redistribution and use in source and binary forms, with or without |
| 8568 | // modification, are permitted provided that the following conditions are |
| 8569 | // met: |
| 8570 | // |
| 8571 | // * Redistributions of source code must retain the above copyright |
| 8572 | // notice, this list of conditions and the following disclaimer. |
| 8573 | // * Redistributions in binary form must reproduce the above |
| 8574 | // copyright notice, this list of conditions and the following disclaimer |
| 8575 | // in the documentation and/or other materials provided with the |
| 8576 | // distribution. |
| 8577 | // * Neither the name of Google Inc. nor the names of its |
| 8578 | // contributors may be used to endorse or promote products derived from |
| 8579 | // this software without specific prior written permission. |
| 8580 | // |
| 8581 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 8582 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 8583 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 8584 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 8585 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8586 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 8587 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 8588 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 8589 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 8590 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 8591 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 8592 | |
| 8593 | All code here is public domain. |
| 8594 | |
| 8595 | Copyright (c) 2012, Linux USB Project |
| 8596 | All rights reserved. |
| 8597 | |
| 8598 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: |
| 8599 | |
| 8600 | o Redistributions of source code must retain the above copyright notice, |
| 8601 | this list of conditions and the following disclaimer. |
| 8602 | |
| 8603 | o Redistributions in binary form must reproduce the above copyright |
| 8604 | notice, this list of conditions and the following disclaimer in the |
| 8605 | documentation and/or other materials provided with the distribution. |
| 8606 | |
| 8607 | o Neither the name of the Linux USB Project nor the names of its |
| 8608 | contributors may be used to endorse or promote products derived from |
| 8609 | this software without specific prior written permission. |
| 8610 | |
| 8611 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 8612 | |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 8613 | (Copied from the COPYRIGHT file of |
| 8614 | https://code.google.com/p/sctp-refimpl/source/browse/trunk/COPYRIGHT) |
| 8615 | -------------------------------------------------------------------------------- |
| 8616 | |
| 8617 | Copyright (c) 2001, 2002 Cisco Systems, Inc. |
| 8618 | Copyright (c) 2002-12 Randall R. Stewart |
| 8619 | Copyright (c) 2002-12 Michael Tuexen |
| 8620 | All rights reserved. |
| 8621 | |
| 8622 | Redistribution and use in source and binary forms, with or without |
| 8623 | modification, are permitted provided that the following conditions |
| 8624 | are met: |
| 8625 | |
| 8626 | 1. Redistributions of source code must retain the above copyright |
| 8627 | notice, this list of conditions and the following disclaimer. |
| 8628 | 2. Redistributions in binary form must reproduce the above copyright |
| 8629 | notice, this list of conditions and the following disclaimer in the |
| 8630 | documentation and/or other materials provided with the distribution. |
| 8631 | |
| 8632 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
| 8633 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 8634 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 8635 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
| 8636 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 8637 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 8638 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 8639 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 8640 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 8641 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 8642 | SUCH DAMAGE. |
| 8643 | |
Torne (Richard Coles) | f2477e0 | 2013-11-28 11:55:43 +0000 | [diff] [blame] | 8644 | // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 8645 | // |
| 8646 | // Redistribution and use in source and binary forms, with or without |
| 8647 | // modification, are permitted provided that the following conditions are |
| 8648 | // met: |
| 8649 | // |
| 8650 | // * Redistributions of source code must retain the above copyright |
| 8651 | // notice, this list of conditions and the following disclaimer. |
| 8652 | // * Redistributions in binary form must reproduce the above |
| 8653 | // copyright notice, this list of conditions and the following disclaimer |
| 8654 | // in the documentation and/or other materials provided with the |
| 8655 | // distribution. |
| 8656 | // * Neither the name of Google Inc. nor the names of its |
| 8657 | // contributors may be used to endorse or promote products derived from |
| 8658 | // this software without specific prior written permission. |
| 8659 | // |
| 8660 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 8661 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 8662 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 8663 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 8664 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 8665 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 8666 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 8667 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 8668 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 8669 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 8670 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 8671 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8672 | ;***************************************************************************** |
| 8673 | ;* x86inc.asm |
| 8674 | ;***************************************************************************** |
| 8675 | ;* Copyright (C) 2005-2011 x264 project |
| 8676 | ;* |
| 8677 | ;* Authors: Loren Merritt <lorenm@u.washington.edu> |
| 8678 | ;* Anton Mitrofanov <BugMaster@narod.ru> |
| 8679 | ;* Jason Garrett-Glaser <darkshikari@gmail.com> |
| 8680 | ;* |
| 8681 | ;* Permission to use, copy, modify, and/or distribute this software for any |
| 8682 | ;* purpose with or without fee is hereby granted, provided that the above |
| 8683 | ;* copyright notice and this permission notice appear in all copies. |
| 8684 | ;* |
| 8685 | ;* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 8686 | ;* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 8687 | ;* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 8688 | ;* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 8689 | ;* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 8690 | ;* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 8691 | ;* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 8692 | ;***************************************************************************** |
| 8693 | |
| 8694 | ; This is a header file for the x264ASM assembly language, which uses |
| 8695 | ; NASM/YASM syntax combined with a large number of macros to provide easy |
| 8696 | ; abstraction between different calling conventions (x86_32, win64, linux64). |
| 8697 | ; It also has various other useful features to simplify writing the kind of |
| 8698 | ; DSP functions that are most often used in x264. |
| 8699 | |
| 8700 | ; Unlike the rest of x264, this file is available under an ISC license, as it |
| 8701 | ; has significant usefulness outside of x264 and we want it to be available |
| 8702 | ; to the largest audience possible. Of course, if you modify it for your own |
| 8703 | ; purposes to add a new feature, we strongly encourage contributing a patch |
| 8704 | ; as this feature might be useful for others as well. Send patches or ideas |
| 8705 | ; to x264-devel@videolan.org . |
| 8706 | |
| 8707 | Yasm is Copyright (c) 2001-2010 Peter Johnson and other Yasm developers. |
| 8708 | |
| 8709 | Yasm developers and/or contributors include: |
| 8710 | Peter Johnson |
| 8711 | Michael Urman |
| 8712 | Brian Gladman (Visual Studio build files, other fixes) |
| 8713 | Stanislav Karchebny (options parser) |
| 8714 | Mathieu Monnier (SSE4 instruction patches, NASM preprocessor additions) |
| 8715 | Anonymous "NASM64" developer (NASM preprocessor fixes) |
| 8716 | Stephen Polkowski (x86 instruction patches) |
| 8717 | Henryk Richter (Mach-O object format) |
| 8718 | Ben Skeggs (patches, bug reports) |
| 8719 | Alexei Svitkine (GAS preprocessor) |
| 8720 | Samuel Thibault (TASM parser and frontend) |
| 8721 | |
| 8722 | ----------------------------------- |
| 8723 | Yasm licensing overview and summary |
| 8724 | ----------------------------------- |
| 8725 | |
| 8726 | Note: This document does not provide legal advice nor is it the actual |
| 8727 | license of any part of Yasm. See the individual licenses for complete |
| 8728 | details. Consult a lawyer for legal advice. |
| 8729 | |
| 8730 | The primary license of Yasm is the 2-clause BSD license. Please use this |
| 8731 | license if you plan on submitting code to the project. |
| 8732 | |
| 8733 | Yasm has absolutely no warranty; not even for merchantibility or fitness |
| 8734 | for a particular purpose. |
| 8735 | |
| 8736 | ------- |
| 8737 | Libyasm |
| 8738 | ------- |
| 8739 | Libyasm is 2-clause or 3-clause BSD licensed, with the exception of |
| 8740 | bitvect, which is triple-licensed under the Artistic license, GPL, and |
| 8741 | LGPL. Libyasm is thus GPL and LGPL compatible. In addition, this also |
| 8742 | means that libyasm is free for binary-only distribution as long as the |
| 8743 | terms of the 3-clause BSD license and Artistic license (as it applies to |
| 8744 | bitvect) are fulfilled. |
| 8745 | |
| 8746 | ------- |
| 8747 | Modules |
| 8748 | ------- |
| 8749 | The modules are 2-clause or 3-clause BSD licensed. |
| 8750 | |
| 8751 | --------- |
| 8752 | Frontends |
| 8753 | --------- |
| 8754 | The frontends are 2-clause BSD licensed. |
| 8755 | |
| 8756 | ------------- |
| 8757 | License Texts |
| 8758 | ------------- |
| 8759 | The full text of all licenses are provided in separate files in the source |
| 8760 | distribution. Each source file may include the entire license (in the case |
| 8761 | of the BSD and Artistic licenses), or may reference the GPL or LGPL license |
| 8762 | file. |
| 8763 | |
| 8764 | BSD.txt - 2-clause and 3-clause BSD licenses |
| 8765 | Artistic.txt - Artistic license |
| 8766 | GNU_GPL-2.0 - GNU General Public License |
| 8767 | GNU_LGPL-2.0 - GNU Library General Public License |
| 8768 | |
| 8769 | /* zlib.h -- interface of the 'zlib' general purpose compression library |
| 8770 | version 1.2.4, March 14th, 2010 |
| 8771 | |
| 8772 | Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler |
| 8773 | |
| 8774 | This software is provided 'as-is', without any express or implied |
| 8775 | warranty. In no event will the authors be held liable for any damages |
| 8776 | arising from the use of this software. |
| 8777 | |
| 8778 | Permission is granted to anyone to use this software for any purpose, |
| 8779 | including commercial applications, and to alter it and redistribute it |
| 8780 | freely, subject to the following restrictions: |
| 8781 | |
| 8782 | 1. The origin of this software must not be misrepresented; you must not |
| 8783 | claim that you wrote the original software. If you use this software |
| 8784 | in a product, an acknowledgment in the product documentation would be |
| 8785 | appreciated but is not required. |
| 8786 | 2. Altered source versions must be plainly marked as such, and must not be |
| 8787 | misrepresented as being the original software. |
| 8788 | 3. This notice may not be removed or altered from any source distribution. |
| 8789 | |
| 8790 | Jean-loup Gailly |
| 8791 | Mark Adler |
| 8792 | |
| 8793 | */ |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8794 | |
Torne (Richard Coles) | 424c4d7 | 2013-08-30 15:14:49 +0100 | [diff] [blame] | 8795 | |
| 8796 | Apache License |
| 8797 | Version 2.0, January 2004 |
| 8798 | http://www.apache.org/licenses/ |
| 8799 | |
| 8800 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 8801 | |
| 8802 | 1. Definitions. |
| 8803 | |
| 8804 | "License" shall mean the terms and conditions for use, reproduction, |
| 8805 | and distribution as defined by Sections 1 through 9 of this document. |
| 8806 | |
| 8807 | "Licensor" shall mean the copyright owner or entity authorized by |
| 8808 | the copyright owner that is granting the License. |
| 8809 | |
| 8810 | "Legal Entity" shall mean the union of the acting entity and all |
| 8811 | other entities that control, are controlled by, or are under common |
| 8812 | control with that entity. For the purposes of this definition, |
| 8813 | "control" means (i) the power, direct or indirect, to cause the |
| 8814 | direction or management of such entity, whether by contract or |
| 8815 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 8816 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 8817 | |
| 8818 | "You" (or "Your") shall mean an individual or Legal Entity |
| 8819 | exercising permissions granted by this License. |
| 8820 | |
| 8821 | "Source" form shall mean the preferred form for making modifications, |
| 8822 | including but not limited to software source code, documentation |
| 8823 | source, and configuration files. |
| 8824 | |
| 8825 | "Object" form shall mean any form resulting from mechanical |
| 8826 | transformation or translation of a Source form, including but |
| 8827 | not limited to compiled object code, generated documentation, |
| 8828 | and conversions to other media types. |
| 8829 | |
| 8830 | "Work" shall mean the work of authorship, whether in Source or |
| 8831 | Object form, made available under the License, as indicated by a |
| 8832 | copyright notice that is included in or attached to the work |
| 8833 | (an example is provided in the Appendix below). |
| 8834 | |
| 8835 | "Derivative Works" shall mean any work, whether in Source or Object |
| 8836 | form, that is based on (or derived from) the Work and for which the |
| 8837 | editorial revisions, annotations, elaborations, or other modifications |
| 8838 | represent, as a whole, an original work of authorship. For the purposes |
| 8839 | of this License, Derivative Works shall not include works that remain |
| 8840 | separable from, or merely link (or bind by name) to the interfaces of, |
| 8841 | the Work and Derivative Works thereof. |
| 8842 | |
| 8843 | "Contribution" shall mean any work of authorship, including |
| 8844 | the original version of the Work and any modifications or additions |
| 8845 | to that Work or Derivative Works thereof, that is intentionally |
| 8846 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 8847 | or by an individual or Legal Entity authorized to submit on behalf of |
| 8848 | the copyright owner. For the purposes of this definition, "submitted" |
| 8849 | means any form of electronic, verbal, or written communication sent |
| 8850 | to the Licensor or its representatives, including but not limited to |
| 8851 | communication on electronic mailing lists, source code control systems, |
| 8852 | and issue tracking systems that are managed by, or on behalf of, the |
| 8853 | Licensor for the purpose of discussing and improving the Work, but |
| 8854 | excluding communication that is conspicuously marked or otherwise |
| 8855 | designated in writing by the copyright owner as "Not a Contribution." |
| 8856 | |
| 8857 | "Contributor" shall mean Licensor and any individual or Legal Entity |
| 8858 | on behalf of whom a Contribution has been received by Licensor and |
| 8859 | subsequently incorporated within the Work. |
| 8860 | |
| 8861 | 2. Grant of Copyright License. Subject to the terms and conditions of |
| 8862 | this License, each Contributor hereby grants to You a perpetual, |
| 8863 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 8864 | copyright license to reproduce, prepare Derivative Works of, |
| 8865 | publicly display, publicly perform, sublicense, and distribute the |
| 8866 | Work and such Derivative Works in Source or Object form. |
| 8867 | |
| 8868 | 3. Grant of Patent License. Subject to the terms and conditions of |
| 8869 | this License, each Contributor hereby grants to You a perpetual, |
| 8870 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 8871 | (except as stated in this section) patent license to make, have made, |
| 8872 | use, offer to sell, sell, import, and otherwise transfer the Work, |
| 8873 | where such license applies only to those patent claims licensable |
| 8874 | by such Contributor that are necessarily infringed by their |
| 8875 | Contribution(s) alone or by combination of their Contribution(s) |
| 8876 | with the Work to which such Contribution(s) was submitted. If You |
| 8877 | institute patent litigation against any entity (including a |
| 8878 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 8879 | or a Contribution incorporated within the Work constitutes direct |
| 8880 | or contributory patent infringement, then any patent licenses |
| 8881 | granted to You under this License for that Work shall terminate |
| 8882 | as of the date such litigation is filed. |
| 8883 | |
| 8884 | 4. Redistribution. You may reproduce and distribute copies of the |
| 8885 | Work or Derivative Works thereof in any medium, with or without |
| 8886 | modifications, and in Source or Object form, provided that You |
| 8887 | meet the following conditions: |
| 8888 | |
| 8889 | (a) You must give any other recipients of the Work or |
| 8890 | Derivative Works a copy of this License; and |
| 8891 | |
| 8892 | (b) You must cause any modified files to carry prominent notices |
| 8893 | stating that You changed the files; and |
| 8894 | |
| 8895 | (c) You must retain, in the Source form of any Derivative Works |
| 8896 | that You distribute, all copyright, patent, trademark, and |
| 8897 | attribution notices from the Source form of the Work, |
| 8898 | excluding those notices that do not pertain to any part of |
| 8899 | the Derivative Works; and |
| 8900 | |
| 8901 | (d) If the Work includes a "NOTICE" text file as part of its |
| 8902 | distribution, then any Derivative Works that You distribute must |
| 8903 | include a readable copy of the attribution notices contained |
| 8904 | within such NOTICE file, excluding those notices that do not |
| 8905 | pertain to any part of the Derivative Works, in at least one |
| 8906 | of the following places: within a NOTICE text file distributed |
| 8907 | as part of the Derivative Works; within the Source form or |
| 8908 | documentation, if provided along with the Derivative Works; or, |
| 8909 | within a display generated by the Derivative Works, if and |
| 8910 | wherever such third-party notices normally appear. The contents |
| 8911 | of the NOTICE file are for informational purposes only and |
| 8912 | do not modify the License. You may add Your own attribution |
| 8913 | notices within Derivative Works that You distribute, alongside |
| 8914 | or as an addendum to the NOTICE text from the Work, provided |
| 8915 | that such additional attribution notices cannot be construed |
| 8916 | as modifying the License. |
| 8917 | |
| 8918 | You may add Your own copyright statement to Your modifications and |
| 8919 | may provide additional or different license terms and conditions |
| 8920 | for use, reproduction, or distribution of Your modifications, or |
| 8921 | for any such Derivative Works as a whole, provided Your use, |
| 8922 | reproduction, and distribution of the Work otherwise complies with |
| 8923 | the conditions stated in this License. |
| 8924 | |
| 8925 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
| 8926 | any Contribution intentionally submitted for inclusion in the Work |
| 8927 | by You to the Licensor shall be under the terms and conditions of |
| 8928 | this License, without any additional terms or conditions. |
| 8929 | Notwithstanding the above, nothing herein shall supersede or modify |
| 8930 | the terms of any separate license agreement you may have executed |
| 8931 | with Licensor regarding such Contributions. |
| 8932 | |
| 8933 | 6. Trademarks. This License does not grant permission to use the trade |
| 8934 | names, trademarks, service marks, or product names of the Licensor, |
| 8935 | except as required for reasonable and customary use in describing the |
| 8936 | origin of the Work and reproducing the content of the NOTICE file. |
| 8937 | |
| 8938 | 7. Disclaimer of Warranty. Unless required by applicable law or |
| 8939 | agreed to in writing, Licensor provides the Work (and each |
| 8940 | Contributor provides its Contributions) on an "AS IS" BASIS, |
| 8941 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 8942 | implied, including, without limitation, any warranties or conditions |
| 8943 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
| 8944 | PARTICULAR PURPOSE. You are solely responsible for determining the |
| 8945 | appropriateness of using or redistributing the Work and assume any |
| 8946 | risks associated with Your exercise of permissions under this License. |
| 8947 | |
| 8948 | 8. Limitation of Liability. In no event and under no legal theory, |
| 8949 | whether in tort (including negligence), contract, or otherwise, |
| 8950 | unless required by applicable law (such as deliberate and grossly |
| 8951 | negligent acts) or agreed to in writing, shall any Contributor be |
| 8952 | liable to You for damages, including any direct, indirect, special, |
| 8953 | incidental, or consequential damages of any character arising as a |
| 8954 | result of this License or out of the use or inability to use the |
| 8955 | Work (including but not limited to damages for loss of goodwill, |
| 8956 | work stoppage, computer failure or malfunction, or any and all |
| 8957 | other commercial damages or losses), even if such Contributor |
| 8958 | has been advised of the possibility of such damages. |
| 8959 | |
| 8960 | 9. Accepting Warranty or Additional Liability. While redistributing |
| 8961 | the Work or Derivative Works thereof, You may choose to offer, |
| 8962 | and charge a fee for, acceptance of support, warranty, indemnity, |
| 8963 | or other liability obligations and/or rights consistent with this |
| 8964 | License. However, in accepting such obligations, You may act only |
| 8965 | on Your own behalf and on Your sole responsibility, not on behalf |
| 8966 | of any other Contributor, and only if You agree to indemnify, |
| 8967 | defend, and hold each Contributor harmless for any liability |
| 8968 | incurred by, or claims asserted against, such Contributor by reason |
| 8969 | of your accepting any such warranty or additional liability. |
| 8970 | |
| 8971 | END OF TERMS AND CONDITIONS |
| 8972 | |
| 8973 | APPENDIX: How to apply the Apache License to your work. |
| 8974 | |
| 8975 | To apply the Apache License to your work, attach the following |
| 8976 | boilerplate notice, with the fields enclosed by brackets "[]" |
| 8977 | replaced with your own identifying information. (Don't include |
| 8978 | the brackets!) The text should be enclosed in the appropriate |
| 8979 | comment syntax for the file format. We also recommend that a |
| 8980 | file or class name and description of purpose be included on the |
| 8981 | same "printed page" as the copyright notice for easier |
| 8982 | identification within third-party archives. |
| 8983 | |
| 8984 | Copyright 2011 Marco Braak |
| 8985 | |
| 8986 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8987 | you may not use this file except in compliance with the License. |
| 8988 | You may obtain a copy of the License at |
| 8989 | |
| 8990 | http://www.apache.org/licenses/LICENSE-2.0 |
| 8991 | |
| 8992 | Unless required by applicable law or agreed to in writing, software |
| 8993 | distributed under the License is distributed on an "AS IS" BASIS, |
| 8994 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 8995 | See the License for the specific language governing permissions and |
| 8996 | limitations under the License. |
| 8997 | |
Ben Murdoch | ba5b9a6 | 2013-08-12 14:20:17 +0100 | [diff] [blame] | 8998 | Copyright 2007, Google Inc. |
| 8999 | All rights reserved. |
| 9000 | |
| 9001 | Redistribution and use in source and binary forms, with or without |
| 9002 | modification, are permitted provided that the following conditions are |
| 9003 | met: |
| 9004 | |
| 9005 | * Redistributions of source code must retain the above copyright |
| 9006 | notice, this list of conditions and the following disclaimer. |
| 9007 | * Redistributions in binary form must reproduce the above |
| 9008 | copyright notice, this list of conditions and the following disclaimer |
| 9009 | in the documentation and/or other materials provided with the |
| 9010 | distribution. |
| 9011 | * Neither the name of Google Inc. nor the names of its |
| 9012 | contributors may be used to endorse or promote products derived from |
| 9013 | this software without specific prior written permission. |
| 9014 | |
| 9015 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 9016 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 9017 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 9018 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 9019 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 9020 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 9021 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 9022 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 9023 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 9024 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 9025 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 9026 | |
| 9027 | ------------------------------------------------------------------------------- |
| 9028 | |
| 9029 | The file url_parse.cc is based on nsURLParsers.cc from Mozilla. This file is |
| 9030 | licensed separately as follows: |
| 9031 | |
| 9032 | The contents of this file are subject to the Mozilla Public License Version |
| 9033 | 1.1 (the "License"); you may not use this file except in compliance with |
| 9034 | the License. You may obtain a copy of the License at |
| 9035 | http://www.mozilla.org/MPL/ |
| 9036 | |
| 9037 | Software distributed under the License is distributed on an "AS IS" basis, |
| 9038 | WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 9039 | for the specific language governing rights and limitations under the |
| 9040 | License. |
| 9041 | |
| 9042 | The Original Code is mozilla.org code. |
| 9043 | |
| 9044 | The Initial Developer of the Original Code is |
| 9045 | Netscape Communications Corporation. |
| 9046 | Portions created by the Initial Developer are Copyright (C) 1998 |
| 9047 | the Initial Developer. All Rights Reserved. |
| 9048 | |
| 9049 | Contributor(s): |
| 9050 | Darin Fisher (original author) |
| 9051 | |
| 9052 | Alternatively, the contents of this file may be used under the terms of |
| 9053 | either the GNU General Public License Version 2 or later (the "GPL"), or |
| 9054 | the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 9055 | in which case the provisions of the GPL or the LGPL are applicable instead |
| 9056 | of those above. If you wish to allow use of your version of this file only |
| 9057 | under the terms of either the GPL or the LGPL, and not to allow others to |
| 9058 | use your version of this file under the terms of the MPL, indicate your |
| 9059 | decision by deleting the provisions above and replace them with the notice |
| 9060 | and other provisions required by the GPL or the LGPL. If you do not delete |
| 9061 | the provisions above, a recipient may use your version of this file under |
| 9062 | the terms of any one of the MPL, the GPL or the LGPL. |
| 9063 | |
| 9064 | Copyright 2007, Google Inc. |
| 9065 | All rights reserved. |
| 9066 | |
| 9067 | Redistribution and use in source and binary forms, with or without |
| 9068 | modification, are permitted provided that the following conditions are |
| 9069 | met: |
| 9070 | |
| 9071 | * Redistributions of source code must retain the above copyright |
| 9072 | notice, this list of conditions and the following disclaimer. |
| 9073 | * Redistributions in binary form must reproduce the above |
| 9074 | copyright notice, this list of conditions and the following disclaimer |
| 9075 | in the documentation and/or other materials provided with the |
| 9076 | distribution. |
| 9077 | * Neither the name of Google Inc. nor the names of its |
| 9078 | contributors may be used to endorse or promote products derived from |
| 9079 | this software without specific prior written permission. |
| 9080 | |
| 9081 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 9082 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 9083 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 9084 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 9085 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 9086 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 9087 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 9088 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 9089 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 9090 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 9091 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 9092 | |
| 9093 | ------------------------------------------------------------------------------- |
| 9094 | |
| 9095 | The file url_parse.cc is based on nsURLParsers.cc from Mozilla. This file is |
| 9096 | licensed separately as follows: |
| 9097 | |
| 9098 | The contents of this file are subject to the Mozilla Public License Version |
| 9099 | 1.1 (the "License"); you may not use this file except in compliance with |
| 9100 | the License. You may obtain a copy of the License at |
| 9101 | http://www.mozilla.org/MPL/ |
| 9102 | |
| 9103 | Software distributed under the License is distributed on an "AS IS" basis, |
| 9104 | WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 9105 | for the specific language governing rights and limitations under the |
| 9106 | License. |
| 9107 | |
| 9108 | The Original Code is mozilla.org code. |
| 9109 | |
| 9110 | The Initial Developer of the Original Code is |
| 9111 | Netscape Communications Corporation. |
| 9112 | Portions created by the Initial Developer are Copyright (C) 1998 |
| 9113 | the Initial Developer. All Rights Reserved. |
| 9114 | |
| 9115 | Contributor(s): |
| 9116 | Darin Fisher (original author) |
| 9117 | |
| 9118 | Alternatively, the contents of this file may be used under the terms of |
| 9119 | either the GNU General Public License Version 2 or later (the "GPL"), or |
| 9120 | the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 9121 | in which case the provisions of the GPL or the LGPL are applicable instead |
| 9122 | of those above. If you wish to allow use of your version of this file only |
| 9123 | under the terms of either the GPL or the LGPL, and not to allow others to |
| 9124 | use your version of this file under the terms of the MPL, indicate your |
| 9125 | decision by deleting the provisions above and replace them with the notice |
| 9126 | and other provisions required by the GPL or the LGPL. If you do not delete |
| 9127 | the provisions above, a recipient may use your version of this file under |
| 9128 | the terms of any one of the MPL, the GPL or the LGPL. |
| 9129 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 9130 | This license applies to all parts of V8 that are not externally |
| 9131 | maintained libraries. The externally maintained libraries used by V8 |
| 9132 | are: |
| 9133 | |
| 9134 | - PCRE test suite, located in |
| 9135 | test/mjsunit/third_party/regexp-pcre.js. This is based on the |
| 9136 | test suite from PCRE-7.3, which is copyrighted by the University |
| 9137 | of Cambridge and Google, Inc. The copyright notice and license |
| 9138 | are embedded in regexp-pcre.js. |
| 9139 | |
| 9140 | - Layout tests, located in test/mjsunit/third_party. These are |
| 9141 | based on layout tests from webkit.org which are copyrighted by |
| 9142 | Apple Computer, Inc. and released under a 3-clause BSD license. |
| 9143 | |
| 9144 | - Strongtalk assembler, the basis of the files assembler-arm-inl.h, |
| 9145 | assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h, |
| 9146 | assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h, |
| 9147 | assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h, |
| 9148 | assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h. |
| 9149 | This code is copyrighted by Sun Microsystems Inc. and released |
| 9150 | under a 3-clause BSD license. |
| 9151 | |
| 9152 | - Valgrind client API header, located at third_party/valgrind/valgrind.h |
| 9153 | This is release under the BSD license. |
| 9154 | |
| 9155 | These libraries have their own licenses; we recommend you read them, |
| 9156 | as their terms may differ from the terms below. |
| 9157 | |
| 9158 | Copyright 2006-2012, the V8 project authors. All rights reserved. |
| 9159 | Redistribution and use in source and binary forms, with or without |
| 9160 | modification, are permitted provided that the following conditions are |
| 9161 | met: |
| 9162 | |
| 9163 | * Redistributions of source code must retain the above copyright |
| 9164 | notice, this list of conditions and the following disclaimer. |
| 9165 | * Redistributions in binary form must reproduce the above |
| 9166 | copyright notice, this list of conditions and the following |
| 9167 | disclaimer in the documentation and/or other materials provided |
| 9168 | with the distribution. |
| 9169 | * Neither the name of Google Inc. nor the names of its |
| 9170 | contributors may be used to endorse or promote products derived |
| 9171 | from this software without specific prior written permission. |
| 9172 | |
| 9173 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 9174 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 9175 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 9176 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 9177 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 9178 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 9179 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 9180 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 9181 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 9182 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 9183 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |