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