1// Copyright 2014 The Chromium Authors. All rights reserved.
2//
3// Redistribution and use in source and binary forms, with or without
4// modification, are permitted provided that the following conditions are
5// met:
6//
7//    * Redistributions of source code must retain the above copyright
8// notice, this list of conditions and the following disclaimer.
9//    * Redistributions in binary form must reproduce the above
10// copyright notice, this list of conditions and the following disclaimer
11// in the documentation and/or other materials provided with the
12// distribution.
13//    * Neither the name of Google Inc. nor the names of its
14// contributors may be used to endorse or promote products derived from
15// this software without specific prior written permission.
16//
17// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29/****************************************************************
30 *
31 * The author of this software is David M. Gay.
32 *
33 * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
34 *
35 * Permission to use, copy, modify, and distribute this software for any
36 * purpose without fee is hereby granted, provided that this entire notice
37 * is included in all copies of any software which is or includes a copy
38 * or modification of this software and in all copies of the supporting
39 * documentation for such software.
40 *
41 * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
42 * WARRANTY.  IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
43 * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
44 * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
45 *
46 ***************************************************************/
47
48/* Copyright (c) 2008-2009, Google Inc.
49 * All rights reserved.
50 *
51 * Redistribution and use in source and binary forms, with or without
52 * modification, are permitted provided that the following conditions are
53 * met:
54 *
55 *     * Redistributions of source code must retain the above copyright
56 * notice, this list of conditions and the following disclaimer.
57 *     * Neither the name of Google Inc. nor the names of its
58 * contributors may be used to endorse or promote products derived from
59 * this software without specific prior written permission.
60 *
61 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
62 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
63 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
64 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
65 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
66 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
67 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
68 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
69 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
70 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
71 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
72 *
73 * ---
74 * Author: Kostya Serebryany
75 */
76
77/* ***** BEGIN LICENSE BLOCK *****
78 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
79 *
80 * The contents of this file are subject to the Mozilla Public License Version
81 * 1.1 (the "License"); you may not use this file except in compliance with
82 * the License. You may obtain a copy of the License at
83 * http://www.mozilla.org/MPL/
84 *
85 * Software distributed under the License is distributed on an "AS IS" basis,
86 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
87 * for the specific language governing rights and limitations under the
88 * License.
89 *
90 * The Original Code is the Netscape Portable Runtime (NSPR).
91 *
92 * The Initial Developer of the Original Code is
93 * Netscape Communications Corporation.
94 * Portions created by the Initial Developer are Copyright (C) 1998-2000
95 * the Initial Developer. All Rights Reserved.
96 *
97 * Contributor(s):
98 *
99 * Alternatively, the contents of this file may be used under the terms of
100 * either the GNU General Public License Version 2 or later (the "GPL"), or
101 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
102 * in which case the provisions of the GPL or the LGPL are applicable instead
103 * of those above. If you wish to allow use of your version of this file only
104 * under the terms of either the GPL or the LGPL, and not to allow others to
105 * use your version of this file under the terms of the MPL, indicate your
106 * decision by deleting the provisions above and replace them with the notice
107 * and other provisions required by the GPL or the LGPL. If you do not delete
108 * the provisions above, a recipient may use your version of this file under
109 * the terms of any one of the MPL, the GPL or the LGPL.
110 *
111 * ***** END LICENSE BLOCK ***** */
112
113Paul Hsieh OLD BSD license
114
115Copyright (c) 2010, Paul Hsieh
116All rights reserved.
117
118Redistribution and use in source and binary forms, with or without modification,
119are permitted provided that the following conditions are met:
120
121* Redistributions of source code must retain the above copyright notice, this
122  list of conditions and the following disclaimer.
123* Redistributions in binary form must reproduce the above copyright notice, this
124  list of conditions and the following disclaimer in the documentation and/or
125  other materials provided with the distribution.
126* Neither my name, Paul Hsieh, nor the names of any other contributors to the
127  code use may not be used to endorse or promote products derived from this
128  software without specific prior written permission.
129
130THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
131ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
132WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
133DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
134ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
135(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
136LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
137ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
138(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
139SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
140
141// Copyright (c) 2006, Google Inc.
142// All rights reserved.
143//
144// Redistribution and use in source and binary forms, with or without
145// modification, are permitted provided that the following conditions are
146// met:
147//
148//     * Redistributions of source code must retain the above copyright
149// notice, this list of conditions and the following disclaimer.
150//     * Redistributions in binary form must reproduce the above
151// copyright notice, this list of conditions and the following disclaimer
152// in the documentation and/or other materials provided with the
153// distribution.
154//     * Neither the name of Google Inc. nor the names of its
155// contributors may be used to endorse or promote products derived from
156// this software without specific prior written permission.
157//
158// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
159// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
160// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
161// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
162// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
163// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
164// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
165// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
166// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
167// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
168// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
169
170   Notice that the following BSD-style license applies to the Valgrind header
171   files used by Chromium (valgrind.h and memcheck.h). However, the rest of
172   Valgrind is licensed under the terms of the GNU General Public License,
173   version 2, unless otherwise indicated.
174
175   ----------------------------------------------------------------
176
177   Copyright (C) 2000-2008 Julian Seward.  All rights reserved.
178
179   Redistribution and use in source and binary forms, with or without
180   modification, are permitted provided that the following conditions
181   are met:
182
183   1. Redistributions of source code must retain the above copyright
184      notice, this list of conditions and the following disclaimer.
185
186   2. The origin of this software must not be misrepresented; you must 
187      not claim that you wrote the original software.  If you use this 
188      software in a product, an acknowledgment in the product 
189      documentation would be appreciated but is not required.
190
191   3. Altered source versions must be plainly marked as such, and must
192      not be misrepresented as being the original software.
193
194   4. The name of the author may not be used to endorse or promote 
195      products derived from this software without specific prior written 
196      permission.
197
198   THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
199   OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
200   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
201   ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
202   DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
203   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
204   GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
205   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
206   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
207   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
208   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
209
210  Copyright (c) 2007 Red Hat, inc
211
212  Permission is hereby granted, free of charge, to any person
213  obtaining a copy of this software and associated documentation files
214  (the "Software"), to deal in the Software without restriction,
215  including without limitation the rights to use, copy, modify, merge,
216  publish, distribute, sublicense, and/or sell copies of the Software,
217  and to permit persons to whom the Software is furnished to do so,
218  subject to the following conditions: 
219
220  The above copyright notice and this permission notice shall be
221  included in all copies or substantial portions of the Software. 
222
223  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
224  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
225  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
226  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
227  BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
228  ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
229  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
230  SOFTWARE.
231
232Copyright 2003-2005 Colin Percival
233All rights reserved
234
235Redistribution and use in source and binary forms, with or without
236modification, are permitted providing that the following conditions 
237are met:
2381. Redistributions of source code must retain the above copyright
239   notice, this list of conditions and the following disclaimer.
2402. Redistributions in binary form must reproduce the above copyright
241   notice, this list of conditions and the following disclaimer in the
242   documentation and/or other materials provided with the distribution.
243
244THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
245IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
246WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
247ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
248DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
249DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
250OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
251HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
252STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
253IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
254POSSIBILITY OF SUCH DAMAGE.
255
256
257                                 Apache License
258                           Version 2.0, January 2004
259                        http://www.apache.org/licenses/
260
261   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
262
263   1. Definitions.
264
265      "License" shall mean the terms and conditions for use, reproduction,
266      and distribution as defined by Sections 1 through 9 of this document.
267
268      "Licensor" shall mean the copyright owner or entity authorized by
269      the copyright owner that is granting the License.
270
271      "Legal Entity" shall mean the union of the acting entity and all
272      other entities that control, are controlled by, or are under common
273      control with that entity. For the purposes of this definition,
274      "control" means (i) the power, direct or indirect, to cause the
275      direction or management of such entity, whether by contract or
276      otherwise, or (ii) ownership of fifty percent (50%) or more of the
277      outstanding shares, or (iii) beneficial ownership of such entity.
278
279      "You" (or "Your") shall mean an individual or Legal Entity
280      exercising permissions granted by this License.
281
282      "Source" form shall mean the preferred form for making modifications,
283      including but not limited to software source code, documentation
284      source, and configuration files.
285
286      "Object" form shall mean any form resulting from mechanical
287      transformation or translation of a Source form, including but
288      not limited to compiled object code, generated documentation,
289      and conversions to other media types.
290
291      "Work" shall mean the work of authorship, whether in Source or
292      Object form, made available under the License, as indicated by a
293      copyright notice that is included in or attached to the work
294      (an example is provided in the Appendix below).
295
296      "Derivative Works" shall mean any work, whether in Source or Object
297      form, that is based on (or derived from) the Work and for which the
298      editorial revisions, annotations, elaborations, or other modifications
299      represent, as a whole, an original work of authorship. For the purposes
300      of this License, Derivative Works shall not include works that remain
301      separable from, or merely link (or bind by name) to the interfaces of,
302      the Work and Derivative Works thereof.
303
304      "Contribution" shall mean any work of authorship, including
305      the original version of the Work and any modifications or additions
306      to that Work or Derivative Works thereof, that is intentionally
307      submitted to Licensor for inclusion in the Work by the copyright owner
308      or by an individual or Legal Entity authorized to submit on behalf of
309      the copyright owner. For the purposes of this definition, "submitted"
310      means any form of electronic, verbal, or written communication sent
311      to the Licensor or its representatives, including but not limited to
312      communication on electronic mailing lists, source code control systems,
313      and issue tracking systems that are managed by, or on behalf of, the
314      Licensor for the purpose of discussing and improving the Work, but
315      excluding communication that is conspicuously marked or otherwise
316      designated in writing by the copyright owner as "Not a Contribution."
317
318      "Contributor" shall mean Licensor and any individual or Legal Entity
319      on behalf of whom a Contribution has been received by Licensor and
320      subsequently incorporated within the Work.
321
322   2. Grant of Copyright License. Subject to the terms and conditions of
323      this License, each Contributor hereby grants to You a perpetual,
324      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
325      copyright license to reproduce, prepare Derivative Works of,
326      publicly display, publicly perform, sublicense, and distribute the
327      Work and such Derivative Works in Source or Object form.
328
329   3. Grant of Patent License. Subject to the terms and conditions of
330      this License, each Contributor hereby grants to You a perpetual,
331      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
332      (except as stated in this section) patent license to make, have made,
333      use, offer to sell, sell, import, and otherwise transfer the Work,
334      where such license applies only to those patent claims licensable
335      by such Contributor that are necessarily infringed by their
336      Contribution(s) alone or by combination of their Contribution(s)
337      with the Work to which such Contribution(s) was submitted. If You
338      institute patent litigation against any entity (including a
339      cross-claim or counterclaim in a lawsuit) alleging that the Work
340      or a Contribution incorporated within the Work constitutes direct
341      or contributory patent infringement, then any patent licenses
342      granted to You under this License for that Work shall terminate
343      as of the date such litigation is filed.
344
345   4. Redistribution. You may reproduce and distribute copies of the
346      Work or Derivative Works thereof in any medium, with or without
347      modifications, and in Source or Object form, provided that You
348      meet the following conditions:
349
350      (a) You must give any other recipients of the Work or
351          Derivative Works a copy of this License; and
352
353      (b) You must cause any modified files to carry prominent notices
354          stating that You changed the files; and
355
356      (c) You must retain, in the Source form of any Derivative Works
357          that You distribute, all copyright, patent, trademark, and
358          attribution notices from the Source form of the Work,
359          excluding those notices that do not pertain to any part of
360          the Derivative Works; and
361
362      (d) If the Work includes a "NOTICE" text file as part of its
363          distribution, then any Derivative Works that You distribute must
364          include a readable copy of the attribution notices contained
365          within such NOTICE file, excluding those notices that do not
366          pertain to any part of the Derivative Works, in at least one
367          of the following places: within a NOTICE text file distributed
368          as part of the Derivative Works; within the Source form or
369          documentation, if provided along with the Derivative Works; or,
370          within a display generated by the Derivative Works, if and
371          wherever such third-party notices normally appear. The contents
372          of the NOTICE file are for informational purposes only and
373          do not modify the License. You may add Your own attribution
374          notices within Derivative Works that You distribute, alongside
375          or as an addendum to the NOTICE text from the Work, provided
376          that such additional attribution notices cannot be construed
377          as modifying the License.
378
379      You may add Your own copyright statement to Your modifications and
380      may provide additional or different license terms and conditions
381      for use, reproduction, or distribution of Your modifications, or
382      for any such Derivative Works as a whole, provided Your use,
383      reproduction, and distribution of the Work otherwise complies with
384      the conditions stated in this License.
385
386   5. Submission of Contributions. Unless You explicitly state otherwise,
387      any Contribution intentionally submitted for inclusion in the Work
388      by You to the Licensor shall be under the terms and conditions of
389      this License, without any additional terms or conditions.
390      Notwithstanding the above, nothing herein shall supersede or modify
391      the terms of any separate license agreement you may have executed
392      with Licensor regarding such Contributions.
393
394   6. Trademarks. This License does not grant permission to use the trade
395      names, trademarks, service marks, or product names of the Licensor,
396      except as required for reasonable and customary use in describing the
397      origin of the Work and reproducing the content of the NOTICE file.
398
399   7. Disclaimer of Warranty. Unless required by applicable law or
400      agreed to in writing, Licensor provides the Work (and each
401      Contributor provides its Contributions) on an "AS IS" BASIS,
402      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
403      implied, including, without limitation, any warranties or conditions
404      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
405      PARTICULAR PURPOSE. You are solely responsible for determining the
406      appropriateness of using or redistributing the Work and assume any
407      risks associated with Your exercise of permissions under this License.
408
409   8. Limitation of Liability. In no event and under no legal theory,
410      whether in tort (including negligence), contract, or otherwise,
411      unless required by applicable law (such as deliberate and grossly
412      negligent acts) or agreed to in writing, shall any Contributor be
413      liable to You for damages, including any direct, indirect, special,
414      incidental, or consequential damages of any character arising as a
415      result of this License or out of the use or inability to use the
416      Work (including but not limited to damages for loss of goodwill,
417      work stoppage, computer failure or malfunction, or any and all
418      other commercial damages or losses), even if such Contributor
419      has been advised of the possibility of such damages.
420
421   9. Accepting Warranty or Additional Liability. While redistributing
422      the Work or Derivative Works thereof, You may choose to offer,
423      and charge a fee for, acceptance of support, warranty, indemnity,
424      or other liability obligations and/or rights consistent with this
425      License. However, in accepting such obligations, You may act only
426      on Your own behalf and on Your sole responsibility, not on behalf
427      of any other Contributor, and only if You agree to indemnify,
428      defend, and hold each Contributor harmless for any liability
429      incurred by, or claims asserted against, such Contributor by reason
430      of your accepting any such warranty or additional liability.
431
432   END OF TERMS AND CONDITIONS
433
434   APPENDIX: How to apply the Apache License to your work.
435
436      To apply the Apache License to your work, attach the following
437      boilerplate notice, with the fields enclosed by brackets "[]"
438      replaced with your own identifying information. (Don't include
439      the brackets!)  The text should be enclosed in the appropriate
440      comment syntax for the file format. We also recommend that a
441      file or class name and description of purpose be included on the
442      same "printed page" as the copyright notice for easier
443      identification within third-party archives.
444
445   Copyright 2007-2009 Google Inc.
446   Copyright 2007-2009 WebDriver committers
447
448   Licensed under the Apache License, Version 2.0 (the "License");
449   you may not use this file except in compliance with the License.
450   You may obtain a copy of the License at
451
452       http://www.apache.org/licenses/LICENSE-2.0
453
454   Unless required by applicable law or agreed to in writing, software
455   distributed under the License is distributed on an "AS IS" BASIS,
456   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
457   See the License for the specific language governing permissions and
458   limitations under the License.
459
460
461// Copyright 2013 Google Inc.
462//
463// Licensed under the Apache License, Version 2.0 (the "License");
464// you may not use this file except in compliance with the License.
465// You may obtain a copy of the License at
466//
467//      http://www.apache.org/licenses/LICENSE-2.0
468//
469// Unless required by applicable law or agreed to in writing, software
470// distributed under the License is distributed on an "AS IS" BASIS,
471// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
472// See the License for the specific language governing permissions and
473// limitations under the License.
474
475Copyright (C) 2009 by Tung Mac.
476
477Permission is hereby granted, free of charge, to any person obtaining a copy
478of this software and associated documentation files (the "Software"), to deal
479in the Software without restriction, including without limitation the rights
480to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
481copies of the Software, and to permit persons to whom the Software is
482furnished to do so, subject to the following conditions:
483
484The above copyright notice and this permission notice shall be included in
485all copies or substantial portions of the Software.
486
487THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
488IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
489FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
490AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
491LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
492OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
493THE SOFTWARE.
494
495/* ***** BEGIN LICENSE BLOCK *****
496 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
497 *
498 * The contents of this file are subject to the Mozilla Public License Version
499 * 1.1 (the "License"); you may not use this file except in compliance with
500 * the License. You may obtain a copy of the License at
501 * http://www.mozilla.org/MPL/
502 *
503 * Software distributed under the License is distributed on an "AS IS" basis,
504 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
505 * for the specific language governing rights and limitations under the
506 * License.
507 *
508 * The Original Code is the Netscape security libraries.
509 *
510 * The Initial Developer of the Original Code is
511 * Netscape Communications Corporation.
512 * Portions created by the Initial Developer are Copyright (C) 2000
513 * the Initial Developer. All Rights Reserved.
514 *
515 * Contributor(s):
516 *
517 * Alternatively, the contents of this file may be used under the terms of
518 * either the GNU General Public License Version 2 or later (the "GPL"), or
519 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
520 * in which case the provisions of the GPL or the LGPL are applicable instead
521 * of those above. If you wish to allow use of your version of this file only
522 * under the terms of either the GPL or the LGPL, and not to allow others to
523 * use your version of this file under the terms of the MPL, indicate your
524 * decision by deleting the provisions above and replace them with the notice
525 * and other provisions required by the GPL or the LGPL. If you do not delete
526 * the provisions above, a recipient may use your version of this file under
527 * the terms of any one of the MPL, the GPL or the LGPL.
528 *
529 * ***** END LICENSE BLOCK ***** */
530
531/* ***** BEGIN LICENSE BLOCK *****
532 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
533 *
534 * The contents of this file are subject to the Mozilla Public License Version
535 * 1.1 (the "License"); you may not use this file except in compliance with
536 * the License. You may obtain a copy of the License at
537 * http://www.mozilla.org/MPL/
538 *
539 * Software distributed under the License is distributed on an "AS IS" basis,
540 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
541 * for the specific language governing rights and limitations under the
542 * License.
543 *
544 * The Original Code is the Netscape security libraries.
545 *
546 * The Initial Developer of the Original Code is
547 * Netscape Communications Corporation.
548 * Portions created by the Initial Developer are Copyright (C) 1994-2000
549 * the Initial Developer. All Rights Reserved.
550 *
551 * Contributor(s):
552 *
553 * Alternatively, the contents of this file may be used under the terms of
554 * either the GNU General Public License Version 2 or later (the "GPL"), or
555 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
556 * in which case the provisions of the GPL or the LGPL are applicable instead
557 * of those above. If you wish to allow use of your version of this file only
558 * under the terms of either the GPL or the LGPL, and not to allow others to
559 * use your version of this file under the terms of the MPL, indicate your
560 * decision by deleting the provisions above and replace them with the notice
561 * and other provisions required by the GPL or the LGPL. If you do not delete
562 * the provisions above, a recipient may use your version of this file under
563 * the terms of any one of the MPL, the GPL or the LGPL.
564 *
565 * ***** END LICENSE BLOCK ***** */
566
567Name: fancy_urllib
568URL: http://googleappengine.googlecode.com/svn/trunk/python/lib/fancy_urllib
569License: Apache 2.0
570License File: README.chromium
571Security Critical: no
572
573The fancy_urllib library was obtained from
574http://googleappengine.googlecode.com/svn/trunk/python/lib/fancy_urllib/fancy_urllib/__init__.py
575under the following license (http://googleappengine.googlecode.com/svn/trunk/python/LICENSE):
576
577GOOGLE APP ENGINE SDK
578=====================
579Copyright 2008 Google Inc.
580All rights reserved.
581
582Licensed under the Apache License, Version 2.0 (the "License");
583you may not use this file except in compliance with the License.
584You may obtain a copy of the License at
585
586    http://www.apache.org/licenses/LICENSE-2.0
587
588Unless required by applicable law or agreed to in writing, software
589distributed under the License is distributed on an "AS IS" BASIS,
590WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
591See the License for the specific language governing permissions and
592limitations under the License.
593
594                        README for newlib-2.0.0 release
595           (mostly cribbed from the README in the gdb-4.13 release)
596
597This is `newlib', a simple ANSI C library, math library, and collection
598of board support packages.
599
600The newlib and libgloss subdirectories are a collection of software from
601several sources, each wi6h their own copyright and license.  See the file
602COPYING.NEWLIB for details.  The rest of the release tree is under either
603the GNU GPL or LGPL licenses.
604
605THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
606IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
607WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
608
609
610Unpacking and Installation -- quick overview
611==========================
612
613When you unpack the newlib-2.0.0.tar.gz file, you'll find a directory
614called `newlib-2.0.0', which contains:
615
616COPYING          config/          install-sh*      mpw-configure
617COPYING.LIB      config-ml.in     libgloss/        mpw-install
618COPYING.NEWLIB   config.guess*    mkinstalldirs*   newlib/
619CYGNUS           config.sub*      move-if-change*  symlink-tree*
620ChangeLog        configure*       mpw-README       texinfo/
621Makefile.in      configure.in     mpw-build.in
622README           etc/             mpw-config.in
623
624To build NEWLIB, you must follow the instructions in the section entitled
625"Compiling NEWLIB".
626
627This will configure and build all the libraries and crt0 (if one exists).
628If `configure' can't determine your host system type, specify one as its
629argument, e.g., sun4 or sun4sol2.  NEWLIB is most often used in cross
630environments.
631
632NOTE THAT YOU MUST HAVE ALREADY BUILT AND INSTALLED GCC and BINUTILS.
633
634
635More Documentation
636==================
637
638   Newlib documentation is available on the net via:
639   http://sourceware.org/newlib/docs.html
640
641   All the documentation for NEWLIB comes as part of the machine-readable
642distribution.  The documentation is written in Texinfo format, which is
643a documentation system that uses a single source file to produce both
644on-line information and a printed manual.  You can use one of the Info
645formatting commands to create the on-line version of the documentation
646and TeX (or `texi2roff') to typeset the printed version.
647
648   If you want to format these Info files yourself, you need one of the
649Info formatting programs, such as `texinfo-format-buffer' or `makeinfo'.
650
651   If you want to typeset and print copies of this manual, you need TeX,
652a program to print its DVI output files, and `texinfo.tex', the Texinfo
653definitions file.
654
655   TeX is a typesetting program; it does not print files directly, but
656produces output files called DVI files.  To print a typeset document,
657you need a program to print DVI files.  If your system has TeX
658installed, chances are it has such a program.  The precise command to
659use depends on your system; `lpr -d' is common; another (for PostScript
660devices) is `dvips'.  The DVI print command may require a file name
661without any extension or a `.dvi' extension.
662
663   TeX also requires a macro definitions file called `texinfo.tex'. 
664This file tells TeX how to typeset a document written in Texinfo
665format.  On its own, TeX cannot read, much less typeset a Texinfo file.
666`texinfo.tex' is distributed with NEWLIB and is located in the
667`newlib-VERSION-NUMBER/texinfo' directory.
668
669
670
671Compiling NEWLIB
672================
673
674   To compile NEWLIB, you must build it in a directory separate from
675the source directory.  If you want to run NEWLIB versions for several host 
676or target machines, you need a different `newlib' compiled for each combination
677of host and target.  `configure' is designed to make this easy by allowing 
678you to generate each configuration in a separate subdirectory.
679If your `make' program handles the `VPATH' feature correctly (like GNU `make')
680running `make' in each of these directories builds the `newlib' libraries
681specified there.
682
683   To build `newlib' in a specific directory, run `configure' with the
684`--srcdir' option to specify where to find the source. (You also need
685to specify a path to find `configure' itself from your working
686directory.  If the path to `configure' would be the same as the
687argument to `--srcdir', you can leave out the `--srcdir' option; it
688will be assumed.)
689
690   For example, with version 2.0.0, you can build NEWLIB in a separate
691directory for a Sun 4 cross m68k-aout environment like this:
692
693     cd newlib-2.0.0
694     mkdir ../newlib-m68k-aout
695     cd ../newlib-m68k-aout
696     ../newlib-2.0.0/configure --host=sun4 --target=m68k-aout
697     make
698
699   When `configure' builds a configuration using a remote source
700directory, it creates a tree for the binaries with the same structure
701(and using the same names) as the tree under the source directory.  In
702the example, you'd find the Sun 4 library `libiberty.a' in the
703directory `newlib-m68k-aout/libiberty', and NEWLIB itself in
704`newlib-m68k-aout/newlib'.
705
706   When you run `make' to build a program or library, you must run it
707in a configured directory--whatever directory you were in when you
708called `configure' (or one of its subdirectories).
709
710   The `Makefile' that `configure' generates in each source directory
711also runs recursively.  If you type `make' in a source directory such
712as `newlib-2.0.0' (or in a separate configured directory configured with
713`--srcdir=PATH/newlib-2.0.0'), you will build all the required libraries.
714
715   When you have multiple hosts or targets configured in separate
716directories, you can run `make' on them in parallel (for example, if
717they are NFS-mounted on each of the hosts); they will not interfere
718with each other.
719
720
721Specifying names for hosts and targets
722======================================
723
724   The specifications used for hosts and targets in the `configure'
725script are based on a three-part naming scheme, but some short
726predefined aliases are also supported.  The full naming scheme encodes
727three pieces of information in the following pattern:
728
729     ARCHITECTURE-VENDOR-OS
730
731   For example, you can use the alias `sun4' as a HOST argument or in a
732`--target=TARGET' option.  The equivalent full name is
733`sparc-sun-sunos4'.
734
735   The `configure' script accompanying NEWLIB does not provide any query
736facility to list all supported host and target names or aliases. 
737`configure' calls the Bourne shell script `config.sub' to map
738abbreviations to full names; you can read the script, if you wish, or
739you can use it to test your guesses on abbreviations--for example:
740
741     % sh config.sub sun4
742     sparc-sun-sunos4.1.1
743     % sh config.sub sun3
744     m68k-sun-sunos4.1.1
745     % sh config.sub decstation
746     mips-dec-ultrix4.2
747     % sh config.sub hp300bsd
748     m68k-hp-bsd
749     % sh config.sub i386v
750     i386-pc-sysv
751     % sh config.sub i786v
752     Invalid configuration `i786v': machine `i786v' not recognized
753
754The Build, Host and Target Concepts in newlib
755=============================================
756
757The build, host and target concepts are defined for gcc as follows:
758
759build: the platform on which gcc is built.
760host: the platform on which gcc is run.
761target: the platform for which gcc generates code.
762
763Since newlib is a library, the target concept does not apply to it, and the
764build, host, and target options given to the top-level configure script must
765be changed for newlib's use.
766
767The options are shifted according to these correspondences:
768
769gcc's build platform has no equivalent in newlib.
770gcc's host platform is newlib's build platform.
771gcc's target platform is newlib's host platform.
772and as mentioned before, newlib has no concept of target.
773
774`configure' options
775===================
776
777   Here is a summary of the `configure' options and arguments that are
778most often useful for building NEWLIB.  `configure' also has several other
779options not listed here.
780
781     configure [--help]
782               [--prefix=DIR]
783               [--srcdir=PATH]
784               [--target=TARGET] HOST
785
786You may introduce options with a single `-' rather than `--' if you
787prefer; but you may abbreviate option names if you use `--'.
788
789`--help'
790     Display a quick summary of how to invoke `configure'.
791
792`--prefix=DIR'
793     Configure the source to install programs and files in directory
794     `DIR'.
795
796`--exec-prefix=DIR'
797     Configure the source to install host-dependent files in directory
798     `DIR'.
799
800`--srcdir=PATH'
801     *Warning: using this option requires GNU `make', or another `make'
802     that compatibly implements the `VPATH' feature.
803     Use this option to make configurations in directories separate
804     from the NEWLIB source directories.  Among other things, you can use
805     this to build (or maintain) several configurations simultaneously,
806     in separate directories.  `configure' writes configuration
807     specific files in the current directory, but arranges for them to
808     use the source in the directory PATH.  `configure' will create
809     directories under the working directory in parallel to the source
810     directories below PATH.
811
812`--norecursion'
813     Configure only the directory level where `configure' is executed;
814     do not propagate configuration to subdirectories.
815
816`--target=TARGET'
817     Configure NEWLIB for running on the specified TARGET.
818
819     There is no convenient way to generate a list of all available
820     targets.
821
822`HOST ...'
823     Configure NEWLIB to be built using a cross compiler running on
824     the specified HOST.
825
826     There is no convenient way to generate a list of all available
827     hosts.
828
829To fit diverse usage models, NEWLIB supports a group of configuration
830options so that library features can be turned on/off according to
831target system's requirements.
832
833One feature can be enabled by specifying `--enable-FEATURE=yes' or
834`--enable-FEATURE'.  Or it can be disable by `--enable-FEATURE=no' or
835`--disable-FEATURE'.
836
837`--enable-newlib-io-pos-args'
838     Enable printf-family positional arg support.
839     Disabled by default, but some hosts enable it in configure.host.
840
841`--enable-newlib-io-c99-formats'
842     Enable C99 support in IO functions like printf/scanf.
843     Disabled by default, but some hosts enable it in configure.host.
844
845`--enable-newlib-register-fini'
846     Enable finalization function registration using atexit.
847     Disabled by default.
848
849`--enable-newlib-io-long-long'
850     Enable long long type support in IO functions like printf/scanf.
851     Disabled by default, but many hosts enable it in configure.host.
852
853`--enable-newlib-io-long-double'
854     Enable long double type support in IO functions printf/scanf.
855     Disabled by default, but some hosts enable it in configure.host.
856
857`--enable-newlib-mb'
858     Enable multibyte support.
859     Disabled by default.
860
861`--enable-newlib-iconv-encodings'
862     Enable specific comma-separated list of bidirectional iconv
863     encodings to be built-in.
864     Disabled by default.
865
866`--enable-newlib-iconv-from-encodings'
867     Enable specific comma-separated list of \"from\" iconv encodings
868     to be built-in.
869     Disabled by default.
870
871`--enable-newlib-iconv-to-encodings'
872     Enable specific comma-separated list of \"to\" iconv encodings
873     to be built-in.
874     Disabled by default.
875
876`--enable-newlib-iconv-external-ccs'
877     Enable capabilities to load external CCS files for iconv.
878     Disabled by default.
879
880`--disable-newlib-atexit-dynamic-alloc'
881     Disable dynamic allocation of atexit entries.
882     Most hosts and targets have it enabled in configure.host.
883
884`--enable-newlib-reent-small'
885     Enable small reentrant struct support.
886     Disabled by default.
887
888`--disable-newlib-fvwrite-in-streamio'
889     NEWLIB implements the vector buffer mechanism to support stream IO
890     buffering required by C standard.  This feature is possibly
891     unnecessary for embedded systems which won't change file buffering
892     with functions like `setbuf' or `setvbuf'.  The buffering mechanism
893     still acts as default for STDIN/STDOUT/STDERR even if this option
894     is specified.
895     Enabled by default.
896
897`--disable-newlib-fseek-optimization'
898     Disable fseek optimization.  It can decrease code size of application
899     calling `fseek`.
900     Enabled by default.
901
902`--disable-newlib-wide-orient'
903     C99 states that each stream has an orientation, wide or byte.  This
904     feature is possibly unnecessary for embedded systems which only do
905     byte input/output operations on stream.  It can decrease code size
906     by disable the feature.
907     Enabled by default.
908
909`--enable-newlib-nano-malloc'
910     NEWLIB has two implementations of malloc family's functions, one in
911     `mallocr.c' and the other one in `nano-mallocr.c'.  This options
912     enables the nano-malloc implementation, which is for small systems
913     with very limited memory.  Note that this implementation does not
914     support `--enable-malloc-debugging' any more.
915     Disabled by default.
916
917`--disable-newlib-unbuf-stream-opt'
918     NEWLIB does optimization when `fprintf to write only unbuffered unix
919     file'.  It creates a temorary buffer to do the optimization that
920     increases stack consumption by about `BUFSIZ' bytes.  This option
921     disables the optimization and saves size of text and stack.
922     Enabled by default.
923
924`--enable-multilib'
925     Build many library versions.
926     Enabled by default.
927
928`--enable-target-optspace'
929     Optimize for space.
930     Disabled by default.
931
932`--enable-malloc-debugging'
933     Indicate malloc debugging requested.
934     Disabled by default.
935
936`--enable-newlib-multithread'
937     Enable support for multiple threads.
938     Enabled by default.
939
940`--enable-newlib-iconv'
941     Enable iconv library support.
942     Disabled by default.
943
944`--enable-newlib-elix-level'
945     Supply desired elix library level (1-4).  Please refer to HOWTO for
946     more information about this option.
947     Set to level 0 by default.
948
949`--disable-newlib-io-float'
950     Disable printf/scanf family float support.
951     Enabled by default.
952
953`--disable-newlib-supplied-syscalls'
954     Disable newlib from supplying syscalls.
955     Enabled by default.
956
957`--enable-lite-exit'
958     Enable lite exit, a size-reduced implementation of exit that doesn't
959     invoke clean-up functions such as _fini or global destructors.
960     Disabled by default.
961
962Running the Testsuite
963=====================
964
965To run newlib's testsuite, you'll need a site.exp in your home
966directory which points dejagnu to the proper baseboards directory and
967the proper exp file for your target.
968
969Before running make check-target-newlib, set the DEJAGNU environment
970variable to point to ~/site.exp.
971
972Here is a sample site.exp:
973
974# Make sure we look in the right place for the board description files.
975if ![info exists boards_dir] {
976    set boards_dir {}
977}
978lappend boards_dir "your dejagnu/baseboards here"
979
980verbose "Global Config File: target_triplet is $target_triplet" 2
981
982global target_list
983case "$target_triplet" in {
984
985    { "mips-*elf*" } {
986	set target_list "mips-sim"
987    }
988
989    default {
990	set target_list { "unix" }
991    }
992}
993
994mips-sim refers to an exp file in the baseboards directory.  You'll
995need to add the other targets you're testing to the case statement.
996
997Now type make check-target-newlib in the top-level build directory to
998run the testsuite.
999
1000Shared newlib
1001=============
1002
1003newlib uses libtool when it is being compiled natively (with
1004--target=i[34567]86-pc-linux-gnu) on an i[34567]86-pc-linux-gnu
1005host. This allows newlib to be compiled as a shared library.
1006
1007To configure newlib, do the following from your build directory:
1008
1009$(source_dir)/src/configure --with-newlib --prefix=$(install_dir)
1010
1011configure will recognize that host == target ==
1012i[34567]86-pc-linux-gnu, so it will tell newlib to compile itself using
1013libtool. By default, libtool will build shared and static versions of
1014newlib.
1015
1016To compile a program against shared newlib, do the following (where
1017target_install_dir = $(install_dir)/i[34567]86-pc-linux-gnu):
1018
1019gcc -nostdlib $(target_install_dir)/lib/crt0.o progname.c -I $(target_install_dir)/include -L $(target_install_dir)/lib -lc -lm -lgcc
1020
1021To run the program, make sure that $(target_install_dir)/lib is listed
1022in the LD_LIBRARY_PATH environment variable.
1023
1024To create a static binary linked against newlib, do the following:
1025
1026gcc -nostdlib -static $(target_install_dir)/lib/crt0.o progname.c -I $(target_install_dir)/include -L $(target_install_dir)/lib -lc -lm
1027
1028libtool can be instructed to produce only static libraries. To build
1029newlib as a static library only, do the following from your build
1030directory:
1031
1032$(source_dir)/src/configure --with-newlib --prefix=$(install_dir) --disable-shared
1033
1034Regenerating Configuration Files
1035================================
1036
1037At times you will need to make changes to configure.in and Makefile.am files.
1038This will mean that configure and Makefile.in files will need to be
1039regenerated.
1040
1041At the top level of newlib is the file: acinclude.m4.  This file contains
1042the definition of the NEWLIB_CONFIGURE macro which is used by all configure.in
1043files in newlib.  You will notice that each directory in newlib containing
1044a configure.in file also contains an aclocal.m4 file.  This file is
1045generated by issuing: aclocal -I${relative_path_to_toplevel_newlib_dir}
1046-I${relative_path_to_toplevel_src_dir}
1047The first relative directory is to access acinclude.m4.  The second relative
1048directory is to access libtool information in the top-level src directory.
1049
1050For example, to regenerate aclocal.m4 in newlib/libc/machine/arm:
1051
1052  aclocal -I ../../.. -I ../../../..
1053
1054Note that if the top level acinclude.m4 is altered, every aclocal.m4 file 
1055in newlib should be regenerated.
1056
1057If the aclocal.m4 file is regenerated due to a change in acinclude.m4 or
1058if a configure.in file is modified, the corresponding configure file in the 
1059directory must be regenerated using autoconf.  No parameters are necessary.
1060In the previous example, we would issue:
1061
1062  autoconf
1063
1064from the newlib/libc/machine/arm directory.
1065
1066If you have regenerated a configure file or if you have modified a Makefile.am
1067file, you will need to regenerate the appropriate Makefile.in file(s).
1068For newlib, automake is a bit trickier.  First of all, all Makefile.in
1069files in newlib (and libgloss) are generated using the --cygnus option
1070of automake.  
1071
1072Makefile.in files are generated from the nearest directory up the chain
1073which contains a configure.in file.  In most cases, this is the same
1074directory containing configure.in, but there are exceptions.
1075For example, the newlib/libc directory has a number of
1076subdirectories that do not contain their own configure.in files (e.g. stdio).
1077For these directories, you must issue the automake command from newlib/libc
1078which is the nearest parent directory that contains a configure.in.
1079When you issue the automake command, you specify the subdirectory for
1080the Makefile.in you are regenerating.  For example:
1081
1082   automake --cygnus stdio/Makefile stdlib/Makefile
1083
1084Note how multiple Makefile.in files can be created in the same step.  You
1085would not specify machine/Makefile or sys/Makefile in the previous example
1086because both of these subdirectories contain their own configure.in files.
1087One would change to each of these subdirectories and in turn issue:
1088
1089   automake --cygnus Makefile
1090
1091Let's say you create a new machine directory XXXX off of newlib/libc/machine.
1092After creating a new configure.in and Makefile.am file, you would issue:
1093
1094   aclocal -I ../../..
1095   autoconf
1096   automake --cygnus Makefile
1097
1098from newlib/libc/machine/XXXX
1099
1100It is strongly advised that you use an adequate version of autotools.
1101For this latest release, the following were used: autoconf 2.68, aclocal 1.11.6, and 
1102automake 1.11.6.
1103
1104Reporting Bugs
1105==============
1106
1107The correct address for reporting bugs found in NEWLIB is
1108"newlib@sourceware.org".  Please email all bug reports to that
1109address.  Please include the NEWLIB version number (e.g., newlib-2.0.0),
1110and how you configured it (e.g., "sun4 host and m68k-aout target").
1111Since NEWLIB supports many different configurations, it is important
1112that you be precise about this.
1113
1114Archives of the newlib mailing list are on-line, see
1115	http://sourceware.org/ml/newlib/
1116
1117	pthreads-win32 - a POSIX threads library for Microsoft Windows
1118
1119
1120This file is Copyrighted
1121------------------------
1122
1123    This file is covered under the following Copyright:
1124
1125	Copyright (C) 2001,2006 Ross P. Johnson
1126	All rights reserved.
1127
1128	Everyone is permitted to copy and distribute verbatim copies
1129	of this license document, but changing it is not allowed.
1130
1131Pthreads-win32 is covered by the GNU Lesser General Public License
1132------------------------------------------------------------------
1133
1134    Pthreads-win32 is open software; you can redistribute it and/or
1135    modify it under the terms of the GNU Lesser General Public License
1136    as published by the Free Software Foundation version 2.1 of the
1137    License.
1138
1139    Pthreads-win32 is several binary link libraries, several modules,
1140    associated interface definition files and scripts used to control
1141    its compilation and installation.
1142
1143    Pthreads-win32 is distributed in the hope that it will be useful,
1144    but WITHOUT ANY WARRANTY; without even the implied warranty of
1145    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1146    GNU Lesser General Public License for more details.
1147
1148    A copy of the GNU Lesser General Public License is distributed with
1149    pthreads-win32 under the filename:
1150
1151	    COPYING.LIB
1152
1153    You should have received a copy of the version 2.1 GNU Lesser General
1154    Public License with pthreads-win32; if not, write to:
1155
1156	    Free Software Foundation, Inc.
1157	    59 Temple Place
1158	    Suite 330
1159	    Boston, MA	02111-1307
1160	    USA
1161
1162    The contact addresses for pthreads-win32 is as follows:
1163
1164        Web:	http://sources.redhat.com/pthreads-win32
1165        Email:  Ross Johnson
1166                Please use: Firstname.Lastname@homemail.com.au
1167
1168
1169
1170Pthreads-win32 copyrights and exception files
1171---------------------------------------------
1172
1173    With the exception of the files listed below, Pthreads-win32
1174    is covered under the following GNU Lesser General Public License
1175    Copyrights:
1176
1177	Pthreads-win32 - POSIX Threads Library for Win32
1178	Copyright(C) 1998 John E. Bossom
1179	Copyright(C) 1999,2006 Pthreads-win32 contributors
1180
1181	The current list of contributors is contained
1182        in the file CONTRIBUTORS included with the source
1183	code distribution. The current list of CONTRIBUTORS
1184	can also be seen at the following WWW location:
1185        http://sources.redhat.com/pthreads-win32/contributors.html
1186
1187    Contact Email: Ross Johnson
1188                   Please use: Firstname.Lastname@homemail.com.au
1189
1190    These files are not covered under one of the Copyrights listed above:
1191
1192            COPYING
1193	    COPYING.LIB
1194            tests/rwlock7.c
1195
1196    This file, COPYING, is distributed under the Copyright found at the
1197    top of this file.  It is important to note that you may distribute
1198    verbatim copies of this file but you may not modify this file.
1199
1200    The file COPYING.LIB, which contains a copy of the version 2.1
1201    GNU Lesser General Public License, is itself copyrighted by the
1202    Free Software Foundation, Inc.  Please note that the Free Software
1203    Foundation, Inc. does NOT have a copyright over Pthreads-win32,
1204    only the COPYING.LIB that is supplied with pthreads-win32.
1205
1206    The file tests/rwlock7.c is derived from code written by
1207    Dave Butenhof for his book 'Programming With POSIX(R) Threads'.
1208    The original code was obtained by free download from his website
1209    http://home.earthlink.net/~anneart/family/Threads/source.html
1210    and did not contain a copyright or author notice. It is assumed to
1211    be freely distributable.
1212
1213    In all cases one may use and distribute these exception files freely.
1214    And because one may freely distribute the LGPL covered files, the
1215    entire pthreads-win32 source may be freely used and distributed.
1216
1217
1218
1219General Copyleft and License info
1220---------------------------------
1221
1222    For general information on Copylefts, see:
1223
1224	http://www.gnu.org/copyleft/
1225
1226    For information on GNU Lesser General Public Licenses, see:
1227
1228	http://www.gnu.org/copyleft/lesser.html
1229	http://www.gnu.org/copyleft/lesser.txt
1230
1231
1232Why pthreads-win32 did not use the GNU General Public License
1233-------------------------------------------------------------
1234
1235    The goal of the pthreads-win32 project has been to
1236    provide a quality and complete implementation of the POSIX
1237    threads API for Microsoft Windows within the limits imposed
1238    by virtue of it being a stand-alone library and not
1239    linked directly to other POSIX compliant libraries. For
1240    example, some functions and features, such as those based
1241    on POSIX signals, are missing.
1242
1243    Pthreads-win32 is a library, available in several different
1244    versions depending on supported compilers, and may be used
1245    as a dynamically linked module or a statically linked set of
1246    binary modules. It is not an application on it's own.
1247
1248    It was fully intended that pthreads-win32 be usable with
1249    commercial software not covered by either the GPL or the LGPL
1250    licenses. Pthreads-win32 has many contributors to it's
1251    code base, many of whom have done so because they have
1252    used the library in commercial or proprietry software
1253    projects.
1254
1255    Releasing pthreads-win32 under the LGPL ensures that the
1256    library can be used widely, while at the same time ensures
1257    that bug fixes and improvements to the pthreads-win32 code
1258    itself is returned to benefit all current and future users
1259    of the library.
1260
1261    Although pthreads-win32 makes it possible for applications
1262    that use POSIX threads to be ported to Win32 platforms, the
1263    broader goal of the project is to encourage the use of open
1264    standards, and in particular, to make it just a little easier
1265    for developers writing Win32 applications to consider
1266    widening the potential market for their products.
1267
1268
1269                                 Apache License
1270                           Version 2.0, January 2004
1271                        http://www.apache.org/licenses/
1272
1273   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1274
1275   1. Definitions.
1276
1277      "License" shall mean the terms and conditions for use, reproduction,
1278      and distribution as defined by Sections 1 through 9 of this document.
1279
1280      "Licensor" shall mean the copyright owner or entity authorized by
1281      the copyright owner that is granting the License.
1282
1283      "Legal Entity" shall mean the union of the acting entity and all
1284      other entities that control, are controlled by, or are under common
1285      control with that entity. For the purposes of this definition,
1286      "control" means (i) the power, direct or indirect, to cause the
1287      direction or management of such entity, whether by contract or
1288      otherwise, or (ii) ownership of fifty percent (50%) or more of the
1289      outstanding shares, or (iii) beneficial ownership of such entity.
1290
1291      "You" (or "Your") shall mean an individual or Legal Entity
1292      exercising permissions granted by this License.
1293
1294      "Source" form shall mean the preferred form for making modifications,
1295      including but not limited to software source code, documentation
1296      source, and configuration files.
1297
1298      "Object" form shall mean any form resulting from mechanical
1299      transformation or translation of a Source form, including but
1300      not limited to compiled object code, generated documentation,
1301      and conversions to other media types.
1302
1303      "Work" shall mean the work of authorship, whether in Source or
1304      Object form, made available under the License, as indicated by a
1305      copyright notice that is included in or attached to the work
1306      (an example is provided in the Appendix below).
1307
1308      "Derivative Works" shall mean any work, whether in Source or Object
1309      form, that is based on (or derived from) the Work and for which the
1310      editorial revisions, annotations, elaborations, or other modifications
1311      represent, as a whole, an original work of authorship. For the purposes
1312      of this License, Derivative Works shall not include works that remain
1313      separable from, or merely link (or bind by name) to the interfaces of,
1314      the Work and Derivative Works thereof.
1315
1316      "Contribution" shall mean any work of authorship, including
1317      the original version of the Work and any modifications or additions
1318      to that Work or Derivative Works thereof, that is intentionally
1319      submitted to Licensor for inclusion in the Work by the copyright owner
1320      or by an individual or Legal Entity authorized to submit on behalf of
1321      the copyright owner. For the purposes of this definition, "submitted"
1322      means any form of electronic, verbal, or written communication sent
1323      to the Licensor or its representatives, including but not limited to
1324      communication on electronic mailing lists, source code control systems,
1325      and issue tracking systems that are managed by, or on behalf of, the
1326      Licensor for the purpose of discussing and improving the Work, but
1327      excluding communication that is conspicuously marked or otherwise
1328      designated in writing by the copyright owner as "Not a Contribution."
1329
1330      "Contributor" shall mean Licensor and any individual or Legal Entity
1331      on behalf of whom a Contribution has been received by Licensor and
1332      subsequently incorporated within the Work.
1333
1334   2. Grant of Copyright License. Subject to the terms and conditions of
1335      this License, each Contributor hereby grants to You a perpetual,
1336      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1337      copyright license to reproduce, prepare Derivative Works of,
1338      publicly display, publicly perform, sublicense, and distribute the
1339      Work and such Derivative Works in Source or Object form.
1340
1341   3. Grant of Patent License. Subject to the terms and conditions of
1342      this License, each Contributor hereby grants to You a perpetual,
1343      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1344      (except as stated in this section) patent license to make, have made,
1345      use, offer to sell, sell, import, and otherwise transfer the Work,
1346      where such license applies only to those patent claims licensable
1347      by such Contributor that are necessarily infringed by their
1348      Contribution(s) alone or by combination of their Contribution(s)
1349      with the Work to which such Contribution(s) was submitted. If You
1350      institute patent litigation against any entity (including a
1351      cross-claim or counterclaim in a lawsuit) alleging that the Work
1352      or a Contribution incorporated within the Work constitutes direct
1353      or contributory patent infringement, then any patent licenses
1354      granted to You under this License for that Work shall terminate
1355      as of the date such litigation is filed.
1356
1357   4. Redistribution. You may reproduce and distribute copies of the
1358      Work or Derivative Works thereof in any medium, with or without
1359      modifications, and in Source or Object form, provided that You
1360      meet the following conditions:
1361
1362      (a) You must give any other recipients of the Work or
1363          Derivative Works a copy of this License; and
1364
1365      (b) You must cause any modified files to carry prominent notices
1366          stating that You changed the files; and
1367
1368      (c) You must retain, in the Source form of any Derivative Works
1369          that You distribute, all copyright, patent, trademark, and
1370          attribution notices from the Source form of the Work,
1371          excluding those notices that do not pertain to any part of
1372          the Derivative Works; and
1373
1374      (d) If the Work includes a "NOTICE" text file as part of its
1375          distribution, then any Derivative Works that You distribute must
1376          include a readable copy of the attribution notices contained
1377          within such NOTICE file, excluding those notices that do not
1378          pertain to any part of the Derivative Works, in at least one
1379          of the following places: within a NOTICE text file distributed
1380          as part of the Derivative Works; within the Source form or
1381          documentation, if provided along with the Derivative Works; or,
1382          within a display generated by the Derivative Works, if and
1383          wherever such third-party notices normally appear. The contents
1384          of the NOTICE file are for informational purposes only and
1385          do not modify the License. You may add Your own attribution
1386          notices within Derivative Works that You distribute, alongside
1387          or as an addendum to the NOTICE text from the Work, provided
1388          that such additional attribution notices cannot be construed
1389          as modifying the License.
1390
1391      You may add Your own copyright statement to Your modifications and
1392      may provide additional or different license terms and conditions
1393      for use, reproduction, or distribution of Your modifications, or
1394      for any such Derivative Works as a whole, provided Your use,
1395      reproduction, and distribution of the Work otherwise complies with
1396      the conditions stated in this License.
1397
1398   5. Submission of Contributions. Unless You explicitly state otherwise,
1399      any Contribution intentionally submitted for inclusion in the Work
1400      by You to the Licensor shall be under the terms and conditions of
1401      this License, without any additional terms or conditions.
1402      Notwithstanding the above, nothing herein shall supersede or modify
1403      the terms of any separate license agreement you may have executed
1404      with Licensor regarding such Contributions.
1405
1406   6. Trademarks. This License does not grant permission to use the trade
1407      names, trademarks, service marks, or product names of the Licensor,
1408      except as required for reasonable and customary use in describing the
1409      origin of the Work and reproducing the content of the NOTICE file.
1410
1411   7. Disclaimer of Warranty. Unless required by applicable law or
1412      agreed to in writing, Licensor provides the Work (and each
1413      Contributor provides its Contributions) on an "AS IS" BASIS,
1414      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1415      implied, including, without limitation, any warranties or conditions
1416      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1417      PARTICULAR PURPOSE. You are solely responsible for determining the
1418      appropriateness of using or redistributing the Work and assume any
1419      risks associated with Your exercise of permissions under this License.
1420
1421   8. Limitation of Liability. In no event and under no legal theory,
1422      whether in tort (including negligence), contract, or otherwise,
1423      unless required by applicable law (such as deliberate and grossly
1424      negligent acts) or agreed to in writing, shall any Contributor be
1425      liable to You for damages, including any direct, indirect, special,
1426      incidental, or consequential damages of any character arising as a
1427      result of this License or out of the use or inability to use the
1428      Work (including but not limited to damages for loss of goodwill,
1429      work stoppage, computer failure or malfunction, or any and all
1430      other commercial damages or losses), even if such Contributor
1431      has been advised of the possibility of such damages.
1432
1433   9. Accepting Warranty or Additional Liability. While redistributing
1434      the Work or Derivative Works thereof, You may choose to offer,
1435      and charge a fee for, acceptance of support, warranty, indemnity,
1436      or other liability obligations and/or rights consistent with this
1437      License. However, in accepting such obligations, You may act only
1438      on Your own behalf and on Your sole responsibility, not on behalf
1439      of any other Contributor, and only if You agree to indemnify,
1440      defend, and hold each Contributor harmless for any liability
1441      incurred by, or claims asserted against, such Contributor by reason
1442      of your accepting any such warranty or additional liability.
1443
1444   END OF TERMS AND CONDITIONS
1445
1446   APPENDIX: How to apply the Apache License to your work.
1447
1448      To apply the Apache License to your work, attach the following
1449      boilerplate notice, with the fields enclosed by brackets "[]"
1450      replaced with your own identifying information. (Don't include
1451      the brackets!)  The text should be enclosed in the appropriate
1452      comment syntax for the file format. We also recommend that a
1453      file or class name and description of purpose be included on the
1454      same "printed page" as the copyright notice for easier
1455      identification within third-party archives.
1456
1457   Copyright (c) 2008, Google Inc.
1458
1459   Licensed under the Apache License, Version 2.0 (the "License");
1460   you may not use this file except in compliance with the License.
1461   You may obtain a copy of the License at
1462
1463       http://www.apache.org/licenses/LICENSE-2.0
1464
1465   Unless required by applicable law or agreed to in writing, software
1466   distributed under the License is distributed on an "AS IS" BASIS,
1467   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1468   See the License for the specific language governing permissions and
1469   limitations under the License.
1470
1471(WebKit doesn't distribute an explicit license.  This LICENSE is derived from
1472license text in the source.)
1473
1474Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
14752006, 2007 Alexander Kellett, Alexey Proskuryakov, Alex Mathews, Allan
1476Sandfeld Jensen, Alp Toker, Anders Carlsson, Andrew Wellington, Antti
1477Koivisto, Apple Inc., Arthur Langereis, Baron Schwartz, Bjoern Graf,
1478Brent Fulgham, Cameron Zwarich, Charles Samuels, Christian Dywan,
1479Collabora Ltd., Cyrus Patel, Daniel Molkentin, Dave Maclachlan, David
1480Smith, Dawit Alemayehu, Dirk Mueller, Dirk Schulze, Don Gibson, Enrico
1481Ros, Eric Seidel, Frederik Holljen, Frerich Raabe, Friedmann Kleint,
1482George Staikos, Google Inc., Graham Dennis, Harri Porten, Henry Mason,
1483Hiroyuki Ikezoe, Holger Hans Peter Freyther, IBM, James G. Speth, Jan
1484Alonzo, Jean-Loup Gailly, John Reis, Jonas Witt, Jon Shier, Jonas
1485Witt, Julien Chaffraix, Justin Haygood, Kevin Ollivier, Kevin Watters,
1486Kimmo Kinnunen, Kouhei Sutou, Krzysztof Kowalczyk, Lars Knoll, Luca
1487Bruno, Maks Orlovich, Malte Starostik, Mark Adler, Martin Jones,
1488Marvin Decker, Matt Lilek, Michael Emmel, Mitz Pettel, mozilla.org,
1489Netscape Communications Corporation, Nicholas Shanks, Nikolas
1490Zimmermann, Nokia, Oliver Hunt, Opened Hand, Paul Johnston, Peter
1491Kelly, Pioneer Research Center USA, Rich Moore, Rob Buis, Robin Dunn,
1492Ronald Tschalär, Samuel Weinig, Simon Hausmann, Staikos Computing
1493Services Inc., Stefan Schimanski, Symantec Corporation, The Dojo
1494Foundation, The Karbon Developers, Thomas Boyer, Tim Copperfield,
1495Tobias Anton, Torben Weis, Trolltech, University of Cambridge, Vaclav
1496Slavik, Waldo Bastian, Xan Lopez, Zack Rusin
1497
1498The terms and conditions vary from file to file, but are one of:
1499
1500Redistribution and use in source and binary forms, with or without
1501modification, are permitted provided that the following conditions are
1502met:
1503
15041. Redistributions of source code must retain the above copyright
1505   notice, this list of conditions and the following disclaimer.
1506
15072. Redistributions in binary form must reproduce the above copyright
1508   notice, this list of conditions and the following disclaimer in the
1509   documentation and/or other materials provided with the
1510   distribution.
1511
1512*OR*
1513
1514Redistribution and use in source and binary forms, with or without
1515modification, are permitted provided that the following conditions are
1516met:
1517
15181. Redistributions of source code must retain the above copyright
1519   notice, this list of conditions and the following disclaimer.
15202. Redistributions in binary form must reproduce the above copyright
1521   notice, this list of conditions and the following disclaimer in the
1522   documentation and/or other materials provided with the
1523   distribution.
15243. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
1525   its contributors may be used to endorse or promote products derived
1526   from this software without specific prior written permission.
1527
1528THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
1529EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1530IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1531PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
1532CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
1533EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
1534PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
1535PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
1536
1537OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1538(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1539OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1540
1541
1542                  GNU LIBRARY GENERAL PUBLIC LICENSE
1543                       Version 2, June 1991
1544
1545 Copyright (C) 1991 Free Software Foundation, Inc.
1546 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
1547 Everyone is permitted to copy and distribute verbatim copies
1548 of this license document, but changing it is not allowed.
1549
1550[This is the first released version of the library GPL.  It is
1551 numbered 2 because it goes with version 2 of the ordinary GPL.]
1552
1553                            Preamble
1554
1555  The licenses for most software are designed to take away your
1556freedom to share and change it.  By contrast, the GNU General Public
1557Licenses are intended to guarantee your freedom to share and change
1558free software--to make sure the software is free for all its users.
1559
1560  This license, the Library General Public License, applies to some
1561specially designated Free Software Foundation software, and to any
1562other libraries whose authors decide to use it.  You can use it for
1563your libraries, too.
1564
1565  When we speak of free software, we are referring to freedom, not
1566price.  Our General Public Licenses are designed to make sure that you
1567have the freedom to distribute copies of free software (and charge for
1568this service if you wish), that you receive source code or can get it
1569if you want it, that you can change the software or use pieces of it
1570in new free programs; and that you know you can do these things.
1571
1572  To protect your rights, we need to make restrictions that forbid
1573anyone to deny you these rights or to ask you to surrender the rights.
1574These restrictions translate to certain responsibilities for you if
1575you distribute copies of the library, or if you modify it.
1576
1577  For example, if you distribute copies of the library, whether gratis
1578or for a fee, you must give the recipients all the rights that we gave
1579you.  You must make sure that they, too, receive or can get the source
1580code.  If you link a program with the library, you must provide
1581complete object files to the recipients so that they can relink them
1582with the library, after making changes to the library and recompiling
1583it.  And you must show them these terms so they know their rights.
1584
1585  Our method of protecting your rights has two steps: (1) copyright
1586the library, and (2) offer you this license which gives you legal
1587permission to copy, distribute and/or modify the library.
1588
1589  Also, for each distributor's protection, we want to make certain
1590that everyone understands that there is no warranty for this free
1591library.  If the library is modified by someone else and passed on, we
1592want its recipients to know that what they have is not the original
1593version, so that any problems introduced by others will not reflect on
1594the original authors' reputations.
1595
1596  Finally, any free program is threatened constantly by software
1597patents.  We wish to avoid the danger that companies distributing free
1598software will individually obtain patent licenses, thus in effect
1599transforming the program into proprietary software.  To prevent this,
1600we have made it clear that any patent must be licensed for everyone's
1601free use or not licensed at all.
1602
1603  Most GNU software, including some libraries, is covered by the ordinary
1604GNU General Public License, which was designed for utility programs.  This
1605license, the GNU Library General Public License, applies to certain
1606designated libraries.  This license is quite different from the ordinary
1607one; be sure to read it in full, and don't assume that anything in it is
1608the same as in the ordinary license.
1609
1610  The reason we have a separate public license for some libraries is that
1611they blur the distinction we usually make between modifying or adding to a
1612program and simply using it.  Linking a program with a library, without
1613changing the library, is in some sense simply using the library, and is
1614analogous to running a utility program or application program.  However, in
1615a textual and legal sense, the linked executable is a combined work, a
1616derivative of the original library, and the ordinary General Public License
1617treats it as such.
1618
1619  Because of this blurred distinction, using the ordinary General
1620Public License for libraries did not effectively promote software
1621sharing, because most developers did not use the libraries.  We
1622concluded that weaker conditions might promote sharing better.
1623
1624  However, unrestricted linking of non-free programs would deprive the
1625users of those programs of all benefit from the free status of the
1626libraries themselves.  This Library General Public License is intended to
1627permit developers of non-free programs to use free libraries, while
1628preserving your freedom as a user of such programs to change the free
1629libraries that are incorporated in them.  (We have not seen how to achieve
1630this as regards changes in header files, but we have achieved it as regards
1631changes in the actual functions of the Library.)  The hope is that this
1632will lead to faster development of free libraries.
1633
1634  The precise terms and conditions for copying, distribution and
1635modification follow.  Pay close attention to the difference between a
1636"work based on the library" and a "work that uses the library".  The
1637former contains code derived from the library, while the latter only
1638works together with the library.
1639
1640  Note that it is possible for a library to be covered by the ordinary
1641General Public License rather than by this special one.
1642
1643                  GNU LIBRARY GENERAL PUBLIC LICENSE
1644   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1645
1646  0. This License Agreement applies to any software library which
1647contains a notice placed by the copyright holder or other authorized
1648party saying it may be distributed under the terms of this Library
1649General Public License (also called "this License").  Each licensee is
1650addressed as "you".
1651
1652  A "library" means a collection of software functions and/or data
1653prepared so as to be conveniently linked with application programs
1654(which use some of those functions and data) to form executables.
1655
1656  The "Library", below, refers to any such software library or work
1657which has been distributed under these terms.  A "work based on the
1658Library" means either the Library or any derivative work under
1659copyright law: that is to say, a work containing the Library or a
1660portion of it, either verbatim or with modifications and/or translated
1661straightforwardly into another language.  (Hereinafter, translation is
1662included without limitation in the term "modification".)
1663
1664  "Source code" for a work means the preferred form of the work for
1665making modifications to it.  For a library, complete source code means
1666all the source code for all modules it contains, plus any associated
1667interface definition files, plus the scripts used to control compilation
1668and installation of the library.
1669
1670  Activities other than copying, distribution and modification are not
1671covered by this License; they are outside its scope.  The act of
1672running a program using the Library is not restricted, and output from
1673such a program is covered only if its contents constitute a work based
1674on the Library (independent of the use of the Library in a tool for
1675writing it).  Whether that is true depends on what the Library does
1676and what the program that uses the Library does.
1677  
1678  1. You may copy and distribute verbatim copies of the Library's
1679complete source code as you receive it, in any medium, provided that
1680you conspicuously and appropriately publish on each copy an
1681appropriate copyright notice and disclaimer of warranty; keep intact
1682all the notices that refer to this License and to the absence of any
1683warranty; and distribute a copy of this License along with the
1684Library.
1685
1686  You may charge a fee for the physical act of transferring a copy,
1687and you may at your option offer warranty protection in exchange for a
1688fee.
1689
1690  2. You may modify your copy or copies of the Library or any portion
1691of it, thus forming a work based on the Library, and copy and
1692distribute such modifications or work under the terms of Section 1
1693above, provided that you also meet all of these conditions:
1694
1695    a) The modified work must itself be a software library.
1696
1697    b) You must cause the files modified to carry prominent notices
1698    stating that you changed the files and the date of any change.
1699
1700    c) You must cause the whole of the work to be licensed at no
1701    charge to all third parties under the terms of this License.
1702
1703    d) If a facility in the modified Library refers to a function or a
1704    table of data to be supplied by an application program that uses
1705    the facility, other than as an argument passed when the facility
1706    is invoked, then you must make a good faith effort to ensure that,
1707    in the event an application does not supply such function or
1708    table, the facility still operates, and performs whatever part of
1709    its purpose remains meaningful.
1710
1711    (For example, a function in a library to compute square roots has
1712    a purpose that is entirely well-defined independent of the
1713    application.  Therefore, Subsection 2d requires that any
1714    application-supplied function or table used by this function must
1715    be optional: if the application does not supply it, the square
1716    root function must still compute square roots.)
1717
1718These requirements apply to the modified work as a whole.  If
1719identifiable sections of that work are not derived from the Library,
1720and can be reasonably considered independent and separate works in
1721themselves, then this License, and its terms, do not apply to those
1722sections when you distribute them as separate works.  But when you
1723distribute the same sections as part of a whole which is a work based
1724on the Library, the distribution of the whole must be on the terms of
1725this License, whose permissions for other licensees extend to the
1726entire whole, and thus to each and every part regardless of who wrote
1727it.
1728
1729Thus, it is not the intent of this section to claim rights or contest
1730your rights to work written entirely by you; rather, the intent is to
1731exercise the right to control the distribution of derivative or
1732collective works based on the Library.
1733
1734In addition, mere aggregation of another work not based on the Library
1735with the Library (or with a work based on the Library) on a volume of
1736a storage or distribution medium does not bring the other work under
1737the scope of this License.
1738
1739  3. You may opt to apply the terms of the ordinary GNU General Public
1740License instead of this License to a given copy of the Library.  To do
1741this, you must alter all the notices that refer to this License, so
1742that they refer to the ordinary GNU General Public License, version 2,
1743instead of to this License.  (If a newer version than version 2 of the
1744ordinary GNU General Public License has appeared, then you can specify
1745that version instead if you wish.)  Do not make any other change in
1746these notices.
1747
1748  Once this change is made in a given copy, it is irreversible for
1749that copy, so the ordinary GNU General Public License applies to all
1750subsequent copies and derivative works made from that copy.
1751
1752  This option is useful when you wish to copy part of the code of
1753the Library into a program that is not a library.
1754
1755  4. You may copy and distribute the Library (or a portion or
1756derivative of it, under Section 2) in object code or executable form
1757under the terms of Sections 1 and 2 above provided that you accompany
1758it with the complete corresponding machine-readable source code, which
1759must be distributed under the terms of Sections 1 and 2 above on a
1760medium customarily used for software interchange.
1761
1762  If distribution of object code is made by offering access to copy
1763from a designated place, then offering equivalent access to copy the
1764source code from the same place satisfies the requirement to
1765distribute the source code, even though third parties are not
1766compelled to copy the source along with the object code.
1767
1768  5. A program that contains no derivative of any portion of the
1769Library, but is designed to work with the Library by being compiled or
1770linked with it, is called a "work that uses the Library".  Such a
1771work, in isolation, is not a derivative work of the Library, and
1772therefore falls outside the scope of this License.
1773
1774  However, linking a "work that uses the Library" with the Library
1775creates an executable that is a derivative of the Library (because it
1776contains portions of the Library), rather than a "work that uses the
1777library".  The executable is therefore covered by this License.
1778Section 6 states terms for distribution of such executables.
1779
1780  When a "work that uses the Library" uses material from a header file
1781that is part of the Library, the object code for the work may be a
1782derivative work of the Library even though the source code is not.
1783Whether this is true is especially significant if the work can be
1784linked without the Library, or if the work is itself a library.  The
1785threshold for this to be true is not precisely defined by law.
1786
1787  If such an object file uses only numerical parameters, data
1788structure layouts and accessors, and small macros and small inline
1789functions (ten lines or less in length), then the use of the object
1790file is unrestricted, regardless of whether it is legally a derivative
1791work.  (Executables containing this object code plus portions of the
1792Library will still fall under Section 6.)
1793
1794  Otherwise, if the work is a derivative of the Library, you may
1795distribute the object code for the work under the terms of Section 6.
1796Any executables containing that work also fall under Section 6,
1797whether or not they are linked directly with the Library itself.
1798
1799  6. As an exception to the Sections above, you may also compile or
1800link a "work that uses the Library" with the Library to produce a
1801work containing portions of the Library, and distribute that work
1802under terms of your choice, provided that the terms permit
1803modification of the work for the customer's own use and reverse
1804engineering for debugging such modifications.
1805
1806  You must give prominent notice with each copy of the work that the
1807Library is used in it and that the Library and its use are covered by
1808this License.  You must supply a copy of this License.  If the work
1809during execution displays copyright notices, you must include the
1810copyright notice for the Library among them, as well as a reference
1811directing the user to the copy of this License.  Also, you must do one
1812of these things:
1813
1814    a) Accompany the work with the complete corresponding
1815    machine-readable source code for the Library including whatever
1816    changes were used in the work (which must be distributed under
1817    Sections 1 and 2 above); and, if the work is an executable linked
1818    with the Library, with the complete machine-readable "work that
1819    uses the Library", as object code and/or source code, so that the
1820    user can modify the Library and then relink to produce a modified
1821    executable containing the modified Library.  (It is understood
1822    that the user who changes the contents of definitions files in the
1823    Library will not necessarily be able to recompile the application
1824    to use the modified definitions.)
1825
1826    b) Accompany the work with a written offer, valid for at
1827    least three years, to give the same user the materials
1828    specified in Subsection 6a, above, for a charge no more
1829    than the cost of performing this distribution.
1830
1831    c) If distribution of the work is made by offering access to copy
1832    from a designated place, offer equivalent access to copy the above
1833    specified materials from the same place.
1834
1835    d) Verify that the user has already received a copy of these
1836    materials or that you have already sent this user a copy.
1837
1838  For an executable, the required form of the "work that uses the
1839Library" must include any data and utility programs needed for
1840reproducing the executable from it.  However, as a special exception,
1841the source code distributed need not include anything that is normally
1842distributed (in either source or binary form) with the major
1843components (compiler, kernel, and so on) of the operating system on
1844which the executable runs, unless that component itself accompanies
1845the executable.
1846
1847  It may happen that this requirement contradicts the license
1848restrictions of other proprietary libraries that do not normally
1849accompany the operating system.  Such a contradiction means you cannot
1850use both them and the Library together in an executable that you
1851distribute.
1852
1853  7. You may place library facilities that are a work based on the
1854Library side-by-side in a single library together with other library
1855facilities not covered by this License, and distribute such a combined
1856library, provided that the separate distribution of the work based on
1857the Library and of the other library facilities is otherwise
1858permitted, and provided that you do these two things:
1859
1860    a) Accompany the combined library with a copy of the same work
1861    based on the Library, uncombined with any other library
1862    facilities.  This must be distributed under the terms of the
1863    Sections above.
1864
1865    b) Give prominent notice with the combined library of the fact
1866    that part of it is a work based on the Library, and explaining
1867    where to find the accompanying uncombined form of the same work.
1868
1869  8. You may not copy, modify, sublicense, link with, or distribute
1870the Library except as expressly provided under this License.  Any
1871attempt otherwise to copy, modify, sublicense, link with, or
1872distribute the Library is void, and will automatically terminate your
1873rights under this License.  However, parties who have received copies,
1874or rights, from you under this License will not have their licenses
1875terminated so long as such parties remain in full compliance.
1876
1877  9. You are not required to accept this License, since you have not
1878signed it.  However, nothing else grants you permission to modify or
1879distribute the Library or its derivative works.  These actions are
1880prohibited by law if you do not accept this License.  Therefore, by
1881modifying or distributing the Library (or any work based on the
1882Library), you indicate your acceptance of this License to do so, and
1883all its terms and conditions for copying, distributing or modifying
1884the Library or works based on it.
1885
1886  10. Each time you redistribute the Library (or any work based on the
1887Library), the recipient automatically receives a license from the
1888original licensor to copy, distribute, link with or modify the Library
1889subject to these terms and conditions.  You may not impose any further
1890restrictions on the recipients' exercise of the rights granted herein.
1891You are not responsible for enforcing compliance by third parties to
1892this License.
1893
1894  11. If, as a consequence of a court judgment or allegation of patent
1895infringement or for any other reason (not limited to patent issues),
1896conditions are imposed on you (whether by court order, agreement or
1897otherwise) that contradict the conditions of this License, they do not
1898excuse you from the conditions of this License.  If you cannot
1899distribute so as to satisfy simultaneously your obligations under this
1900License and any other pertinent obligations, then as a consequence you
1901may not distribute the Library at all.  For example, if a patent
1902license would not permit royalty-free redistribution of the Library by
1903all those who receive copies directly or indirectly through you, then
1904the only way you could satisfy both it and this License would be to
1905refrain entirely from distribution of the Library.
1906
1907If any portion of this section is held invalid or unenforceable under any
1908particular circumstance, the balance of the section is intended to apply,
1909and the section as a whole is intended to apply in other circumstances.
1910
1911It is not the purpose of this section to induce you to infringe any
1912patents or other property right claims or to contest validity of any
1913such claims; this section has the sole purpose of protecting the
1914integrity of the free software distribution system which is
1915implemented by public license practices.  Many people have made
1916generous contributions to the wide range of software distributed
1917through that system in reliance on consistent application of that
1918system; it is up to the author/donor to decide if he or she is willing
1919to distribute software through any other system and a licensee cannot
1920impose that choice.
1921
1922This section is intended to make thoroughly clear what is believed to
1923be a consequence of the rest of this License.
1924
1925  12. If the distribution and/or use of the Library is restricted in
1926certain countries either by patents or by copyrighted interfaces, the
1927original copyright holder who places the Library under this License may add
1928an explicit geographical distribution limitation excluding those countries,
1929so that distribution is permitted only in or among countries not thus
1930excluded.  In such case, this License incorporates the limitation as if
1931written in the body of this License.
1932
1933  13. The Free Software Foundation may publish revised and/or new
1934versions of the Library General Public License from time to time.
1935Such new versions will be similar in spirit to the present version,
1936but may differ in detail to address new problems or concerns.
1937
1938Each version is given a distinguishing version number.  If the Library
1939specifies a version number of this License which applies to it and
1940"any later version", you have the option of following the terms and
1941conditions either of that version or of any later version published by
1942the Free Software Foundation.  If the Library does not specify a
1943license version number, you may choose any version ever published by
1944the Free Software Foundation.
1945
1946  14. If you wish to incorporate parts of the Library into other free
1947programs whose distribution conditions are incompatible with these,
1948write to the author to ask for permission.  For software which is
1949copyrighted by the Free Software Foundation, write to the Free
1950Software Foundation; we sometimes make exceptions for this.  Our
1951decision will be guided by the two goals of preserving the free status
1952of all derivatives of our free software and of promoting the sharing
1953and reuse of software generally.
1954
1955                            NO WARRANTY
1956
1957  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1958WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1959EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1960OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1961KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1962IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1963PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1964LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1965THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1966
1967  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1968WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1969AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1970FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1971CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1972LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1973RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1974FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1975SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1976DAMAGES.
1977
1978                     END OF TERMS AND CONDITIONS
1979
1980                  GNU LESSER GENERAL PUBLIC LICENSE
1981                       Version 2.1, February 1999
1982
1983 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
1984 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
1985 Everyone is permitted to copy and distribute verbatim copies
1986 of this license document, but changing it is not allowed.
1987
1988[This is the first released version of the Lesser GPL.  It also counts
1989 as the successor of the GNU Library Public License, version 2, hence
1990 the version number 2.1.]
1991
1992                            Preamble
1993
1994  The licenses for most software are designed to take away your
1995freedom to share and change it.  By contrast, the GNU General Public
1996Licenses are intended to guarantee your freedom to share and change
1997free software--to make sure the software is free for all its users.
1998
1999  This license, the Lesser General Public License, applies to some
2000specially designated software packages--typically libraries--of the
2001Free Software Foundation and other authors who decide to use it.  You
2002can use it too, but we suggest you first think carefully about whether
2003this license or the ordinary General Public License is the better
2004strategy to use in any particular case, based on the explanations below.
2005
2006  When we speak of free software, we are referring to freedom of use,
2007not price.  Our General Public Licenses are designed to make sure that
2008you have the freedom to distribute copies of free software (and charge
2009for this service if you wish); that you receive source code or can get
2010it if you want it; that you can change the software and use pieces of
2011it in new free programs; and that you are informed that you can do
2012these things.
2013
2014  To protect your rights, we need to make restrictions that forbid
2015distributors to deny you these rights or to ask you to surrender these
2016rights.  These restrictions translate to certain responsibilities for
2017you if you distribute copies of the library or if you modify it.
2018
2019  For example, if you distribute copies of the library, whether gratis
2020or for a fee, you must give the recipients all the rights that we gave
2021you.  You must make sure that they, too, receive or can get the source
2022code.  If you link other code with the library, you must provide
2023complete object files to the recipients, so that they can relink them
2024with the library after making changes to the library and recompiling
2025it.  And you must show them these terms so they know their rights.
2026
2027  We protect your rights with a two-step method: (1) we copyright the
2028library, and (2) we offer you this license, which gives you legal
2029permission to copy, distribute and/or modify the library.
2030
2031  To protect each distributor, we want to make it very clear that
2032there is no warranty for the free library.  Also, if the library is
2033modified by someone else and passed on, the recipients should know
2034that what they have is not the original version, so that the original
2035author's reputation will not be affected by problems that might be
2036introduced by others.
2037
2038  Finally, software patents pose a constant threat to the existence of
2039any free program.  We wish to make sure that a company cannot
2040effectively restrict the users of a free program by obtaining a
2041restrictive license from a patent holder.  Therefore, we insist that
2042any patent license obtained for a version of the library must be
2043consistent with the full freedom of use specified in this license.
2044
2045  Most GNU software, including some libraries, is covered by the
2046ordinary GNU General Public License.  This license, the GNU Lesser
2047General Public License, applies to certain designated libraries, and
2048is quite different from the ordinary General Public License.  We use
2049this license for certain libraries in order to permit linking those
2050libraries into non-free programs.
2051
2052  When a program is linked with a library, whether statically or using
2053a shared library, the combination of the two is legally speaking a
2054combined work, a derivative of the original library.  The ordinary
2055General Public License therefore permits such linking only if the
2056entire combination fits its criteria of freedom.  The Lesser General
2057Public License permits more lax criteria for linking other code with
2058the library.
2059
2060  We call this license the "Lesser" General Public License because it
2061does Less to protect the user's freedom than the ordinary General
2062Public License.  It also provides other free software developers Less
2063of an advantage over competing non-free programs.  These disadvantages
2064are the reason we use the ordinary General Public License for many
2065libraries.  However, the Lesser license provides advantages in certain
2066special circumstances.
2067
2068  For example, on rare occasions, there may be a special need to
2069encourage the widest possible use of a certain library, so that it becomes
2070a de-facto standard.  To achieve this, non-free programs must be
2071allowed to use the library.  A more frequent case is that a free
2072library does the same job as widely used non-free libraries.  In this
2073case, there is little to gain by limiting the free library to free
2074software only, so we use the Lesser General Public License.
2075
2076  In other cases, permission to use a particular library in non-free
2077programs enables a greater number of people to use a large body of
2078free software.  For example, permission to use the GNU C Library in
2079non-free programs enables many more people to use the whole GNU
2080operating system, as well as its variant, the GNU/Linux operating
2081system.
2082
2083  Although the Lesser General Public License is Less protective of the
2084users' freedom, it does ensure that the user of a program that is
2085linked with the Library has the freedom and the wherewithal to run
2086that program using a modified version of the Library.
2087
2088  The precise terms and conditions for copying, distribution and
2089modification follow.  Pay close attention to the difference between a
2090"work based on the library" and a "work that uses the library".  The
2091former contains code derived from the library, whereas the latter must
2092be combined with the library in order to run.
2093
2094                  GNU LESSER GENERAL PUBLIC LICENSE
2095   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
2096
2097  0. This License Agreement applies to any software library or other
2098program which contains a notice placed by the copyright holder or
2099other authorized party saying it may be distributed under the terms of
2100this Lesser General Public License (also called "this License").
2101Each licensee is addressed as "you".
2102
2103  A "library" means a collection of software functions and/or data
2104prepared so as to be conveniently linked with application programs
2105(which use some of those functions and data) to form executables.
2106
2107  The "Library", below, refers to any such software library or work
2108which has been distributed under these terms.  A "work based on the
2109Library" means either the Library or any derivative work under
2110copyright law: that is to say, a work containing the Library or a
2111portion of it, either verbatim or with modifications and/or translated
2112straightforwardly into another language.  (Hereinafter, translation is
2113included without limitation in the term "modification".)
2114
2115  "Source code" for a work means the preferred form of the work for
2116making modifications to it.  For a library, complete source code means
2117all the source code for all modules it contains, plus any associated
2118interface definition files, plus the scripts used to control compilation
2119and installation of the library.
2120
2121  Activities other than copying, distribution and modification are not
2122covered by this License; they are outside its scope.  The act of
2123running a program using the Library is not restricted, and output from
2124such a program is covered only if its contents constitute a work based
2125on the Library (independent of the use of the Library in a tool for
2126writing it).  Whether that is true depends on what the Library does
2127and what the program that uses the Library does.
2128
2129  1. You may copy and distribute verbatim copies of the Library's
2130complete source code as you receive it, in any medium, provided that
2131you conspicuously and appropriately publish on each copy an
2132appropriate copyright notice and disclaimer of warranty; keep intact
2133all the notices that refer to this License and to the absence of any
2134warranty; and distribute a copy of this License along with the
2135Library.
2136
2137  You may charge a fee for the physical act of transferring a copy,
2138and you may at your option offer warranty protection in exchange for a
2139fee.
2140
2141  2. You may modify your copy or copies of the Library or any portion
2142of it, thus forming a work based on the Library, and copy and
2143distribute such modifications or work under the terms of Section 1
2144above, provided that you also meet all of these conditions:
2145
2146    a) The modified work must itself be a software library.
2147
2148    b) You must cause the files modified to carry prominent notices
2149    stating that you changed the files and the date of any change.
2150
2151    c) You must cause the whole of the work to be licensed at no
2152    charge to all third parties under the terms of this License.
2153
2154    d) If a facility in the modified Library refers to a function or a
2155    table of data to be supplied by an application program that uses
2156    the facility, other than as an argument passed when the facility
2157    is invoked, then you must make a good faith effort to ensure that,
2158    in the event an application does not supply such function or
2159    table, the facility still operates, and performs whatever part of
2160    its purpose remains meaningful.
2161
2162    (For example, a function in a library to compute square roots has
2163    a purpose that is entirely well-defined independent of the
2164    application.  Therefore, Subsection 2d requires that any
2165    application-supplied function or table used by this function must
2166    be optional: if the application does not supply it, the square
2167    root function must still compute square roots.)
2168
2169These requirements apply to the modified work as a whole.  If
2170identifiable sections of that work are not derived from the Library,
2171and can be reasonably considered independent and separate works in
2172themselves, then this License, and its terms, do not apply to those
2173sections when you distribute them as separate works.  But when you
2174distribute the same sections as part of a whole which is a work based
2175on the Library, the distribution of the whole must be on the terms of
2176this License, whose permissions for other licensees extend to the
2177entire whole, and thus to each and every part regardless of who wrote
2178it.
2179
2180Thus, it is not the intent of this section to claim rights or contest
2181your rights to work written entirely by you; rather, the intent is to
2182exercise the right to control the distribution of derivative or
2183collective works based on the Library.
2184
2185In addition, mere aggregation of another work not based on the Library
2186with the Library (or with a work based on the Library) on a volume of
2187a storage or distribution medium does not bring the other work under
2188the scope of this License.
2189
2190  3. You may opt to apply the terms of the ordinary GNU General Public
2191License instead of this License to a given copy of the Library.  To do
2192this, you must alter all the notices that refer to this License, so
2193that they refer to the ordinary GNU General Public License, version 2,
2194instead of to this License.  (If a newer version than version 2 of the
2195ordinary GNU General Public License has appeared, then you can specify
2196that version instead if you wish.)  Do not make any other change in
2197these notices.
2198
2199  Once this change is made in a given copy, it is irreversible for
2200that copy, so the ordinary GNU General Public License applies to all
2201subsequent copies and derivative works made from that copy.
2202
2203  This option is useful when you wish to copy part of the code of
2204the Library into a program that is not a library.
2205
2206  4. You may copy and distribute the Library (or a portion or
2207derivative of it, under Section 2) in object code or executable form
2208under the terms of Sections 1 and 2 above provided that you accompany
2209it with the complete corresponding machine-readable source code, which
2210must be distributed under the terms of Sections 1 and 2 above on a
2211medium customarily used for software interchange.
2212
2213  If distribution of object code is made by offering access to copy
2214from a designated place, then offering equivalent access to copy the
2215source code from the same place satisfies the requirement to
2216distribute the source code, even though third parties are not
2217compelled to copy the source along with the object code.
2218
2219  5. A program that contains no derivative of any portion of the
2220Library, but is designed to work with the Library by being compiled or
2221linked with it, is called a "work that uses the Library".  Such a
2222work, in isolation, is not a derivative work of the Library, and
2223therefore falls outside the scope of this License.
2224
2225  However, linking a "work that uses the Library" with the Library
2226creates an executable that is a derivative of the Library (because it
2227contains portions of the Library), rather than a "work that uses the
2228library".  The executable is therefore covered by this License.
2229Section 6 states terms for distribution of such executables.
2230
2231  When a "work that uses the Library" uses material from a header file
2232that is part of the Library, the object code for the work may be a
2233derivative work of the Library even though the source code is not.
2234Whether this is true is especially significant if the work can be
2235linked without the Library, or if the work is itself a library.  The
2236threshold for this to be true is not precisely defined by law.
2237
2238  If such an object file uses only numerical parameters, data
2239structure layouts and accessors, and small macros and small inline
2240functions (ten lines or less in length), then the use of the object
2241file is unrestricted, regardless of whether it is legally a derivative
2242work.  (Executables containing this object code plus portions of the
2243Library will still fall under Section 6.)
2244
2245  Otherwise, if the work is a derivative of the Library, you may
2246distribute the object code for the work under the terms of Section 6.
2247Any executables containing that work also fall under Section 6,
2248whether or not they are linked directly with the Library itself.
2249
2250  6. As an exception to the Sections above, you may also combine or
2251link a "work that uses the Library" with the Library to produce a
2252work containing portions of the Library, and distribute that work
2253under terms of your choice, provided that the terms permit
2254modification of the work for the customer's own use and reverse
2255engineering for debugging such modifications.
2256
2257  You must give prominent notice with each copy of the work that the
2258Library is used in it and that the Library and its use are covered by
2259this License.  You must supply a copy of this License.  If the work
2260during execution displays copyright notices, you must include the
2261copyright notice for the Library among them, as well as a reference
2262directing the user to the copy of this License.  Also, you must do one
2263of these things:
2264
2265    a) Accompany the work with the complete corresponding
2266    machine-readable source code for the Library including whatever
2267    changes were used in the work (which must be distributed under
2268    Sections 1 and 2 above); and, if the work is an executable linked
2269    with the Library, with the complete machine-readable "work that
2270    uses the Library", as object code and/or source code, so that the
2271    user can modify the Library and then relink to produce a modified
2272    executable containing the modified Library.  (It is understood
2273    that the user who changes the contents of definitions files in the
2274    Library will not necessarily be able to recompile the application
2275    to use the modified definitions.)
2276
2277    b) Use a suitable shared library mechanism for linking with the
2278    Library.  A suitable mechanism is one that (1) uses at run time a
2279    copy of the library already present on the user's computer system,
2280    rather than copying library functions into the executable, and (2)
2281    will operate properly with a modified version of the library, if
2282    the user installs one, as long as the modified version is
2283    interface-compatible with the version that the work was made with.
2284
2285    c) Accompany the work with a written offer, valid for at
2286    least three years, to give the same user the materials
2287    specified in Subsection 6a, above, for a charge no more
2288    than the cost of performing this distribution.
2289
2290    d) If distribution of the work is made by offering access to copy
2291    from a designated place, offer equivalent access to copy the above
2292    specified materials from the same place.
2293
2294    e) Verify that the user has already received a copy of these
2295    materials or that you have already sent this user a copy.
2296
2297  For an executable, the required form of the "work that uses the
2298Library" must include any data and utility programs needed for
2299reproducing the executable from it.  However, as a special exception,
2300the materials to be distributed need not include anything that is
2301normally distributed (in either source or binary form) with the major
2302components (compiler, kernel, and so on) of the operating system on
2303which the executable runs, unless that component itself accompanies
2304the executable.
2305
2306  It may happen that this requirement contradicts the license
2307restrictions of other proprietary libraries that do not normally
2308accompany the operating system.  Such a contradiction means you cannot
2309use both them and the Library together in an executable that you
2310distribute.
2311
2312  7. You may place library facilities that are a work based on the
2313Library side-by-side in a single library together with other library
2314facilities not covered by this License, and distribute such a combined
2315library, provided that the separate distribution of the work based on
2316the Library and of the other library facilities is otherwise
2317permitted, and provided that you do these two things:
2318
2319    a) Accompany the combined library with a copy of the same work
2320    based on the Library, uncombined with any other library
2321    facilities.  This must be distributed under the terms of the
2322    Sections above.
2323
2324    b) Give prominent notice with the combined library of the fact
2325    that part of it is a work based on the Library, and explaining
2326    where to find the accompanying uncombined form of the same work.
2327
2328  8. You may not copy, modify, sublicense, link with, or distribute
2329the Library except as expressly provided under this License.  Any
2330attempt otherwise to copy, modify, sublicense, link with, or
2331distribute the Library is void, and will automatically terminate your
2332rights under this License.  However, parties who have received copies,
2333or rights, from you under this License will not have their licenses
2334terminated so long as such parties remain in full compliance.
2335
2336  9. You are not required to accept this License, since you have not
2337signed it.  However, nothing else grants you permission to modify or
2338distribute the Library or its derivative works.  These actions are
2339prohibited by law if you do not accept this License.  Therefore, by
2340modifying or distributing the Library (or any work based on the
2341Library), you indicate your acceptance of this License to do so, and
2342all its terms and conditions for copying, distributing or modifying
2343the Library or works based on it.
2344
2345  10. Each time you redistribute the Library (or any work based on the
2346Library), the recipient automatically receives a license from the
2347original licensor to copy, distribute, link with or modify the Library
2348subject to these terms and conditions.  You may not impose any further
2349restrictions on the recipients' exercise of the rights granted herein.
2350You are not responsible for enforcing compliance by third parties with
2351this License.
2352
2353  11. If, as a consequence of a court judgment or allegation of patent
2354infringement or for any other reason (not limited to patent issues),
2355conditions are imposed on you (whether by court order, agreement or
2356otherwise) that contradict the conditions of this License, they do not
2357excuse you from the conditions of this License.  If you cannot
2358distribute so as to satisfy simultaneously your obligations under this
2359License and any other pertinent obligations, then as a consequence you
2360may not distribute the Library at all.  For example, if a patent
2361license would not permit royalty-free redistribution of the Library by
2362all those who receive copies directly or indirectly through you, then
2363the only way you could satisfy both it and this License would be to
2364refrain entirely from distribution of the Library.
2365
2366If any portion of this section is held invalid or unenforceable under any
2367particular circumstance, the balance of the section is intended to apply,
2368and the section as a whole is intended to apply in other circumstances.
2369
2370It is not the purpose of this section to induce you to infringe any
2371patents or other property right claims or to contest validity of any
2372such claims; this section has the sole purpose of protecting the
2373integrity of the free software distribution system which is
2374implemented by public license practices.  Many people have made
2375generous contributions to the wide range of software distributed
2376through that system in reliance on consistent application of that
2377system; it is up to the author/donor to decide if he or she is willing
2378to distribute software through any other system and a licensee cannot
2379impose that choice.
2380
2381This section is intended to make thoroughly clear what is believed to
2382be a consequence of the rest of this License.
2383
2384  12. If the distribution and/or use of the Library is restricted in
2385certain countries either by patents or by copyrighted interfaces, the
2386original copyright holder who places the Library under this License may add
2387an explicit geographical distribution limitation excluding those countries,
2388so that distribution is permitted only in or among countries not thus
2389excluded.  In such case, this License incorporates the limitation as if
2390written in the body of this License.
2391
2392  13. The Free Software Foundation may publish revised and/or new
2393versions of the Lesser General Public License from time to time.
2394Such new versions will be similar in spirit to the present version,
2395but may differ in detail to address new problems or concerns.
2396
2397Each version is given a distinguishing version number.  If the Library
2398specifies a version number of this License which applies to it and
2399"any later version", you have the option of following the terms and
2400conditions either of that version or of any later version published by
2401the Free Software Foundation.  If the Library does not specify a
2402license version number, you may choose any version ever published by
2403the Free Software Foundation.
2404
2405  14. If you wish to incorporate parts of the Library into other free
2406programs whose distribution conditions are incompatible with these,
2407write to the author to ask for permission.  For software which is
2408copyrighted by the Free Software Foundation, write to the Free
2409Software Foundation; we sometimes make exceptions for this.  Our
2410decision will be guided by the two goals of preserving the free status
2411of all derivatives of our free software and of promoting the sharing
2412and reuse of software generally.
2413
2414                            NO WARRANTY
2415
2416  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
2417WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
2418EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
2419OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
2420KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
2421IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2422PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
2423LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
2424THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
2425
2426  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
2427WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
2428AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
2429FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
2430CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
2431LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
2432RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
2433FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
2434SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
2435DAMAGES.
2436
2437                     END OF TERMS AND CONDITIONS
2438
2439
2440                                 Apache License
2441                           Version 2.0, January 2004
2442                        http://www.apache.org/licenses/
2443
2444   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
2445
2446   1. Definitions.
2447
2448      "License" shall mean the terms and conditions for use, reproduction,
2449      and distribution as defined by Sections 1 through 9 of this document.
2450
2451      "Licensor" shall mean the copyright owner or entity authorized by
2452      the copyright owner that is granting the License.
2453
2454      "Legal Entity" shall mean the union of the acting entity and all
2455      other entities that control, are controlled by, or are under common
2456      control with that entity. For the purposes of this definition,
2457      "control" means (i) the power, direct or indirect, to cause the
2458      direction or management of such entity, whether by contract or
2459      otherwise, or (ii) ownership of fifty percent (50%) or more of the
2460      outstanding shares, or (iii) beneficial ownership of such entity.
2461
2462      "You" (or "Your") shall mean an individual or Legal Entity
2463      exercising permissions granted by this License.
2464
2465      "Source" form shall mean the preferred form for making modifications,
2466      including but not limited to software source code, documentation
2467      source, and configuration files.
2468
2469      "Object" form shall mean any form resulting from mechanical
2470      transformation or translation of a Source form, including but
2471      not limited to compiled object code, generated documentation,
2472      and conversions to other media types.
2473
2474      "Work" shall mean the work of authorship, whether in Source or
2475      Object form, made available under the License, as indicated by a
2476      copyright notice that is included in or attached to the work
2477      (an example is provided in the Appendix below).
2478
2479      "Derivative Works" shall mean any work, whether in Source or Object
2480      form, that is based on (or derived from) the Work and for which the
2481      editorial revisions, annotations, elaborations, or other modifications
2482      represent, as a whole, an original work of authorship. For the purposes
2483      of this License, Derivative Works shall not include works that remain
2484      separable from, or merely link (or bind by name) to the interfaces of,
2485      the Work and Derivative Works thereof.
2486
2487      "Contribution" shall mean any work of authorship, including
2488      the original version of the Work and any modifications or additions
2489      to that Work or Derivative Works thereof, that is intentionally
2490      submitted to Licensor for inclusion in the Work by the copyright owner
2491      or by an individual or Legal Entity authorized to submit on behalf of
2492      the copyright owner. For the purposes of this definition, "submitted"
2493      means any form of electronic, verbal, or written communication sent
2494      to the Licensor or its representatives, including but not limited to
2495      communication on electronic mailing lists, source code control systems,
2496      and issue tracking systems that are managed by, or on behalf of, the
2497      Licensor for the purpose of discussing and improving the Work, but
2498      excluding communication that is conspicuously marked or otherwise
2499      designated in writing by the copyright owner as "Not a Contribution."
2500
2501      "Contributor" shall mean Licensor and any individual or Legal Entity
2502      on behalf of whom a Contribution has been received by Licensor and
2503      subsequently incorporated within the Work.
2504
2505   2. Grant of Copyright License. Subject to the terms and conditions of
2506      this License, each Contributor hereby grants to You a perpetual,
2507      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2508      copyright license to reproduce, prepare Derivative Works of,
2509      publicly display, publicly perform, sublicense, and distribute the
2510      Work and such Derivative Works in Source or Object form.
2511
2512   3. Grant of Patent License. Subject to the terms and conditions of
2513      this License, each Contributor hereby grants to You a perpetual,
2514      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2515      (except as stated in this section) patent license to make, have made,
2516      use, offer to sell, sell, import, and otherwise transfer the Work,
2517      where such license applies only to those patent claims licensable
2518      by such Contributor that are necessarily infringed by their
2519      Contribution(s) alone or by combination of their Contribution(s)
2520      with the Work to which such Contribution(s) was submitted. If You
2521      institute patent litigation against any entity (including a
2522      cross-claim or counterclaim in a lawsuit) alleging that the Work
2523      or a Contribution incorporated within the Work constitutes direct
2524      or contributory patent infringement, then any patent licenses
2525      granted to You under this License for that Work shall terminate
2526      as of the date such litigation is filed.
2527
2528   4. Redistribution. You may reproduce and distribute copies of the
2529      Work or Derivative Works thereof in any medium, with or without
2530      modifications, and in Source or Object form, provided that You
2531      meet the following conditions:
2532
2533      (a) You must give any other recipients of the Work or
2534          Derivative Works a copy of this License; and
2535
2536      (b) You must cause any modified files to carry prominent notices
2537          stating that You changed the files; and
2538
2539      (c) You must retain, in the Source form of any Derivative Works
2540          that You distribute, all copyright, patent, trademark, and
2541          attribution notices from the Source form of the Work,
2542          excluding those notices that do not pertain to any part of
2543          the Derivative Works; and
2544
2545      (d) If the Work includes a "NOTICE" text file as part of its
2546          distribution, then any Derivative Works that You distribute must
2547          include a readable copy of the attribution notices contained
2548          within such NOTICE file, excluding those notices that do not
2549          pertain to any part of the Derivative Works, in at least one
2550          of the following places: within a NOTICE text file distributed
2551          as part of the Derivative Works; within the Source form or
2552          documentation, if provided along with the Derivative Works; or,
2553          within a display generated by the Derivative Works, if and
2554          wherever such third-party notices normally appear. The contents
2555          of the NOTICE file are for informational purposes only and
2556          do not modify the License. You may add Your own attribution
2557          notices within Derivative Works that You distribute, alongside
2558          or as an addendum to the NOTICE text from the Work, provided
2559          that such additional attribution notices cannot be construed
2560          as modifying the License.
2561
2562      You may add Your own copyright statement to Your modifications and
2563      may provide additional or different license terms and conditions
2564      for use, reproduction, or distribution of Your modifications, or
2565      for any such Derivative Works as a whole, provided Your use,
2566      reproduction, and distribution of the Work otherwise complies with
2567      the conditions stated in this License.
2568
2569   5. Submission of Contributions. Unless You explicitly state otherwise,
2570      any Contribution intentionally submitted for inclusion in the Work
2571      by You to the Licensor shall be under the terms and conditions of
2572      this License, without any additional terms or conditions.
2573      Notwithstanding the above, nothing herein shall supersede or modify
2574      the terms of any separate license agreement you may have executed
2575      with Licensor regarding such Contributions.
2576
2577   6. Trademarks. This License does not grant permission to use the trade
2578      names, trademarks, service marks, or product names of the Licensor,
2579      except as required for reasonable and customary use in describing the
2580      origin of the Work and reproducing the content of the NOTICE file.
2581
2582   7. Disclaimer of Warranty. Unless required by applicable law or
2583      agreed to in writing, Licensor provides the Work (and each
2584      Contributor provides its Contributions) on an "AS IS" BASIS,
2585      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2586      implied, including, without limitation, any warranties or conditions
2587      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2588      PARTICULAR PURPOSE. You are solely responsible for determining the
2589      appropriateness of using or redistributing the Work and assume any
2590      risks associated with Your exercise of permissions under this License.
2591
2592   8. Limitation of Liability. In no event and under no legal theory,
2593      whether in tort (including negligence), contract, or otherwise,
2594      unless required by applicable law (such as deliberate and grossly
2595      negligent acts) or agreed to in writing, shall any Contributor be
2596      liable to You for damages, including any direct, indirect, special,
2597      incidental, or consequential damages of any character arising as a
2598      result of this License or out of the use or inability to use the
2599      Work (including but not limited to damages for loss of goodwill,
2600      work stoppage, computer failure or malfunction, or any and all
2601      other commercial damages or losses), even if such Contributor
2602      has been advised of the possibility of such damages.
2603
2604   9. Accepting Warranty or Additional Liability. While redistributing
2605      the Work or Derivative Works thereof, You may choose to offer,
2606      and charge a fee for, acceptance of support, warranty, indemnity,
2607      or other liability obligations and/or rights consistent with this
2608      License. However, in accepting such obligations, You may act only
2609      on Your own behalf and on Your sole responsibility, not on behalf
2610      of any other Contributor, and only if You agree to indemnify,
2611      defend, and hold each Contributor harmless for any liability
2612      incurred by, or claims asserted against, such Contributor by reason
2613      of your accepting any such warranty or additional liability.
2614
2615   END OF TERMS AND CONDITIONS
2616
2617   APPENDIX: How to apply the Apache License to your work.
2618
2619      To apply the Apache License to your work, attach the following
2620      boilerplate notice, with the fields enclosed by brackets "[]"
2621      replaced with your own identifying information. (Don't include
2622      the brackets!)  The text should be enclosed in the appropriate
2623      comment syntax for the file format. We also recommend that a
2624      file or class name and description of purpose be included on the
2625      same "printed page" as the copyright notice for easier
2626      identification within third-party archives.
2627
2628   Copyright [yyyy] [name of copyright owner]
2629
2630   Licensed under the Apache License, Version 2.0 (the "License");
2631   you may not use this file except in compliance with the License.
2632   You may obtain a copy of the License at
2633
2634       http://www.apache.org/licenses/LICENSE-2.0
2635
2636   Unless required by applicable law or agreed to in writing, software
2637   distributed under the License is distributed on an "AS IS" BASIS,
2638   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2639   See the License for the specific language governing permissions and
2640   limitations under the License.
2641
2642// Copyright 2014 The Chromium Authors. All rights reserved.
2643//
2644// Redistribution and use in source and binary forms, with or without
2645// modification, are permitted provided that the following conditions are
2646// met:
2647//
2648//    * Redistributions of source code must retain the above copyright
2649// notice, this list of conditions and the following disclaimer.
2650//    * Redistributions in binary form must reproduce the above
2651// copyright notice, this list of conditions and the following disclaimer
2652// in the documentation and/or other materials provided with the
2653// distribution.
2654//    * Neither the name of Google Inc. nor the names of its
2655// contributors may be used to endorse or promote products derived from
2656// this software without specific prior written permission.
2657//
2658// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2659// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2660// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2661// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2662// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2663// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2664// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2665// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2666// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2667// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2668// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2669
2670/*
2671 * Copyright (C) 2012 The Android Open Source Project
2672 * All rights reserved.
2673 *
2674 * Redistribution and use in source and binary forms, with or without
2675 * modification, are permitted provided that the following conditions
2676 * are met:
2677 *  * Redistributions of source code must retain the above copyright
2678 *    notice, this list of conditions and the following disclaimer.
2679 *  * Redistributions in binary form must reproduce the above copyright
2680 *    notice, this list of conditions and the following disclaimer in
2681 *    the documentation and/or other materials provided with the
2682 *    distribution.
2683 *
2684 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2685 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2686 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
2687 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
2688 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
2689 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
2690 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
2691 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
2692 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2693 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
2694 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2695 * SUCH DAMAGE.
2696 */
2697
2698/*
2699 * Copyright (C) 2009 The Android Open Source Project
2700 *
2701 * Licensed under the Apache License, Version 2.0 (the "License");
2702 * you may not use this file except in compliance with the License.
2703 * You may obtain a copy of the License at
2704 *
2705 *      http://www.apache.org/licenses/LICENSE-2.0
2706 *
2707 * Unless required by applicable law or agreed to in writing, software
2708 * distributed under the License is distributed on an "AS IS" BASIS,
2709 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2710 * See the License for the specific language governing permissions and
2711 * limitations under the License.
2712 */
2713// Copyright (C) 2002-2013 The ANGLE Project Authors. 
2714// All rights reserved.
2715//
2716// Redistribution and use in source and binary forms, with or without
2717// modification, are permitted provided that the following conditions
2718// are met:
2719//
2720//     Redistributions of source code must retain the above copyright
2721//     notice, this list of conditions and the following disclaimer.
2722//
2723//     Redistributions in binary form must reproduce the above 
2724//     copyright notice, this list of conditions and the following
2725//     disclaimer in the documentation and/or other materials provided
2726//     with the distribution.
2727//
2728//     Neither the name of TransGaming Inc., Google Inc., 3DLabs Inc.
2729//     Ltd., nor the names of their contributors may be used to endorse
2730//     or promote products derived from this software without specific
2731//     prior written permission.
2732//
2733// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2734// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
2735// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
2736// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
2737// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
2738// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
2739// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2740// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2741// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2742// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
2743// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2744// POSSIBILITY OF SUCH DAMAGE.
2745
2746
2747                                 Apache License
2748                           Version 2.0, January 2004
2749                        http://www.apache.org/licenses/
2750
2751   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
2752
2753   1. Definitions.
2754
2755      "License" shall mean the terms and conditions for use, reproduction,
2756      and distribution as defined by Sections 1 through 9 of this document.
2757
2758      "Licensor" shall mean the copyright owner or entity authorized by
2759      the copyright owner that is granting the License.
2760
2761      "Legal Entity" shall mean the union of the acting entity and all
2762      other entities that control, are controlled by, or are under common
2763      control with that entity. For the purposes of this definition,
2764      "control" means (i) the power, direct or indirect, to cause the
2765      direction or management of such entity, whether by contract or
2766      otherwise, or (ii) ownership of fifty percent (50%) or more of the
2767      outstanding shares, or (iii) beneficial ownership of such entity.
2768
2769      "You" (or "Your") shall mean an individual or Legal Entity
2770      exercising permissions granted by this License.
2771
2772      "Source" form shall mean the preferred form for making modifications,
2773      including but not limited to software source code, documentation
2774      source, and configuration files.
2775
2776      "Object" form shall mean any form resulting from mechanical
2777      transformation or translation of a Source form, including but
2778      not limited to compiled object code, generated documentation,
2779      and conversions to other media types.
2780
2781      "Work" shall mean the work of authorship, whether in Source or
2782      Object form, made available under the License, as indicated by a
2783      copyright notice that is included in or attached to the work
2784      (an example is provided in the Appendix below).
2785
2786      "Derivative Works" shall mean any work, whether in Source or Object
2787      form, that is based on (or derived from) the Work and for which the
2788      editorial revisions, annotations, elaborations, or other modifications
2789      represent, as a whole, an original work of authorship. For the purposes
2790      of this License, Derivative Works shall not include works that remain
2791      separable from, or merely link (or bind by name) to the interfaces of,
2792      the Work and Derivative Works thereof.
2793
2794      "Contribution" shall mean any work of authorship, including
2795      the original version of the Work and any modifications or additions
2796      to that Work or Derivative Works thereof, that is intentionally
2797      submitted to Licensor for inclusion in the Work by the copyright owner
2798      or by an individual or Legal Entity authorized to submit on behalf of
2799      the copyright owner. For the purposes of this definition, "submitted"
2800      means any form of electronic, verbal, or written communication sent
2801      to the Licensor or its representatives, including but not limited to
2802      communication on electronic mailing lists, source code control systems,
2803      and issue tracking systems that are managed by, or on behalf of, the
2804      Licensor for the purpose of discussing and improving the Work, but
2805      excluding communication that is conspicuously marked or otherwise
2806      designated in writing by the copyright owner as "Not a Contribution."
2807
2808      "Contributor" shall mean Licensor and any individual or Legal Entity
2809      on behalf of whom a Contribution has been received by Licensor and
2810      subsequently incorporated within the Work.
2811
2812   2. Grant of Copyright License. Subject to the terms and conditions of
2813      this License, each Contributor hereby grants to You a perpetual,
2814      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2815      copyright license to reproduce, prepare Derivative Works of,
2816      publicly display, publicly perform, sublicense, and distribute the
2817      Work and such Derivative Works in Source or Object form.
2818
2819   3. Grant of Patent License. Subject to the terms and conditions of
2820      this License, each Contributor hereby grants to You a perpetual,
2821      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2822      (except as stated in this section) patent license to make, have made,
2823      use, offer to sell, sell, import, and otherwise transfer the Work,
2824      where such license applies only to those patent claims licensable
2825      by such Contributor that are necessarily infringed by their
2826      Contribution(s) alone or by combination of their Contribution(s)
2827      with the Work to which such Contribution(s) was submitted. If You
2828      institute patent litigation against any entity (including a
2829      cross-claim or counterclaim in a lawsuit) alleging that the Work
2830      or a Contribution incorporated within the Work constitutes direct
2831      or contributory patent infringement, then any patent licenses
2832      granted to You under this License for that Work shall terminate
2833      as of the date such litigation is filed.
2834
2835   4. Redistribution. You may reproduce and distribute copies of the
2836      Work or Derivative Works thereof in any medium, with or without
2837      modifications, and in Source or Object form, provided that You
2838      meet the following conditions:
2839
2840      (a) You must give any other recipients of the Work or
2841          Derivative Works a copy of this License; and
2842
2843      (b) You must cause any modified files to carry prominent notices
2844          stating that You changed the files; and
2845
2846      (c) You must retain, in the Source form of any Derivative Works
2847          that You distribute, all copyright, patent, trademark, and
2848          attribution notices from the Source form of the Work,
2849          excluding those notices that do not pertain to any part of
2850          the Derivative Works; and
2851
2852      (d) If the Work includes a "NOTICE" text file as part of its
2853          distribution, then any Derivative Works that You distribute must
2854          include a readable copy of the attribution notices contained
2855          within such NOTICE file, excluding those notices that do not
2856          pertain to any part of the Derivative Works, in at least one
2857          of the following places: within a NOTICE text file distributed
2858          as part of the Derivative Works; within the Source form or
2859          documentation, if provided along with the Derivative Works; or,
2860          within a display generated by the Derivative Works, if and
2861          wherever such third-party notices normally appear. The contents
2862          of the NOTICE file are for informational purposes only and
2863          do not modify the License. You may add Your own attribution
2864          notices within Derivative Works that You distribute, alongside
2865          or as an addendum to the NOTICE text from the Work, provided
2866          that such additional attribution notices cannot be construed
2867          as modifying the License.
2868
2869      You may add Your own copyright statement to Your modifications and
2870      may provide additional or different license terms and conditions
2871      for use, reproduction, or distribution of Your modifications, or
2872      for any such Derivative Works as a whole, provided Your use,
2873      reproduction, and distribution of the Work otherwise complies with
2874      the conditions stated in this License.
2875
2876   5. Submission of Contributions. Unless You explicitly state otherwise,
2877      any Contribution intentionally submitted for inclusion in the Work
2878      by You to the Licensor shall be under the terms and conditions of
2879      this License, without any additional terms or conditions.
2880      Notwithstanding the above, nothing herein shall supersede or modify
2881      the terms of any separate license agreement you may have executed
2882      with Licensor regarding such Contributions.
2883
2884   6. Trademarks. This License does not grant permission to use the trade
2885      names, trademarks, service marks, or product names of the Licensor,
2886      except as required for reasonable and customary use in describing the
2887      origin of the Work and reproducing the content of the NOTICE file.
2888
2889   7. Disclaimer of Warranty. Unless required by applicable law or
2890      agreed to in writing, Licensor provides the Work (and each
2891      Contributor provides its Contributions) on an "AS IS" BASIS,
2892      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2893      implied, including, without limitation, any warranties or conditions
2894      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2895      PARTICULAR PURPOSE. You are solely responsible for determining the
2896      appropriateness of using or redistributing the Work and assume any
2897      risks associated with Your exercise of permissions under this License.
2898
2899   8. Limitation of Liability. In no event and under no legal theory,
2900      whether in tort (including negligence), contract, or otherwise,
2901      unless required by applicable law (such as deliberate and grossly
2902      negligent acts) or agreed to in writing, shall any Contributor be
2903      liable to You for damages, including any direct, indirect, special,
2904      incidental, or consequential damages of any character arising as a
2905      result of this License or out of the use or inability to use the
2906      Work (including but not limited to damages for loss of goodwill,
2907      work stoppage, computer failure or malfunction, or any and all
2908      other commercial damages or losses), even if such Contributor
2909      has been advised of the possibility of such damages.
2910
2911   9. Accepting Warranty or Additional Liability. While redistributing
2912      the Work or Derivative Works thereof, You may choose to offer,
2913      and charge a fee for, acceptance of support, warranty, indemnity,
2914      or other liability obligations and/or rights consistent with this
2915      License. However, in accepting such obligations, You may act only
2916      on Your own behalf and on Your sole responsibility, not on behalf
2917      of any other Contributor, and only if You agree to indemnify,
2918      defend, and hold each Contributor harmless for any liability
2919      incurred by, or claims asserted against, such Contributor by reason
2920      of your accepting any such warranty or additional liability.
2921
2922   END OF TERMS AND CONDITIONS
2923
2924   APPENDIX: How to apply the Apache License to your work.
2925
2926      To apply the Apache License to your work, attach the following
2927      boilerplate notice, with the fields enclosed by brackets "[]"
2928      replaced with your own identifying information. (Don't include
2929      the brackets!)  The text should be enclosed in the appropriate
2930      comment syntax for the file format. We also recommend that a
2931      file or class name and description of purpose be included on the
2932      same "printed page" as the copyright notice for easier
2933      identification within third-party archives.
2934
2935   Copyright [yyyy] [name of copyright owner]
2936
2937   Licensed under the Apache License, Version 2.0 (the "License");
2938   you may not use this file except in compliance with the License.
2939   You may obtain a copy of the License at
2940
2941       http://www.apache.org/licenses/LICENSE-2.0
2942
2943   Unless required by applicable law or agreed to in writing, software
2944   distributed under the License is distributed on an "AS IS" BASIS,
2945   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2946   See the License for the specific language governing permissions and
2947   limitations under the License.
2948
2949Copyright (c) 2012, Manfred Moitzi
2950
2951Permission is hereby granted, free of charge, to any person obtaining a 
2952copy of this software and associated documentation files (the 
2953"Software"), to deal in the Software without restriction, including 
2954without limitation the rights to use, copy, modify, merge, publish, 
2955distribute, sublicense, and/or sell copies of the Software, and to 
2956permit persons to whom the Software is furnished to do so, subject to 
2957the following conditions: 
2958
2959The above copyright notice and this permission notice shall be included 
2960in all copies or substantial portions of the Software. 
2961
2962THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
2963OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
2964MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
2965IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
2966CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
2967TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
2968SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
2969
2970Deutsche Übersetzung:
2971
2972Copyright (c) 2012, Manfred Moitzi
2973
2974Hiermit wird unentgeltlich, jeder Person, die eine Kopie der Software 
2975und der zugehörigen Dokumentationen (die "Software") erhält, die 
2976Erlaubnis erteilt, uneingeschränkt zu benutzen, inklusive und ohne 
2977Ausnahme, dem Recht, sie zu verwenden, kopieren, ändern, fusionieren, 
2978verlegen, verbreiten, unterlizenzieren und/oder zu verkaufen, und 
2979Personen, die diese Software erhalten, diese Rechte zu geben, unter den 
2980folgenden Bedingungen: 
2981
2982Der obige Urheberrechtsvermerk und dieser Erlaubnisvermerk sind in allen 
2983Kopien oder Teilkopien der Software beizulegen. 
2984
2985DIE SOFTWARE WIRD OHNE JEDE AUSDRÜCKLICHE ODER IMPLIZIERTE GARANTIE 
2986BEREITGESTELLT, EINSCHLIESSLICH DER GARANTIE ZUR BENUTZUNG FÜR DEN 
2987VORGESEHENEN ODER EINEM BESTIMMTEN ZWECK SOWIE JEGLICHER 
2988RECHTSVERLETZUNG, JEDOCH NICHT DARAUF BESCHRÄNKT. IN KEINEM FALL SIND 
2989DIE AUTOREN ODER COPYRIGHTINHABER FÜR JEGLICHEN SCHADEN ODER SONSTIGE 
2990ANSPRÜCHE HAFTBAR ZU MACHEN, OB INFOLGE DER ERFÜLLUNG EINES VERTRAGES, 
2991EINES DELIKTES ODER ANDERS IM ZUSAMMENHANG MIT DER SOFTWARE ODER 
2992SONSTIGER VERWENDUNG DER SOFTWARE ENTSTANDEN. 
2993
2994
2995Copyright (c) 2013 Alex Seville
2996
2997Permission is hereby granted, free of charge, to any person
2998obtaining a copy of this software and associated documentation
2999files (the "Software"), to deal in the Software without
3000restriction, including without limitation the rights to use,
3001copy, modify, merge, publish, distribute, sublicense, and/or sell
3002copies of the Software, and to permit persons to whom the
3003Software is furnished to do so, subject to the following
3004conditions:
3005
3006The above copyright notice and this permission notice shall be
3007included in all copies or substantial portions of the Software.
3008
3009THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3010EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
3011OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
3012NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
3013HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
3014WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3015FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
3016OTHER DEALINGS IN THE SOFTWARE.
3017
3018
3019  LICENSE ISSUES
3020  ==============
3021
3022  The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
3023  the OpenSSL License and the original SSLeay license apply to the toolkit.
3024  See below for the actual license texts. Actually both licenses are BSD-style
3025  Open Source licenses. In case of any license issues related to OpenSSL
3026  please contact openssl-core@openssl.org.
3027
3028  OpenSSL License
3029  ---------------
3030
3031/* ====================================================================
3032 * Copyright (c) 1998-2011 The OpenSSL Project.  All rights reserved.
3033 *
3034 * Redistribution and use in source and binary forms, with or without
3035 * modification, are permitted provided that the following conditions
3036 * are met:
3037 *
3038 * 1. Redistributions of source code must retain the above copyright
3039 *    notice, this list of conditions and the following disclaimer. 
3040 *
3041 * 2. Redistributions in binary form must reproduce the above copyright
3042 *    notice, this list of conditions and the following disclaimer in
3043 *    the documentation and/or other materials provided with the
3044 *    distribution.
3045 *
3046 * 3. All advertising materials mentioning features or use of this
3047 *    software must display the following acknowledgment:
3048 *    "This product includes software developed by the OpenSSL Project
3049 *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
3050 *
3051 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
3052 *    endorse or promote products derived from this software without
3053 *    prior written permission. For written permission, please contact
3054 *    openssl-core@openssl.org.
3055 *
3056 * 5. Products derived from this software may not be called "OpenSSL"
3057 *    nor may "OpenSSL" appear in their names without prior written
3058 *    permission of the OpenSSL Project.
3059 *
3060 * 6. Redistributions of any form whatsoever must retain the following
3061 *    acknowledgment:
3062 *    "This product includes software developed by the OpenSSL Project
3063 *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
3064 *
3065 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
3066 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
3067 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3068 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
3069 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3070 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
3071 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
3072 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3073 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3074 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
3075 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
3076 * OF THE POSSIBILITY OF SUCH DAMAGE.
3077 * ====================================================================
3078 *
3079 * This product includes cryptographic software written by Eric Young
3080 * (eay@cryptsoft.com).  This product includes software written by Tim
3081 * Hudson (tjh@cryptsoft.com).
3082 *
3083 */
3084
3085 Original SSLeay License
3086 -----------------------
3087
3088/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3089 * All rights reserved.
3090 *
3091 * This package is an SSL implementation written
3092 * by Eric Young (eay@cryptsoft.com).
3093 * The implementation was written so as to conform with Netscapes SSL.
3094 * 
3095 * This library is free for commercial and non-commercial use as long as
3096 * the following conditions are aheared to.  The following conditions
3097 * apply to all code found in this distribution, be it the RC4, RSA,
3098 * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
3099 * included with this distribution is covered by the same copyright terms
3100 * except that the holder is Tim Hudson (tjh@cryptsoft.com).
3101 * 
3102 * Copyright remains Eric Young's, and as such any Copyright notices in
3103 * the code are not to be removed.
3104 * If this package is used in a product, Eric Young should be given attribution
3105 * as the author of the parts of the library used.
3106 * This can be in the form of a textual message at program startup or
3107 * in documentation (online or textual) provided with the package.
3108 * 
3109 * Redistribution and use in source and binary forms, with or without
3110 * modification, are permitted provided that the following conditions
3111 * are met:
3112 * 1. Redistributions of source code must retain the copyright
3113 *    notice, this list of conditions and the following disclaimer.
3114 * 2. Redistributions in binary form must reproduce the above copyright
3115 *    notice, this list of conditions and the following disclaimer in the
3116 *    documentation and/or other materials provided with the distribution.
3117 * 3. All advertising materials mentioning features or use of this software
3118 *    must display the following acknowledgement:
3119 *    "This product includes cryptographic software written by
3120 *     Eric Young (eay@cryptsoft.com)"
3121 *    The word 'cryptographic' can be left out if the rouines from the library
3122 *    being used are not cryptographic related :-).
3123 * 4. If you include any Windows specific code (or a derivative thereof) from 
3124 *    the apps directory (application code) you must include an acknowledgement:
3125 *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
3126 * 
3127 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
3128 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
3129 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
3130 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
3131 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3132 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
3133 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3134 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3135 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3136 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3137 * SUCH DAMAGE.
3138 * 
3139 * The licence and distribution terms for any publically available version or
3140 * derivative of this code cannot be changed.  i.e. this code cannot simply be
3141 * copied and put under another distribution licence
3142 * [including the GNU Public Licence.]
3143 */
3144
3145
3146// Copyright (c) 2011 Google Inc. All rights reserved.
3147//
3148// Redistribution and use in source and binary forms, with or without
3149// modification, are permitted provided that the following conditions are
3150// met:
3151//
3152//    * Redistributions of source code must retain the above copyright
3153// notice, this list of conditions and the following disclaimer.
3154//    * Redistributions in binary form must reproduce the above
3155// copyright notice, this list of conditions and the following disclaimer
3156// in the documentation and/or other materials provided with the
3157// distribution.
3158//    * Neither the name of Google Inc. nor the names of its
3159// contributors may be used to endorse or promote products derived from
3160// this software without specific prior written permission.
3161//
3162// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3163// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3164// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3165// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3166// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3167// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3168// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3169// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3170// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3171// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3172// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3173
3174		  GNU LESSER GENERAL PUBLIC LICENSE
3175		       Version 2.1, February 1999
3176
3177 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
3178     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
3179 Everyone is permitted to copy and distribute verbatim copies
3180 of this license document, but changing it is not allowed.
3181
3182[This is the first released version of the Lesser GPL.  It also counts
3183 as the successor of the GNU Library Public License, version 2, hence
3184 the version number 2.1.]
3185
3186			    Preamble
3187
3188  The licenses for most software are designed to take away your
3189freedom to share and change it.  By contrast, the GNU General Public
3190Licenses are intended to guarantee your freedom to share and change
3191free software--to make sure the software is free for all its users.
3192
3193  This license, the Lesser General Public License, applies to some
3194specially designated software packages--typically libraries--of the
3195Free Software Foundation and other authors who decide to use it.  You
3196can use it too, but we suggest you first think carefully about whether
3197this license or the ordinary General Public License is the better
3198strategy to use in any particular case, based on the explanations below.
3199
3200  When we speak of free software, we are referring to freedom of use,
3201not price.  Our General Public Licenses are designed to make sure that
3202you have the freedom to distribute copies of free software (and charge
3203for this service if you wish); that you receive source code or can get
3204it if you want it; that you can change the software and use pieces of
3205it in new free programs; and that you are informed that you can do
3206these things.
3207
3208  To protect your rights, we need to make restrictions that forbid
3209distributors to deny you these rights or to ask you to surrender these
3210rights.  These restrictions translate to certain responsibilities for
3211you if you distribute copies of the library or if you modify it.
3212
3213  For example, if you distribute copies of the library, whether gratis
3214or for a fee, you must give the recipients all the rights that we gave
3215you.  You must make sure that they, too, receive or can get the source
3216code.  If you link other code with the library, you must provide
3217complete object files to the recipients, so that they can relink them
3218with the library after making changes to the library and recompiling
3219it.  And you must show them these terms so they know their rights.
3220
3221  We protect your rights with a two-step method: (1) we copyright the
3222library, and (2) we offer you this license, which gives you legal
3223permission to copy, distribute and/or modify the library.
3224
3225  To protect each distributor, we want to make it very clear that
3226there is no warranty for the free library.  Also, if the library is
3227modified by someone else and passed on, the recipients should know
3228that what they have is not the original version, so that the original
3229author's reputation will not be affected by problems that might be
3230introduced by others.
3231
3232  Finally, software patents pose a constant threat to the existence of
3233any free program.  We wish to make sure that a company cannot
3234effectively restrict the users of a free program by obtaining a
3235restrictive license from a patent holder.  Therefore, we insist that
3236any patent license obtained for a version of the library must be
3237consistent with the full freedom of use specified in this license.
3238
3239  Most GNU software, including some libraries, is covered by the
3240ordinary GNU General Public License.  This license, the GNU Lesser
3241General Public License, applies to certain designated libraries, and
3242is quite different from the ordinary General Public License.  We use
3243this license for certain libraries in order to permit linking those
3244libraries into non-free programs.
3245
3246  When a program is linked with a library, whether statically or using
3247a shared library, the combination of the two is legally speaking a
3248combined work, a derivative of the original library.  The ordinary
3249General Public License therefore permits such linking only if the
3250entire combination fits its criteria of freedom.  The Lesser General
3251Public License permits more lax criteria for linking other code with
3252the library.
3253
3254  We call this license the "Lesser" General Public License because it
3255does Less to protect the user's freedom than the ordinary General
3256Public License.  It also provides other free software developers Less
3257of an advantage over competing non-free programs.  These disadvantages
3258are the reason we use the ordinary General Public License for many
3259libraries.  However, the Lesser license provides advantages in certain
3260special circumstances.
3261
3262  For example, on rare occasions, there may be a special need to
3263encourage the widest possible use of a certain library, so that it becomes
3264a de-facto standard.  To achieve this, non-free programs must be
3265allowed to use the library.  A more frequent case is that a free
3266library does the same job as widely used non-free libraries.  In this
3267case, there is little to gain by limiting the free library to free
3268software only, so we use the Lesser General Public License.
3269
3270  In other cases, permission to use a particular library in non-free
3271programs enables a greater number of people to use a large body of
3272free software.  For example, permission to use the GNU C Library in
3273non-free programs enables many more people to use the whole GNU
3274operating system, as well as its variant, the GNU/Linux operating
3275system.
3276
3277  Although the Lesser General Public License is Less protective of the
3278users' freedom, it does ensure that the user of a program that is
3279linked with the Library has the freedom and the wherewithal to run
3280that program using a modified version of the Library.
3281
3282  The precise terms and conditions for copying, distribution and
3283modification follow.  Pay close attention to the difference between a
3284"work based on the library" and a "work that uses the library".  The
3285former contains code derived from the library, whereas the latter must
3286be combined with the library in order to run.
3287
3288		  GNU LESSER GENERAL PUBLIC LICENSE
3289   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
3290
3291  0. This License Agreement applies to any software library or other
3292program which contains a notice placed by the copyright holder or
3293other authorized party saying it may be distributed under the terms of
3294this Lesser General Public License (also called "this License").
3295Each licensee is addressed as "you".
3296
3297  A "library" means a collection of software functions and/or data
3298prepared so as to be conveniently linked with application programs
3299(which use some of those functions and data) to form executables.
3300
3301  The "Library", below, refers to any such software library or work
3302which has been distributed under these terms.  A "work based on the
3303Library" means either the Library or any derivative work under
3304copyright law: that is to say, a work containing the Library or a
3305portion of it, either verbatim or with modifications and/or translated
3306straightforwardly into another language.  (Hereinafter, translation is
3307included without limitation in the term "modification".)
3308
3309  "Source code" for a work means the preferred form of the work for
3310making modifications to it.  For a library, complete source code means
3311all the source code for all modules it contains, plus any associated
3312interface definition files, plus the scripts used to control compilation
3313and installation of the library.
3314
3315  Activities other than copying, distribution and modification are not
3316covered by this License; they are outside its scope.  The act of
3317running a program using the Library is not restricted, and output from
3318such a program is covered only if its contents constitute a work based
3319on the Library (independent of the use of the Library in a tool for
3320writing it).  Whether that is true depends on what the Library does
3321and what the program that uses the Library does.
3322  
3323  1. You may copy and distribute verbatim copies of the Library's
3324complete source code as you receive it, in any medium, provided that
3325you conspicuously and appropriately publish on each copy an
3326appropriate copyright notice and disclaimer of warranty; keep intact
3327all the notices that refer to this License and to the absence of any
3328warranty; and distribute a copy of this License along with the
3329Library.
3330
3331  You may charge a fee for the physical act of transferring a copy,
3332and you may at your option offer warranty protection in exchange for a
3333fee.
3334
3335  2. You may modify your copy or copies of the Library or any portion
3336of it, thus forming a work based on the Library, and copy and
3337distribute such modifications or work under the terms of Section 1
3338above, provided that you also meet all of these conditions:
3339
3340    a) The modified work must itself be a software library.
3341
3342    b) You must cause the files modified to carry prominent notices
3343    stating that you changed the files and the date of any change.
3344
3345    c) You must cause the whole of the work to be licensed at no
3346    charge to all third parties under the terms of this License.
3347
3348    d) If a facility in the modified Library refers to a function or a
3349    table of data to be supplied by an application program that uses
3350    the facility, other than as an argument passed when the facility
3351    is invoked, then you must make a good faith effort to ensure that,
3352    in the event an application does not supply such function or
3353    table, the facility still operates, and performs whatever part of
3354    its purpose remains meaningful.
3355
3356    (For example, a function in a library to compute square roots has
3357    a purpose that is entirely well-defined independent of the
3358    application.  Therefore, Subsection 2d requires that any
3359    application-supplied function or table used by this function must
3360    be optional: if the application does not supply it, the square
3361    root function must still compute square roots.)
3362
3363These requirements apply to the modified work as a whole.  If
3364identifiable sections of that work are not derived from the Library,
3365and can be reasonably considered independent and separate works in
3366themselves, then this License, and its terms, do not apply to those
3367sections when you distribute them as separate works.  But when you
3368distribute the same sections as part of a whole which is a work based
3369on the Library, the distribution of the whole must be on the terms of
3370this License, whose permissions for other licensees extend to the
3371entire whole, and thus to each and every part regardless of who wrote
3372it.
3373
3374Thus, it is not the intent of this section to claim rights or contest
3375your rights to work written entirely by you; rather, the intent is to
3376exercise the right to control the distribution of derivative or
3377collective works based on the Library.
3378
3379In addition, mere aggregation of another work not based on the Library
3380with the Library (or with a work based on the Library) on a volume of
3381a storage or distribution medium does not bring the other work under
3382the scope of this License.
3383
3384  3. You may opt to apply the terms of the ordinary GNU General Public
3385License instead of this License to a given copy of the Library.  To do
3386this, you must alter all the notices that refer to this License, so
3387that they refer to the ordinary GNU General Public License, version 2,
3388instead of to this License.  (If a newer version than version 2 of the
3389ordinary GNU General Public License has appeared, then you can specify
3390that version instead if you wish.)  Do not make any other change in
3391these notices.
3392
3393  Once this change is made in a given copy, it is irreversible for
3394that copy, so the ordinary GNU General Public License applies to all
3395subsequent copies and derivative works made from that copy.
3396
3397  This option is useful when you wish to copy part of the code of
3398the Library into a program that is not a library.
3399
3400  4. You may copy and distribute the Library (or a portion or
3401derivative of it, under Section 2) in object code or executable form
3402under the terms of Sections 1 and 2 above provided that you accompany
3403it with the complete corresponding machine-readable source code, which
3404must be distributed under the terms of Sections 1 and 2 above on a
3405medium customarily used for software interchange.
3406
3407  If distribution of object code is made by offering access to copy
3408from a designated place, then offering equivalent access to copy the
3409source code from the same place satisfies the requirement to
3410distribute the source code, even though third parties are not
3411compelled to copy the source along with the object code.
3412
3413  5. A program that contains no derivative of any portion of the
3414Library, but is designed to work with the Library by being compiled or
3415linked with it, is called a "work that uses the Library".  Such a
3416work, in isolation, is not a derivative work of the Library, and
3417therefore falls outside the scope of this License.
3418
3419  However, linking a "work that uses the Library" with the Library
3420creates an executable that is a derivative of the Library (because it
3421contains portions of the Library), rather than a "work that uses the
3422library".  The executable is therefore covered by this License.
3423Section 6 states terms for distribution of such executables.
3424
3425  When a "work that uses the Library" uses material from a header file
3426that is part of the Library, the object code for the work may be a
3427derivative work of the Library even though the source code is not.
3428Whether this is true is especially significant if the work can be
3429linked without the Library, or if the work is itself a library.  The
3430threshold for this to be true is not precisely defined by law.
3431
3432  If such an object file uses only numerical parameters, data
3433structure layouts and accessors, and small macros and small inline
3434functions (ten lines or less in length), then the use of the object
3435file is unrestricted, regardless of whether it is legally a derivative
3436work.  (Executables containing this object code plus portions of the
3437Library will still fall under Section 6.)
3438
3439  Otherwise, if the work is a derivative of the Library, you may
3440distribute the object code for the work under the terms of Section 6.
3441Any executables containing that work also fall under Section 6,
3442whether or not they are linked directly with the Library itself.
3443
3444  6. As an exception to the Sections above, you may also combine or
3445link a "work that uses the Library" with the Library to produce a
3446work containing portions of the Library, and distribute that work
3447under terms of your choice, provided that the terms permit
3448modification of the work for the customer's own use and reverse
3449engineering for debugging such modifications.
3450
3451  You must give prominent notice with each copy of the work that the
3452Library is used in it and that the Library and its use are covered by
3453this License.  You must supply a copy of this License.  If the work
3454during execution displays copyright notices, you must include the
3455copyright notice for the Library among them, as well as a reference
3456directing the user to the copy of this License.  Also, you must do one
3457of these things:
3458
3459    a) Accompany the work with the complete corresponding
3460    machine-readable source code for the Library including whatever
3461    changes were used in the work (which must be distributed under
3462    Sections 1 and 2 above); and, if the work is an executable linked
3463    with the Library, with the complete machine-readable "work that
3464    uses the Library", as object code and/or source code, so that the
3465    user can modify the Library and then relink to produce a modified
3466    executable containing the modified Library.  (It is understood
3467    that the user who changes the contents of definitions files in the
3468    Library will not necessarily be able to recompile the application
3469    to use the modified definitions.)
3470
3471    b) Use a suitable shared library mechanism for linking with the
3472    Library.  A suitable mechanism is one that (1) uses at run time a
3473    copy of the library already present on the user's computer system,
3474    rather than copying library functions into the executable, and (2)
3475    will operate properly with a modified version of the library, if
3476    the user installs one, as long as the modified version is
3477    interface-compatible with the version that the work was made with.
3478
3479    c) Accompany the work with a written offer, valid for at
3480    least three years, to give the same user the materials
3481    specified in Subsection 6a, above, for a charge no more
3482    than the cost of performing this distribution.
3483
3484    d) If distribution of the work is made by offering access to copy
3485    from a designated place, offer equivalent access to copy the above
3486    specified materials from the same place.
3487
3488    e) Verify that the user has already received a copy of these
3489    materials or that you have already sent this user a copy.
3490
3491  For an executable, the required form of the "work that uses the
3492Library" must include any data and utility programs needed for
3493reproducing the executable from it.  However, as a special exception,
3494the materials to be distributed need not include anything that is
3495normally distributed (in either source or binary form) with the major
3496components (compiler, kernel, and so on) of the operating system on
3497which the executable runs, unless that component itself accompanies
3498the executable.
3499
3500  It may happen that this requirement contradicts the license
3501restrictions of other proprietary libraries that do not normally
3502accompany the operating system.  Such a contradiction means you cannot
3503use both them and the Library together in an executable that you
3504distribute.
3505
3506  7. You may place library facilities that are a work based on the
3507Library side-by-side in a single library together with other library
3508facilities not covered by this License, and distribute such a combined
3509library, provided that the separate distribution of the work based on
3510the Library and of the other library facilities is otherwise
3511permitted, and provided that you do these two things:
3512
3513    a) Accompany the combined library with a copy of the same work
3514    based on the Library, uncombined with any other library
3515    facilities.  This must be distributed under the terms of the
3516    Sections above.
3517
3518    b) Give prominent notice with the combined library of the fact
3519    that part of it is a work based on the Library, and explaining
3520    where to find the accompanying uncombined form of the same work.
3521
3522  8. You may not copy, modify, sublicense, link with, or distribute
3523the Library except as expressly provided under this License.  Any
3524attempt otherwise to copy, modify, sublicense, link with, or
3525distribute the Library is void, and will automatically terminate your
3526rights under this License.  However, parties who have received copies,
3527or rights, from you under this License will not have their licenses
3528terminated so long as such parties remain in full compliance.
3529
3530  9. You are not required to accept this License, since you have not
3531signed it.  However, nothing else grants you permission to modify or
3532distribute the Library or its derivative works.  These actions are
3533prohibited by law if you do not accept this License.  Therefore, by
3534modifying or distributing the Library (or any work based on the
3535Library), you indicate your acceptance of this License to do so, and
3536all its terms and conditions for copying, distributing or modifying
3537the Library or works based on it.
3538
3539  10. Each time you redistribute the Library (or any work based on the
3540Library), the recipient automatically receives a license from the
3541original licensor to copy, distribute, link with or modify the Library
3542subject to these terms and conditions.  You may not impose any further
3543restrictions on the recipients' exercise of the rights granted herein.
3544You are not responsible for enforcing compliance by third parties with
3545this License.
3546
3547  11. If, as a consequence of a court judgment or allegation of patent
3548infringement or for any other reason (not limited to patent issues),
3549conditions are imposed on you (whether by court order, agreement or
3550otherwise) that contradict the conditions of this License, they do not
3551excuse you from the conditions of this License.  If you cannot
3552distribute so as to satisfy simultaneously your obligations under this
3553License and any other pertinent obligations, then as a consequence you
3554may not distribute the Library at all.  For example, if a patent
3555license would not permit royalty-free redistribution of the Library by
3556all those who receive copies directly or indirectly through you, then
3557the only way you could satisfy both it and this License would be to
3558refrain entirely from distribution of the Library.
3559
3560If any portion of this section is held invalid or unenforceable under any
3561particular circumstance, the balance of the section is intended to apply,
3562and the section as a whole is intended to apply in other circumstances.
3563
3564It is not the purpose of this section to induce you to infringe any
3565patents or other property right claims or to contest validity of any
3566such claims; this section has the sole purpose of protecting the
3567integrity of the free software distribution system which is
3568implemented by public license practices.  Many people have made
3569generous contributions to the wide range of software distributed
3570through that system in reliance on consistent application of that
3571system; it is up to the author/donor to decide if he or she is willing
3572to distribute software through any other system and a licensee cannot
3573impose that choice.
3574
3575This section is intended to make thoroughly clear what is believed to
3576be a consequence of the rest of this License.
3577
3578  12. If the distribution and/or use of the Library is restricted in
3579certain countries either by patents or by copyrighted interfaces, the
3580original copyright holder who places the Library under this License may add
3581an explicit geographical distribution limitation excluding those countries,
3582so that distribution is permitted only in or among countries not thus
3583excluded.  In such case, this License incorporates the limitation as if
3584written in the body of this License.
3585
3586  13. The Free Software Foundation may publish revised and/or new
3587versions of the Lesser General Public License from time to time.
3588Such new versions will be similar in spirit to the present version,
3589but may differ in detail to address new problems or concerns.
3590
3591Each version is given a distinguishing version number.  If the Library
3592specifies a version number of this License which applies to it and
3593"any later version", you have the option of following the terms and
3594conditions either of that version or of any later version published by
3595the Free Software Foundation.  If the Library does not specify a
3596license version number, you may choose any version ever published by
3597the Free Software Foundation.
3598
3599  14. If you wish to incorporate parts of the Library into other free
3600programs whose distribution conditions are incompatible with these,
3601write to the author to ask for permission.  For software which is
3602copyrighted by the Free Software Foundation, write to the Free
3603Software Foundation; we sometimes make exceptions for this.  Our
3604decision will be guided by the two goals of preserving the free status
3605of all derivatives of our free software and of promoting the sharing
3606and reuse of software generally.
3607
3608			    NO WARRANTY
3609
3610  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
3611WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
3612EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
3613OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
3614KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
3615IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3616PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
3617LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
3618THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
3619
3620  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
3621WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
3622AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
3623FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
3624CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
3625LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
3626RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
3627FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
3628SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
3629DAMAGES.
3630
3631		     END OF TERMS AND CONDITIONS
3632
3633           How to Apply These Terms to Your New Libraries
3634
3635  If you develop a new library, and you want it to be of the greatest
3636possible use to the public, we recommend making it free software that
3637everyone can redistribute and change.  You can do so by permitting
3638redistribution under these terms (or, alternatively, under the terms of the
3639ordinary General Public License).
3640
3641  To apply these terms, attach the following notices to the library.  It is
3642safest to attach them to the start of each source file to most effectively
3643convey the exclusion of warranty; and each file should have at least the
3644"copyright" line and a pointer to where the full notice is found.
3645
3646    <one line to give the library's name and a brief idea of what it does.>
3647    Copyright (C) <year>  <name of author>
3648
3649    This library is free software; you can redistribute it and/or
3650    modify it under the terms of the GNU Lesser General Public
3651    License as published by the Free Software Foundation; either
3652    version 2.1 of the License, or (at your option) any later version.
3653
3654    This library is distributed in the hope that it will be useful,
3655    but WITHOUT ANY WARRANTY; without even the implied warranty of
3656    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
3657    Lesser General Public License for more details.
3658
3659    You should have received a copy of the GNU Lesser General Public
3660    License along with this library; if not, write to the Free Software
3661    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
3662
3663Also add information on how to contact you by electronic and paper mail.
3664
3665You should also get your employer (if you work as a programmer) or your
3666school, if any, to sign a "copyright disclaimer" for the library, if
3667necessary.  Here is a sample; alter the names:
3668
3669  Yoyodyne, Inc., hereby disclaims all copyright interest in the
3670  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
3671
3672  <signature of Ty Coon>, 1 April 1990
3673  Ty Coon, President of Vice
3674
3675That's all there is to it!
3676
3677
3678
3679// Copyright (c) 2010 The Chromium Authors. All rights reserved.
3680//
3681// Redistribution and use in source and binary forms, with or without
3682// modification, are permitted provided that the following conditions are
3683// met:
3684//
3685//    * Redistributions of source code must retain the above copyright
3686// notice, this list of conditions and the following disclaimer.
3687//    * Redistributions in binary form must reproduce the above
3688// copyright notice, this list of conditions and the following disclaimer
3689// in the documentation and/or other materials provided with the
3690// distribution.
3691//    * Neither the name of Google Inc. nor the names of its
3692// contributors may be used to endorse or promote products derived from
3693// this software without specific prior written permission.
3694//
3695// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3696// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3697// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3698// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3699// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3700// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3701// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3702// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3703// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3704// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3705// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3706
3707
3708                                 Apache License
3709                           Version 2.0, January 2004
3710                        http://www.apache.org/licenses/
3711
3712   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
3713
3714   1. Definitions.
3715
3716      "License" shall mean the terms and conditions for use, reproduction,
3717      and distribution as defined by Sections 1 through 9 of this document.
3718
3719      "Licensor" shall mean the copyright owner or entity authorized by
3720      the copyright owner that is granting the License.
3721
3722      "Legal Entity" shall mean the union of the acting entity and all
3723      other entities that control, are controlled by, or are under common
3724      control with that entity. For the purposes of this definition,
3725      "control" means (i) the power, direct or indirect, to cause the
3726      direction or management of such entity, whether by contract or
3727      otherwise, or (ii) ownership of fifty percent (50%) or more of the
3728      outstanding shares, or (iii) beneficial ownership of such entity.
3729
3730      "You" (or "Your") shall mean an individual or Legal Entity
3731      exercising permissions granted by this License.
3732
3733      "Source" form shall mean the preferred form for making modifications,
3734      including but not limited to software source code, documentation
3735      source, and configuration files.
3736
3737      "Object" form shall mean any form resulting from mechanical
3738      transformation or translation of a Source form, including but
3739      not limited to compiled object code, generated documentation,
3740      and conversions to other media types.
3741
3742      "Work" shall mean the work of authorship, whether in Source or
3743      Object form, made available under the License, as indicated by a
3744      copyright notice that is included in or attached to the work
3745      (an example is provided in the Appendix below).
3746
3747      "Derivative Works" shall mean any work, whether in Source or Object
3748      form, that is based on (or derived from) the Work and for which the
3749      editorial revisions, annotations, elaborations, or other modifications
3750      represent, as a whole, an original work of authorship. For the purposes
3751      of this License, Derivative Works shall not include works that remain
3752      separable from, or merely link (or bind by name) to the interfaces of,
3753      the Work and Derivative Works thereof.
3754
3755      "Contribution" shall mean any work of authorship, including
3756      the original version of the Work and any modifications or additions
3757      to that Work or Derivative Works thereof, that is intentionally
3758      submitted to Licensor for inclusion in the Work by the copyright owner
3759      or by an individual or Legal Entity authorized to submit on behalf of
3760      the copyright owner. For the purposes of this definition, "submitted"
3761      means any form of electronic, verbal, or written communication sent
3762      to the Licensor or its representatives, including but not limited to
3763      communication on electronic mailing lists, source code control systems,
3764      and issue tracking systems that are managed by, or on behalf of, the
3765      Licensor for the purpose of discussing and improving the Work, but
3766      excluding communication that is conspicuously marked or otherwise
3767      designated in writing by the copyright owner as "Not a Contribution."
3768
3769      "Contributor" shall mean Licensor and any individual or Legal Entity
3770      on behalf of whom a Contribution has been received by Licensor and
3771      subsequently incorporated within the Work.
3772
3773   2. Grant of Copyright License. Subject to the terms and conditions of
3774      this License, each Contributor hereby grants to You a perpetual,
3775      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3776      copyright license to reproduce, prepare Derivative Works of,
3777      publicly display, publicly perform, sublicense, and distribute the
3778      Work and such Derivative Works in Source or Object form.
3779
3780   3. Grant of Patent License. Subject to the terms and conditions of
3781      this License, each Contributor hereby grants to You a perpetual,
3782      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3783      (except as stated in this section) patent license to make, have made,
3784      use, offer to sell, sell, import, and otherwise transfer the Work,
3785      where such license applies only to those patent claims licensable
3786      by such Contributor that are necessarily infringed by their
3787      Contribution(s) alone or by combination of their Contribution(s)
3788      with the Work to which such Contribution(s) was submitted. If You
3789      institute patent litigation against any entity (including a
3790      cross-claim or counterclaim in a lawsuit) alleging that the Work
3791      or a Contribution incorporated within the Work constitutes direct
3792      or contributory patent infringement, then any patent licenses
3793      granted to You under this License for that Work shall terminate
3794      as of the date such litigation is filed.
3795
3796   4. Redistribution. You may reproduce and distribute copies of the
3797      Work or Derivative Works thereof in any medium, with or without
3798      modifications, and in Source or Object form, provided that You
3799      meet the following conditions:
3800
3801      (a) You must give any other recipients of the Work or
3802          Derivative Works a copy of this License; and
3803
3804      (b) You must cause any modified files to carry prominent notices
3805          stating that You changed the files; and
3806
3807      (c) You must retain, in the Source form of any Derivative Works
3808          that You distribute, all copyright, patent, trademark, and
3809          attribution notices from the Source form of the Work,
3810          excluding those notices that do not pertain to any part of
3811          the Derivative Works; and
3812
3813      (d) If the Work includes a "NOTICE" text file as part of its
3814          distribution, then any Derivative Works that You distribute must
3815          include a readable copy of the attribution notices contained
3816          within such NOTICE file, excluding those notices that do not
3817          pertain to any part of the Derivative Works, in at least one
3818          of the following places: within a NOTICE text file distributed
3819          as part of the Derivative Works; within the Source form or
3820          documentation, if provided along with the Derivative Works; or,
3821          within a display generated by the Derivative Works, if and
3822          wherever such third-party notices normally appear. The contents
3823          of the NOTICE file are for informational purposes only and
3824          do not modify the License. You may add Your own attribution
3825          notices within Derivative Works that You distribute, alongside
3826          or as an addendum to the NOTICE text from the Work, provided
3827          that such additional attribution notices cannot be construed
3828          as modifying the License.
3829
3830      You may add Your own copyright statement to Your modifications and
3831      may provide additional or different license terms and conditions
3832      for use, reproduction, or distribution of Your modifications, or
3833      for any such Derivative Works as a whole, provided Your use,
3834      reproduction, and distribution of the Work otherwise complies with
3835      the conditions stated in this License.
3836
3837   5. Submission of Contributions. Unless You explicitly state otherwise,
3838      any Contribution intentionally submitted for inclusion in the Work
3839      by You to the Licensor shall be under the terms and conditions of
3840      this License, without any additional terms or conditions.
3841      Notwithstanding the above, nothing herein shall supersede or modify
3842      the terms of any separate license agreement you may have executed
3843      with Licensor regarding such Contributions.
3844
3845   6. Trademarks. This License does not grant permission to use the trade
3846      names, trademarks, service marks, or product names of the Licensor,
3847      except as required for reasonable and customary use in describing the
3848      origin of the Work and reproducing the content of the NOTICE file.
3849
3850   7. Disclaimer of Warranty. Unless required by applicable law or
3851      agreed to in writing, Licensor provides the Work (and each
3852      Contributor provides its Contributions) on an "AS IS" BASIS,
3853      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
3854      implied, including, without limitation, any warranties or conditions
3855      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
3856      PARTICULAR PURPOSE. You are solely responsible for determining the
3857      appropriateness of using or redistributing the Work and assume any
3858      risks associated with Your exercise of permissions under this License.
3859
3860   8. Limitation of Liability. In no event and under no legal theory,
3861      whether in tort (including negligence), contract, or otherwise,
3862      unless required by applicable law (such as deliberate and grossly
3863      negligent acts) or agreed to in writing, shall any Contributor be
3864      liable to You for damages, including any direct, indirect, special,
3865      incidental, or consequential damages of any character arising as a
3866      result of this License or out of the use or inability to use the
3867      Work (including but not limited to damages for loss of goodwill,
3868      work stoppage, computer failure or malfunction, or any and all
3869      other commercial damages or losses), even if such Contributor
3870      has been advised of the possibility of such damages.
3871
3872   9. Accepting Warranty or Additional Liability. While redistributing
3873      the Work or Derivative Works thereof, You may choose to offer,
3874      and charge a fee for, acceptance of support, warranty, indemnity,
3875      or other liability obligations and/or rights consistent with this
3876      License. However, in accepting such obligations, You may act only
3877      on Your own behalf and on Your sole responsibility, not on behalf
3878      of any other Contributor, and only if You agree to indemnify,
3879      defend, and hold each Contributor harmless for any liability
3880      incurred by, or claims asserted against, such Contributor by reason
3881      of your accepting any such warranty or additional liability.
3882
3883   END OF TERMS AND CONDITIONS
3884
3885   APPENDIX: How to apply the Apache License to your work.
3886
3887      To apply the Apache License to your work, attach the following
3888      boilerplate notice, with the fields enclosed by brackets "[]"
3889      replaced with your own identifying information. (Don't include
3890      the brackets!)  The text should be enclosed in the appropriate
3891      comment syntax for the file format. We also recommend that a
3892      file or class name and description of purpose be included on the
3893      same "printed page" as the copyright notice for easier
3894      identification within third-party archives.
3895
3896   Copyright [yyyy] [name of copyright owner]
3897
3898   Licensed under the Apache License, Version 2.0 (the "License");
3899   you may not use this file except in compliance with the License.
3900   You may obtain a copy of the License at
3901
3902       http://www.apache.org/licenses/LICENSE-2.0
3903
3904   Unless required by applicable law or agreed to in writing, software
3905   distributed under the License is distributed on an "AS IS" BASIS,
3906   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3907   See the License for the specific language governing permissions and
3908   limitations under the License.
3909
3910
3911                                 Apache License
3912                           Version 2.0, January 2004
3913                        http://www.apache.org/licenses/
3914
3915   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
3916
3917   1. Definitions.
3918
3919      "License" shall mean the terms and conditions for use, reproduction,
3920      and distribution as defined by Sections 1 through 9 of this document.
3921
3922      "Licensor" shall mean the copyright owner or entity authorized by
3923      the copyright owner that is granting the License.
3924
3925      "Legal Entity" shall mean the union of the acting entity and all
3926      other entities that control, are controlled by, or are under common
3927      control with that entity. For the purposes of this definition,
3928      "control" means (i) the power, direct or indirect, to cause the
3929      direction or management of such entity, whether by contract or
3930      otherwise, or (ii) ownership of fifty percent (50%) or more of the
3931      outstanding shares, or (iii) beneficial ownership of such entity.
3932
3933      "You" (or "Your") shall mean an individual or Legal Entity
3934      exercising permissions granted by this License.
3935
3936      "Source" form shall mean the preferred form for making modifications,
3937      including but not limited to software source code, documentation
3938      source, and configuration files.
3939
3940      "Object" form shall mean any form resulting from mechanical
3941      transformation or translation of a Source form, including but
3942      not limited to compiled object code, generated documentation,
3943      and conversions to other media types.
3944
3945      "Work" shall mean the work of authorship, whether in Source or
3946      Object form, made available under the License, as indicated by a
3947      copyright notice that is included in or attached to the work
3948      (an example is provided in the Appendix below).
3949
3950      "Derivative Works" shall mean any work, whether in Source or Object
3951      form, that is based on (or derived from) the Work and for which the
3952      editorial revisions, annotations, elaborations, or other modifications
3953      represent, as a whole, an original work of authorship. For the purposes
3954      of this License, Derivative Works shall not include works that remain
3955      separable from, or merely link (or bind by name) to the interfaces of,
3956      the Work and Derivative Works thereof.
3957
3958      "Contribution" shall mean any work of authorship, including
3959      the original version of the Work and any modifications or additions
3960      to that Work or Derivative Works thereof, that is intentionally
3961      submitted to Licensor for inclusion in the Work by the copyright owner
3962      or by an individual or Legal Entity authorized to submit on behalf of
3963      the copyright owner. For the purposes of this definition, "submitted"
3964      means any form of electronic, verbal, or written communication sent
3965      to the Licensor or its representatives, including but not limited to
3966      communication on electronic mailing lists, source code control systems,
3967      and issue tracking systems that are managed by, or on behalf of, the
3968      Licensor for the purpose of discussing and improving the Work, but
3969      excluding communication that is conspicuously marked or otherwise
3970      designated in writing by the copyright owner as "Not a Contribution."
3971
3972      "Contributor" shall mean Licensor and any individual or Legal Entity
3973      on behalf of whom a Contribution has been received by Licensor and
3974      subsequently incorporated within the Work.
3975
3976   2. Grant of Copyright License. Subject to the terms and conditions of
3977      this License, each Contributor hereby grants to You a perpetual,
3978      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3979      copyright license to reproduce, prepare Derivative Works of,
3980      publicly display, publicly perform, sublicense, and distribute the
3981      Work and such Derivative Works in Source or Object form.
3982
3983   3. Grant of Patent License. Subject to the terms and conditions of
3984      this License, each Contributor hereby grants to You a perpetual,
3985      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3986      (except as stated in this section) patent license to make, have made,
3987      use, offer to sell, sell, import, and otherwise transfer the Work,
3988      where such license applies only to those patent claims licensable
3989      by such Contributor that are necessarily infringed by their
3990      Contribution(s) alone or by combination of their Contribution(s)
3991      with the Work to which such Contribution(s) was submitted. If You
3992      institute patent litigation against any entity (including a
3993      cross-claim or counterclaim in a lawsuit) alleging that the Work
3994      or a Contribution incorporated within the Work constitutes direct
3995      or contributory patent infringement, then any patent licenses
3996      granted to You under this License for that Work shall terminate
3997      as of the date such litigation is filed.
3998
3999   4. Redistribution. You may reproduce and distribute copies of the
4000      Work or Derivative Works thereof in any medium, with or without
4001      modifications, and in Source or Object form, provided that You
4002      meet the following conditions:
4003
4004      (a) You must give any other recipients of the Work or
4005          Derivative Works a copy of this License; and
4006
4007      (b) You must cause any modified files to carry prominent notices
4008          stating that You changed the files; and
4009
4010      (c) You must retain, in the Source form of any Derivative Works
4011          that You distribute, all copyright, patent, trademark, and
4012          attribution notices from the Source form of the Work,
4013          excluding those notices that do not pertain to any part of
4014          the Derivative Works; and
4015
4016      (d) If the Work includes a "NOTICE" text file as part of its
4017          distribution, then any Derivative Works that You distribute must
4018          include a readable copy of the attribution notices contained
4019          within such NOTICE file, excluding those notices that do not
4020          pertain to any part of the Derivative Works, in at least one
4021          of the following places: within a NOTICE text file distributed
4022          as part of the Derivative Works; within the Source form or
4023          documentation, if provided along with the Derivative Works; or,
4024          within a display generated by the Derivative Works, if and
4025          wherever such third-party notices normally appear. The contents
4026          of the NOTICE file are for informational purposes only and
4027          do not modify the License. You may add Your own attribution
4028          notices within Derivative Works that You distribute, alongside
4029          or as an addendum to the NOTICE text from the Work, provided
4030          that such additional attribution notices cannot be construed
4031          as modifying the License.
4032
4033      You may add Your own copyright statement to Your modifications and
4034      may provide additional or different license terms and conditions
4035      for use, reproduction, or distribution of Your modifications, or
4036      for any such Derivative Works as a whole, provided Your use,
4037      reproduction, and distribution of the Work otherwise complies with
4038      the conditions stated in this License.
4039
4040   5. Submission of Contributions. Unless You explicitly state otherwise,
4041      any Contribution intentionally submitted for inclusion in the Work
4042      by You to the Licensor shall be under the terms and conditions of
4043      this License, without any additional terms or conditions.
4044      Notwithstanding the above, nothing herein shall supersede or modify
4045      the terms of any separate license agreement you may have executed
4046      with Licensor regarding such Contributions.
4047
4048   6. Trademarks. This License does not grant permission to use the trade
4049      names, trademarks, service marks, or product names of the Licensor,
4050      except as required for reasonable and customary use in describing the
4051      origin of the Work and reproducing the content of the NOTICE file.
4052
4053   7. Disclaimer of Warranty. Unless required by applicable law or
4054      agreed to in writing, Licensor provides the Work (and each
4055      Contributor provides its Contributions) on an "AS IS" BASIS,
4056      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
4057      implied, including, without limitation, any warranties or conditions
4058      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
4059      PARTICULAR PURPOSE. You are solely responsible for determining the
4060      appropriateness of using or redistributing the Work and assume any
4061      risks associated with Your exercise of permissions under this License.
4062
4063   8. Limitation of Liability. In no event and under no legal theory,
4064      whether in tort (including negligence), contract, or otherwise,
4065      unless required by applicable law (such as deliberate and grossly
4066      negligent acts) or agreed to in writing, shall any Contributor be
4067      liable to You for damages, including any direct, indirect, special,
4068      incidental, or consequential damages of any character arising as a
4069      result of this License or out of the use or inability to use the
4070      Work (including but not limited to damages for loss of goodwill,
4071      work stoppage, computer failure or malfunction, or any and all
4072      other commercial damages or losses), even if such Contributor
4073      has been advised of the possibility of such damages.
4074
4075   9. Accepting Warranty or Additional Liability. While redistributing
4076      the Work or Derivative Works thereof, You may choose to offer,
4077      and charge a fee for, acceptance of support, warranty, indemnity,
4078      or other liability obligations and/or rights consistent with this
4079      License. However, in accepting such obligations, You may act only
4080      on Your own behalf and on Your sole responsibility, not on behalf
4081      of any other Contributor, and only if You agree to indemnify,
4082      defend, and hold each Contributor harmless for any liability
4083      incurred by, or claims asserted against, such Contributor by reason
4084      of your accepting any such warranty or additional liability.
4085
4086   END OF TERMS AND CONDITIONS
4087
4088   APPENDIX: How to apply the Apache License to your work.
4089
4090      To apply the Apache License to your work, attach the following
4091      boilerplate notice, with the fields enclosed by brackets "[]"
4092      replaced with your own identifying information. (Don't include
4093      the brackets!)  The text should be enclosed in the appropriate
4094      comment syntax for the file format. We also recommend that a
4095      file or class name and description of purpose be included on the
4096      same "printed page" as the copyright notice for easier
4097      identification within third-party archives.
4098
4099   Copyright [yyyy] [name of copyright owner]
4100
4101   Licensed under the Apache License, Version 2.0 (the "License");
4102   you may not use this file except in compliance with the License.
4103   You may obtain a copy of the License at
4104
4105       http://www.apache.org/licenses/LICENSE-2.0
4106
4107   Unless required by applicable law or agreed to in writing, software
4108   distributed under the License is distributed on an "AS IS" BASIS,
4109   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4110   See the License for the specific language governing permissions and
4111   limitations under the License.
4112
4113                          MOZILLA PUBLIC LICENSE
4114                                Version 1.1
4115
4116                              ---------------
4117
41181. Definitions.
4119
4120     1.0.1. "Commercial Use" means distribution or otherwise making the
4121     Covered Code available to a third party.
4122
4123     1.1. "Contributor" means each entity that creates or contributes to
4124     the creation of Modifications.
4125
4126     1.2. "Contributor Version" means the combination of the Original
4127     Code, prior Modifications used by a Contributor, and the Modifications
4128     made by that particular Contributor.
4129
4130     1.3. "Covered Code" means the Original Code or Modifications or the
4131     combination of the Original Code and Modifications, in each case
4132     including portions thereof.
4133
4134     1.4. "Electronic Distribution Mechanism" means a mechanism generally
4135     accepted in the software development community for the electronic
4136     transfer of data.
4137
4138     1.5. "Executable" means Covered Code in any form other than Source
4139     Code.
4140
4141     1.6. "Initial Developer" means the individual or entity identified
4142     as the Initial Developer in the Source Code notice required by Exhibit
4143     A.
4144
4145     1.7. "Larger Work" means a work which combines Covered Code or
4146     portions thereof with code not governed by the terms of this License.
4147
4148     1.8. "License" means this document.
4149
4150     1.8.1. "Licensable" means having the right to grant, to the maximum
4151     extent possible, whether at the time of the initial grant or
4152     subsequently acquired, any and all of the rights conveyed herein.
4153
4154     1.9. "Modifications" means any addition to or deletion from the
4155     substance or structure of either the Original Code or any previous
4156     Modifications. When Covered Code is released as a series of files, a
4157     Modification is:
4158          A. Any addition to or deletion from the contents of a file
4159          containing Original Code or previous Modifications.
4160
4161          B. Any new file that contains any part of the Original Code or
4162          previous Modifications.
4163
4164     1.10. "Original Code" means Source Code of computer software code
4165     which is described in the Source Code notice required by Exhibit A as
4166     Original Code, and which, at the time of its release under this
4167     License is not already Covered Code governed by this License.
4168
4169     1.10.1. "Patent Claims" means any patent claim(s), now owned or
4170     hereafter acquired, including without limitation, method, process,
4171     and apparatus claims, in any patent Licensable by grantor.
4172
4173     1.11. "Source Code" means the preferred form of the Covered Code for
4174     making modifications to it, including all modules it contains, plus
4175     any associated interface definition files, scripts used to control
4176     compilation and installation of an Executable, or source code
4177     differential comparisons against either the Original Code or another
4178     well known, available Covered Code of the Contributor's choice. The
4179     Source Code can be in a compressed or archival form, provided the
4180     appropriate decompression or de-archiving software is widely available
4181     for no charge.
4182
4183     1.12. "You" (or "Your") means an individual or a legal entity
4184     exercising rights under, and complying with all of the terms of, this
4185     License or a future version of this License issued under Section 6.1.
4186     For legal entities, "You" includes any entity which controls, is
4187     controlled by, or is under common control with You. For purposes of
4188     this definition, "control" means (a) the power, direct or indirect,
4189     to cause the direction or management of such entity, whether by
4190     contract or otherwise, or (b) ownership of more than fifty percent
4191     (50%) of the outstanding shares or beneficial ownership of such
4192     entity.
4193
41942. Source Code License.
4195
4196     2.1. The Initial Developer Grant.
4197     The Initial Developer hereby grants You a world-wide, royalty-free,
4198     non-exclusive license, subject to third party intellectual property
4199     claims:
4200          (a) under intellectual property rights (other than patent or
4201          trademark) Licensable by Initial Developer to use, reproduce,
4202          modify, display, perform, sublicense and distribute the Original
4203          Code (or portions thereof) with or without Modifications, and/or
4204          as part of a Larger Work; and
4205
4206          (b) under Patents Claims infringed by the making, using or
4207          selling of Original Code, to make, have made, use, practice,
4208          sell, and offer for sale, and/or otherwise dispose of the
4209          Original Code (or portions thereof).
4210
4211          (c) the licenses granted in this Section 2.1(a) and (b) are
4212          effective on the date Initial Developer first distributes
4213          Original Code under the terms of this License.
4214
4215          (d) Notwithstanding Section 2.1(b) above, no patent license is
4216          granted: 1) for code that You delete from the Original Code; 2)
4217          separate from the Original Code; or 3) for infringements caused
4218          by: i) the modification of the Original Code or ii) the
4219          combination of the Original Code with other software or devices.
4220
4221     2.2. Contributor Grant.
4222     Subject to third party intellectual property claims, each Contributor
4223     hereby grants You a world-wide, royalty-free, non-exclusive license
4224
4225          (a) under intellectual property rights (other than patent or
4226          trademark) Licensable by Contributor, to use, reproduce, modify,
4227          display, perform, sublicense and distribute the Modifications
4228          created by such Contributor (or portions thereof) either on an
4229          unmodified basis, with other Modifications, as Covered Code
4230          and/or as part of a Larger Work; and
4231
4232          (b) under Patent Claims infringed by the making, using, or
4233          selling of Modifications made by that Contributor either alone
4234          and/or in combination with its Contributor Version (or portions
4235          of such combination), to make, use, sell, offer for sale, have
4236          made, and/or otherwise dispose of: 1) Modifications made by that
4237          Contributor (or portions thereof); and 2) the combination of
4238          Modifications made by that Contributor with its Contributor
4239          Version (or portions of such combination).
4240
4241          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
4242          effective on the date Contributor first makes Commercial Use of
4243          the Covered Code.
4244
4245          (d) Notwithstanding Section 2.2(b) above, no patent license is
4246          granted: 1) for any code that Contributor has deleted from the
4247          Contributor Version; 2) separate from the Contributor Version;
4248          3) for infringements caused by: i) third party modifications of
4249          Contributor Version or ii) the combination of Modifications made
4250          by that Contributor with other software (except as part of the
4251          Contributor Version) or other devices; or 4) under Patent Claims
4252          infringed by Covered Code in the absence of Modifications made by
4253          that Contributor.
4254
42553. Distribution Obligations.
4256
4257     3.1. Application of License.
4258     The Modifications which You create or to which You contribute are
4259     governed by the terms of this License, including without limitation
4260     Section 2.2. The Source Code version of Covered Code may be
4261     distributed only under the terms of this License or a future version
4262     of this License released under Section 6.1, and You must include a
4263     copy of this License with every copy of the Source Code You
4264     distribute. You may not offer or impose any terms on any Source Code
4265     version that alters or restricts the applicable version of this
4266     License or the recipients' rights hereunder. However, You may include
4267     an additional document offering the additional rights described in
4268     Section 3.5.
4269
4270     3.2. Availability of Source Code.
4271     Any Modification which You create or to which You contribute must be
4272     made available in Source Code form under the terms of this License
4273     either on the same media as an Executable version or via an accepted
4274     Electronic Distribution Mechanism to anyone to whom you made an
4275     Executable version available; and if made available via Electronic
4276     Distribution Mechanism, must remain available for at least twelve (12)
4277     months after the date it initially became available, or at least six
4278     (6) months after a subsequent version of that particular Modification
4279     has been made available to such recipients. You are responsible for
4280     ensuring that the Source Code version remains available even if the
4281     Electronic Distribution Mechanism is maintained by a third party.
4282
4283     3.3. Description of Modifications.
4284     You must cause all Covered Code to which You contribute to contain a
4285     file documenting the changes You made to create that Covered Code and
4286     the date of any change. You must include a prominent statement that
4287     the Modification is derived, directly or indirectly, from Original
4288     Code provided by the Initial Developer and including the name of the
4289     Initial Developer in (a) the Source Code, and (b) in any notice in an
4290     Executable version or related documentation in which You describe the
4291     origin or ownership of the Covered Code.
4292
4293     3.4. Intellectual Property Matters
4294          (a) Third Party Claims.
4295          If Contributor has knowledge that a license under a third party's
4296          intellectual property rights is required to exercise the rights
4297          granted by such Contributor under Sections 2.1 or 2.2,
4298          Contributor must include a text file with the Source Code
4299          distribution titled "LEGAL" which describes the claim and the
4300          party making the claim in sufficient detail that a recipient will
4301          know whom to contact. If Contributor obtains such knowledge after
4302          the Modification is made available as described in Section 3.2,
4303          Contributor shall promptly modify the LEGAL file in all copies
4304          Contributor makes available thereafter and shall take other steps
4305          (such as notifying appropriate mailing lists or newsgroups)
4306          reasonably calculated to inform those who received the Covered
4307          Code that new knowledge has been obtained.
4308
4309          (b) Contributor APIs.
4310          If Contributor's Modifications include an application programming
4311          interface and Contributor has knowledge of patent licenses which
4312          are reasonably necessary to implement that API, Contributor must
4313          also include this information in the LEGAL file.
4314
4315          (c) Representations.
4316          Contributor represents that, except as disclosed pursuant to
4317          Section 3.4(a) above, Contributor believes that Contributor's
4318          Modifications are Contributor's original creation(s) and/or
4319          Contributor has sufficient rights to grant the rights conveyed by
4320          this License.
4321
4322     3.5. Required Notices.
4323     You must duplicate the notice in Exhibit A in each file of the Source
4324     Code. If it is not possible to put such notice in a particular Source
4325     Code file due to its structure, then You must include such notice in a
4326     location (such as a relevant directory) where a user would be likely
4327     to look for such a notice. If You created one or more Modification(s)
4328     You may add your name as a Contributor to the notice described in
4329     Exhibit A. You must also duplicate this License in any documentation
4330     for the Source Code where You describe recipients' rights or ownership
4331     rights relating to Covered Code. You may choose to offer, and to
4332     charge a fee for, warranty, support, indemnity or liability
4333     obligations to one or more recipients of Covered Code. However, You
4334     may do so only on Your own behalf, and not on behalf of the Initial
4335     Developer or any Contributor. You must make it absolutely clear than
4336     any such warranty, support, indemnity or liability obligation is
4337     offered by You alone, and You hereby agree to indemnify the Initial
4338     Developer and every Contributor for any liability incurred by the
4339     Initial Developer or such Contributor as a result of warranty,
4340     support, indemnity or liability terms You offer.
4341
4342     3.6. Distribution of Executable Versions.
4343     You may distribute Covered Code in Executable form only if the
4344     requirements of Section 3.1-3.5 have been met for that Covered Code,
4345     and if You include a notice stating that the Source Code version of
4346     the Covered Code is available under the terms of this License,
4347     including a description of how and where You have fulfilled the
4348     obligations of Section 3.2. The notice must be conspicuously included
4349     in any notice in an Executable version, related documentation or
4350     collateral in which You describe recipients' rights relating to the
4351     Covered Code. You may distribute the Executable version of Covered
4352     Code or ownership rights under a license of Your choice, which may
4353     contain terms different from this License, provided that You are in
4354     compliance with the terms of this License and that the license for the
4355     Executable version does not attempt to limit or alter the recipient's
4356     rights in the Source Code version from the rights set forth in this
4357     License. If You distribute the Executable version under a different
4358     license You must make it absolutely clear that any terms which differ
4359     from this License are offered by You alone, not by the Initial
4360     Developer or any Contributor. You hereby agree to indemnify the
4361     Initial Developer and every Contributor for any liability incurred by
4362     the Initial Developer or such Contributor as a result of any such
4363     terms You offer.
4364
4365     3.7. Larger Works.
4366     You may create a Larger Work by combining Covered Code with other code
4367     not governed by the terms of this License and distribute the Larger
4368     Work as a single product. In such a case, You must make sure the
4369     requirements of this License are fulfilled for the Covered Code.
4370
43714. Inability to Comply Due to Statute or Regulation.
4372
4373     If it is impossible for You to comply with any of the terms of this
4374     License with respect to some or all of the Covered Code due to
4375     statute, judicial order, or regulation then You must: (a) comply with
4376     the terms of this License to the maximum extent possible; and (b)
4377     describe the limitations and the code they affect. Such description
4378     must be included in the LEGAL file described in Section 3.4 and must
4379     be included with all distributions of the Source Code. Except to the
4380     extent prohibited by statute or regulation, such description must be
4381     sufficiently detailed for a recipient of ordinary skill to be able to
4382     understand it.
4383
43845. Application of this License.
4385
4386     This License applies to code to which the Initial Developer has
4387     attached the notice in Exhibit A and to related Covered Code.
4388
43896. Versions of the License.
4390
4391     6.1. New Versions.
4392     Netscape Communications Corporation ("Netscape") may publish revised
4393     and/or new versions of the License from time to time. Each version
4394     will be given a distinguishing version number.
4395
4396     6.2. Effect of New Versions.
4397     Once Covered Code has been published under a particular version of the
4398     License, You may always continue to use it under the terms of that
4399     version. You may also choose to use such Covered Code under the terms
4400     of any subsequent version of the License published by Netscape. No one
4401     other than Netscape has the right to modify the terms applicable to
4402     Covered Code created under this License.
4403
4404     6.3. Derivative Works.
4405     If You create or use a modified version of this License (which you may
4406     only do in order to apply it to code which is not already Covered Code
4407     governed by this License), You must (a) rename Your license so that
4408     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
4409     "MPL", "NPL" or any confusingly similar phrase do not appear in your
4410     license (except to note that your license differs from this License)
4411     and (b) otherwise make it clear that Your version of the license
4412     contains terms which differ from the Mozilla Public License and
4413     Netscape Public License. (Filling in the name of the Initial
4414     Developer, Original Code or Contributor in the notice described in
4415     Exhibit A shall not of themselves be deemed to be modifications of
4416     this License.)
4417
44187. DISCLAIMER OF WARRANTY.
4419
4420     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
4421     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
4422     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
4423     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
4424     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
4425     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
4426     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
4427     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
4428     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
4429     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
4430
44318. TERMINATION.
4432
4433     8.1. This License and the rights granted hereunder will terminate
4434     automatically if You fail to comply with terms herein and fail to cure
4435     such breach within 30 days of becoming aware of the breach. All
4436     sublicenses to the Covered Code which are properly granted shall
4437     survive any termination of this License. Provisions which, by their
4438     nature, must remain in effect beyond the termination of this License
4439     shall survive.
4440
4441     8.2. If You initiate litigation by asserting a patent infringement
4442     claim (excluding declatory judgment actions) against Initial Developer
4443     or a Contributor (the Initial Developer or Contributor against whom
4444     You file such action is referred to as "Participant") alleging that:
4445
4446     (a) such Participant's Contributor Version directly or indirectly
4447     infringes any patent, then any and all rights granted by such
4448     Participant to You under Sections 2.1 and/or 2.2 of this License
4449     shall, upon 60 days notice from Participant terminate prospectively,
4450     unless if within 60 days after receipt of notice You either: (i)
4451     agree in writing to pay Participant a mutually agreeable reasonable
4452     royalty for Your past and future use of Modifications made by such
4453     Participant, or (ii) withdraw Your litigation claim with respect to
4454     the Contributor Version against such Participant. If within 60 days
4455     of notice, a reasonable royalty and payment arrangement are not
4456     mutually agreed upon in writing by the parties or the litigation claim
4457     is not withdrawn, the rights granted by Participant to You under
4458     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
4459     the 60 day notice period specified above.
4460
4461     (b) any software, hardware, or device, other than such Participant's
4462     Contributor Version, directly or indirectly infringes any patent, then
4463     any rights granted to You by such Participant under Sections 2.1(b)
4464     and 2.2(b) are revoked effective as of the date You first made, used,
4465     sold, distributed, or had made, Modifications made by that
4466     Participant.
4467
4468     8.3. If You assert a patent infringement claim against Participant
4469     alleging that such Participant's Contributor Version directly or
4470     indirectly infringes any patent where such claim is resolved (such as
4471     by license or settlement) prior to the initiation of patent
4472     infringement litigation, then the reasonable value of the licenses
4473     granted by such Participant under Sections 2.1 or 2.2 shall be taken
4474     into account in determining the amount or value of any payment or
4475     license.
4476
4477     8.4. In the event of termination under Sections 8.1 or 8.2 above,
4478     all end user license agreements (excluding distributors and resellers)
4479     which have been validly granted by You or any distributor hereunder
4480     prior to termination shall survive termination.
4481
44829. LIMITATION OF LIABILITY.
4483
4484     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
4485     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
4486     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
4487     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
4488     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
4489     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
4490     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
4491     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
4492     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
4493     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
4494     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
4495     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
4496     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
4497     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
4498
449910. U.S. GOVERNMENT END USERS.
4500
4501     The Covered Code is a "commercial item," as that term is defined in
4502     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
4503     software" and "commercial computer software documentation," as such
4504     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
4505     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
4506     all U.S. Government End Users acquire Covered Code with only those
4507     rights set forth herein.
4508
450911. MISCELLANEOUS.
4510
4511     This License represents the complete agreement concerning subject
4512     matter hereof. If any provision of this License is held to be
4513     unenforceable, such provision shall be reformed only to the extent
4514     necessary to make it enforceable. This License shall be governed by
4515     California law provisions (except to the extent applicable law, if
4516     any, provides otherwise), excluding its conflict-of-law provisions.
4517     With respect to disputes in which at least one party is a citizen of,
4518     or an entity chartered or registered to do business in the United
4519     States of America, any litigation relating to this License shall be
4520     subject to the jurisdiction of the Federal Courts of the Northern
4521     District of California, with venue lying in Santa Clara County,
4522     California, with the losing party responsible for costs, including
4523     without limitation, court costs and reasonable attorneys' fees and
4524     expenses. The application of the United Nations Convention on
4525     Contracts for the International Sale of Goods is expressly excluded.
4526     Any law or regulation which provides that the language of a contract
4527     shall be construed against the drafter shall not apply to this
4528     License.
4529
453012. RESPONSIBILITY FOR CLAIMS.
4531
4532     As between Initial Developer and the Contributors, each party is
4533     responsible for claims and damages arising, directly or indirectly,
4534     out of its utilization of rights under this License and You agree to
4535     work with Initial Developer and Contributors to distribute such
4536     responsibility on an equitable basis. Nothing herein is intended or
4537     shall be deemed to constitute any admission of liability.
4538
453913. MULTIPLE-LICENSED CODE.
4540
4541     Initial Developer may designate portions of the Covered Code as
4542     "Multiple-Licensed". "Multiple-Licensed" means that the Initial
4543     Developer permits you to utilize portions of the Covered Code under
4544     Your choice of the NPL or the alternative licenses, if any, specified
4545     by the Initial Developer in the file described in Exhibit A.
4546
4547EXHIBIT A -Mozilla Public License.
4548
4549     ``The contents of this file are subject to the Mozilla Public License
4550     Version 1.1 (the "License"); you may not use this file except in
4551     compliance with the License. You may obtain a copy of the License at
4552     http://www.mozilla.org/MPL/
4553
4554     Software distributed under the License is distributed on an "AS IS"
4555     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
4556     License for the specific language governing rights and limitations
4557     under the License.
4558
4559     The Original Code is ______________________________________.
4560
4561     The Initial Developer of the Original Code is ________________________.
4562     Portions created by ______________________ are Copyright (C) ______
4563     _______________________. All Rights Reserved.
4564
4565     Contributor(s): ______________________________________.
4566
4567     Alternatively, the contents of this file may be used under the terms
4568     of the _____ license (the "[___] License"), in which case the
4569     provisions of [______] License are applicable instead of those
4570     above. If you wish to allow use of your version of this file only
4571     under the terms of the [____] License and not to allow others to use
4572     your version of this file under the MPL, indicate your decision by
4573     deleting the provisions above and replace them with the notice and
4574     other provisions required by the [___] License. If you do not delete
4575     the provisions above, a recipient may use your version of this file
4576     under either the MPL or the [___] License."
4577
4578     [NOTE: The text of this Exhibit A may differ slightly from the text of
4579     the notices in the Source Code files of the Original Code. You should
4580     use the text of this Exhibit A rather than the text found in the
4581     Original Code Source Code for Your Modifications.]
4582
4583     ----------------------------------------------------------------------
4584
4585     AMENDMENTS
4586
4587     The Netscape Public License Version 1.1 ("NPL") consists of the
4588     Mozilla Public License Version 1.1 with the following Amendments,
4589     including Exhibit A-Netscape Public License. Files identified with
4590     "Exhibit A-Netscape Public License" are governed by the Netscape
4591     Public License Version 1.1.
4592
4593     Additional Terms applicable to the Netscape Public License.
4594          I. Effect.
4595          These additional terms described in this Netscape Public
4596          License -- Amendments shall apply to the Mozilla Communicator
4597          client code and to all Covered Code under this License.
4598
4599          II. "Netscape's Branded Code" means Covered Code that Netscape
4600          distributes and/or permits others to distribute under one or more
4601          trademark(s) which are controlled by Netscape but which are not
4602          licensed for use under this License.
4603
4604          III. Netscape and logo.
4605          This License does not grant any rights to use the trademarks
4606          "Netscape", the "Netscape N and horizon" logo or the "Netscape
4607          lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript",
4608          "Smart Browsing" even if such marks are included in the Original
4609          Code or Modifications.
4610
4611          IV. Inability to Comply Due to Contractual Obligation.
4612          Prior to licensing the Original Code under this License, Netscape
4613          has licensed third party code for use in Netscape's Branded Code.
4614          To the extent that Netscape is limited contractually from making
4615          such third party code available under this License, Netscape may
4616          choose to reintegrate such code into Covered Code without being
4617          required to distribute such code in Source Code form, even if
4618          such code would otherwise be considered "Modifications" under
4619          this License.
4620
4621          V. Use of Modifications and Covered Code by Initial Developer.
4622               V.1. In General.
4623               The obligations of Section 3 apply to Netscape, except to
4624               the extent specified in this Amendment, Section V.2 and V.3.
4625
4626               V.2. Other Products.
4627               Netscape may include Covered Code in products other than the
4628               Netscape's Branded Code which are released by Netscape
4629               during the two (2) years following the release date of the
4630               Original Code, without such additional products becoming
4631               subject to the terms of this License, and may license such
4632               additional products on different terms from those contained
4633               in this License.
4634
4635               V.3. Alternative Licensing.
4636               Netscape may license the Source Code of Netscape's Branded
4637               Code, including Modifications incorporated therein, without
4638               such Netscape Branded Code becoming subject to the terms of
4639               this License, and may license such Netscape Branded Code on
4640               different terms from those contained in this License.
4641
4642          VI. Litigation.
4643          Notwithstanding the limitations of Section 11 above, the
4644          provisions regarding litigation in Section 11(a), (b) and (c) of
4645          the License shall apply to all disputes relating to this License.
4646
4647     EXHIBIT A-Netscape Public License.
4648
4649          "The contents of this file are subject to the Netscape Public
4650          License Version 1.1 (the "License"); you may not use this file
4651          except in compliance with the License. You may obtain a copy of
4652          the License at http://www.mozilla.org/NPL/
4653
4654          Software distributed under the License is distributed on an "AS
4655          IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
4656          implied. See the License for the specific language governing
4657          rights and limitations under the License.
4658
4659          The Original Code is Mozilla Communicator client code, released
4660          March 31, 1998.
4661
4662          The Initial Developer of the Original Code is Netscape
4663          Communications Corporation. Portions created by Netscape are
4664          Copyright (C) 1998-1999 Netscape Communications Corporation. All
4665          Rights Reserved.
4666
4667          Contributor(s): ______________________________________.
4668
4669          Alternatively, the contents of this file may be used under the
4670          terms of the _____ license (the "[___] License"), in which case
4671          the provisions of [______] License are applicable  instead of
4672          those above. If you wish to allow use of your version of this
4673          file only under the terms of the [____] License and not to allow
4674          others to use your version of this file under the NPL, indicate
4675          your decision by deleting the provisions above and replace  them
4676          with the notice and other provisions required by the [___]
4677          License. If you do not delete the provisions above, a recipient
4678          may use your version of this file under either the NPL or the
4679          [___] License."
4680
4681Copyright (c) 2010 Jonathan Hartley
4682All rights reserved.
4683
4684Redistribution and use in source and binary forms, with or without
4685modification, are permitted provided that the following conditions are met:
4686
4687* Redistributions of source code must retain the above copyright notice, this
4688  list of conditions and the following disclaimer.
4689
4690* Redistributions in binary form must reproduce the above copyright notice,
4691  this list of conditions and the following disclaimer in the documentation
4692  and/or other materials provided with the distribution.
4693
4694* Neither the name of the copyright holders, nor those of its contributors
4695  may be used to endorse or promote products derived from this software without
4696  specific prior written permission.
4697
4698THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
4699ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
4700WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4701DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
4702FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
4703DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
4704SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
4705CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
4706OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4707OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4708
4709
4710Copyright (c) 2010-2014, Michael Bostock
4711All rights reserved.
4712
4713Redistribution and use in source and binary forms, with or without
4714modification, are permitted provided that the following conditions are met:
4715
4716* Redistributions of source code must retain the above copyright notice, this
4717  list of conditions and the following disclaimer.
4718
4719* Redistributions in binary form must reproduce the above copyright notice,
4720  this list of conditions and the following disclaimer in the documentation
4721  and/or other materials provided with the distribution.
4722
4723* The name Michael Bostock may not be used to endorse or promote products
4724  derived from this software without specific prior written permission.
4725
4726THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
4727AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4728IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4729DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT,
4730INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
4731BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
4732DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
4733OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
4734NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4735EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4736
4737Extracted from mac/include/DeckLinkAPI.h:
4738
4739** Copyright (c) 2014 Blackmagic Design
4740**
4741** Permission is hereby granted, free of charge, to any person or organization
4742** obtaining a copy of the software and accompanying documentation covered by
4743** this license (the "Software") to use, reproduce, display, distribute,
4744** execute, and transmit the Software, and to prepare derivative works of the
4745** Software, and to permit third-parties to whom the Software is furnished to
4746** do so, all subject to the following:
4747** 
4748** The copyright notices in the Software and this entire statement, including
4749** the above license grant, this restriction and the following disclaimer,
4750** must be included in all copies of the Software, in whole or in part, and
4751** all derivative works of the Software, unless such copies or derivative
4752** works are solely in the form of machine-executable object code generated by
4753** a source language processor.
4754** 
4755** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4756** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
4757** FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
4758** SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
4759** FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
4760** ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
4761** DEALINGS IN THE SOFTWARE.
4762
4763		    GNU GENERAL PUBLIC LICENSE
4764		       Version 2, June 1991
4765
4766 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
4767       51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
4768 Everyone is permitted to copy and distribute verbatim copies
4769 of this license document, but changing it is not allowed.
4770
4771			    Preamble
4772
4773  The licenses for most software are designed to take away your
4774freedom to share and change it.  By contrast, the GNU General Public
4775License is intended to guarantee your freedom to share and change free
4776software--to make sure the software is free for all its users.  This
4777General Public License applies to most of the Free Software
4778Foundation's software and to any other program whose authors commit to
4779using it.  (Some other Free Software Foundation software is covered by
4780the GNU Library General Public License instead.)  You can apply it to
4781your programs, too.
4782
4783  When we speak of free software, we are referring to freedom, not
4784price.  Our General Public Licenses are designed to make sure that you
4785have the freedom to distribute copies of free software (and charge for
4786this service if you wish), that you receive source code or can get it
4787if you want it, that you can change the software or use pieces of it
4788in new free programs; and that you know you can do these things.
4789
4790  To protect your rights, we need to make restrictions that forbid
4791anyone to deny you these rights or to ask you to surrender the rights.
4792These restrictions translate to certain responsibilities for you if you
4793distribute copies of the software, or if you modify it.
4794
4795  For example, if you distribute copies of such a program, whether
4796gratis or for a fee, you must give the recipients all the rights that
4797you have.  You must make sure that they, too, receive or can get the
4798source code.  And you must show them these terms so they know their
4799rights.
4800
4801  We protect your rights with two steps: (1) copyright the software, and
4802(2) offer you this license which gives you legal permission to copy,
4803distribute and/or modify the software.
4804
4805  Also, for each author's protection and ours, we want to make certain
4806that everyone understands that there is no warranty for this free
4807software.  If the software is modified by someone else and passed on, we
4808want its recipients to know that what they have is not the original, so
4809that any problems introduced by others will not reflect on the original
4810authors' reputations.
4811
4812  Finally, any free program is threatened constantly by software
4813patents.  We wish to avoid the danger that redistributors of a free
4814program will individually obtain patent licenses, in effect making the
4815program proprietary.  To prevent this, we have made it clear that any
4816patent must be licensed for everyone's free use or not licensed at all.
4817
4818  The precise terms and conditions for copying, distribution and
4819modification follow.
4820
4821		    GNU GENERAL PUBLIC LICENSE
4822   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
4823
4824  0. This License applies to any program or other work which contains
4825a notice placed by the copyright holder saying it may be distributed
4826under the terms of this General Public License.  The "Program", below,
4827refers to any such program or work, and a "work based on the Program"
4828means either the Program or any derivative work under copyright law:
4829that is to say, a work containing the Program or a portion of it,
4830either verbatim or with modifications and/or translated into another
4831language.  (Hereinafter, translation is included without limitation in
4832the term "modification".)  Each licensee is addressed as "you".
4833
4834Activities other than copying, distribution and modification are not
4835covered by this License; they are outside its scope.  The act of
4836running the Program is not restricted, and the output from the Program
4837is covered only if its contents constitute a work based on the
4838Program (independent of having been made by running the Program).
4839Whether that is true depends on what the Program does.
4840
4841  1. You may copy and distribute verbatim copies of the Program's
4842source code as you receive it, in any medium, provided that you
4843conspicuously and appropriately publish on each copy an appropriate
4844copyright notice and disclaimer of warranty; keep intact all the
4845notices that refer to this License and to the absence of any warranty;
4846and give any other recipients of the Program a copy of this License
4847along with the Program.
4848
4849You may charge a fee for the physical act of transferring a copy, and
4850you may at your option offer warranty protection in exchange for a fee.
4851
4852  2. You may modify your copy or copies of the Program or any portion
4853of it, thus forming a work based on the Program, and copy and
4854distribute such modifications or work under the terms of Section 1
4855above, provided that you also meet all of these conditions:
4856
4857    a) You must cause the modified files to carry prominent notices
4858    stating that you changed the files and the date of any change.
4859
4860    b) You must cause any work that you distribute or publish, that in
4861    whole or in part contains or is derived from the Program or any
4862    part thereof, to be licensed as a whole at no charge to all third
4863    parties under the terms of this License.
4864
4865    c) If the modified program normally reads commands interactively
4866    when run, you must cause it, when started running for such
4867    interactive use in the most ordinary way, to print or display an
4868    announcement including an appropriate copyright notice and a
4869    notice that there is no warranty (or else, saying that you provide
4870    a warranty) and that users may redistribute the program under
4871    these conditions, and telling the user how to view a copy of this
4872    License.  (Exception: if the Program itself is interactive but
4873    does not normally print such an announcement, your work based on
4874    the Program is not required to print an announcement.)
4875
4876These requirements apply to the modified work as a whole.  If
4877identifiable sections of that work are not derived from the Program,
4878and can be reasonably considered independent and separate works in
4879themselves, then this License, and its terms, do not apply to those
4880sections when you distribute them as separate works.  But when you
4881distribute the same sections as part of a whole which is a work based
4882on the Program, the distribution of the whole must be on the terms of
4883this License, whose permissions for other licensees extend to the
4884entire whole, and thus to each and every part regardless of who wrote it.
4885
4886Thus, it is not the intent of this section to claim rights or contest
4887your rights to work written entirely by you; rather, the intent is to
4888exercise the right to control the distribution of derivative or
4889collective works based on the Program.
4890
4891In addition, mere aggregation of another work not based on the Program
4892with the Program (or with a work based on the Program) on a volume of
4893a storage or distribution medium does not bring the other work under
4894the scope of this License.
4895
4896  3. You may copy and distribute the Program (or a work based on it,
4897under Section 2) in object code or executable form under the terms of
4898Sections 1 and 2 above provided that you also do one of the following:
4899
4900    a) Accompany it with the complete corresponding machine-readable
4901    source code, which must be distributed under the terms of Sections
4902    1 and 2 above on a medium customarily used for software interchange; or,
4903
4904    b) Accompany it with a written offer, valid for at least three
4905    years, to give any third party, for a charge no more than your
4906    cost of physically performing source distribution, a complete
4907    machine-readable copy of the corresponding source code, to be
4908    distributed under the terms of Sections 1 and 2 above on a medium
4909    customarily used for software interchange; or,
4910
4911    c) Accompany it with the information you received as to the offer
4912    to distribute corresponding source code.  (This alternative is
4913    allowed only for noncommercial distribution and only if you
4914    received the program in object code or executable form with such
4915    an offer, in accord with Subsection b above.)
4916
4917The source code for a work means the preferred form of the work for
4918making modifications to it.  For an executable work, complete source
4919code means all the source code for all modules it contains, plus any
4920associated interface definition files, plus the scripts used to
4921control compilation and installation of the executable.  However, as a
4922special exception, the source code distributed need not include
4923anything that is normally distributed (in either source or binary
4924form) with the major components (compiler, kernel, and so on) of the
4925operating system on which the executable runs, unless that component
4926itself accompanies the executable.
4927
4928If distribution of executable or object code is made by offering
4929access to copy from a designated place, then offering equivalent
4930access to copy the source code from the same place counts as
4931distribution of the source code, even though third parties are not
4932compelled to copy the source along with the object code.
4933
4934  4. You may not copy, modify, sublicense, or distribute the Program
4935except as expressly provided under this License.  Any attempt
4936otherwise to copy, modify, sublicense or distribute the Program is
4937void, and will automatically terminate your rights under this License.
4938However, parties who have received copies, or rights, from you under
4939this License will not have their licenses terminated so long as such
4940parties remain in full compliance.
4941
4942  5. You are not required to accept this License, since you have not
4943signed it.  However, nothing else grants you permission to modify or
4944distribute the Program or its derivative works.  These actions are
4945prohibited by law if you do not accept this License.  Therefore, by
4946modifying or distributing the Program (or any work based on the
4947Program), you indicate your acceptance of this License to do so, and
4948all its terms and conditions for copying, distributing or modifying
4949the Program or works based on it.
4950
4951  6. Each time you redistribute the Program (or any work based on the
4952Program), the recipient automatically receives a license from the
4953original licensor to copy, distribute or modify the Program subject to
4954these terms and conditions.  You may not impose any further
4955restrictions on the recipients' exercise of the rights granted herein.
4956You are not responsible for enforcing compliance by third parties to
4957this License.
4958
4959  7. If, as a consequence of a court judgment or allegation of patent
4960infringement or for any other reason (not limited to patent issues),
4961conditions are imposed on you (whether by court order, agreement or
4962otherwise) that contradict the conditions of this License, they do not
4963excuse you from the conditions of this License.  If you cannot
4964distribute so as to satisfy simultaneously your obligations under this
4965License and any other pertinent obligations, then as a consequence you
4966may not distribute the Program at all.  For example, if a patent
4967license would not permit royalty-free redistribution of the Program by
4968all those who receive copies directly or indirectly through you, then
4969the only way you could satisfy both it and this License would be to
4970refrain entirely from distribution of the Program.
4971
4972If any portion of this section is held invalid or unenforceable under
4973any particular circumstance, the balance of the section is intended to
4974apply and the section as a whole is intended to apply in other
4975circumstances.
4976
4977It is not the purpose of this section to induce you to infringe any
4978patents or other property right claims or to contest validity of any
4979such claims; this section has the sole purpose of protecting the
4980integrity of the free software distribution system, which is
4981implemented by public license practices.  Many people have made
4982generous contributions to the wide range of software distributed
4983through that system in reliance on consistent application of that
4984system; it is up to the author/donor to decide if he or she is willing
4985to distribute software through any other system and a licensee cannot
4986impose that choice.
4987
4988This section is intended to make thoroughly clear what is believed to
4989be a consequence of the rest of this License.
4990
4991  8. If the distribution and/or use of the Program is restricted in
4992certain countries either by patents or by copyrighted interfaces, the
4993original copyright holder who places the Program under this License
4994may add an explicit geographical distribution limitation excluding
4995those countries, so that distribution is permitted only in or among
4996countries not thus excluded.  In such case, this License incorporates
4997the limitation as if written in the body of this License.
4998
4999  9. The Free Software Foundation may publish revised and/or new versions
5000of the General Public License from time to time.  Such new versions will
5001be similar in spirit to the present version, but may differ in detail to
5002address new problems or concerns.
5003
5004Each version is given a distinguishing version number.  If the Program
5005specifies a version number of this License which applies to it and "any
5006later version", you have the option of following the terms and conditions
5007either of that version or of any later version published by the Free
5008Software Foundation.  If the Program does not specify a version number of
5009this License, you may choose any version ever published by the Free Software
5010Foundation.
5011
5012  10. If you wish to incorporate parts of the Program into other free
5013programs whose distribution conditions are different, write to the author
5014to ask for permission.  For software which is copyrighted by the Free
5015Software Foundation, write to the Free Software Foundation; we sometimes
5016make exceptions for this.  Our decision will be guided by the two goals
5017of preserving the free status of all derivatives of our free software and
5018of promoting the sharing and reuse of software generally.
5019
5020			    NO WARRANTY
5021
5022  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
5023FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
5024OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
5025PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
5026OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
5027MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
5028TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
5029PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
5030REPAIR OR CORRECTION.
5031
5032  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
5033WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
5034REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
5035INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
5036OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
5037TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
5038YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
5039PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
5040POSSIBILITY OF SUCH DAMAGES.
5041
5042		     END OF TERMS AND CONDITIONS
5043
5044	    How to Apply These Terms to Your New Programs
5045
5046  If you develop a new program, and you want it to be of the greatest
5047possible use to the public, the best way to achieve this is to make it
5048free software which everyone can redistribute and change under these terms.
5049
5050  To do so, attach the following notices to the program.  It is safest
5051to attach them to the start of each source file to most effectively
5052convey the exclusion of warranty; and each file should have at least
5053the "copyright" line and a pointer to where the full notice is found.
5054
5055    <one line to give the program's name and a brief idea of what it does.>
5056    Copyright (C) 19yy  <name of author>
5057
5058    This program is free software; you can redistribute it and/or modify
5059    it under the terms of the GNU General Public License as published by
5060    the Free Software Foundation; either version 2 of the License, or
5061    (at your option) any later version.
5062
5063    This program is distributed in the hope that it will be useful,
5064    but WITHOUT ANY WARRANTY; without even the implied warranty of
5065    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5066    GNU General Public License for more details.
5067
5068    You should have received a copy of the GNU General Public License
5069    along with this program; if not, write to the Free Software
5070    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
5071
5072
5073Also add information on how to contact you by electronic and paper mail.
5074
5075If the program is interactive, make it output a short notice like this
5076when it starts in an interactive mode:
5077
5078    Gnomovision version 69, Copyright (C) 19yy name of author
5079    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
5080    This is free software, and you are welcome to redistribute it
5081    under certain conditions; type `show c' for details.
5082
5083The hypothetical commands `show w' and `show c' should show the appropriate
5084parts of the General Public License.  Of course, the commands you use may
5085be called something other than `show w' and `show c'; they could even be
5086mouse-clicks or menu items--whatever suits your program.
5087
5088You should also get your employer (if you work as a programmer) or your
5089school, if any, to sign a "copyright disclaimer" for the program, if
5090necessary.  Here is a sample; alter the names:
5091
5092  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
5093  `Gnomovision' (which makes passes at compilers) written by James Hacker.
5094
5095  <signature of Ty Coon>, 1 April 1989
5096  Ty Coon, President of Vice
5097
5098This General Public License does not permit incorporating your program into
5099proprietary programs.  If your program is a subroutine library, you may
5100consider it more useful to permit linking proprietary applications with the
5101library.  If this is what you want to do, use the GNU Library General
5102Public License instead of this License.
5103
5104Copyright 2014 The Chromium Authors. All rights reserved.
5105
5106Redistribution and use in source and binary forms, with or without
5107modification, are permitted provided that the following conditions are
5108met:
5109
5110   * Redistributions of source code must retain the above copyright
5111notice, this list of conditions and the following disclaimer.
5112   * Redistributions in binary form must reproduce the above
5113copyright notice, this list of conditions and the following disclaimer
5114in the documentation and/or other materials provided with the
5115distribution.
5116   * Neither the name of Google Inc. nor the names of its
5117contributors may be used to endorse or promote products derived from
5118this software without specific prior written permission.
5119
5120THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
5121"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5122LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
5123A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
5124OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5125SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
5126LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5127DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5128THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5129(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5130OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5131
5132
5133
5134Parts of the following directories are available under Apache v2.0
5135
5136src/de
5137Copyright (c) 2009-2011 Christian Kohlschütter
5138
5139third_party/gwt_exporter
5140Copyright 2007 Timepedia.org
5141
5142third_party/gwt-2.5.1
5143Copyright 2008 Google
5144
5145Apache License
5146
5147Version 2.0, January 2004
5148
5149http://www.apache.org/licenses/
5150
5151TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
5152
51531. Definitions.
5154
5155"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
5156
5157"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
5158
5159"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
5160
5161"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
5162
5163"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
5164
5165"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
5166
5167"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
5168
5169"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
5170
5171"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
5172
5173"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
5174
51752. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
5176
51773. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
5178
51794. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
5180
5181You must give any other recipients of the Work or Derivative Works a copy of this License; and
5182You must cause any modified files to carry prominent notices stating that You changed the files; and
5183You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
5184If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. 
5185
5186You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
51875. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
5188
51896. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
5190
51917. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
5192
51938. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
5194
51959. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
5196
5197END OF TERMS AND CONDITIONS
5198
5199Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
5200                               and Clark Cooper
5201Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
5202
5203Permission is hereby granted, free of charge, to any person obtaining
5204a copy of this software and associated documentation files (the
5205"Software"), to deal in the Software without restriction, including
5206without limitation the rights to use, copy, modify, merge, publish,
5207distribute, sublicense, and/or sell copies of the Software, and to
5208permit persons to whom the Software is furnished to do so, subject to
5209the following conditions:
5210
5211The above copyright notice and this permission notice shall be included
5212in all copies or substantial portions of the Software.
5213
5214THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
5215EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
5216MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
5217IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
5218CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
5219TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
5220SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5221
5222
5223                                 Apache License
5224                           Version 2.0, January 2004
5225                        http://www.apache.org/licenses/
5226
5227   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
5228
5229   1. Definitions.
5230
5231      "License" shall mean the terms and conditions for use, reproduction,
5232      and distribution as defined by Sections 1 through 9 of this document.
5233
5234      "Licensor" shall mean the copyright owner or entity authorized by
5235      the copyright owner that is granting the License.
5236
5237      "Legal Entity" shall mean the union of the acting entity and all
5238      other entities that control, are controlled by, or are under common
5239      control with that entity. For the purposes of this definition,
5240      "control" means (i) the power, direct or indirect, to cause the
5241      direction or management of such entity, whether by contract or
5242      otherwise, or (ii) ownership of fifty percent (50%) or more of the
5243      outstanding shares, or (iii) beneficial ownership of such entity.
5244
5245      "You" (or "Your") shall mean an individual or Legal Entity
5246      exercising permissions granted by this License.
5247
5248      "Source" form shall mean the preferred form for making modifications,
5249      including but not limited to software source code, documentation
5250      source, and configuration files.
5251
5252      "Object" form shall mean any form resulting from mechanical
5253      transformation or translation of a Source form, including but
5254      not limited to compiled object code, generated documentation,
5255      and conversions to other media types.
5256
5257      "Work" shall mean the work of authorship, whether in Source or
5258      Object form, made available under the License, as indicated by a
5259      copyright notice that is included in or attached to the work
5260      (an example is provided in the Appendix below).
5261
5262      "Derivative Works" shall mean any work, whether in Source or Object
5263      form, that is based on (or derived from) the Work and for which the
5264      editorial revisions, annotations, elaborations, or other modifications
5265      represent, as a whole, an original work of authorship. For the purposes
5266      of this License, Derivative Works shall not include works that remain
5267      separable from, or merely link (or bind by name) to the interfaces of,
5268      the Work and Derivative Works thereof.
5269
5270      "Contribution" shall mean any work of authorship, including
5271      the original version of the Work and any modifications or additions
5272      to that Work or Derivative Works thereof, that is intentionally
5273      submitted to Licensor for inclusion in the Work by the copyright owner
5274      or by an individual or Legal Entity authorized to submit on behalf of
5275      the copyright owner. For the purposes of this definition, "submitted"
5276      means any form of electronic, verbal, or written communication sent
5277      to the Licensor or its representatives, including but not limited to
5278      communication on electronic mailing lists, source code control systems,
5279      and issue tracking systems that are managed by, or on behalf of, the
5280      Licensor for the purpose of discussing and improving the Work, but
5281      excluding communication that is conspicuously marked or otherwise
5282      designated in writing by the copyright owner as "Not a Contribution."
5283
5284      "Contributor" shall mean Licensor and any individual or Legal Entity
5285      on behalf of whom a Contribution has been received by Licensor and
5286      subsequently incorporated within the Work.
5287
5288   2. Grant of Copyright License. Subject to the terms and conditions of
5289      this License, each Contributor hereby grants to You a perpetual,
5290      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
5291      copyright license to reproduce, prepare Derivative Works of,
5292      publicly display, publicly perform, sublicense, and distribute the
5293      Work and such Derivative Works in Source or Object form.
5294
5295   3. Grant of Patent License. Subject to the terms and conditions of
5296      this License, each Contributor hereby grants to You a perpetual,
5297      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
5298      (except as stated in this section) patent license to make, have made,
5299      use, offer to sell, sell, import, and otherwise transfer the Work,
5300      where such license applies only to those patent claims licensable
5301      by such Contributor that are necessarily infringed by their
5302      Contribution(s) alone or by combination of their Contribution(s)
5303      with the Work to which such Contribution(s) was submitted. If You
5304      institute patent litigation against any entity (including a
5305      cross-claim or counterclaim in a lawsuit) alleging that the Work
5306      or a Contribution incorporated within the Work constitutes direct
5307      or contributory patent infringement, then any patent licenses
5308      granted to You under this License for that Work shall terminate
5309      as of the date such litigation is filed.
5310
5311   4. Redistribution. You may reproduce and distribute copies of the
5312      Work or Derivative Works thereof in any medium, with or without
5313      modifications, and in Source or Object form, provided that You
5314      meet the following conditions:
5315
5316      (a) You must give any other recipients of the Work or
5317          Derivative Works a copy of this License; and
5318
5319      (b) You must cause any modified files to carry prominent notices
5320          stating that You changed the files; and
5321
5322      (c) You must retain, in the Source form of any Derivative Works
5323          that You distribute, all copyright, patent, trademark, and
5324          attribution notices from the Source form of the Work,
5325          excluding those notices that do not pertain to any part of
5326          the Derivative Works; and
5327
5328      (d) If the Work includes a "NOTICE" text file as part of its
5329          distribution, then any Derivative Works that You distribute must
5330          include a readable copy of the attribution notices contained
5331          within such NOTICE file, excluding those notices that do not
5332          pertain to any part of the Derivative Works, in at least one
5333          of the following places: within a NOTICE text file distributed
5334          as part of the Derivative Works; within the Source form or
5335          documentation, if provided along with the Derivative Works; or,
5336          within a display generated by the Derivative Works, if and
5337          wherever such third-party notices normally appear. The contents
5338          of the NOTICE file are for informational purposes only and
5339          do not modify the License. You may add Your own attribution
5340          notices within Derivative Works that You distribute, alongside
5341          or as an addendum to the NOTICE text from the Work, provided
5342          that such additional attribution notices cannot be construed
5343          as modifying the License.
5344
5345      You may add Your own copyright statement to Your modifications and
5346      may provide additional or different license terms and conditions
5347      for use, reproduction, or distribution of Your modifications, or
5348      for any such Derivative Works as a whole, provided Your use,
5349      reproduction, and distribution of the Work otherwise complies with
5350      the conditions stated in this License.
5351
5352   5. Submission of Contributions. Unless You explicitly state otherwise,
5353      any Contribution intentionally submitted for inclusion in the Work
5354      by You to the Licensor shall be under the terms and conditions of
5355      this License, without any additional terms or conditions.
5356      Notwithstanding the above, nothing herein shall supersede or modify
5357      the terms of any separate license agreement you may have executed
5358      with Licensor regarding such Contributions.
5359
5360   6. Trademarks. This License does not grant permission to use the trade
5361      names, trademarks, service marks, or product names of the Licensor,
5362      except as required for reasonable and customary use in describing the
5363      origin of the Work and reproducing the content of the NOTICE file.
5364
5365   7. Disclaimer of Warranty. Unless required by applicable law or
5366      agreed to in writing, Licensor provides the Work (and each
5367      Contributor provides its Contributions) on an "AS IS" BASIS,
5368      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
5369      implied, including, without limitation, any warranties or conditions
5370      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
5371      PARTICULAR PURPOSE. You are solely responsible for determining the
5372      appropriateness of using or redistributing the Work and assume any
5373      risks associated with Your exercise of permissions under this License.
5374
5375   8. Limitation of Liability. In no event and under no legal theory,
5376      whether in tort (including negligence), contract, or otherwise,
5377      unless required by applicable law (such as deliberate and grossly
5378      negligent acts) or agreed to in writing, shall any Contributor be
5379      liable to You for damages, including any direct, indirect, special,
5380      incidental, or consequential damages of any character arising as a
5381      result of this License or out of the use or inability to use the
5382      Work (including but not limited to damages for loss of goodwill,
5383      work stoppage, computer failure or malfunction, or any and all
5384      other commercial damages or losses), even if such Contributor
5385      has been advised of the possibility of such damages.
5386
5387   9. Accepting Warranty or Additional Liability. While redistributing
5388      the Work or Derivative Works thereof, You may choose to offer,
5389      and charge a fee for, acceptance of support, warranty, indemnity,
5390      or other liability obligations and/or rights consistent with this
5391      License. However, in accepting such obligations, You may act only
5392      on Your own behalf and on Your sole responsibility, not on behalf
5393      of any other Contributor, and only if You agree to indemnify,
5394      defend, and hold each Contributor harmless for any liability
5395      incurred by, or claims asserted against, such Contributor by reason
5396      of your accepting any such warranty or additional liability.
5397
5398   END OF TERMS AND CONDITIONS
5399
5400   APPENDIX: How to apply the Apache License to your work.
5401
5402      To apply the Apache License to your work, attach the following
5403      boilerplate notice, with the fields enclosed by brackets "[]"
5404      replaced with your own identifying information. (Don't include
5405      the brackets!)  The text should be enclosed in the appropriate
5406      comment syntax for the file format. We also recommend that a
5407      file or class name and description of purpose be included on the
5408      same "printed page" as the copyright notice for easier
5409      identification within third-party archives.
5410
5411   Copyright 2011 Google Inc. All Rights Reserved.
5412
5413   Licensed under the Apache License, Version 2.0 (the "License");
5414   you may not use this file except in compliance with the License.
5415   You may obtain a copy of the License at
5416
5417       http://www.apache.org/licenses/LICENSE-2.0
5418
5419   Unless required by applicable law or agreed to in writing, software
5420   distributed under the License is distributed on an "AS IS" BASIS,
5421   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5422   See the License for the specific language governing permissions and
5423   limitations under the License.
5424
5425
5426Copyright (c) 1999, 2000, 2001, 2002
5427Adel I. Mirzazhanov. All rights reserved
5428
5429Redistribution and use in source and binary forms, with or without
5430modification, are permitted provided that the following conditions
5431are met:
5432 
5433     1.Redistributions of source code must retain the above copyright notice,
5434       this list of conditions and the following disclaimer. 
5435     2.Redistributions in binary form must reproduce the above copyright
5436       notice, this list of conditions and the following disclaimer in the
5437       documentation and/or other materials provided with the distribution. 
5438     3.The name of the author may not be used to endorse or promote products
5439       derived from this software without specific prior written permission. 
5440 		  
5441THIS SOFTWARE IS PROVIDED BY THE AUTHOR  ``AS IS'' AND ANY EXPRESS
5442OR IMPLIED WARRANTIES, INCLUDING,  BUT NOT LIMITED TO, THE IMPLIED
5443WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
5444ARE DISCLAIMED.  IN  NO  EVENT  SHALL THE AUTHOR BE LIABLE FOR ANY
5445DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5446DAMAGES (INCLUDING, BUT NOT LIMITED TO,  PROCUREMENT OF SUBSTITUTE
5447GOODS OR SERVICES;  LOSS OF USE,  DATA,  OR  PROFITS;  OR BUSINESS
5448INTERRUPTION)  HOWEVER  CAUSED  AND  ON  ANY  THEORY OF LIABILITY,
5449WHETHER  IN  CONTRACT,   STRICT   LIABILITY,  OR  TORT  (INCLUDING
5450NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
5451SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5452		  
5453Copyright (c) 2007-2013 IOLA and Ole Laursen
5454
5455Permission is hereby granted, free of charge, to any person
5456obtaining a copy of this software and associated documentation
5457files (the "Software"), to deal in the Software without
5458restriction, including without limitation the rights to use,
5459copy, modify, merge, publish, distribute, sublicense, and/or sell
5460copies of the Software, and to permit persons to whom the
5461Software is furnished to do so, subject to the following
5462conditions:
5463
5464The above copyright notice and this permission notice shall be
5465included in all copies or substantial portions of the Software.
5466
5467THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
5468EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
5469OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
5470NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
5471HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
5472WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
5473FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
5474OTHER DEALINGS IN THE SOFTWARE.
5475
5476This software is based in part on the work of the FreeType Team.
5477
5478----------------------
5479
5480                    The FreeType Project LICENSE
5481                    ----------------------------
5482
5483                            2006-Jan-27
5484
5485                    Copyright 1996-2002, 2006 by
5486          David Turner, Robert Wilhelm, and Werner Lemberg
5487
5488
5489
5490Introduction
5491============
5492
5493  The FreeType  Project is distributed in  several archive packages;
5494  some of them may contain, in addition to the FreeType font engine,
5495  various tools and  contributions which rely on, or  relate to, the
5496  FreeType Project.
5497
5498  This  license applies  to all  files found  in such  packages, and
5499  which do not  fall under their own explicit  license.  The license
5500  affects  thus  the  FreeType   font  engine,  the  test  programs,
5501  documentation and makefiles, at the very least.
5502
5503  This  license   was  inspired  by  the  BSD,   Artistic,  and  IJG
5504  (Independent JPEG  Group) licenses, which  all encourage inclusion
5505  and  use of  free  software in  commercial  and freeware  products
5506  alike.  As a consequence, its main points are that:
5507
5508    o We don't promise that this software works. However, we will be
5509      interested in any kind of bug reports. (`as is' distribution)
5510
5511    o You can  use this software for whatever you  want, in parts or
5512      full form, without having to pay us. (`royalty-free' usage)
5513
5514    o You may not pretend that  you wrote this software.  If you use
5515      it, or  only parts of it,  in a program,  you must acknowledge
5516      somewhere  in  your  documentation  that  you  have  used  the
5517      FreeType code. (`credits')
5518
5519  We  specifically  permit  and  encourage  the  inclusion  of  this
5520  software, with  or without modifications,  in commercial products.
5521  We  disclaim  all warranties  covering  The  FreeType Project  and
5522  assume no liability related to The FreeType Project.
5523
5524
5525  Finally,  many  people  asked  us  for  a  preferred  form  for  a
5526  credit/disclaimer to use in compliance with this license.  We thus
5527  encourage you to use the following text:
5528
5529   """  
5530    Portions of this software are copyright � <year> The FreeType
5531    Project (www.freetype.org).  All rights reserved.
5532   """
5533
5534  Please replace <year> with the value from the FreeType version you
5535  actually use.
5536
5537
5538Legal Terms
5539===========
5540
55410. Definitions
5542--------------
5543
5544  Throughout this license,  the terms `package', `FreeType Project',
5545  and  `FreeType  archive' refer  to  the  set  of files  originally
5546  distributed  by the  authors  (David Turner,  Robert Wilhelm,  and
5547  Werner Lemberg) as the `FreeType Project', be they named as alpha,
5548  beta or final release.
5549
5550  `You' refers to  the licensee, or person using  the project, where
5551  `using' is a generic term including compiling the project's source
5552  code as  well as linking it  to form a  `program' or `executable'.
5553  This  program is  referred to  as  `a program  using the  FreeType
5554  engine'.
5555
5556  This  license applies  to all  files distributed  in  the original
5557  FreeType  Project,   including  all  source   code,  binaries  and
5558  documentation,  unless  otherwise  stated   in  the  file  in  its
5559  original, unmodified form as  distributed in the original archive.
5560  If you are  unsure whether or not a particular  file is covered by
5561  this license, you must contact us to verify this.
5562
5563  The FreeType  Project is copyright (C) 1996-2000  by David Turner,
5564  Robert Wilhelm, and Werner Lemberg.  All rights reserved except as
5565  specified below.
5566
55671. No Warranty
5568--------------
5569
5570  THE FREETYPE PROJECT  IS PROVIDED `AS IS' WITHOUT  WARRANTY OF ANY
5571  KIND, EITHER  EXPRESS OR IMPLIED,  INCLUDING, BUT NOT  LIMITED TO,
5572  WARRANTIES  OF  MERCHANTABILITY   AND  FITNESS  FOR  A  PARTICULAR
5573  PURPOSE.  IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS
5574  BE LIABLE  FOR ANY DAMAGES CAUSED  BY THE USE OR  THE INABILITY TO
5575  USE, OF THE FREETYPE PROJECT.
5576
55772. Redistribution
5578-----------------
5579
5580  This  license  grants  a  worldwide, royalty-free,  perpetual  and
5581  irrevocable right  and license to use,  execute, perform, compile,
5582  display,  copy,   create  derivative  works   of,  distribute  and
5583  sublicense the  FreeType Project (in  both source and  object code
5584  forms)  and  derivative works  thereof  for  any  purpose; and  to
5585  authorize others  to exercise  some or all  of the  rights granted
5586  herein, subject to the following conditions:
5587
5588    o Redistribution of  source code  must retain this  license file
5589      (`FTL.TXT') unaltered; any  additions, deletions or changes to
5590      the original  files must be clearly  indicated in accompanying
5591      documentation.   The  copyright   notices  of  the  unaltered,
5592      original  files must  be  preserved in  all  copies of  source
5593      files.
5594
5595    o Redistribution in binary form must provide a  disclaimer  that
5596      states  that  the software is based in part of the work of the
5597      FreeType Team,  in  the  distribution  documentation.  We also
5598      encourage you to put an URL to the FreeType web page  in  your
5599      documentation, though this isn't mandatory.
5600
5601  These conditions  apply to any  software derived from or  based on
5602  the FreeType Project,  not just the unmodified files.   If you use
5603  our work, you  must acknowledge us.  However, no  fee need be paid
5604  to us.
5605
56063. Advertising
5607--------------
5608
5609  Neither the  FreeType authors and  contributors nor you  shall use
5610  the name of the  other for commercial, advertising, or promotional
5611  purposes without specific prior written permission.
5612
5613  We suggest,  but do not require, that  you use one or  more of the
5614  following phrases to refer  to this software in your documentation
5615  or advertising  materials: `FreeType Project',  `FreeType Engine',
5616  `FreeType library', or `FreeType Distribution'.
5617
5618  As  you have  not signed  this license,  you are  not  required to
5619  accept  it.   However,  as  the FreeType  Project  is  copyrighted
5620  material, only  this license, or  another one contracted  with the
5621  authors, grants you  the right to use, distribute,  and modify it.
5622  Therefore,  by  using,  distributing,  or modifying  the  FreeType
5623  Project, you indicate that you understand and accept all the terms
5624  of this license.
5625
56264. Contacts
5627-----------
5628
5629  There are two mailing lists related to FreeType:
5630
5631    o freetype@nongnu.org
5632
5633      Discusses general use and applications of FreeType, as well as
5634      future and  wanted additions to the  library and distribution.
5635      If  you are looking  for support,  start in  this list  if you
5636      haven't found anything to help you in the documentation.
5637
5638    o freetype-devel@nongnu.org
5639
5640      Discusses bugs,  as well  as engine internals,  design issues,
5641      specific licenses, porting, etc.
5642
5643  Our home page can be found at
5644
5645    http://www.freetype.org
5646
5647
5648--- end of FTL.TXT ---
5649
5650// Copyright 2014 The Chromium Authors. All rights reserved.
5651//
5652// Redistribution and use in source and binary forms, with or without
5653// modification, are permitted provided that the following conditions are
5654// met:
5655//
5656//    * Redistributions of source code must retain the above copyright
5657// notice, this list of conditions and the following disclaimer.
5658//    * Redistributions in binary form must reproduce the above
5659// copyright notice, this list of conditions and the following disclaimer
5660// in the documentation and/or other materials provided with the
5661// distribution.
5662//    * Neither the name of Google Inc. nor the names of its
5663// contributors may be used to endorse or promote products derived from
5664// this software without specific prior written permission.
5665//
5666// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
5667// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5668// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
5669// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
5670// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5671// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
5672// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5673// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5674// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5675// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5676// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5677
5678See src/COPYING
5679
5680		  GNU LIBRARY GENERAL PUBLIC LICENSE
5681		       Version 2, June 1991
5682
5683 Copyright (C) 1991 Free Software Foundation, Inc.
5684    		    59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
5685 Everyone is permitted to copy and distribute verbatim copies
5686 of this license document, but changing it is not allowed.
5687
5688[This is the first released version of the library GPL.  It is
5689 numbered 2 because it goes with version 2 of the ordinary GPL.]
5690
5691			    Preamble
5692
5693  The licenses for most software are designed to take away your
5694freedom to share and change it.  By contrast, the GNU General Public
5695Licenses are intended to guarantee your freedom to share and change
5696free software--to make sure the software is free for all its users.
5697
5698  This license, the Library General Public License, applies to some
5699specially designated Free Software Foundation software, and to any
5700other libraries whose authors decide to use it.  You can use it for
5701your libraries, too.
5702
5703  When we speak of free software, we are referring to freedom, not
5704price.  Our General Public Licenses are designed to make sure that you
5705have the freedom to distribute copies of free software (and charge for
5706this service if you wish), that you receive source code or can get it
5707if you want it, that you can change the software or use pieces of it
5708in new free programs; and that you know you can do these things.
5709
5710  To protect your rights, we need to make restrictions that forbid
5711anyone to deny you these rights or to ask you to surrender the rights.
5712These restrictions translate to certain responsibilities for you if
5713you distribute copies of the library, or if you modify it.
5714
5715  For example, if you distribute copies of the library, whether gratis
5716or for a fee, you must give the recipients all the rights that we gave
5717you.  You must make sure that they, too, receive or can get the source
5718code.  If you link a program with the library, you must provide
5719complete object files to the recipients so that they can relink them
5720with the library, after making changes to the library and recompiling
5721it.  And you must show them these terms so they know their rights.
5722
5723  Our method of protecting your rights has two steps: (1) copyright
5724the library, and (2) offer you this license which gives you legal
5725permission to copy, distribute and/or modify the library.
5726
5727  Also, for each distributor's protection, we want to make certain
5728that everyone understands that there is no warranty for this free
5729library.  If the library is modified by someone else and passed on, we
5730want its recipients to know that what they have is not the original
5731version, so that any problems introduced by others will not reflect on
5732the original authors' reputations.
5733
5734  Finally, any free program is threatened constantly by software
5735patents.  We wish to avoid the danger that companies distributing free
5736software will individually obtain patent licenses, thus in effect
5737transforming the program into proprietary software.  To prevent this,
5738we have made it clear that any patent must be licensed for everyone's
5739free use or not licensed at all.
5740
5741  Most GNU software, including some libraries, is covered by the ordinary
5742GNU General Public License, which was designed for utility programs.  This
5743license, the GNU Library General Public License, applies to certain
5744designated libraries.  This license is quite different from the ordinary
5745one; be sure to read it in full, and don't assume that anything in it is
5746the same as in the ordinary license.
5747
5748  The reason we have a separate public license for some libraries is that
5749they blur the distinction we usually make between modifying or adding to a
5750program and simply using it.  Linking a program with a library, without
5751changing the library, is in some sense simply using the library, and is
5752analogous to running a utility program or application program.  However, in
5753a textual and legal sense, the linked executable is a combined work, a
5754derivative of the original library, and the ordinary General Public License
5755treats it as such.
5756
5757  Because of this blurred distinction, using the ordinary General
5758Public License for libraries did not effectively promote software
5759sharing, because most developers did not use the libraries.  We
5760concluded that weaker conditions might promote sharing better.
5761
5762  However, unrestricted linking of non-free programs would deprive the
5763users of those programs of all benefit from the free status of the
5764libraries themselves.  This Library General Public License is intended to
5765permit developers of non-free programs to use free libraries, while
5766preserving your freedom as a user of such programs to change the free
5767libraries that are incorporated in them.  (We have not seen how to achieve
5768this as regards changes in header files, but we have achieved it as regards
5769changes in the actual functions of the Library.)  The hope is that this
5770will lead to faster development of free libraries.
5771
5772  The precise terms and conditions for copying, distribution and
5773modification follow.  Pay close attention to the difference between a
5774"work based on the library" and a "work that uses the library".  The
5775former contains code derived from the library, while the latter only
5776works together with the library.
5777
5778  Note that it is possible for a library to be covered by the ordinary
5779General Public License rather than by this special one.
5780
5781		  GNU LIBRARY GENERAL PUBLIC LICENSE
5782   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
5783
5784  0. This License Agreement applies to any software library which
5785contains a notice placed by the copyright holder or other authorized
5786party saying it may be distributed under the terms of this Library
5787General Public License (also called "this License").  Each licensee is
5788addressed as "you".
5789
5790  A "library" means a collection of software functions and/or data
5791prepared so as to be conveniently linked with application programs
5792(which use some of those functions and data) to form executables.
5793
5794  The "Library", below, refers to any such software library or work
5795which has been distributed under these terms.  A "work based on the
5796Library" means either the Library or any derivative work under
5797copyright law: that is to say, a work containing the Library or a
5798portion of it, either verbatim or with modifications and/or translated
5799straightforwardly into another language.  (Hereinafter, translation is
5800included without limitation in the term "modification".)
5801
5802  "Source code" for a work means the preferred form of the work for
5803making modifications to it.  For a library, complete source code means
5804all the source code for all modules it contains, plus any associated
5805interface definition files, plus the scripts used to control compilation
5806and installation of the library.
5807
5808  Activities other than copying, distribution and modification are not
5809covered by this License; they are outside its scope.  The act of
5810running a program using the Library is not restricted, and output from
5811such a program is covered only if its contents constitute a work based
5812on the Library (independent of the use of the Library in a tool for
5813writing it).  Whether that is true depends on what the Library does
5814and what the program that uses the Library does.
5815  
5816  1. You may copy and distribute verbatim copies of the Library's
5817complete source code as you receive it, in any medium, provided that
5818you conspicuously and appropriately publish on each copy an
5819appropriate copyright notice and disclaimer of warranty; keep intact
5820all the notices that refer to this License and to the absence of any
5821warranty; and distribute a copy of this License along with the
5822Library.
5823
5824  You may charge a fee for the physical act of transferring a copy,
5825and you may at your option offer warranty protection in exchange for a
5826fee.
5827
5828  2. You may modify your copy or copies of the Library or any portion
5829of it, thus forming a work based on the Library, and copy and
5830distribute such modifications or work under the terms of Section 1
5831above, provided that you also meet all of these conditions:
5832
5833    a) The modified work must itself be a software library.
5834
5835    b) You must cause the files modified to carry prominent notices
5836    stating that you changed the files and the date of any change.
5837
5838    c) You must cause the whole of the work to be licensed at no
5839    charge to all third parties under the terms of this License.
5840
5841    d) If a facility in the modified Library refers to a function or a
5842    table of data to be supplied by an application program that uses
5843    the facility, other than as an argument passed when the facility
5844    is invoked, then you must make a good faith effort to ensure that,
5845    in the event an application does not supply such function or
5846    table, the facility still operates, and performs whatever part of
5847    its purpose remains meaningful.
5848
5849    (For example, a function in a library to compute square roots has
5850    a purpose that is entirely well-defined independent of the
5851    application.  Therefore, Subsection 2d requires that any
5852    application-supplied function or table used by this function must
5853    be optional: if the application does not supply it, the square
5854    root function must still compute square roots.)
5855
5856These requirements apply to the modified work as a whole.  If
5857identifiable sections of that work are not derived from the Library,
5858and can be reasonably considered independent and separate works in
5859themselves, then this License, and its terms, do not apply to those
5860sections when you distribute them as separate works.  But when you
5861distribute the same sections as part of a whole which is a work based
5862on the Library, the distribution of the whole must be on the terms of
5863this License, whose permissions for other licensees extend to the
5864entire whole, and thus to each and every part regardless of who wrote
5865it.
5866
5867Thus, it is not the intent of this section to claim rights or contest
5868your rights to work written entirely by you; rather, the intent is to
5869exercise the right to control the distribution of derivative or
5870collective works based on the Library.
5871
5872In addition, mere aggregation of another work not based on the Library
5873with the Library (or with a work based on the Library) on a volume of
5874a storage or distribution medium does not bring the other work under
5875the scope of this License.
5876
5877  3. You may opt to apply the terms of the ordinary GNU General Public
5878License instead of this License to a given copy of the Library.  To do
5879this, you must alter all the notices that refer to this License, so
5880that they refer to the ordinary GNU General Public License, version 2,
5881instead of to this License.  (If a newer version than version 2 of the
5882ordinary GNU General Public License has appeared, then you can specify
5883that version instead if you wish.)  Do not make any other change in
5884these notices.
5885
5886  Once this change is made in a given copy, it is irreversible for
5887that copy, so the ordinary GNU General Public License applies to all
5888subsequent copies and derivative works made from that copy.
5889
5890  This option is useful when you wish to copy part of the code of
5891the Library into a program that is not a library.
5892
5893  4. You may copy and distribute the Library (or a portion or
5894derivative of it, under Section 2) in object code or executable form
5895under the terms of Sections 1 and 2 above provided that you accompany
5896it with the complete corresponding machine-readable source code, which
5897must be distributed under the terms of Sections 1 and 2 above on a
5898medium customarily used for software interchange.
5899
5900  If distribution of object code is made by offering access to copy
5901from a designated place, then offering equivalent access to copy the
5902source code from the same place satisfies the requirement to
5903distribute the source code, even though third parties are not
5904compelled to copy the source along with the object code.
5905
5906  5. A program that contains no derivative of any portion of the
5907Library, but is designed to work with the Library by being compiled or
5908linked with it, is called a "work that uses the Library".  Such a
5909work, in isolation, is not a derivative work of the Library, and
5910therefore falls outside the scope of this License.
5911
5912  However, linking a "work that uses the Library" with the Library
5913creates an executable that is a derivative of the Library (because it
5914contains portions of the Library), rather than a "work that uses the
5915library".  The executable is therefore covered by this License.
5916Section 6 states terms for distribution of such executables.
5917
5918  When a "work that uses the Library" uses material from a header file
5919that is part of the Library, the object code for the work may be a
5920derivative work of the Library even though the source code is not.
5921Whether this is true is especially significant if the work can be
5922linked without the Library, or if the work is itself a library.  The
5923threshold for this to be true is not precisely defined by law.
5924
5925  If such an object file uses only numerical parameters, data
5926structure layouts and accessors, and small macros and small inline
5927functions (ten lines or less in length), then the use of the object
5928file is unrestricted, regardless of whether it is legally a derivative
5929work.  (Executables containing this object code plus portions of the
5930Library will still fall under Section 6.)
5931
5932  Otherwise, if the work is a derivative of the Library, you may
5933distribute the object code for the work under the terms of Section 6.
5934Any executables containing that work also fall under Section 6,
5935whether or not they are linked directly with the Library itself.
5936
5937  6. As an exception to the Sections above, you may also compile or
5938link a "work that uses the Library" with the Library to produce a
5939work containing portions of the Library, and distribute that work
5940under terms of your choice, provided that the terms permit
5941modification of the work for the customer's own use and reverse
5942engineering for debugging such modifications.
5943
5944  You must give prominent notice with each copy of the work that the
5945Library is used in it and that the Library and its use are covered by
5946this License.  You must supply a copy of this License.  If the work
5947during execution displays copyright notices, you must include the
5948copyright notice for the Library among them, as well as a reference
5949directing the user to the copy of this License.  Also, you must do one
5950of these things:
5951
5952    a) Accompany the work with the complete corresponding
5953    machine-readable source code for the Library including whatever
5954    changes were used in the work (which must be distributed under
5955    Sections 1 and 2 above); and, if the work is an executable linked
5956    with the Library, with the complete machine-readable "work that
5957    uses the Library", as object code and/or source code, so that the
5958    user can modify the Library and then relink to produce a modified
5959    executable containing the modified Library.  (It is understood
5960    that the user who changes the contents of definitions files in the
5961    Library will not necessarily be able to recompile the application
5962    to use the modified definitions.)
5963
5964    b) Accompany the work with a written offer, valid for at
5965    least three years, to give the same user the materials
5966    specified in Subsection 6a, above, for a charge no more
5967    than the cost of performing this distribution.
5968
5969    c) If distribution of the work is made by offering access to copy
5970    from a designated place, offer equivalent access to copy the above
5971    specified materials from the same place.
5972
5973    d) Verify that the user has already received a copy of these
5974    materials or that you have already sent this user a copy.
5975
5976  For an executable, the required form of the "work that uses the
5977Library" must include any data and utility programs needed for
5978reproducing the executable from it.  However, as a special exception,
5979the source code distributed need not include anything that is normally
5980distributed (in either source or binary form) with the major
5981components (compiler, kernel, and so on) of the operating system on
5982which the executable runs, unless that component itself accompanies
5983the executable.
5984
5985  It may happen that this requirement contradicts the license
5986restrictions of other proprietary libraries that do not normally
5987accompany the operating system.  Such a contradiction means you cannot
5988use both them and the Library together in an executable that you
5989distribute.
5990
5991  7. You may place library facilities that are a work based on the
5992Library side-by-side in a single library together with other library
5993facilities not covered by this License, and distribute such a combined
5994library, provided that the separate distribution of the work based on
5995the Library and of the other library facilities is otherwise
5996permitted, and provided that you do these two things:
5997
5998    a) Accompany the combined library with a copy of the same work
5999    based on the Library, uncombined with any other library
6000    facilities.  This must be distributed under the terms of the
6001    Sections above.
6002
6003    b) Give prominent notice with the combined library of the fact
6004    that part of it is a work based on the Library, and explaining
6005    where to find the accompanying uncombined form of the same work.
6006
6007  8. You may not copy, modify, sublicense, link with, or distribute
6008the Library except as expressly provided under this License.  Any
6009attempt otherwise to copy, modify, sublicense, link with, or
6010distribute the Library is void, and will automatically terminate your
6011rights under this License.  However, parties who have received copies,
6012or rights, from you under this License will not have their licenses
6013terminated so long as such parties remain in full compliance.
6014
6015  9. You are not required to accept this License, since you have not
6016signed it.  However, nothing else grants you permission to modify or
6017distribute the Library or its derivative works.  These actions are
6018prohibited by law if you do not accept this License.  Therefore, by
6019modifying or distributing the Library (or any work based on the
6020Library), you indicate your acceptance of this License to do so, and
6021all its terms and conditions for copying, distributing or modifying
6022the Library or works based on it.
6023
6024  10. Each time you redistribute the Library (or any work based on the
6025Library), the recipient automatically receives a license from the
6026original licensor to copy, distribute, link with or modify the Library
6027subject to these terms and conditions.  You may not impose any further
6028restrictions on the recipients' exercise of the rights granted herein.
6029You are not responsible for enforcing compliance by third parties to
6030this License.
6031
6032  11. If, as a consequence of a court judgment or allegation of patent
6033infringement or for any other reason (not limited to patent issues),
6034conditions are imposed on you (whether by court order, agreement or
6035otherwise) that contradict the conditions of this License, they do not
6036excuse you from the conditions of this License.  If you cannot
6037distribute so as to satisfy simultaneously your obligations under this
6038License and any other pertinent obligations, then as a consequence you
6039may not distribute the Library at all.  For example, if a patent
6040license would not permit royalty-free redistribution of the Library by
6041all those who receive copies directly or indirectly through you, then
6042the only way you could satisfy both it and this License would be to
6043refrain entirely from distribution of the Library.
6044
6045If any portion of this section is held invalid or unenforceable under any
6046particular circumstance, the balance of the section is intended to apply,
6047and the section as a whole is intended to apply in other circumstances.
6048
6049It is not the purpose of this section to induce you to infringe any
6050patents or other property right claims or to contest validity of any
6051such claims; this section has the sole purpose of protecting the
6052integrity of the free software distribution system which is
6053implemented by public license practices.  Many people have made
6054generous contributions to the wide range of software distributed
6055through that system in reliance on consistent application of that
6056system; it is up to the author/donor to decide if he or she is willing
6057to distribute software through any other system and a licensee cannot
6058impose that choice.
6059
6060This section is intended to make thoroughly clear what is believed to
6061be a consequence of the rest of this License.
6062
6063  12. If the distribution and/or use of the Library is restricted in
6064certain countries either by patents or by copyrighted interfaces, the
6065original copyright holder who places the Library under this License may add
6066an explicit geographical distribution limitation excluding those countries,
6067so that distribution is permitted only in or among countries not thus
6068excluded.  In such case, this License incorporates the limitation as if
6069written in the body of this License.
6070
6071  13. The Free Software Foundation may publish revised and/or new
6072versions of the Library General Public License from time to time.
6073Such new versions will be similar in spirit to the present version,
6074but may differ in detail to address new problems or concerns.
6075
6076Each version is given a distinguishing version number.  If the Library
6077specifies a version number of this License which applies to it and
6078"any later version", you have the option of following the terms and
6079conditions either of that version or of any later version published by
6080the Free Software Foundation.  If the Library does not specify a
6081license version number, you may choose any version ever published by
6082the Free Software Foundation.
6083
6084  14. If you wish to incorporate parts of the Library into other free
6085programs whose distribution conditions are incompatible with these,
6086write to the author to ask for permission.  For software which is
6087copyrighted by the Free Software Foundation, write to the Free
6088Software Foundation; we sometimes make exceptions for this.  Our
6089decision will be guided by the two goals of preserving the free status
6090of all derivatives of our free software and of promoting the sharing
6091and reuse of software generally.
6092
6093			    NO WARRANTY
6094
6095  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
6096WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
6097EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
6098OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
6099KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
6100IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
6101PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
6102LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
6103THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
6104
6105  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
6106WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
6107AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
6108FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
6109CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
6110LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
6111RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
6112FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
6113SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
6114DAMAGES.
6115
6116		     END OF TERMS AND CONDITIONS
6117
6118           How to Apply These Terms to Your New Libraries
6119
6120  If you develop a new library, and you want it to be of the greatest
6121possible use to the public, we recommend making it free software that
6122everyone can redistribute and change.  You can do so by permitting
6123redistribution under these terms (or, alternatively, under the terms of the
6124ordinary General Public License).
6125
6126  To apply these terms, attach the following notices to the library.  It is
6127safest to attach them to the start of each source file to most effectively
6128convey the exclusion of warranty; and each file should have at least the
6129"copyright" line and a pointer to where the full notice is found.
6130
6131    <one line to give the library's name and a brief idea of what it does.>
6132    Copyright (C) <year>  <name of author>
6133
6134    This library is free software; you can redistribute it and/or
6135    modify it under the terms of the GNU Library General Public
6136    License as published by the Free Software Foundation; either
6137    version 2 of the License, or (at your option) any later version.
6138
6139    This library is distributed in the hope that it will be useful,
6140    but WITHOUT ANY WARRANTY; without even the implied warranty of
6141    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
6142    Library General Public License for more details.
6143
6144    You should have received a copy of the GNU Library General Public
6145    License along with this library; if not, write to the 
6146    Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
6147    Boston, MA  02111-1307  USA.
6148
6149Also add information on how to contact you by electronic and paper mail.
6150
6151You should also get your employer (if you work as a programmer) or your
6152school, if any, to sign a "copyright disclaimer" for the library, if
6153necessary.  Here is a sample; alter the names:
6154
6155  Yoyodyne, Inc., hereby disclaims all copyright interest in the
6156  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
6157
6158  <signature of Ty Coon>, 1 April 1990
6159  Ty Coon, President of Vice
6160
6161That's all there is to it!
6162
6163HarfBuzz is licensed under the so-called "Old MIT" license.  Details follow.
6164For parts of HarfBuzz that are licensed under different licenses see individual
6165files names COPYING in subdirectories where applicable.
6166
6167Copyright © 2010,2011,2012  Google, Inc.
6168Copyright © 2012  Mozilla Foundation
6169Copyright © 2011  Codethink Limited
6170Copyright © 2008,2010  Nokia Corporation and/or its subsidiary(-ies)
6171Copyright © 2009  Keith Stribley
6172Copyright © 2009  Martin Hosken and SIL International
6173Copyright © 2007  Chris Wilson
6174Copyright © 2006  Behdad Esfahbod
6175Copyright © 2005  David Turner
6176Copyright © 2004,2007,2008,2009,2010  Red Hat, Inc.
6177Copyright © 1998-2004  David Turner and Werner Lemberg
6178
6179For full copyright notices consult the individual files in the package.
6180
6181
6182Permission is hereby granted, without written agreement and without
6183license or royalty fees, to use, copy, modify, and distribute this
6184software and its documentation for any purpose, provided that the
6185above copyright notice and the following two paragraphs appear in
6186all copies of this software.
6187
6188IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
6189DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
6190ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
6191IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
6192DAMAGE.
6193
6194THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
6195BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
6196FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
6197ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
6198PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
6199
6200// Copyright 2014 The Chromium Authors. All rights reserved.
6201//
6202// Redistribution and use in source and binary forms, with or without
6203// modification, are permitted provided that the following conditions are
6204// met:
6205//
6206//    * Redistributions of source code must retain the above copyright
6207// notice, this list of conditions and the following disclaimer.
6208//    * Redistributions in binary form must reproduce the above
6209// copyright notice, this list of conditions and the following disclaimer
6210// in the documentation and/or other materials provided with the
6211// distribution.
6212//    * Neither the name of Google Inc. nor the names of its
6213// contributors may be used to endorse or promote products derived from
6214// this software without specific prior written permission.
6215//
6216// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6217// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6218// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6219// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
6220// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
6221// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
6222// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
6223// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
6224// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6225// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
6226// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6227
6228/*************************************************************************
6229 *
6230 *  IAccessible2 IDL Specification 
6231 * 
6232 *  Copyright (c) 2007, 2010 Linux Foundation 
6233 *  Copyright (c) 2006 IBM Corporation 
6234 *  Copyright (c) 2000, 2006 Sun Microsystems, Inc. 
6235 *  All rights reserved. 
6236 *   
6237 *   
6238 *  Redistribution and use in source and binary forms, with or without 
6239 *  modification, are permitted provided that the following conditions 
6240 *  are met: 
6241 *   
6242 *   1. Redistributions of source code must retain the above copyright 
6243 *      notice, this list of conditions and the following disclaimer. 
6244 *   
6245 *   2. Redistributions in binary form must reproduce the above 
6246 *      copyright notice, this list of conditions and the following 
6247 *      disclaimer in the documentation and/or other materials 
6248 *      provided with the distribution. 
6249 *
6250 *   3. Neither the name of the Linux Foundation nor the names of its 
6251 *      contributors may be used to endorse or promote products 
6252 *      derived from this software without specific prior written 
6253 *      permission. 
6254 *   
6255 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 
6256 *  CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 
6257 *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
6258 *  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
6259 *  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 
6260 *  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
6261 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
6262 *  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
6263 *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
6264 *  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
6265 *  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
6266 *  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
6267 *  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
6268 *   
6269 *  This BSD License conforms to the Open Source Initiative "Simplified 
6270 *  BSD License" as published at: 
6271 *  http://www.opensource.org/licenses/bsd-license.php 
6272 *   
6273 *  IAccessible2 is a trademark of the Linux Foundation. The IAccessible2 
6274 *  mark may be used in accordance with the Linux Foundation Trademark 
6275 *  Policy to indicate compliance with the IAccessible2 specification. 
6276 * 
6277 ************************************************************************/ 
6278
6279LICENSE extracted from IJG's jpeg distribution:
6280-----------------------------------------------
6281
6282In plain English:
6283
62841. We don't promise that this software works.  (But if you find any bugs,
6285   please let us know!)
62862. You can use this software for whatever you want.  You don't have to pay us.
62873. You may not pretend that you wrote this software.  If you use it in a
6288   program, you must acknowledge somewhere in your documentation that
6289   you've used the IJG code.
6290
6291In legalese:
6292
6293The authors make NO WARRANTY or representation, either express or implied,
6294with respect to this software, its quality, accuracy, merchantability, or
6295fitness for a particular purpose.  This software is provided "AS IS", and you,
6296its user, assume the entire risk as to its quality and accuracy.
6297
6298This software is copyright (C) 1991-1998, Thomas G. Lane.
6299All Rights Reserved except as specified below.
6300
6301Permission is hereby granted to use, copy, modify, and distribute this
6302software (or portions thereof) for any purpose, without fee, subject to these
6303conditions:
6304(1) If any part of the source code for this software is distributed, then this
6305README file must be included, with this copyright and no-warranty notice
6306unaltered; and any additions, deletions, or changes to the original files
6307must be clearly indicated in accompanying documentation.
6308(2) If only executable code is distributed, then the accompanying
6309documentation must state that "this software is based in part on the work of
6310the Independent JPEG Group".
6311(3) Permission for use of this software is granted only if the user accepts
6312full responsibility for any undesirable consequences; the authors accept
6313NO LIABILITY for damages of any kind.
6314
6315These conditions apply to any software derived from or based on the IJG code,
6316not just to the unmodified library.  If you use our work, you ought to
6317acknowledge us.
6318
6319Permission is NOT granted for the use of any IJG author's name or company name
6320in advertising or publicity relating to this software or products derived from
6321it.  This software may be referred to only as "the Independent JPEG Group's
6322software".
6323
6324We specifically permit and encourage the use of this software as the basis of
6325commercial products, provided that all warranty or liability claims are
6326assumed by the product vendor.
6327
6328
6329ICU License - ICU 1.8.1 and later
6330
6331COPYRIGHT AND PERMISSION NOTICE
6332
6333Copyright (c) 1995-2013 International Business Machines Corporation and
6334others
6335
6336All rights reserved.
6337
6338Permission is hereby granted, free of charge, to any person obtaining a
6339copy of this software and associated documentation files (the
6340"Software"), to deal in the Software without restriction, including
6341without limitation the rights to use, copy, modify, merge, publish,
6342distribute, and/or sell copies of the Software, and to permit persons
6343to whom the Software is furnished to do so, provided that the above
6344copyright notice(s) and this permission notice appear in all copies of
6345the Software and that both the above copyright notice(s) and this
6346permission notice appear in supporting documentation.
6347
6348THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
6349OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
6350MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
6351OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
6352HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
6353INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
6354FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
6355NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
6356WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
6357
6358Except as contained in this notice, the name of a copyright holder
6359shall not be used in advertising or otherwise to promote the sale, use
6360or other dealings in this Software without prior written authorization
6361of the copyright holder.
6362  __________________________________________________________________
6363
6364All trademarks and registered trademarks mentioned herein are the
6365property of their respective owners.
6366  __________________________________________________________________
6367
6368Third-Party Software Licenses
6369
6370   This section contains third-party software notices and/or additional
6371   terms for licensed third-party software components included within ICU
6372   libraries.
6373
63741. Unicode Data Files and Software
6375
6376                                  EXHIBIT 1
6377          UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
6378
6379     Unicode Data Files include all data files under the directories
6380     http://www.unicode.org/Public/, http://www.unicode.org/reports/, and
6381     http://www.unicode.org/cldr/data/. Unicode Data Files do not include
6382     PDF online code charts under the directory
6383     http://www.unicode.org/Public/. Software includes any source code
6384     published in the Unicode Standard or under the directories
6385     http://www.unicode.org/Public/, http://www.unicode.org/reports/, and
6386     http://www.unicode.org/cldr/data/.
6387
6388     NOTICE TO USER: Carefully read the following legal agreement. BY
6389     DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
6390     DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU
6391     UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND
6392     CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD,
6393     INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
6394
6395     COPYRIGHT AND PERMISSION NOTICE
6396
6397     Copyright © 1991-2013 Unicode, Inc. All rights reserved. Distributed
6398     under the Terms of Use in http://www.unicode.org/copyright.html.
6399
6400     Permission is hereby granted, free of charge, to any person
6401     obtaining a copy of the Unicode data files and any associated
6402     documentation (the "Data Files") or Unicode software and any
6403     associated documentation (the "Software") to deal in the Data Files
6404     or Software without restriction, including without limitation the
6405     rights to use, copy, modify, merge, publish, distribute, and/or sell
6406     copies of the Data Files or Software, and to permit persons to whom
6407     the Data Files or Software are furnished to do so, provided that (a)
6408     the above copyright notice(s) and this permission notice appear with
6409     all copies of the Data Files or Software, (b) both the above
6410     copyright notice(s) and this permission notice appear in associated
6411     documentation, and (c) there is clear notice in each modified Data
6412     File or in the Software as well as in the documentation associated
6413     with the Data File(s) or Software that the data or software has been
6414     modified.
6415
6416     THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY
6417     OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
6418     WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
6419     NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE
6420     COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR
6421     ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY
6422     DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
6423     WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
6424     ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
6425     OF THE DATA FILES OR SOFTWARE.
6426
6427     Except as contained in this notice, the name of a copyright holder
6428     shall not be used in advertising or otherwise to promote the sale,
6429     use or other dealings in these Data Files or Software without prior
6430     written authorization of the copyright holder.
6431            ______________________________________________________
6432
6433     Unicode and the Unicode logo are trademarks of Unicode, Inc. in the
6434     United States and other countries. All third party trademarks
6435     referenced herein are the property of their respective owners.
6436
64372. Chinese/Japanese Word Break Dictionary Data (cjdict.txt)
6438
6439 #    The Google Chrome software developed by Google is licensed under the BSD l
6440icense. Other software included in this distribution is provided under other lic
6441enses, as set forth below.
6442 #
6443 #      The BSD License
6444 #      http://opensource.org/licenses/bsd-license.php
6445 #      Copyright (C) 2006-2008, Google Inc.
6446 #
6447 #      All rights reserved.
6448 #
6449 #      Redistribution and use in source and binary forms, with or without modif
6450ication, are permitted provided that the following conditions are met:
6451 #
6452 #      Redistributions of source code must retain the above copyright notice, t
6453his list of conditions and the following disclaimer.
6454 #      Redistributions in binary form must reproduce the above copyright notice
6455, this list of conditions and the following disclaimer in the documentation and/
6456or other materials provided with the distribution.
6457 #      Neither the name of  Google Inc. nor the names of its contributors may b
6458e used to endorse or promote products derived from this software without specifi
6459c prior written permission.
6460 #
6461 #
6462 #      THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
6463IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IM
6464PLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DIS
6465CLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY
6466 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INC
6467LUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
6468 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEO
6469RY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLI
6470GENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
6471ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6472 #
6473 #
6474 #      The word list in cjdict.txt are generated by combining three word lists
6475listed
6476 #      below with further processing for compound word breaking. The frequency
6477is generated
6478 #      with an iterative training against Google web corpora.
6479 #
6480 #      * Libtabe (Chinese)
6481 #        - https://sourceforge.net/project/?group_id=1519
6482 #        - Its license terms and conditions are shown below.
6483 #
6484 #      * IPADIC (Japanese)
6485 #        - http://chasen.aist-nara.ac.jp/chasen/distribution.html
6486 #        - Its license terms and conditions are shown below.
6487 #
6488 #      ---------COPYING.libtabe ---- BEGIN--------------------
6489 #
6490 #      /*
6491 #       * Copyrighy (c) 1999 TaBE Project.
6492 #       * Copyright (c) 1999 Pai-Hsiang Hsiao.
6493 #       * All rights reserved.
6494 #       *
6495 #       * Redistribution and use in source and binary forms, with or without
6496 #       * modification, are permitted provided that the following conditions
6497 #       * are met:
6498 #       *
6499 #       * . Redistributions of source code must retain the above copyright
6500 #       *   notice, this list of conditions and the following disclaimer.
6501 #       * . Redistributions in binary form must reproduce the above copyright
6502 #       *   notice, this list of conditions and the following disclaimer in
6503 #       *   the documentation and/or other materials provided with the
6504 #       *   distribution.
6505 #       * . Neither the name of the TaBE Project nor the names of its
6506 #       *   contributors may be used to endorse or promote products derived
6507 #       *   from this software without specific prior written permission.
6508 #       *
6509 #       * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6510 #       * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6511 #       * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
6512 #       * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
6513 #       * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
6514 #       * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
6515 #       * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
6516 #       * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
6517 #       * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
6518 #       * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
6519 #       * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
6520 #       * OF THE POSSIBILITY OF SUCH DAMAGE.
6521 #       */
6522 #
6523 #      /*
6524 #       * Copyright (c) 1999 Computer Systems and Communication Lab,
6525 #       *                    Institute of Information Science, Academia Sinica.
6526 #       * All rights reserved.
6527 #       *
6528 #       * Redistribution and use in source and binary forms, with or without
6529 #       * modification, are permitted provided that the following conditions
6530 #       * are met:
6531 #       *
6532 #       * . Redistributions of source code must retain the above copyright
6533 #       *   notice, this list of conditions and the following disclaimer.
6534 #       * . Redistributions in binary form must reproduce the above copyright
6535 #       *   notice, this list of conditions and the following disclaimer in
6536 #       *   the documentation and/or other materials provided with the
6537 #       *   distribution.
6538 #       * . Neither the name of the Computer Systems and Communication Lab
6539 #       *   nor the names of its contributors may be used to endorse or
6540 #       *   promote products derived from this software without specific
6541 #       *   prior written permission.
6542 #       *
6543 #       * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6544 #       * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6545 #       * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
6546 #       * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
6547 #       * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
6548 #       * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
6549 #       * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
6550 #       * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
6551 #       * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
6552 #       * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
6553 #       * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
6554 #       * OF THE POSSIBILITY OF SUCH DAMAGE.
6555 #       */
6556 #
6557 #      Copyright 1996 Chih-Hao Tsai @ Beckman Institute, University of Illinois
6558 #      c-tsai4@uiuc.edu  http://casper.beckman.uiuc.edu/~c-tsai4
6559 #
6560 #      ---------------COPYING.libtabe-----END----------------------------------
6561--
6562 #
6563 #
6564 #      ---------------COPYING.ipadic-----BEGIN---------------------------------
6565---
6566 #
6567 #      Copyright 2000, 2001, 2002, 2003 Nara Institute of Science
6568 #      and Technology.  All Rights Reserved.
6569 #
6570 #      Use, reproduction, and distribution of this software is permitted.
6571 #      Any copy of this software, whether in its original form or modified,
6572 #      must include both the above copyright notice and the following
6573 #      paragraphs.
6574 #
6575 #      Nara Institute of Science and Technology (NAIST),
6576 #      the copyright holders, disclaims all warranties with regard to this
6577 #      software, including all implied warranties of merchantability and
6578 #      fitness, in no event shall NAIST be liable for
6579 #      any special, indirect or consequential damages or any damages
6580 #      whatsoever resulting from loss of use, data or profits, whether in an
6581 #      action of contract, negligence or other tortuous action, arising out
6582 #      of or in connection with the use or performance of this software.
6583 #
6584 #      A large portion of the dictionary entries
6585 #      originate from ICOT Free Software.  The following conditions for ICOT
6586 #      Free Software applies to the current dictionary as well.
6587 #
6588 #      Each User may also freely distribute the Program, whether in its
6589 #      original form or modified, to any third party or parties, PROVIDED
6590 #      that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear
6591 #      on, or be attached to, the Program, which is distributed substantially
6592 #      in the same form as set out herein and that such intended
6593 #      distribution, if actually made, will neither violate or otherwise
6594 #      contravene any of the laws and regulations of the countries having
6595 #      jurisdiction over the User or the intended distribution itself.
6596 #
6597 #      NO WARRANTY
6598 #
6599 #      The program was produced on an experimental basis in the course of the
6600 #      research and development conducted during the project and is provided
6601 #      to users as so produced on an experimental basis.  Accordingly, the
6602 #      program is provided without any warranty whatsoever, whether express,
6603 #      implied, statutory or otherwise.  The term "warranty" used herein
6604 #      includes, but is not limited to, any warranty of the quality,
6605 #      performance, merchantability and fitness for a particular purpose of
6606 #      the program and the nonexistence of any infringement or violation of
6607 #      any right of any third party.
6608 #
6609 #      Each user of the program will agree and understand, and be deemed to
6610 #      have agreed and understood, that there is no warranty whatsoever for
6611 #      the program and, accordingly, the entire risk arising from or
6612 #      otherwise connected with the program is assumed by the user.
6613 #
6614 #      Therefore, neither ICOT, the copyright holder, or any other
6615 #      organization that participated in or was otherwise related to the
6616 #      development of the program and their respective officials, directors,
6617 #      officers and other employees shall be held liable for any and all
6618 #      damages, including, without limitation, general, special, incidental
6619 #      and consequential damages, arising out of or otherwise in connection
6620 #      with the use or inability to use the program or any product, material
6621 #      or result produced or otherwise obtained by using the program,
6622 #      regardless of whether they have been advised of, or otherwise had
6623 #      knowledge of, the possibility of such damages at any time during the
6624 #      project or thereafter.  Each user will be deemed to have agreed to the
6625 #      foregoing by his or her commencement of use of the program.  The term
6626 #      "use" as used herein includes, but is not limited to, the use,
6627 #      modification, copying and distribution of the program and the
6628 #      production of secondary products from the program.
6629 #
6630 #      In the case where the program, whether in its original form or
6631 #      modified, was distributed or delivered to or received by a user from
6632 #      any person, organization or entity other than ICOT, unless it makes or
6633 #      grants independently of ICOT any specific warranty to the user in
6634 #      writing, such person, organization or entity, will also be exempted
6635 #      from and not be held liable to the user for any such damages as noted
6636 #      above as far as the program is concerned.
6637 #
6638 #      ---------------COPYING.ipadic-----END-----------------------------------
6639-
6640
66413. Lao Word Break Dictionary Data (laodict.txt)
6642
6643 #      Copyright (c) 2013 International Business Machines Corporation
6644 #      and others. All Rights Reserved.
6645 #
6646 #      Project:    http://code.google.com/p/lao-dictionary/
6647 #      Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt
6648 #      License:    http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICE
6649NSE.txt
6650 #                  (copied below)
6651 #
6652 #      This file is derived from the above dictionary, with slight modification
6653s.
6654 #      ------------------------------------------------------------------------
6655--------
6656 #      Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell.
6657 #      All rights reserved.
6658 #
6659 #      Redistribution and use in source and binary forms, with or without modif
6660ication,
6661 #      are permitted provided that the following conditions are met:
6662 #
6663 #              Redistributions of source code must retain the above copyright n
6664otice, this
6665 #              list of conditions and the following disclaimer. Redistributions
6666 in binary
6667 #              form must reproduce the above copyright notice, this list of con
6668ditions and
6669 #              the following disclaimer in the documentation and/or other mater
6670ials
6671 #              provided with the distribution.
6672 #
6673 #      THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
6674IS" AND
6675 #      ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IM
6676PLIED
6677 #      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
6678 #      DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LI
6679ABLE FOR
6680 #      ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL D
6681AMAGES
6682 #      (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVI
6683CES;
6684 #      LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
6685AND ON
6686 #      ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6687 #      (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
6688 THIS
6689 #      SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6690 #      ------------------------------------------------------------------------
6691--------
6692
66934. Time Zone Database
6694
6695   ICU uses the public domain data and code derived from Time Zone
6696   Database for its time zone support. The ownership of the TZ database is
6697   explained in BCP 175: Procedure for Maintaining the Time Zone Database
6698   section 7.
6699
6700  7.  Database Ownership
6701
6702     The TZ database itself is not an IETF Contribution or an IETF
6703     document.  Rather it is a pre-existing and regularly updated work
6704     that is in the public domain, and is intended to remain in the public
6705     domain.  Therefore, BCPs 78 [RFC5378] and 79 [RFC3979] do not apply
6706     to the TZ Database or contributions that individuals make to it.
6707     Should any claims be made and substantiated against the TZ Database,
6708     the organization that is providing the IANA Considerations defined in
6709     this RFC, under the memorandum of understanding with the IETF,
6710     currently ICANN, may act in accordance with all competent court
6711     orders.  No ownership claims will be made by ICANN or the IETF Trust
6712     on the database or the code.  Any person making a contribution to the
6713     database or code waives all rights to future claims in that
6714     contribution or in the TZ Database.
6715
6716/* ***** BEGIN LICENSE BLOCK *****
6717 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6718 *
6719 * The contents of this file are subject to the Mozilla Public License Version
6720 * 1.1 (the "License"); you may not use this file except in compliance with
6721 * the License. You may obtain a copy of the License at
6722 * http://www.mozilla.org/MPL/
6723 *
6724 * Software distributed under the License is distributed on an "AS IS" basis,
6725 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
6726 * for the specific language governing rights and limitations under the
6727 * License.
6728 *
6729 * The Original Code is mozilla.org code.
6730 *
6731 * The Initial Developer of the Original Code is
6732 * Netscape Communications Corporation.
6733 * Portions created by the Initial Developer are Copyright (C) 2002
6734 * the Initial Developer. All Rights Reserved.
6735 *
6736 * Contributor(s):
6737 *
6738 * Alternatively, the contents of this file may be used under the terms of
6739 * either the GNU General Public License Version 2 or later (the "GPL"), or
6740 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
6741 * in which case the provisions of the GPL or the LGPL are applicable instead
6742 * of those above. If you wish to allow use of your version of this file only
6743 * under the terms of either the GPL or the LGPL, and not to allow others to
6744 * use your version of this file under the terms of the MPL, indicate your
6745 * decision by deleting the provisions above and replace them with the notice
6746 * and other provisions required by the GPL or the LGPL. If you do not delete
6747 * the provisions above, a recipient may use your version of this file under
6748 * the terms of any one of the MPL, the GPL or the LGPL.
6749 *
6750 * ***** END LICENSE BLOCK ***** */
6751
6752The JsonCpp library's source code, including accompanying documentation, 
6753tests and demonstration applications, are licensed under the following
6754conditions...
6755
6756The author (Baptiste Lepilleur) explicitly disclaims copyright in all 
6757jurisdictions which recognize such a disclaimer. In such jurisdictions, 
6758this software is released into the Public Domain.
6759
6760In jurisdictions which do not recognize Public Domain property (e.g. Germany as of
67612010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is
6762released under the terms of the MIT License (see below).
6763
6764In jurisdictions which recognize Public Domain property, the user of this 
6765software may choose to accept it either as 1) Public Domain, 2) under the 
6766conditions of the MIT License (see below), or 3) under the terms of dual 
6767Public Domain/MIT License conditions described here, as they choose.
6768
6769The MIT License is about as close to Public Domain as a license can get, and is
6770described in clear, concise terms at:
6771
6772   http://en.wikipedia.org/wiki/MIT_License
6773   
6774The full text of the MIT License follows:
6775
6776========================================================================
6777Copyright (c) 2007-2010 Baptiste Lepilleur
6778
6779Permission is hereby granted, free of charge, to any person
6780obtaining a copy of this software and associated documentation
6781files (the "Software"), to deal in the Software without
6782restriction, including without limitation the rights to use, copy,
6783modify, merge, publish, distribute, sublicense, and/or sell copies
6784of the Software, and to permit persons to whom the Software is
6785furnished to do so, subject to the following conditions:
6786
6787The above copyright notice and this permission notice shall be
6788included in all copies or substantial portions of the Software.
6789
6790THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
6791EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
6792MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
6793NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
6794BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
6795ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
6796CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6797SOFTWARE.
6798========================================================================
6799(END LICENSE TEXT)
6800
6801The MIT license is compatible with both the GPL and commercial
6802software, affording one all of the rights of Public Domain with the
6803minor nuisance of being required to keep the above copyright notice
6804and license text in the source code. Note also that by accepting the
6805Public Domain "license" you can re-license your copy using whatever
6806license you like.
6807
6808
6809                                 Apache License
6810                           Version 2.0, January 2004
6811                        http://www.apache.org/licenses/
6812
6813   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6814
6815   1. Definitions.
6816
6817      "License" shall mean the terms and conditions for use, reproduction,
6818      and distribution as defined by Sections 1 through 9 of this document.
6819
6820      "Licensor" shall mean the copyright owner or entity authorized by
6821      the copyright owner that is granting the License.
6822
6823      "Legal Entity" shall mean the union of the acting entity and all
6824      other entities that control, are controlled by, or are under common
6825      control with that entity. For the purposes of this definition,
6826      "control" means (i) the power, direct or indirect, to cause the
6827      direction or management of such entity, whether by contract or
6828      otherwise, or (ii) ownership of fifty percent (50%) or more of the
6829      outstanding shares, or (iii) beneficial ownership of such entity.
6830
6831      "You" (or "Your") shall mean an individual or Legal Entity
6832      exercising permissions granted by this License.
6833
6834      "Source" form shall mean the preferred form for making modifications,
6835      including but not limited to software source code, documentation
6836      source, and configuration files.
6837
6838      "Object" form shall mean any form resulting from mechanical
6839      transformation or translation of a Source form, including but
6840      not limited to compiled object code, generated documentation,
6841      and conversions to other media types.
6842
6843      "Work" shall mean the work of authorship, whether in Source or
6844      Object form, made available under the License, as indicated by a
6845      copyright notice that is included in or attached to the work
6846      (an example is provided in the Appendix below).
6847
6848      "Derivative Works" shall mean any work, whether in Source or Object
6849      form, that is based on (or derived from) the Work and for which the
6850      editorial revisions, annotations, elaborations, or other modifications
6851      represent, as a whole, an original work of authorship. For the purposes
6852      of this License, Derivative Works shall not include works that remain
6853      separable from, or merely link (or bind by name) to the interfaces of,
6854      the Work and Derivative Works thereof.
6855
6856      "Contribution" shall mean any work of authorship, including
6857      the original version of the Work and any modifications or additions
6858      to that Work or Derivative Works thereof, that is intentionally
6859      submitted to Licensor for inclusion in the Work by the copyright owner
6860      or by an individual or Legal Entity authorized to submit on behalf of
6861      the copyright owner. For the purposes of this definition, "submitted"
6862      means any form of electronic, verbal, or written communication sent
6863      to the Licensor or its representatives, including but not limited to
6864      communication on electronic mailing lists, source code control systems,
6865      and issue tracking systems that are managed by, or on behalf of, the
6866      Licensor for the purpose of discussing and improving the Work, but
6867      excluding communication that is conspicuously marked or otherwise
6868      designated in writing by the copyright owner as "Not a Contribution."
6869
6870      "Contributor" shall mean Licensor and any individual or Legal Entity
6871      on behalf of whom a Contribution has been received by Licensor and
6872      subsequently incorporated within the Work.
6873
6874   2. Grant of Copyright License. Subject to the terms and conditions of
6875      this License, each Contributor hereby grants to You a perpetual,
6876      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
6877      copyright license to reproduce, prepare Derivative Works of,
6878      publicly display, publicly perform, sublicense, and distribute the
6879      Work and such Derivative Works in Source or Object form.
6880
6881   3. Grant of Patent License. Subject to the terms and conditions of
6882      this License, each Contributor hereby grants to You a perpetual,
6883      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
6884      (except as stated in this section) patent license to make, have made,
6885      use, offer to sell, sell, import, and otherwise transfer the Work,
6886      where such license applies only to those patent claims licensable
6887      by such Contributor that are necessarily infringed by their
6888      Contribution(s) alone or by combination of their Contribution(s)
6889      with the Work to which such Contribution(s) was submitted. If You
6890      institute patent litigation against any entity (including a
6891      cross-claim or counterclaim in a lawsuit) alleging that the Work
6892      or a Contribution incorporated within the Work constitutes direct
6893      or contributory patent infringement, then any patent licenses
6894      granted to You under this License for that Work shall terminate
6895      as of the date such litigation is filed.
6896
6897   4. Redistribution. You may reproduce and distribute copies of the
6898      Work or Derivative Works thereof in any medium, with or without
6899      modifications, and in Source or Object form, provided that You
6900      meet the following conditions:
6901
6902      (a) You must give any other recipients of the Work or
6903          Derivative Works a copy of this License; and
6904
6905      (b) You must cause any modified files to carry prominent notices
6906          stating that You changed the files; and
6907
6908      (c) You must retain, in the Source form of any Derivative Works
6909          that You distribute, all copyright, patent, trademark, and
6910          attribution notices from the Source form of the Work,
6911          excluding those notices that do not pertain to any part of
6912          the Derivative Works; and
6913
6914      (d) If the Work includes a "NOTICE" text file as part of its
6915          distribution, then any Derivative Works that You distribute must
6916          include a readable copy of the attribution notices contained
6917          within such NOTICE file, excluding those notices that do not
6918          pertain to any part of the Derivative Works, in at least one
6919          of the following places: within a NOTICE text file distributed
6920          as part of the Derivative Works; within the Source form or
6921          documentation, if provided along with the Derivative Works; or,
6922          within a display generated by the Derivative Works, if and
6923          wherever such third-party notices normally appear. The contents
6924          of the NOTICE file are for informational purposes only and
6925          do not modify the License. You may add Your own attribution
6926          notices within Derivative Works that You distribute, alongside
6927          or as an addendum to the NOTICE text from the Work, provided
6928          that such additional attribution notices cannot be construed
6929          as modifying the License.
6930
6931      You may add Your own copyright statement to Your modifications and
6932      may provide additional or different license terms and conditions
6933      for use, reproduction, or distribution of Your modifications, or
6934      for any such Derivative Works as a whole, provided Your use,
6935      reproduction, and distribution of the Work otherwise complies with
6936      the conditions stated in this License.
6937
6938   5. Submission of Contributions. Unless You explicitly state otherwise,
6939      any Contribution intentionally submitted for inclusion in the Work
6940      by You to the Licensor shall be under the terms and conditions of
6941      this License, without any additional terms or conditions.
6942      Notwithstanding the above, nothing herein shall supersede or modify
6943      the terms of any separate license agreement you may have executed
6944      with Licensor regarding such Contributions.
6945
6946   6. Trademarks. This License does not grant permission to use the trade
6947      names, trademarks, service marks, or product names of the Licensor,
6948      except as required for reasonable and customary use in describing the
6949      origin of the Work and reproducing the content of the NOTICE file.
6950
6951   7. Disclaimer of Warranty. Unless required by applicable law or
6952      agreed to in writing, Licensor provides the Work (and each
6953      Contributor provides its Contributions) on an "AS IS" BASIS,
6954      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
6955      implied, including, without limitation, any warranties or conditions
6956      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
6957      PARTICULAR PURPOSE. You are solely responsible for determining the
6958      appropriateness of using or redistributing the Work and assume any
6959      risks associated with Your exercise of permissions under this License.
6960
6961   8. Limitation of Liability. In no event and under no legal theory,
6962      whether in tort (including negligence), contract, or otherwise,
6963      unless required by applicable law (such as deliberate and grossly
6964      negligent acts) or agreed to in writing, shall any Contributor be
6965      liable to You for damages, including any direct, indirect, special,
6966      incidental, or consequential damages of any character arising as a
6967      result of this License or out of the use or inability to use the
6968      Work (including but not limited to damages for loss of goodwill,
6969      work stoppage, computer failure or malfunction, or any and all
6970      other commercial damages or losses), even if such Contributor
6971      has been advised of the possibility of such damages.
6972
6973   9. Accepting Warranty or Additional Liability. While redistributing
6974      the Work or Derivative Works thereof, You may choose to offer,
6975      and charge a fee for, acceptance of support, warranty, indemnity,
6976      or other liability obligations and/or rights consistent with this
6977      License. However, in accepting such obligations, You may act only
6978      on Your own behalf and on Your sole responsibility, not on behalf
6979      of any other Contributor, and only if You agree to indemnify,
6980      defend, and hold each Contributor harmless for any liability
6981      incurred by, or claims asserted against, such Contributor by reason
6982      of your accepting any such warranty or additional liability.
6983
6984   END OF TERMS AND CONDITIONS
6985
6986   APPENDIX: How to apply the Apache License to your work.
6987
6988      To apply the Apache License to your work, attach the following
6989      boilerplate notice, with the fields enclosed by brackets "[]"
6990      replaced with your own identifying information. (Don't include
6991      the brackets!)  The text should be enclosed in the appropriate
6992      comment syntax for the file format. We also recommend that a
6993      file or class name and description of purpose be included on the
6994      same "printed page" as the copyright notice for easier
6995      identification within third-party archives.
6996
6997   Copyright [yyyy] [name of copyright owner]
6998
6999   Licensed under the Apache License, Version 2.0 (the "License");
7000   you may not use this file except in compliance with the License.
7001   You may obtain a copy of the License at
7002
7003       http://www.apache.org/licenses/LICENSE-2.0
7004
7005   Unless required by applicable law or agreed to in writing, software
7006   distributed under the License is distributed on an "AS IS" BASIS,
7007   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7008   See the License for the specific language governing permissions and
7009   limitations under the License.
7010
7011Copyright (c) 2007-2010 The Khronos Group Inc.
7012
7013Permission is hereby granted, free of charge, to any person obtaining a
7014copy of this software and/or associated documentation files (the
7015"Materials"), to deal in the Materials without restriction, including
7016without limitation the rights to use, copy, modify, merge, publish,
7017distribute, sublicense, and/or sell copies of the Materials, and to
7018permit persons to whom the Materials are furnished to do so, subject to
7019the following conditions:
7020
7021The above copyright notice and this permission notice shall be included
7022in all copies or substantial portions of the Materials.
7023
7024THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
7025EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
7026MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
7027IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
7028CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
7029TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
7030MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
7031
7032
7033SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
7034
7035Copyright (C) 1992 Silicon Graphics, Inc. All Rights Reserved.
7036
7037Permission is hereby granted, free of charge, to any person obtaining a copy of
7038this software and associated documentation files (the "Software"), to deal in
7039the Software without restriction, including without limitation the rights to
7040use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7041of the Software, and to permit persons to whom the Software is furnished to do
7042so, subject to the following conditions:
7043
7044The above copyright notice including the dates of first publication and either
7045this permission notice or a reference to http://oss.sgi.com/projects/FreeB/
7046shall be included in all copies or substantial portions of the Software. 
7047
7048THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7049IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7050FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SILICON
7051GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
7052AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
7053WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7054
7055Except as contained in this notice, the name of Silicon Graphics, Inc. shall
7056not be used in advertising or otherwise to promote the sale, use or other
7057dealings in this Software without prior written authorization from Silicon
7058Graphics, Inc.
7059
7060Redistribution and use in source and binary forms, with or without
7061modification, are permitted provided that the following conditions are
7062met:
7063
7064  * Redistributions of source code must retain the above copyright
7065    notice, this list of conditions and the following disclaimer.
7066
7067  * Redistributions in binary form must reproduce the above
7068    copyright notice, this list of conditions and the following
7069    disclaimer in the documentation and/or other materials provided
7070    with the distribution.
7071
7072  * Neither the name of the copyright holders nor the names of its
7073    contributors may be used to endorse or promote products derived
7074    from this software without specific prior written permission.
7075
7076THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7077"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7078LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7079A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7080HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7081SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7082LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7083DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7084THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7085(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7086OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7087
7088		    GNU GENERAL PUBLIC LICENSE
7089		       Version 2, June 1991
7090
7091 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
7092 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7093 Everyone is permitted to copy and distribute verbatim copies
7094 of this license document, but changing it is not allowed.
7095
7096			    Preamble
7097
7098  The licenses for most software are designed to take away your
7099freedom to share and change it.  By contrast, the GNU General Public
7100License is intended to guarantee your freedom to share and change free
7101software--to make sure the software is free for all its users.  This
7102General Public License applies to most of the Free Software
7103Foundation's software and to any other program whose authors commit to
7104using it.  (Some other Free Software Foundation software is covered by
7105the GNU Lesser General Public License instead.)  You can apply it to
7106your programs, too.
7107
7108  When we speak of free software, we are referring to freedom, not
7109price.  Our General Public Licenses are designed to make sure that you
7110have the freedom to distribute copies of free software (and charge for
7111this service if you wish), that you receive source code or can get it
7112if you want it, that you can change the software or use pieces of it
7113in new free programs; and that you know you can do these things.
7114
7115  To protect your rights, we need to make restrictions that forbid
7116anyone to deny you these rights or to ask you to surrender the rights.
7117These restrictions translate to certain responsibilities for you if you
7118distribute copies of the software, or if you modify it.
7119
7120  For example, if you distribute copies of such a program, whether
7121gratis or for a fee, you must give the recipients all the rights that
7122you have.  You must make sure that they, too, receive or can get the
7123source code.  And you must show them these terms so they know their
7124rights.
7125
7126  We protect your rights with two steps: (1) copyright the software, and
7127(2) offer you this license which gives you legal permission to copy,
7128distribute and/or modify the software.
7129
7130  Also, for each author's protection and ours, we want to make certain
7131that everyone understands that there is no warranty for this free
7132software.  If the software is modified by someone else and passed on, we
7133want its recipients to know that what they have is not the original, so
7134that any problems introduced by others will not reflect on the original
7135authors' reputations.
7136
7137  Finally, any free program is threatened constantly by software
7138patents.  We wish to avoid the danger that redistributors of a free
7139program will individually obtain patent licenses, in effect making the
7140program proprietary.  To prevent this, we have made it clear that any
7141patent must be licensed for everyone's free use or not licensed at all.
7142
7143  The precise terms and conditions for copying, distribution and
7144modification follow.
7145
7146		    GNU GENERAL PUBLIC LICENSE
7147   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
7148
7149  0. This License applies to any program or other work which contains
7150a notice placed by the copyright holder saying it may be distributed
7151under the terms of this General Public License.  The "Program", below,
7152refers to any such program or work, and a "work based on the Program"
7153means either the Program or any derivative work under copyright law:
7154that is to say, a work containing the Program or a portion of it,
7155either verbatim or with modifications and/or translated into another
7156language.  (Hereinafter, translation is included without limitation in
7157the term "modification".)  Each licensee is addressed as "you".
7158
7159Activities other than copying, distribution and modification are not
7160covered by this License; they are outside its scope.  The act of
7161running the Program is not restricted, and the output from the Program
7162is covered only if its contents constitute a work based on the
7163Program (independent of having been made by running the Program).
7164Whether that is true depends on what the Program does.
7165
7166  1. You may copy and distribute verbatim copies of the Program's
7167source code as you receive it, in any medium, provided that you
7168conspicuously and appropriately publish on each copy an appropriate
7169copyright notice and disclaimer of warranty; keep intact all the
7170notices that refer to this License and to the absence of any warranty;
7171and give any other recipients of the Program a copy of this License
7172along with the Program.
7173
7174You may charge a fee for the physical act of transferring a copy, and
7175you may at your option offer warranty protection in exchange for a fee.
7176
7177  2. You may modify your copy or copies of the Program or any portion
7178of it, thus forming a work based on the Program, and copy and
7179distribute such modifications or work under the terms of Section 1
7180above, provided that you also meet all of these conditions:
7181
7182    a) You must cause the modified files to carry prominent notices
7183    stating that you changed the files and the date of any change.
7184
7185    b) You must cause any work that you distribute or publish, that in
7186    whole or in part contains or is derived from the Program or any
7187    part thereof, to be licensed as a whole at no charge to all third
7188    parties under the terms of this License.
7189
7190    c) If the modified program normally reads commands interactively
7191    when run, you must cause it, when started running for such
7192    interactive use in the most ordinary way, to print or display an
7193    announcement including an appropriate copyright notice and a
7194    notice that there is no warranty (or else, saying that you provide
7195    a warranty) and that users may redistribute the program under
7196    these conditions, and telling the user how to view a copy of this
7197    License.  (Exception: if the Program itself is interactive but
7198    does not normally print such an announcement, your work based on
7199    the Program is not required to print an announcement.)
7200
7201These requirements apply to the modified work as a whole.  If
7202identifiable sections of that work are not derived from the Program,
7203and can be reasonably considered independent and separate works in
7204themselves, then this License, and its terms, do not apply to those
7205sections when you distribute them as separate works.  But when you
7206distribute the same sections as part of a whole which is a work based
7207on the Program, the distribution of the whole must be on the terms of
7208this License, whose permissions for other licensees extend to the
7209entire whole, and thus to each and every part regardless of who wrote it.
7210
7211Thus, it is not the intent of this section to claim rights or contest
7212your rights to work written entirely by you; rather, the intent is to
7213exercise the right to control the distribution of derivative or
7214collective works based on the Program.
7215
7216In addition, mere aggregation of another work not based on the Program
7217with the Program (or with a work based on the Program) on a volume of
7218a storage or distribution medium does not bring the other work under
7219the scope of this License.
7220
7221  3. You may copy and distribute the Program (or a work based on it,
7222under Section 2) in object code or executable form under the terms of
7223Sections 1 and 2 above provided that you also do one of the following:
7224
7225    a) Accompany it with the complete corresponding machine-readable
7226    source code, which must be distributed under the terms of Sections
7227    1 and 2 above on a medium customarily used for software interchange; or,
7228
7229    b) Accompany it with a written offer, valid for at least three
7230    years, to give any third party, for a charge no more than your
7231    cost of physically performing source distribution, a complete
7232    machine-readable copy of the corresponding source code, to be
7233    distributed under the terms of Sections 1 and 2 above on a medium
7234    customarily used for software interchange; or,
7235
7236    c) Accompany it with the information you received as to the offer
7237    to distribute corresponding source code.  (This alternative is
7238    allowed only for noncommercial distribution and only if you
7239    received the program in object code or executable form with such
7240    an offer, in accord with Subsection b above.)
7241
7242The source code for a work means the preferred form of the work for
7243making modifications to it.  For an executable work, complete source
7244code means all the source code for all modules it contains, plus any
7245associated interface definition files, plus the scripts used to
7246control compilation and installation of the executable.  However, as a
7247special exception, the source code distributed need not include
7248anything that is normally distributed (in either source or binary
7249form) with the major components (compiler, kernel, and so on) of the
7250operating system on which the executable runs, unless that component
7251itself accompanies the executable.
7252
7253If distribution of executable or object code is made by offering
7254access to copy from a designated place, then offering equivalent
7255access to copy the source code from the same place counts as
7256distribution of the source code, even though third parties are not
7257compelled to copy the source along with the object code.
7258
7259  4. You may not copy, modify, sublicense, or distribute the Program
7260except as expressly provided under this License.  Any attempt
7261otherwise to copy, modify, sublicense or distribute the Program is
7262void, and will automatically terminate your rights under this License.
7263However, parties who have received copies, or rights, from you under
7264this License will not have their licenses terminated so long as such
7265parties remain in full compliance.
7266
7267  5. You are not required to accept this License, since you have not
7268signed it.  However, nothing else grants you permission to modify or
7269distribute the Program or its derivative works.  These actions are
7270prohibited by law if you do not accept this License.  Therefore, by
7271modifying or distributing the Program (or any work based on the
7272Program), you indicate your acceptance of this License to do so, and
7273all its terms and conditions for copying, distributing or modifying
7274the Program or works based on it.
7275
7276  6. Each time you redistribute the Program (or any work based on the
7277Program), the recipient automatically receives a license from the
7278original licensor to copy, distribute or modify the Program subject to
7279these terms and conditions.  You may not impose any further
7280restrictions on the recipients' exercise of the rights granted herein.
7281You are not responsible for enforcing compliance by third parties to
7282this License.
7283
7284  7. If, as a consequence of a court judgment or allegation of patent
7285infringement or for any other reason (not limited to patent issues),
7286conditions are imposed on you (whether by court order, agreement or
7287otherwise) that contradict the conditions of this License, they do not
7288excuse you from the conditions of this License.  If you cannot
7289distribute so as to satisfy simultaneously your obligations under this
7290License and any other pertinent obligations, then as a consequence you
7291may not distribute the Program at all.  For example, if a patent
7292license would not permit royalty-free redistribution of the Program by
7293all those who receive copies directly or indirectly through you, then
7294the only way you could satisfy both it and this License would be to
7295refrain entirely from distribution of the Program.
7296
7297If any portion of this section is held invalid or unenforceable under
7298any particular circumstance, the balance of the section is intended to
7299apply and the section as a whole is intended to apply in other
7300circumstances.
7301
7302It is not the purpose of this section to induce you to infringe any
7303patents or other property right claims or to contest validity of any
7304such claims; this section has the sole purpose of protecting the
7305integrity of the free software distribution system, which is
7306implemented by public license practices.  Many people have made
7307generous contributions to the wide range of software distributed
7308through that system in reliance on consistent application of that
7309system; it is up to the author/donor to decide if he or she is willing
7310to distribute software through any other system and a licensee cannot
7311impose that choice.
7312
7313This section is intended to make thoroughly clear what is believed to
7314be a consequence of the rest of this License.
7315
7316  8. If the distribution and/or use of the Program is restricted in
7317certain countries either by patents or by copyrighted interfaces, the
7318original copyright holder who places the Program under this License
7319may add an explicit geographical distribution limitation excluding
7320those countries, so that distribution is permitted only in or among
7321countries not thus excluded.  In such case, this License incorporates
7322the limitation as if written in the body of this License.
7323
7324  9. The Free Software Foundation may publish revised and/or new versions
7325of the General Public License from time to time.  Such new versions will
7326be similar in spirit to the present version, but may differ in detail to
7327address new problems or concerns.
7328
7329Each version is given a distinguishing version number.  If the Program
7330specifies a version number of this License which applies to it and "any
7331later version", you have the option of following the terms and conditions
7332either of that version or of any later version published by the Free
7333Software Foundation.  If the Program does not specify a version number of
7334this License, you may choose any version ever published by the Free Software
7335Foundation.
7336
7337  10. If you wish to incorporate parts of the Program into other free
7338programs whose distribution conditions are different, write to the author
7339to ask for permission.  For software which is copyrighted by the Free
7340Software Foundation, write to the Free Software Foundation; we sometimes
7341make exceptions for this.  Our decision will be guided by the two goals
7342of preserving the free status of all derivatives of our free software and
7343of promoting the sharing and reuse of software generally.
7344
7345			    NO WARRANTY
7346
7347  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
7348FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
7349OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
7350PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
7351OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
7352MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
7353TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
7354PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
7355REPAIR OR CORRECTION.
7356
7357  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
7358WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
7359REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
7360INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
7361OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
7362TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
7363YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
7364PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
7365POSSIBILITY OF SUCH DAMAGES.
7366
7367		     END OF TERMS AND CONDITIONS
7368
7369	    How to Apply These Terms to Your New Programs
7370
7371  If you develop a new program, and you want it to be of the greatest
7372possible use to the public, the best way to achieve this is to make it
7373free software which everyone can redistribute and change under these terms.
7374
7375  To do so, attach the following notices to the program.  It is safest
7376to attach them to the start of each source file to most effectively
7377convey the exclusion of warranty; and each file should have at least
7378the "copyright" line and a pointer to where the full notice is found.
7379
7380    <one line to give the program's name and a brief idea of what it does.>
7381    Copyright (C) <year>  <name of author>
7382
7383    This program is free software; you can redistribute it and/or modify
7384    it under the terms of the GNU General Public License as published by
7385    the Free Software Foundation; either version 2 of the License, or
7386    (at your option) any later version.
7387
7388    This program is distributed in the hope that it will be useful,
7389    but WITHOUT ANY WARRANTY; without even the implied warranty of
7390    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7391    GNU General Public License for more details.
7392
7393    You should have received a copy of the GNU General Public License along
7394    with this program; if not, write to the Free Software Foundation, Inc.,
7395    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
7396
7397Also add information on how to contact you by electronic and paper mail.
7398
7399If the program is interactive, make it output a short notice like this
7400when it starts in an interactive mode:
7401
7402    Gnomovision version 69, Copyright (C) year name of author
7403    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
7404    This is free software, and you are welcome to redistribute it
7405    under certain conditions; type `show c' for details.
7406
7407The hypothetical commands `show w' and `show c' should show the appropriate
7408parts of the General Public License.  Of course, the commands you use may
7409be called something other than `show w' and `show c'; they could even be
7410mouse-clicks or menu items--whatever suits your program.
7411
7412You should also get your employer (if you work as a programmer) or your
7413school, if any, to sign a "copyright disclaimer" for the program, if
7414necessary.  Here is a sample; alter the names:
7415
7416  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
7417  `Gnomovision' (which makes passes at compilers) written by James Hacker.
7418
7419  <signature of Ty Coon>, 1 April 1989
7420  Ty Coon, President of Vice
7421
7422This General Public License does not permit incorporating your program into
7423proprietary programs.  If your program is a subroutine library, you may
7424consider it more useful to permit linking proprietary applications with the
7425library.  If this is what you want to do, use the GNU Lesser General
7426Public License instead of this License.
7427
7428Copyright (c) 2011 The LevelDB Authors. All rights reserved.
7429
7430Redistribution and use in source and binary forms, with or without
7431modification, are permitted provided that the following conditions are
7432met:
7433
7434   * Redistributions of source code must retain the above copyright
7435notice, this list of conditions and the following disclaimer.
7436   * Redistributions in binary form must reproduce the above
7437copyright notice, this list of conditions and the following disclaimer
7438in the documentation and/or other materials provided with the
7439distribution.
7440   * Neither the name of Google Inc. nor the names of its
7441contributors may be used to endorse or promote products derived from
7442this software without specific prior written permission.
7443
7444THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7445"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7446LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7447A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7448OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7449SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7450LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7451DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7452THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7453(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7454OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7455
7456/*
7457 * Copyright (c) 2008 NVIDIA, Corporation
7458 *
7459 * Permission is hereby granted, free of charge, to any person obtaining a copy
7460 * of this software and associated documentation files (the "Software"), to deal
7461 * in the Software without restriction, including without limitation the rights
7462 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7463 * copies of the Software, and to permit persons to whom the Software is
7464 * furnished to do so, subject to the following conditions:
7465 *
7466 * The above copyright notice and this permission notice (including the next
7467 * paragraph) shall be included in all copies or substantial portions of the
7468 * Software.
7469 *
7470 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7471 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7472 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
7473 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7474 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7475 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7476 * SOFTWARE.
7477 */
7478
7479                                 Apache License
7480                           Version 2.0, January 2004
7481                        http://www.apache.org/licenses/
7482
7483   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7484
7485   1. Definitions.
7486
7487      "License" shall mean the terms and conditions for use, reproduction,
7488      and distribution as defined by Sections 1 through 9 of this document.
7489
7490      "Licensor" shall mean the copyright owner or entity authorized by
7491      the copyright owner that is granting the License.
7492
7493      "Legal Entity" shall mean the union of the acting entity and all
7494      other entities that control, are controlled by, or are under common
7495      control with that entity. For the purposes of this definition,
7496      "control" means (i) the power, direct or indirect, to cause the
7497      direction or management of such entity, whether by contract or
7498      otherwise, or (ii) ownership of fifty percent (50%) or more of the
7499      outstanding shares, or (iii) beneficial ownership of such entity.
7500
7501      "You" (or "Your") shall mean an individual or Legal Entity
7502      exercising permissions granted by this License.
7503
7504      "Source" form shall mean the preferred form for making modifications,
7505      including but not limited to software source code, documentation
7506      source, and configuration files.
7507
7508      "Object" form shall mean any form resulting from mechanical
7509      transformation or translation of a Source form, including but
7510      not limited to compiled object code, generated documentation,
7511      and conversions to other media types.
7512
7513      "Work" shall mean the work of authorship, whether in Source or
7514      Object form, made available under the License, as indicated by a
7515      copyright notice that is included in or attached to the work
7516      (an example is provided in the Appendix below).
7517
7518      "Derivative Works" shall mean any work, whether in Source or Object
7519      form, that is based on (or derived from) the Work and for which the
7520      editorial revisions, annotations, elaborations, or other modifications
7521      represent, as a whole, an original work of authorship. For the purposes
7522      of this License, Derivative Works shall not include works that remain
7523      separable from, or merely link (or bind by name) to the interfaces of,
7524      the Work and Derivative Works thereof.
7525
7526      "Contribution" shall mean any work of authorship, including
7527      the original version of the Work and any modifications or additions
7528      to that Work or Derivative Works thereof, that is intentionally
7529      submitted to Licensor for inclusion in the Work by the copyright owner
7530      or by an individual or Legal Entity authorized to submit on behalf of
7531      the copyright owner. For the purposes of this definition, "submitted"
7532      means any form of electronic, verbal, or written communication sent
7533      to the Licensor or its representatives, including but not limited to
7534      communication on electronic mailing lists, source code control systems,
7535      and issue tracking systems that are managed by, or on behalf of, the
7536      Licensor for the purpose of discussing and improving the Work, but
7537      excluding communication that is conspicuously marked or otherwise
7538      designated in writing by the copyright owner as "Not a Contribution."
7539
7540      "Contributor" shall mean Licensor and any individual or Legal Entity
7541      on behalf of whom a Contribution has been received by Licensor and
7542      subsequently incorporated within the Work.
7543
7544   2. Grant of Copyright License. Subject to the terms and conditions of
7545      this License, each Contributor hereby grants to You a perpetual,
7546      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7547      copyright license to reproduce, prepare Derivative Works of,
7548      publicly display, publicly perform, sublicense, and distribute the
7549      Work and such Derivative Works in Source or Object form.
7550
7551   3. Grant of Patent License. Subject to the terms and conditions of
7552      this License, each Contributor hereby grants to You a perpetual,
7553      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7554      (except as stated in this section) patent license to make, have made,
7555      use, offer to sell, sell, import, and otherwise transfer the Work,
7556      where such license applies only to those patent claims licensable
7557      by such Contributor that are necessarily infringed by their
7558      Contribution(s) alone or by combination of their Contribution(s)
7559      with the Work to which such Contribution(s) was submitted. If You
7560      institute patent litigation against any entity (including a
7561      cross-claim or counterclaim in a lawsuit) alleging that the Work
7562      or a Contribution incorporated within the Work constitutes direct
7563      or contributory patent infringement, then any patent licenses
7564      granted to You under this License for that Work shall terminate
7565      as of the date such litigation is filed.
7566
7567   4. Redistribution. You may reproduce and distribute copies of the
7568      Work or Derivative Works thereof in any medium, with or without
7569      modifications, and in Source or Object form, provided that You
7570      meet the following conditions:
7571
7572      (a) You must give any other recipients of the Work or
7573          Derivative Works a copy of this License; and
7574
7575      (b) You must cause any modified files to carry prominent notices
7576          stating that You changed the files; and
7577
7578      (c) You must retain, in the Source form of any Derivative Works
7579          that You distribute, all copyright, patent, trademark, and
7580          attribution notices from the Source form of the Work,
7581          excluding those notices that do not pertain to any part of
7582          the Derivative Works; and
7583
7584      (d) If the Work includes a "NOTICE" text file as part of its
7585          distribution, then any Derivative Works that You distribute must
7586          include a readable copy of the attribution notices contained
7587          within such NOTICE file, excluding those notices that do not
7588          pertain to any part of the Derivative Works, in at least one
7589          of the following places: within a NOTICE text file distributed
7590          as part of the Derivative Works; within the Source form or
7591          documentation, if provided along with the Derivative Works; or,
7592          within a display generated by the Derivative Works, if and
7593          wherever such third-party notices normally appear. The contents
7594          of the NOTICE file are for informational purposes only and
7595          do not modify the License. You may add Your own attribution
7596          notices within Derivative Works that You distribute, alongside
7597          or as an addendum to the NOTICE text from the Work, provided
7598          that such additional attribution notices cannot be construed
7599          as modifying the License.
7600
7601      You may add Your own copyright statement to Your modifications and
7602      may provide additional or different license terms and conditions
7603      for use, reproduction, or distribution of Your modifications, or
7604      for any such Derivative Works as a whole, provided Your use,
7605      reproduction, and distribution of the Work otherwise complies with
7606      the conditions stated in this License.
7607
7608   5. Submission of Contributions. Unless You explicitly state otherwise,
7609      any Contribution intentionally submitted for inclusion in the Work
7610      by You to the Licensor shall be under the terms and conditions of
7611      this License, without any additional terms or conditions.
7612      Notwithstanding the above, nothing herein shall supersede or modify
7613      the terms of any separate license agreement you may have executed
7614      with Licensor regarding such Contributions.
7615
7616   6. Trademarks. This License does not grant permission to use the trade
7617      names, trademarks, service marks, or product names of the Licensor,
7618      except as required for reasonable and customary use in describing the
7619      origin of the Work and reproducing the content of the NOTICE file.
7620
7621   7. Disclaimer of Warranty. Unless required by applicable law or
7622      agreed to in writing, Licensor provides the Work (and each
7623      Contributor provides its Contributions) on an "AS IS" BASIS,
7624      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
7625      implied, including, without limitation, any warranties or conditions
7626      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
7627      PARTICULAR PURPOSE. You are solely responsible for determining the
7628      appropriateness of using or redistributing the Work and assume any
7629      risks associated with Your exercise of permissions under this License.
7630
7631   8. Limitation of Liability. In no event and under no legal theory,
7632      whether in tort (including negligence), contract, or otherwise,
7633      unless required by applicable law (such as deliberate and grossly
7634      negligent acts) or agreed to in writing, shall any Contributor be
7635      liable to You for damages, including any direct, indirect, special,
7636      incidental, or consequential damages of any character arising as a
7637      result of this License or out of the use or inability to use the
7638      Work (including but not limited to damages for loss of goodwill,
7639      work stoppage, computer failure or malfunction, or any and all
7640      other commercial damages or losses), even if such Contributor
7641      has been advised of the possibility of such damages.
7642
7643   9. Accepting Warranty or Additional Liability. While redistributing
7644      the Work or Derivative Works thereof, You may choose to offer,
7645      and charge a fee for, acceptance of support, warranty, indemnity,
7646      or other liability obligations and/or rights consistent with this
7647      License. However, in accepting such obligations, You may act only
7648      on Your own behalf and on Your sole responsibility, not on behalf
7649      of any other Contributor, and only if You agree to indemnify,
7650      defend, and hold each Contributor harmless for any liability
7651      incurred by, or claims asserted against, such Contributor by reason
7652      of your accepting any such warranty or additional liability.
7653
7654   END OF TERMS AND CONDITIONS
7655
7656   APPENDIX: How to apply the Apache License to your work.
7657
7658      To apply the Apache License to your work, attach the following
7659      boilerplate notice, with the fields enclosed by brackets "[]"
7660      replaced with your own identifying information. (Don't include
7661      the brackets!)  The text should be enclosed in the appropriate
7662      comment syntax for the file format. We also recommend that a
7663      file or class name and description of purpose be included on the
7664      same "printed page" as the copyright notice for easier
7665      identification within third-party archives.
7666
7667   Copyright [yyyy] [name of copyright owner]
7668
7669   Licensed under the Apache License, Version 2.0 (the "License");
7670   you may not use this file except in compliance with the License.
7671   You may obtain a copy of the License at
7672
7673       http://www.apache.org/licenses/LICENSE-2.0
7674
7675   Unless required by applicable law or agreed to in writing, software
7676   distributed under the License is distributed on an "AS IS" BASIS,
7677   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7678   See the License for the specific language governing permissions and
7679   limitations under the License.
7680
7681Copyright 2000-2007 Niels Provos <provos@citi.umich.edu>
7682Copyright 2007-2009 Niels Provos and Nick Mathewson
7683
7684Redistribution and use in source and binary forms, with or without
7685modification, are permitted provided that the following conditions
7686are met:
76871. Redistributions of source code must retain the above copyright
7688   notice, this list of conditions and the following disclaimer.
76892. Redistributions in binary form must reproduce the above copyright
7690   notice, this list of conditions and the following disclaimer in the
7691   documentation and/or other materials provided with the distribution.
76923. The name of the author may not be used to endorse or promote products
7693   derived from this software without specific prior written permission.
7694
7695THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
7696IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
7697OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
7698IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
7699INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
7700NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7701DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7702THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7703(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
7704THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7705
7706Copyright (c) 2013, Google Inc.
7707All rights reserved.
7708
7709Redistribution and use in source and binary forms, with or without modification,
7710are permitted provided that the following conditions are met:
7711
7712    * Redistributions of source code must retain the above copyright notice,
7713      this list of conditions and the following disclaimer.
7714    * Redistributions in binary form must reproduce the above copyright notice,
7715      this list of conditions and the following disclaimer in the documentation
7716      and/or other materials provided with the distribution.
7717    * The name of the author may not be used to endorse or promote products
7718      derived from this software without specific prior written permission.
7719
7720THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
7721AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7722IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
7723ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
7724LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
7725CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
7726GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7727HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
7728STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
7729WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
7730SUCH DAMAGE.
7731(Copied from the README.)
7732
7733--------------------------------------------------------------------------------
7734
7735The authors make NO WARRANTY or representation, either express or implied,
7736with respect to this software, its quality, accuracy, merchantability, or
7737fitness for a particular purpose.  This software is provided "AS IS", and you,
7738its user, assume the entire risk as to its quality and accuracy.
7739
7740This software is copyright (C) 1991-1998, Thomas G. Lane.
7741All Rights Reserved except as specified below.
7742
7743Permission is hereby granted to use, copy, modify, and distribute this
7744software (or portions thereof) for any purpose, without fee, subject to these
7745conditions:
7746(1) If any part of the source code for this software is distributed, then this
7747README file must be included, with this copyright and no-warranty notice
7748unaltered; and any additions, deletions, or changes to the original files
7749must be clearly indicated in accompanying documentation.
7750(2) If only executable code is distributed, then the accompanying
7751documentation must state that "this software is based in part on the work of
7752the Independent JPEG Group".
7753(3) Permission for use of this software is granted only if the user accepts
7754full responsibility for any undesirable consequences; the authors accept
7755NO LIABILITY for damages of any kind.
7756
7757These conditions apply to any software derived from or based on the IJG code,
7758not just to the unmodified library.  If you use our work, you ought to
7759acknowledge us.
7760
7761Permission is NOT granted for the use of any IJG author's name or company name
7762in advertising or publicity relating to this software or products derived from
7763it.  This software may be referred to only as "the Independent JPEG Group's
7764software".
7765
7766We specifically permit and encourage the use of this software as the basis of
7767commercial products, provided that all warranty or liability claims are
7768assumed by the product vendor.
7769
7770
7771ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
7772sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
7773ansi2knr.c is NOT covered by the above copyright and conditions, but instead
7774by the usual distribution terms of the Free Software Foundation; principally,
7775that you must include source code if you redistribute it.  (See the file
7776ansi2knr.c for full details.)  However, since ansi2knr.c is not needed as part
7777of any program generated from the IJG code, this does not limit you more than
7778the foregoing paragraphs do.
7779
7780The Unix configuration script "configure" was produced with GNU Autoconf.
7781It is copyright by the Free Software Foundation but is freely distributable.
7782The same holds for its supporting scripts (config.guess, config.sub,
7783ltconfig, ltmain.sh).  Another support script, install-sh, is copyright
7784by M.I.T. but is also freely distributable.
7785
7786It appears that the arithmetic coding option of the JPEG spec is covered by
7787patents owned by IBM, AT&T, and Mitsubishi.  Hence arithmetic coding cannot
7788legally be used without obtaining one or more licenses.  For this reason,
7789support for arithmetic coding has been removed from the free JPEG software.
7790(Since arithmetic coding provides only a marginal gain over the unpatented
7791Huffman mode, it is unlikely that very many implementations will support it.)
7792So far as we are aware, there are no patent restrictions on the remaining
7793code.
7794
7795The IJG distribution formerly included code to read and write GIF files.
7796To avoid entanglement with the Unisys LZW patent, GIF reading support has
7797been removed altogether, and the GIF writer has been simplified to produce
7798"uncompressed GIFs".  This technique does not use the LZW algorithm; the
7799resulting GIF files are larger than usual, but are readable by all standard
7800GIF decoders.
7801
7802We are required to state that
7803    "The Graphics Interchange Format(c) is the Copyright property of
7804    CompuServe Incorporated.  GIF(sm) is a Service Mark property of
7805    CompuServe Incorporated."
7806
7807libjpeg-turbo is licensed under a non-restrictive, BSD-style license
7808(see README.)  The TurboJPEG/OSS wrapper (both C and Java versions) and
7809associated test programs bear a similar license, which is reproduced below:
7810
7811Redistribution and use in source and binary forms, with or without
7812modification, are permitted provided that the following conditions are met:
7813
7814- Redistributions of source code must retain the above copyright notice,
7815  this list of conditions and the following disclaimer.
7816- Redistributions in binary form must reproduce the above copyright notice,
7817  this list of conditions and the following disclaimer in the documentation
7818  and/or other materials provided with the distribution.
7819- Neither the name of the libjpeg-turbo Project nor the names of its
7820  contributors may be used to endorse or promote products derived from this
7821  software without specific prior written permission.
7822
7823THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS",
7824AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7825IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
7826ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
7827LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
7828CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
7829SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
7830INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
7831CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
7832ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
7833POSSIBILITY OF SUCH DAMAGE.
7834
7835Copyright (C) 2011 Google Inc.
7836
7837Licensed under the Apache License, Version 2.0 (the "License");
7838you may not use this file except in compliance with the License.
7839You may obtain a copy of the License at
7840
7841http://www.apache.org/licenses/LICENSE-2.0
7842
7843Unless required by applicable law or agreed to in writing, software
7844distributed under the License is distributed on an "AS IS" BASIS,
7845WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7846See the License for the specific language governing permissions and
7847limitations under the License.
7848
7849
7850This copy of the libpng notices is provided for your convenience.  In case of
7851any discrepancy between this copy and the notices in the file png.h that is
7852included in the libpng distribution, the latter shall prevail.
7853
7854COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:
7855
7856If you modify libpng you may insert additional notices immediately following
7857this sentence.
7858
7859This code is released under the libpng license.
7860
7861libpng versions 1.2.6, August 15, 2004, through 1.2.45, July 7, 2011, are
7862Copyright (c) 2004, 2006-2009 Glenn Randers-Pehrson, and are
7863distributed according to the same disclaimer and license as libpng-1.2.5
7864with the following individual added to the list of Contributing Authors
7865
7866   Cosmin Truta
7867
7868libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are
7869Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are
7870distributed according to the same disclaimer and license as libpng-1.0.6
7871with the following individuals added to the list of Contributing Authors
7872
7873   Simon-Pierre Cadieux
7874   Eric S. Raymond
7875   Gilles Vollant
7876
7877and with the following additions to the disclaimer:
7878
7879   There is no warranty against interference with your enjoyment of the
7880   library or against infringement.  There is no warranty that our
7881   efforts or the library will fulfill any of your particular purposes
7882   or needs.  This library is provided with all faults, and the entire
7883   risk of satisfactory quality, performance, accuracy, and effort is with
7884   the user.
7885
7886libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
7887Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are
7888distributed according to the same disclaimer and license as libpng-0.96,
7889with the following individuals added to the list of Contributing Authors:
7890
7891   Tom Lane
7892   Glenn Randers-Pehrson
7893   Willem van Schaik
7894
7895libpng versions 0.89, June 1996, through 0.96, May 1997, are
7896Copyright (c) 1996, 1997 Andreas Dilger
7897Distributed according to the same disclaimer and license as libpng-0.88,
7898with the following individuals added to the list of Contributing Authors:
7899
7900   John Bowler
7901   Kevin Bracey
7902   Sam Bushell
7903   Magnus Holmgren
7904   Greg Roelofs
7905   Tom Tanner
7906
7907libpng versions 0.5, May 1995, through 0.88, January 1996, are
7908Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
7909
7910For the purposes of this copyright and license, "Contributing Authors"
7911is defined as the following set of individuals:
7912
7913   Andreas Dilger
7914   Dave Martindale
7915   Guy Eric Schalnat
7916   Paul Schmidt
7917   Tim Wegner
7918
7919The PNG Reference Library is supplied "AS IS".  The Contributing Authors
7920and Group 42, Inc. disclaim all warranties, expressed or implied,
7921including, without limitation, the warranties of merchantability and of
7922fitness for any purpose.  The Contributing Authors and Group 42, Inc.
7923assume no liability for direct, indirect, incidental, special, exemplary,
7924or consequential damages, which may result from the use of the PNG
7925Reference Library, even if advised of the possibility of such damage.
7926
7927Permission is hereby granted to use, copy, modify, and distribute this
7928source code, or portions hereof, for any purpose, without fee, subject
7929to the following restrictions:
7930
79311. The origin of this source code must not be misrepresented.
7932
79332. Altered versions must be plainly marked as such and must not
7934   be misrepresented as being the original source.
7935
79363. This Copyright notice may not be removed or altered from any
7937   source or altered source distribution.
7938
7939The Contributing Authors and Group 42, Inc. specifically permit, without
7940fee, and encourage the use of this source code as a component to
7941supporting the PNG file format in commercial products.  If you use this
7942source code in a product, acknowledgment is not required but would be
7943appreciated.
7944
7945
7946A "png_get_copyright" function is available, for convenient use in "about"
7947boxes and the like:
7948
7949   printf("%s",png_get_copyright(NULL));
7950
7951Also, the PNG logo (in PNG format, of course) is supplied in the
7952files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31).
7953
7954Libpng is OSI Certified Open Source Software.  OSI Certified Open Source is a
7955certification mark of the Open Source Initiative.
7956
7957Glenn Randers-Pehrson
7958glennrp at users.sourceforge.net
7959July 7, 2011
7960
7961/*
7962 *	
7963 * Copyright (c) 2001-2006 Cisco Systems, Inc.
7964 * All rights reserved.
7965 * 
7966 * Redistribution and use in source and binary forms, with or without
7967 * modification, are permitted provided that the following conditions
7968 * are met:
7969 * 
7970 *   Redistributions of source code must retain the above copyright
7971 *   notice, this list of conditions and the following disclaimer.
7972 * 
7973 *   Redistributions in binary form must reproduce the above
7974 *   copyright notice, this list of conditions and the following
7975 *   disclaimer in the documentation and/or other materials provided
7976 *   with the distribution.
7977 * 
7978 *   Neither the name of the Cisco Systems, Inc. nor the names of its
7979 *   contributors may be used to endorse or promote products derived
7980 *   from this software without specific prior written permission.
7981 * 
7982 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7983 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7984 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
7985 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
7986 * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
7987 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
7988 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
7989 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7990 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
7991 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
7992 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
7993 * OF THE POSSIBILITY OF SUCH DAMAGE.
7994 *
7995 */
7996
7997		  GNU LESSER GENERAL PUBLIC LICENSE
7998		       Version 2.1, February 1999
7999
8000 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
8001 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
8002 Everyone is permitted to copy and distribute verbatim copies
8003 of this license document, but changing it is not allowed.
8004
8005[This is the first released version of the Lesser GPL.  It also counts
8006 as the successor of the GNU Library Public License, version 2, hence
8007 the version number 2.1.]
8008
8009			    Preamble
8010
8011  The licenses for most software are designed to take away your
8012freedom to share and change it.  By contrast, the GNU General Public
8013Licenses are intended to guarantee your freedom to share and change
8014free software--to make sure the software is free for all its users.
8015
8016  This license, the Lesser General Public License, applies to some
8017specially designated software packages--typically libraries--of the
8018Free Software Foundation and other authors who decide to use it.  You
8019can use it too, but we suggest you first think carefully about whether
8020this license or the ordinary General Public License is the better
8021strategy to use in any particular case, based on the explanations below.
8022
8023  When we speak of free software, we are referring to freedom of use,
8024not price.  Our General Public Licenses are designed to make sure that
8025you have the freedom to distribute copies of free software (and charge
8026for this service if you wish); that you receive source code or can get
8027it if you want it; that you can change the software and use pieces of
8028it in new free programs; and that you are informed that you can do
8029these things.
8030
8031  To protect your rights, we need to make restrictions that forbid
8032distributors to deny you these rights or to ask you to surrender these
8033rights.  These restrictions translate to certain responsibilities for
8034you if you distribute copies of the library or if you modify it.
8035
8036  For example, if you distribute copies of the library, whether gratis
8037or for a fee, you must give the recipients all the rights that we gave
8038you.  You must make sure that they, too, receive or can get the source
8039code.  If you link other code with the library, you must provide
8040complete object files to the recipients, so that they can relink them
8041with the library after making changes to the library and recompiling
8042it.  And you must show them these terms so they know their rights.
8043
8044  We protect your rights with a two-step method: (1) we copyright the
8045library, and (2) we offer you this license, which gives you legal
8046permission to copy, distribute and/or modify the library.
8047
8048  To protect each distributor, we want to make it very clear that
8049there is no warranty for the free library.  Also, if the library is
8050modified by someone else and passed on, the recipients should know
8051that what they have is not the original version, so that the original
8052author's reputation will not be affected by problems that might be
8053introduced by others.
8054
8055  Finally, software patents pose a constant threat to the existence of
8056any free program.  We wish to make sure that a company cannot
8057effectively restrict the users of a free program by obtaining a
8058restrictive license from a patent holder.  Therefore, we insist that
8059any patent license obtained for a version of the library must be
8060consistent with the full freedom of use specified in this license.
8061
8062  Most GNU software, including some libraries, is covered by the
8063ordinary GNU General Public License.  This license, the GNU Lesser
8064General Public License, applies to certain designated libraries, and
8065is quite different from the ordinary General Public License.  We use
8066this license for certain libraries in order to permit linking those
8067libraries into non-free programs.
8068
8069  When a program is linked with a library, whether statically or using
8070a shared library, the combination of the two is legally speaking a
8071combined work, a derivative of the original library.  The ordinary
8072General Public License therefore permits such linking only if the
8073entire combination fits its criteria of freedom.  The Lesser General
8074Public License permits more lax criteria for linking other code with
8075the library.
8076
8077  We call this license the "Lesser" General Public License because it
8078does Less to protect the user's freedom than the ordinary General
8079Public License.  It also provides other free software developers Less
8080of an advantage over competing non-free programs.  These disadvantages
8081are the reason we use the ordinary General Public License for many
8082libraries.  However, the Lesser license provides advantages in certain
8083special circumstances.
8084
8085  For example, on rare occasions, there may be a special need to
8086encourage the widest possible use of a certain library, so that it becomes
8087a de-facto standard.  To achieve this, non-free programs must be
8088allowed to use the library.  A more frequent case is that a free
8089library does the same job as widely used non-free libraries.  In this
8090case, there is little to gain by limiting the free library to free
8091software only, so we use the Lesser General Public License.
8092
8093  In other cases, permission to use a particular library in non-free
8094programs enables a greater number of people to use a large body of
8095free software.  For example, permission to use the GNU C Library in
8096non-free programs enables many more people to use the whole GNU
8097operating system, as well as its variant, the GNU/Linux operating
8098system.
8099
8100  Although the Lesser General Public License is Less protective of the
8101users' freedom, it does ensure that the user of a program that is
8102linked with the Library has the freedom and the wherewithal to run
8103that program using a modified version of the Library.
8104
8105  The precise terms and conditions for copying, distribution and
8106modification follow.  Pay close attention to the difference between a
8107"work based on the library" and a "work that uses the library".  The
8108former contains code derived from the library, whereas the latter must
8109be combined with the library in order to run.
8110
8111		  GNU LESSER GENERAL PUBLIC LICENSE
8112   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
8113
8114  0. This License Agreement applies to any software library or other
8115program which contains a notice placed by the copyright holder or
8116other authorized party saying it may be distributed under the terms of
8117this Lesser General Public License (also called "this License").
8118Each licensee is addressed as "you".
8119
8120  A "library" means a collection of software functions and/or data
8121prepared so as to be conveniently linked with application programs
8122(which use some of those functions and data) to form executables.
8123
8124  The "Library", below, refers to any such software library or work
8125which has been distributed under these terms.  A "work based on the
8126Library" means either the Library or any derivative work under
8127copyright law: that is to say, a work containing the Library or a
8128portion of it, either verbatim or with modifications and/or translated
8129straightforwardly into another language.  (Hereinafter, translation is
8130included without limitation in the term "modification".)
8131
8132  "Source code" for a work means the preferred form of the work for
8133making modifications to it.  For a library, complete source code means
8134all the source code for all modules it contains, plus any associated
8135interface definition files, plus the scripts used to control compilation
8136and installation of the library.
8137
8138  Activities other than copying, distribution and modification are not
8139covered by this License; they are outside its scope.  The act of
8140running a program using the Library is not restricted, and output from
8141such a program is covered only if its contents constitute a work based
8142on the Library (independent of the use of the Library in a tool for
8143writing it).  Whether that is true depends on what the Library does
8144and what the program that uses the Library does.
8145  
8146  1. You may copy and distribute verbatim copies of the Library's
8147complete source code as you receive it, in any medium, provided that
8148you conspicuously and appropriately publish on each copy an
8149appropriate copyright notice and disclaimer of warranty; keep intact
8150all the notices that refer to this License and to the absence of any
8151warranty; and distribute a copy of this License along with the
8152Library.
8153
8154  You may charge a fee for the physical act of transferring a copy,
8155and you may at your option offer warranty protection in exchange for a
8156fee.
8157
8158  2. You may modify your copy or copies of the Library or any portion
8159of it, thus forming a work based on the Library, and copy and
8160distribute such modifications or work under the terms of Section 1
8161above, provided that you also meet all of these conditions:
8162
8163    a) The modified work must itself be a software library.
8164
8165    b) You must cause the files modified to carry prominent notices
8166    stating that you changed the files and the date of any change.
8167
8168    c) You must cause the whole of the work to be licensed at no
8169    charge to all third parties under the terms of this License.
8170
8171    d) If a facility in the modified Library refers to a function or a
8172    table of data to be supplied by an application program that uses
8173    the facility, other than as an argument passed when the facility
8174    is invoked, then you must make a good faith effort to ensure that,
8175    in the event an application does not supply such function or
8176    table, the facility still operates, and performs whatever part of
8177    its purpose remains meaningful.
8178
8179    (For example, a function in a library to compute square roots has
8180    a purpose that is entirely well-defined independent of the
8181    application.  Therefore, Subsection 2d requires that any
8182    application-supplied function or table used by this function must
8183    be optional: if the application does not supply it, the square
8184    root function must still compute square roots.)
8185
8186These requirements apply to the modified work as a whole.  If
8187identifiable sections of that work are not derived from the Library,
8188and can be reasonably considered independent and separate works in
8189themselves, then this License, and its terms, do not apply to those
8190sections when you distribute them as separate works.  But when you
8191distribute the same sections as part of a whole which is a work based
8192on the Library, the distribution of the whole must be on the terms of
8193this License, whose permissions for other licensees extend to the
8194entire whole, and thus to each and every part regardless of who wrote
8195it.
8196
8197Thus, it is not the intent of this section to claim rights or contest
8198your rights to work written entirely by you; rather, the intent is to
8199exercise the right to control the distribution of derivative or
8200collective works based on the Library.
8201
8202In addition, mere aggregation of another work not based on the Library
8203with the Library (or with a work based on the Library) on a volume of
8204a storage or distribution medium does not bring the other work under
8205the scope of this License.
8206
8207  3. You may opt to apply the terms of the ordinary GNU General Public
8208License instead of this License to a given copy of the Library.  To do
8209this, you must alter all the notices that refer to this License, so
8210that they refer to the ordinary GNU General Public License, version 2,
8211instead of to this License.  (If a newer version than version 2 of the
8212ordinary GNU General Public License has appeared, then you can specify
8213that version instead if you wish.)  Do not make any other change in
8214these notices.
8215
8216  Once this change is made in a given copy, it is irreversible for
8217that copy, so the ordinary GNU General Public License applies to all
8218subsequent copies and derivative works made from that copy.
8219
8220  This option is useful when you wish to copy part of the code of
8221the Library into a program that is not a library.
8222
8223  4. You may copy and distribute the Library (or a portion or
8224derivative of it, under Section 2) in object code or executable form
8225under the terms of Sections 1 and 2 above provided that you accompany
8226it with the complete corresponding machine-readable source code, which
8227must be distributed under the terms of Sections 1 and 2 above on a
8228medium customarily used for software interchange.
8229
8230  If distribution of object code is made by offering access to copy
8231from a designated place, then offering equivalent access to copy the
8232source code from the same place satisfies the requirement to
8233distribute the source code, even though third parties are not
8234compelled to copy the source along with the object code.
8235
8236  5. A program that contains no derivative of any portion of the
8237Library, but is designed to work with the Library by being compiled or
8238linked with it, is called a "work that uses the Library".  Such a
8239work, in isolation, is not a derivative work of the Library, and
8240therefore falls outside the scope of this License.
8241
8242  However, linking a "work that uses the Library" with the Library
8243creates an executable that is a derivative of the Library (because it
8244contains portions of the Library), rather than a "work that uses the
8245library".  The executable is therefore covered by this License.
8246Section 6 states terms for distribution of such executables.
8247
8248  When a "work that uses the Library" uses material from a header file
8249that is part of the Library, the object code for the work may be a
8250derivative work of the Library even though the source code is not.
8251Whether this is true is especially significant if the work can be
8252linked without the Library, or if the work is itself a library.  The
8253threshold for this to be true is not precisely defined by law.
8254
8255  If such an object file uses only numerical parameters, data
8256structure layouts and accessors, and small macros and small inline
8257functions (ten lines or less in length), then the use of the object
8258file is unrestricted, regardless of whether it is legally a derivative
8259work.  (Executables containing this object code plus portions of the
8260Library will still fall under Section 6.)
8261
8262  Otherwise, if the work is a derivative of the Library, you may
8263distribute the object code for the work under the terms of Section 6.
8264Any executables containing that work also fall under Section 6,
8265whether or not they are linked directly with the Library itself.
8266
8267  6. As an exception to the Sections above, you may also combine or
8268link a "work that uses the Library" with the Library to produce a
8269work containing portions of the Library, and distribute that work
8270under terms of your choice, provided that the terms permit
8271modification of the work for the customer's own use and reverse
8272engineering for debugging such modifications.
8273
8274  You must give prominent notice with each copy of the work that the
8275Library is used in it and that the Library and its use are covered by
8276this License.  You must supply a copy of this License.  If the work
8277during execution displays copyright notices, you must include the
8278copyright notice for the Library among them, as well as a reference
8279directing the user to the copy of this License.  Also, you must do one
8280of these things:
8281
8282    a) Accompany the work with the complete corresponding
8283    machine-readable source code for the Library including whatever
8284    changes were used in the work (which must be distributed under
8285    Sections 1 and 2 above); and, if the work is an executable linked
8286    with the Library, with the complete machine-readable "work that
8287    uses the Library", as object code and/or source code, so that the
8288    user can modify the Library and then relink to produce a modified
8289    executable containing the modified Library.  (It is understood
8290    that the user who changes the contents of definitions files in the
8291    Library will not necessarily be able to recompile the application
8292    to use the modified definitions.)
8293
8294    b) Use a suitable shared library mechanism for linking with the
8295    Library.  A suitable mechanism is one that (1) uses at run time a
8296    copy of the library already present on the user's computer system,
8297    rather than copying library functions into the executable, and (2)
8298    will operate properly with a modified version of the library, if
8299    the user installs one, as long as the modified version is
8300    interface-compatible with the version that the work was made with.
8301
8302    c) Accompany the work with a written offer, valid for at
8303    least three years, to give the same user the materials
8304    specified in Subsection 6a, above, for a charge no more
8305    than the cost of performing this distribution.
8306
8307    d) If distribution of the work is made by offering access to copy
8308    from a designated place, offer equivalent access to copy the above
8309    specified materials from the same place.
8310
8311    e) Verify that the user has already received a copy of these
8312    materials or that you have already sent this user a copy.
8313
8314  For an executable, the required form of the "work that uses the
8315Library" must include any data and utility programs needed for
8316reproducing the executable from it.  However, as a special exception,
8317the materials to be distributed need not include anything that is
8318normally distributed (in either source or binary form) with the major
8319components (compiler, kernel, and so on) of the operating system on
8320which the executable runs, unless that component itself accompanies
8321the executable.
8322
8323  It may happen that this requirement contradicts the license
8324restrictions of other proprietary libraries that do not normally
8325accompany the operating system.  Such a contradiction means you cannot
8326use both them and the Library together in an executable that you
8327distribute.
8328
8329  7. You may place library facilities that are a work based on the
8330Library side-by-side in a single library together with other library
8331facilities not covered by this License, and distribute such a combined
8332library, provided that the separate distribution of the work based on
8333the Library and of the other library facilities is otherwise
8334permitted, and provided that you do these two things:
8335
8336    a) Accompany the combined library with a copy of the same work
8337    based on the Library, uncombined with any other library
8338    facilities.  This must be distributed under the terms of the
8339    Sections above.
8340
8341    b) Give prominent notice with the combined library of the fact
8342    that part of it is a work based on the Library, and explaining
8343    where to find the accompanying uncombined form of the same work.
8344
8345  8. You may not copy, modify, sublicense, link with, or distribute
8346the Library except as expressly provided under this License.  Any
8347attempt otherwise to copy, modify, sublicense, link with, or
8348distribute the Library is void, and will automatically terminate your
8349rights under this License.  However, parties who have received copies,
8350or rights, from you under this License will not have their licenses
8351terminated so long as such parties remain in full compliance.
8352
8353  9. You are not required to accept this License, since you have not
8354signed it.  However, nothing else grants you permission to modify or
8355distribute the Library or its derivative works.  These actions are
8356prohibited by law if you do not accept this License.  Therefore, by
8357modifying or distributing the Library (or any work based on the
8358Library), you indicate your acceptance of this License to do so, and
8359all its terms and conditions for copying, distributing or modifying
8360the Library or works based on it.
8361
8362  10. Each time you redistribute the Library (or any work based on the
8363Library), the recipient automatically receives a license from the
8364original licensor to copy, distribute, link with or modify the Library
8365subject to these terms and conditions.  You may not impose any further
8366restrictions on the recipients' exercise of the rights granted herein.
8367You are not responsible for enforcing compliance by third parties with
8368this License.
8369
8370  11. If, as a consequence of a court judgment or allegation of patent
8371infringement or for any other reason (not limited to patent issues),
8372conditions are imposed on you (whether by court order, agreement or
8373otherwise) that contradict the conditions of this License, they do not
8374excuse you from the conditions of this License.  If you cannot
8375distribute so as to satisfy simultaneously your obligations under this
8376License and any other pertinent obligations, then as a consequence you
8377may not distribute the Library at all.  For example, if a patent
8378license would not permit royalty-free redistribution of the Library by
8379all those who receive copies directly or indirectly through you, then
8380the only way you could satisfy both it and this License would be to
8381refrain entirely from distribution of the Library.
8382
8383If any portion of this section is held invalid or unenforceable under any
8384particular circumstance, the balance of the section is intended to apply,
8385and the section as a whole is intended to apply in other circumstances.
8386
8387It is not the purpose of this section to induce you to infringe any
8388patents or other property right claims or to contest validity of any
8389such claims; this section has the sole purpose of protecting the
8390integrity of the free software distribution system which is
8391implemented by public license practices.  Many people have made
8392generous contributions to the wide range of software distributed
8393through that system in reliance on consistent application of that
8394system; it is up to the author/donor to decide if he or she is willing
8395to distribute software through any other system and a licensee cannot
8396impose that choice.
8397
8398This section is intended to make thoroughly clear what is believed to
8399be a consequence of the rest of this License.
8400
8401  12. If the distribution and/or use of the Library is restricted in
8402certain countries either by patents or by copyrighted interfaces, the
8403original copyright holder who places the Library under this License may add
8404an explicit geographical distribution limitation excluding those countries,
8405so that distribution is permitted only in or among countries not thus
8406excluded.  In such case, this License incorporates the limitation as if
8407written in the body of this License.
8408
8409  13. The Free Software Foundation may publish revised and/or new
8410versions of the Lesser General Public License from time to time.
8411Such new versions will be similar in spirit to the present version,
8412but may differ in detail to address new problems or concerns.
8413
8414Each version is given a distinguishing version number.  If the Library
8415specifies a version number of this License which applies to it and
8416"any later version", you have the option of following the terms and
8417conditions either of that version or of any later version published by
8418the Free Software Foundation.  If the Library does not specify a
8419license version number, you may choose any version ever published by
8420the Free Software Foundation.
8421
8422  14. If you wish to incorporate parts of the Library into other free
8423programs whose distribution conditions are incompatible with these,
8424write to the author to ask for permission.  For software which is
8425copyrighted by the Free Software Foundation, write to the Free
8426Software Foundation; we sometimes make exceptions for this.  Our
8427decision will be guided by the two goals of preserving the free status
8428of all derivatives of our free software and of promoting the sharing
8429and reuse of software generally.
8430
8431			    NO WARRANTY
8432
8433  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
8434WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
8435EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
8436OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
8437KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
8438IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
8439PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
8440LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
8441THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
8442
8443  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
8444WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
8445AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
8446FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
8447CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
8448LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
8449RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
8450FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
8451SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
8452DAMAGES.
8453
8454		     END OF TERMS AND CONDITIONS
8455
8456           How to Apply These Terms to Your New Libraries
8457
8458  If you develop a new library, and you want it to be of the greatest
8459possible use to the public, we recommend making it free software that
8460everyone can redistribute and change.  You can do so by permitting
8461redistribution under these terms (or, alternatively, under the terms of the
8462ordinary General Public License).
8463
8464  To apply these terms, attach the following notices to the library.  It is
8465safest to attach them to the start of each source file to most effectively
8466convey the exclusion of warranty; and each file should have at least the
8467"copyright" line and a pointer to where the full notice is found.
8468
8469    <one line to give the library's name and a brief idea of what it does.>
8470    Copyright (C) <year>  <name of author>
8471
8472    This library is free software; you can redistribute it and/or
8473    modify it under the terms of the GNU Lesser General Public
8474    License as published by the Free Software Foundation; either
8475    version 2.1 of the License, or (at your option) any later version.
8476
8477    This library is distributed in the hope that it will be useful,
8478    but WITHOUT ANY WARRANTY; without even the implied warranty of
8479    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
8480    Lesser General Public License for more details.
8481
8482    You should have received a copy of the GNU Lesser General Public
8483    License along with this library; if not, write to the Free Software
8484    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
8485
8486Also add information on how to contact you by electronic and paper mail.
8487
8488You should also get your employer (if you work as a programmer) or your
8489school, if any, to sign a "copyright disclaimer" for the library, if
8490necessary.  Here is a sample; alter the names:
8491
8492  Yoyodyne, Inc., hereby disclaims all copyright interest in the
8493  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
8494
8495  <signature of Ty Coon>, 1 April 1990
8496  Ty Coon, President of Vice
8497
8498That's all there is to it!
8499
8500
8501
8502    Permission is hereby granted, free of charge, to any person obtaining a
8503    copy of this software and associated documentation files (the
8504    "Software"), to deal in the Software without restriction, including
8505    without limitation the rights to use, copy, modify, merge, publish,
8506    distribute, sub license, and/or sell copies of the Software, and to
8507    permit persons to whom the Software is furnished to do so, subject to
8508    the following conditions:
8509
8510    The above copyright notice and this permission notice (including the
8511    next paragraph) shall be included in all copies or substantial portions
8512    of the Software.
8513
8514    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
8515    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
8516    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
8517    IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
8518    ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
8519    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
8520    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8521
8522Copyright (c) 2010, The WebM Project authors. All rights reserved.
8523
8524Redistribution and use in source and binary forms, with or without
8525modification, are permitted provided that the following conditions are
8526met:
8527
8528  * Redistributions of source code must retain the above copyright
8529    notice, this list of conditions and the following disclaimer.
8530
8531  * Redistributions in binary form must reproduce the above copyright
8532    notice, this list of conditions and the following disclaimer in
8533    the documentation and/or other materials provided with the
8534    distribution.
8535
8536  * Neither the name of Google, nor the WebM Project, nor the names
8537    of its contributors may be used to endorse or promote products
8538    derived from this software without specific prior written
8539    permission.
8540
8541THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
8542"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
8543LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8544A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
8545HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8546SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
8547LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8548DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8549THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8550(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8551OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8552
8553
8554Copyright (c) 2010, Google Inc. All rights reserved.
8555
8556Redistribution and use in source and binary forms, with or without
8557modification, are permitted provided that the following conditions are
8558met:
8559
8560  * Redistributions of source code must retain the above copyright
8561    notice, this list of conditions and the following disclaimer.
8562
8563  * Redistributions in binary form must reproduce the above copyright
8564    notice, this list of conditions and the following disclaimer in
8565    the documentation and/or other materials provided with the
8566    distribution.
8567
8568  * Neither the name of Google nor the names of its contributors may
8569    be used to endorse or promote products derived from this software
8570    without specific prior written permission.
8571
8572THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
8573"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
8574LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8575A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
8576HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8577SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
8578LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8579DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8580THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8581(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8582OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8583
8584Additional IP Rights Grant (Patents)
8585
8586"This implementation" means the copyrightable works distributed by
8587Google as part of the WebM Project.
8588
8589Google hereby grants to you a perpetual, worldwide, non-exclusive,
8590no-charge, royalty-free, irrevocable (except as stated in this section)
8591patent license to make, have made, use, offer to sell, sell, import,
8592transfer, and otherwise run, modify and propagate the contents of this
8593implementation of VP8, where such license applies only to those patent
8594claims, both currently owned by Google and acquired in the future,
8595licensable by Google that are necessarily infringed by this
8596implementation of VP8. This grant does not include claims that would be
8597infringed only as a consequence of further modification of this
8598implementation. If you or your agent or exclusive licensee institute or
8599order or agree to the institution of patent litigation against any
8600entity (including a cross-claim or counterclaim in a lawsuit) alleging
8601that this implementation of VP8 or any code incorporated within this
8602implementation of VP8 constitutes direct or contributory patent
8603infringement, or inducement of patent infringement, then any patent
8604rights granted to you under this License for this implementation of VP8
8605shall terminate as of the date such litigation is filed.
8606
8607Except where otherwise noted in the source code (e.g. the files hash.c,
8608list.c and the trio files, which are covered by a similar licence but
8609with different Copyright notices) all the files are:
8610
8611 Copyright (C) 1998-2003 Daniel Veillard.  All Rights Reserved.
8612
8613Permission is hereby granted, free of charge, to any person obtaining a copy
8614of this software and associated documentation files (the "Software"), to deal
8615in the Software without restriction, including without limitation the rights
8616to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8617copies of the Software, and to permit persons to whom the Software is fur-
8618nished to do so, subject to the following conditions:
8619
8620The above copyright notice and this permission notice shall be included in
8621all copies or substantial portions of the Software.
8622
8623THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
8624IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
8625NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
8626DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
8627IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
8628NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8629
8630Except as contained in this notice, the name of Daniel Veillard shall not
8631be used in advertising or otherwise to promote the sale, use or other deal-
8632ings in this Software without prior written authorization from him.
8633
8634
8635Licence for libxslt except libexslt
8636----------------------------------------------------------------------
8637 Copyright (C) 2001-2002 Daniel Veillard.  All Rights Reserved.
8638
8639Permission is hereby granted, free of charge, to any person obtaining a copy
8640of this software and associated documentation files (the "Software"), to deal
8641in the Software without restriction, including without limitation the rights
8642to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8643copies of the Software, and to permit persons to whom the Software is fur-
8644nished to do so, subject to the following conditions:
8645
8646The above copyright notice and this permission notice shall be included in
8647all copies or substantial portions of the Software.
8648
8649THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
8650IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
8651NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
8652DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
8653IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
8654NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8655
8656Except as contained in this notice, the name of Daniel Veillard shall not
8657be used in advertising or otherwise to promote the sale, use or other deal-
8658ings in this Software without prior written authorization from him.
8659
8660----------------------------------------------------------------------
8661
8662Licence for libexslt
8663----------------------------------------------------------------------
8664 Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
8665 All Rights Reserved.
8666
8667Permission is hereby granted, free of charge, to any person obtaining a copy
8668of this software and associated documentation files (the "Software"), to deal
8669in the Software without restriction, including without limitation the rights
8670to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8671copies of the Software, and to permit persons to whom the Software is fur-
8672nished to do so, subject to the following conditions:
8673
8674The above copyright notice and this permission notice shall be included in
8675all copies or substantial portions of the Software.
8676
8677THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
8678IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
8679NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
8680AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
8681IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
8682NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8683
8684Except as contained in this notice, the name of the authors shall not
8685be used in advertising or otherwise to promote the sale, use or other deal-
8686ings in this Software without prior written authorization from him.
8687----------------------------------------------------------------------
8688
8689Copyright 2011 The LibYuv Project Authors. All rights reserved.
8690
8691Redistribution and use in source and binary forms, with or without
8692modification, are permitted provided that the following conditions are
8693met:
8694
8695  * Redistributions of source code must retain the above copyright
8696    notice, this list of conditions and the following disclaimer.
8697
8698  * Redistributions in binary form must reproduce the above copyright
8699    notice, this list of conditions and the following disclaimer in
8700    the documentation and/or other materials provided with the
8701    distribution.
8702
8703  * Neither the name of Google nor the names of its contributors may
8704    be used to endorse or promote products derived from this software
8705    without specific prior written permission.
8706
8707THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
8708"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
8709LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8710A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
8711HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8712SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
8713LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8714DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8715THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8716(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8717OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8718
8719LZMA SDK is placed in the public domain.
8720
8721Copyright (c) 2003-2012 Jonathan 'Wolf' Rentzsch: http://rentzsch.com
8722Some rights reserved: http://opensource.org/licenses/mit
8723
8724mach_override includes a copy of libudis86, licensed as follows:
8725
8726Copyright (c) 2002-2009 Vivek Thampi
8727All rights reserved.
8728
8729Redistribution and use in source and binary forms, with or without modification, 
8730are permitted provided that the following conditions are met:
8731
8732    * Redistributions of source code must retain the above copyright notice, 
8733      this list of conditions and the following disclaimer.
8734    * Redistributions in binary form must reproduce the above copyright notice, 
8735      this list of conditions and the following disclaimer in the documentation 
8736      and/or other materials provided with the distribution.
8737
8738THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
8739ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
8740WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
8741DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 
8742ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
8743(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
8744LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
8745ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
8746(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
8747SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8748
8749Copyright 2007, 2008 The Python Markdown Project (v. 1.7 and later)  
8750Copyright 2004, 2005, 2006 Yuri Takhteyev (v. 0.2-1.6b)  
8751Copyright 2004 Manfred Stienstra (the original version)  
8752
8753All rights reserved.
8754
8755Redistribution and use in source and binary forms, with or without
8756modification, are permitted provided that the following conditions are met:
8757    
8758*   Redistributions of source code must retain the above copyright
8759    notice, this list of conditions and the following disclaimer.
8760*   Redistributions in binary form must reproduce the above copyright
8761    notice, this list of conditions and the following disclaimer in the
8762    documentation and/or other materials provided with the distribution.
8763*   Neither the name of the <organization> nor the
8764    names of its contributors may be used to endorse or promote products
8765    derived from this software without specific prior written permission.
8766
8767THIS SOFTWARE IS PROVIDED BY THE PYTHON MARKDOWN PROJECT ''AS IS'' AND ANY
8768EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
8769WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
8770DISCLAIMED. IN NO EVENT SHALL ANY CONTRIBUTORS TO THE PYTHON MARKDOWN PROJECT
8771BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
8772CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
8773SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
8774INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
8775CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
8776ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
8777POSSIBILITY OF SUCH DAMAGE.
8778
8779
8780The default Mesa license is as follows:
8781
8782Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
8783
8784Permission is hereby granted, free of charge, to any person obtaining a
8785copy of this software and associated documentation files (the "Software"),
8786to deal in the Software without restriction, including without limitation
8787the rights to use, copy, modify, merge, publish, distribute, sublicense,
8788and/or sell copies of the Software, and to permit persons to whom the
8789Software is furnished to do so, subject to the following conditions:
8790
8791The above copyright notice and this permission notice shall be included
8792in all copies or substantial portions of the Software.
8793
8794THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
8795OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
8796FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
8797BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
8798AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
8799CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8800
8801
8802
8803Some parts of Mesa are copyrighted under the GNU LGPL.  See the
8804Mesa/docs/COPYRIGHT file for details.
8805
8806The following is the standard GNU copyright file.
8807----------------------------------------------------------------------
8808
8809
8810		  GNU LIBRARY GENERAL PUBLIC LICENSE
8811		       Version 2, June 1991
8812
8813 Copyright (C) 1991 Free Software Foundation, Inc.
8814                    675 Mass Ave, Cambridge, MA 02139, USA
8815 Everyone is permitted to copy and distribute verbatim copies
8816 of this license document, but changing it is not allowed.
8817
8818[This is the first released version of the library GPL.  It is
8819 numbered 2 because it goes with version 2 of the ordinary GPL.]
8820
8821			    Preamble
8822
8823  The licenses for most software are designed to take away your
8824freedom to share and change it.  By contrast, the GNU General Public
8825Licenses are intended to guarantee your freedom to share and change
8826free software--to make sure the software is free for all its users.
8827
8828  This license, the Library General Public License, applies to some
8829specially designated Free Software Foundation software, and to any
8830other libraries whose authors decide to use it.  You can use it for
8831your libraries, too.
8832
8833  When we speak of free software, we are referring to freedom, not
8834price.  Our General Public Licenses are designed to make sure that you
8835have the freedom to distribute copies of free software (and charge for
8836this service if you wish), that you receive source code or can get it
8837if you want it, that you can change the software or use pieces of it
8838in new free programs; and that you know you can do these things.
8839
8840  To protect your rights, we need to make restrictions that forbid
8841anyone to deny you these rights or to ask you to surrender the rights.
8842These restrictions translate to certain responsibilities for you if
8843you distribute copies of the library, or if you modify it.
8844
8845  For example, if you distribute copies of the library, whether gratis
8846or for a fee, you must give the recipients all the rights that we gave
8847you.  You must make sure that they, too, receive or can get the source
8848code.  If you link a program with the library, you must provide
8849complete object files to the recipients so that they can relink them
8850with the library, after making changes to the library and recompiling
8851it.  And you must show them these terms so they know their rights.
8852
8853  Our method of protecting your rights has two steps: (1) copyright
8854the library, and (2) offer you this license which gives you legal
8855permission to copy, distribute and/or modify the library.
8856
8857  Also, for each distributor's protection, we want to make certain
8858that everyone understands that there is no warranty for this free
8859library.  If the library is modified by someone else and passed on, we
8860want its recipients to know that what they have is not the original
8861version, so that any problems introduced by others will not reflect on
8862the original authors' reputations.
8863
8864  Finally, any free program is threatened constantly by software
8865patents.  We wish to avoid the danger that companies distributing free
8866software will individually obtain patent licenses, thus in effect
8867transforming the program into proprietary software.  To prevent this,
8868we have made it clear that any patent must be licensed for everyone's
8869free use or not licensed at all.
8870
8871  Most GNU software, including some libraries, is covered by the ordinary
8872GNU General Public License, which was designed for utility programs.  This
8873license, the GNU Library General Public License, applies to certain
8874designated libraries.  This license is quite different from the ordinary
8875one; be sure to read it in full, and don't assume that anything in it is
8876the same as in the ordinary license.
8877
8878  The reason we have a separate public license for some libraries is that
8879they blur the distinction we usually make between modifying or adding to a
8880program and simply using it.  Linking a program with a library, without
8881changing the library, is in some sense simply using the library, and is
8882analogous to running a utility program or application program.  However, in
8883a textual and legal sense, the linked executable is a combined work, a
8884derivative of the original library, and the ordinary General Public License
8885treats it as such.
8886
8887  Because of this blurred distinction, using the ordinary General
8888Public License for libraries did not effectively promote software
8889sharing, because most developers did not use the libraries.  We
8890concluded that weaker conditions might promote sharing better.
8891
8892  However, unrestricted linking of non-free programs would deprive the
8893users of those programs of all benefit from the free status of the
8894libraries themselves.  This Library General Public License is intended to
8895permit developers of non-free programs to use free libraries, while
8896preserving your freedom as a user of such programs to change the free
8897libraries that are incorporated in them.  (We have not seen how to achieve
8898this as regards changes in header files, but we have achieved it as regards
8899changes in the actual functions of the Library.)  The hope is that this
8900will lead to faster development of free libraries.
8901
8902  The precise terms and conditions for copying, distribution and
8903modification follow.  Pay close attention to the difference between a
8904"work based on the library" and a "work that uses the library".  The
8905former contains code derived from the library, while the latter only
8906works together with the library.
8907
8908  Note that it is possible for a library to be covered by the ordinary
8909General Public License rather than by this special one.
8910
8911		  GNU LIBRARY GENERAL PUBLIC LICENSE
8912   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
8913
8914  0. This License Agreement applies to any software library which
8915contains a notice placed by the copyright holder or other authorized
8916party saying it may be distributed under the terms of this Library
8917General Public License (also called "this License").  Each licensee is
8918addressed as "you".
8919
8920  A "library" means a collection of software functions and/or data
8921prepared so as to be conveniently linked with application programs
8922(which use some of those functions and data) to form executables.
8923
8924  The "Library", below, refers to any such software library or work
8925which has been distributed under these terms.  A "work based on the
8926Library" means either the Library or any derivative work under
8927copyright law: that is to say, a work containing the Library or a
8928portion of it, either verbatim or with modifications and/or translated
8929straightforwardly into another language.  (Hereinafter, translation is
8930included without limitation in the term "modification".)
8931
8932  "Source code" for a work means the preferred form of the work for
8933making modifications to it.  For a library, complete source code means
8934all the source code for all modules it contains, plus any associated
8935interface definition files, plus the scripts used to control compilation
8936and installation of the library.
8937
8938  Activities other than copying, distribution and modification are not
8939covered by this License; they are outside its scope.  The act of
8940running a program using the Library is not restricted, and output from
8941such a program is covered only if its contents constitute a work based
8942on the Library (independent of the use of the Library in a tool for
8943writing it).  Whether that is true depends on what the Library does
8944and what the program that uses the Library does.
8945  
8946  1. You may copy and distribute verbatim copies of the Library's
8947complete source code as you receive it, in any medium, provided that
8948you conspicuously and appropriately publish on each copy an
8949appropriate copyright notice and disclaimer of warranty; keep intact
8950all the notices that refer to this License and to the absence of any
8951warranty; and distribute a copy of this License along with the
8952Library.
8953
8954  You may charge a fee for the physical act of transferring a copy,
8955and you may at your option offer warranty protection in exchange for a
8956fee.
8957
8958  2. You may modify your copy or copies of the Library or any portion
8959of it, thus forming a work based on the Library, and copy and
8960distribute such modifications or work under the terms of Section 1
8961above, provided that you also meet all of these conditions:
8962
8963    a) The modified work must itself be a software library.
8964
8965    b) You must cause the files modified to carry prominent notices
8966    stating that you changed the files and the date of any change.
8967
8968    c) You must cause the whole of the work to be licensed at no
8969    charge to all third parties under the terms of this License.
8970
8971    d) If a facility in the modified Library refers to a function or a
8972    table of data to be supplied by an application program that uses
8973    the facility, other than as an argument passed when the facility
8974    is invoked, then you must make a good faith effort to ensure that,
8975    in the event an application does not supply such function or
8976    table, the facility still operates, and performs whatever part of
8977    its purpose remains meaningful.
8978
8979    (For example, a function in a library to compute square roots has
8980    a purpose that is entirely well-defined independent of the
8981    application.  Therefore, Subsection 2d requires that any
8982    application-supplied function or table used by this function must
8983    be optional: if the application does not supply it, the square
8984    root function must still compute square roots.)
8985
8986These requirements apply to the modified work as a whole.  If
8987identifiable sections of that work are not derived from the Library,
8988and can be reasonably considered independent and separate works in
8989themselves, then this License, and its terms, do not apply to those
8990sections when you distribute them as separate works.  But when you
8991distribute the same sections as part of a whole which is a work based
8992on the Library, the distribution of the whole must be on the terms of
8993this License, whose permissions for other licensees extend to the
8994entire whole, and thus to each and every part regardless of who wrote
8995it.
8996
8997Thus, it is not the intent of this section to claim rights or contest
8998your rights to work written entirely by you; rather, the intent is to
8999exercise the right to control the distribution of derivative or
9000collective works based on the Library.
9001
9002In addition, mere aggregation of another work not based on the Library
9003with the Library (or with a work based on the Library) on a volume of
9004a storage or distribution medium does not bring the other work under
9005the scope of this License.
9006
9007  3. You may opt to apply the terms of the ordinary GNU General Public
9008License instead of this License to a given copy of the Library.  To do
9009this, you must alter all the notices that refer to this License, so
9010that they refer to the ordinary GNU General Public License, version 2,
9011instead of to this License.  (If a newer version than version 2 of the
9012ordinary GNU General Public License has appeared, then you can specify
9013that version instead if you wish.)  Do not make any other change in
9014these notices.
9015
9016  Once this change is made in a given copy, it is irreversible for
9017that copy, so the ordinary GNU General Public License applies to all
9018subsequent copies and derivative works made from that copy.
9019
9020  This option is useful when you wish to copy part of the code of
9021the Library into a program that is not a library.
9022
9023  4. You may copy and distribute the Library (or a portion or
9024derivative of it, under Section 2) in object code or executable form
9025under the terms of Sections 1 and 2 above provided that you accompany
9026it with the complete corresponding machine-readable source code, which
9027must be distributed under the terms of Sections 1 and 2 above on a
9028medium customarily used for software interchange.
9029
9030  If distribution of object code is made by offering access to copy
9031from a designated place, then offering equivalent access to copy the
9032source code from the same place satisfies the requirement to
9033distribute the source code, even though third parties are not
9034compelled to copy the source along with the object code.
9035
9036  5. A program that contains no derivative of any portion of the
9037Library, but is designed to work with the Library by being compiled or
9038linked with it, is called a "work that uses the Library".  Such a
9039work, in isolation, is not a derivative work of the Library, and
9040therefore falls outside the scope of this License.
9041
9042  However, linking a "work that uses the Library" with the Library
9043creates an executable that is a derivative of the Library (because it
9044contains portions of the Library), rather than a "work that uses the
9045library".  The executable is therefore covered by this License.
9046Section 6 states terms for distribution of such executables.
9047
9048  When a "work that uses the Library" uses material from a header file
9049that is part of the Library, the object code for the work may be a
9050derivative work of the Library even though the source code is not.
9051Whether this is true is especially significant if the work can be
9052linked without the Library, or if the work is itself a library.  The
9053threshold for this to be true is not precisely defined by law.
9054
9055  If such an object file uses only numerical parameters, data
9056structure layouts and accessors, and small macros and small inline
9057functions (ten lines or less in length), then the use of the object
9058file is unrestricted, regardless of whether it is legally a derivative
9059work.  (Executables containing this object code plus portions of the
9060Library will still fall under Section 6.)
9061
9062  Otherwise, if the work is a derivative of the Library, you may
9063distribute the object code for the work under the terms of Section 6.
9064Any executables containing that work also fall under Section 6,
9065whether or not they are linked directly with the Library itself.
9066
9067  6. As an exception to the Sections above, you may also compile or
9068link a "work that uses the Library" with the Library to produce a
9069work containing portions of the Library, and distribute that work
9070under terms of your choice, provided that the terms permit
9071modification of the work for the customer's own use and reverse
9072engineering for debugging such modifications.
9073
9074  You must give prominent notice with each copy of the work that the
9075Library is used in it and that the Library and its use are covered by
9076this License.  You must supply a copy of this License.  If the work
9077during execution displays copyright notices, you must include the
9078copyright notice for the Library among them, as well as a reference
9079directing the user to the copy of this License.  Also, you must do one
9080of these things:
9081
9082    a) Accompany the work with the complete corresponding
9083    machine-readable source code for the Library including whatever
9084    changes were used in the work (which must be distributed under
9085    Sections 1 and 2 above); and, if the work is an executable linked
9086    with the Library, with the complete machine-readable "work that
9087    uses the Library", as object code and/or source code, so that the
9088    user can modify the Library and then relink to produce a modified
9089    executable containing the modified Library.  (It is understood
9090    that the user who changes the contents of definitions files in the
9091    Library will not necessarily be able to recompile the application
9092    to use the modified definitions.)
9093
9094    b) Accompany the work with a written offer, valid for at
9095    least three years, to give the same user the materials
9096    specified in Subsection 6a, above, for a charge no more
9097    than the cost of performing this distribution.
9098
9099    c) If distribution of the work is made by offering access to copy
9100    from a designated place, offer equivalent access to copy the above
9101    specified materials from the same place.
9102
9103    d) Verify that the user has already received a copy of these
9104    materials or that you have already sent this user a copy.
9105
9106  For an executable, the required form of the "work that uses the
9107Library" must include any data and utility programs needed for
9108reproducing the executable from it.  However, as a special exception,
9109the source code distributed need not include anything that is normally
9110distributed (in either source or binary form) with the major
9111components (compiler, kernel, and so on) of the operating system on
9112which the executable runs, unless that component itself accompanies
9113the executable.
9114
9115  It may happen that this requirement contradicts the license
9116restrictions of other proprietary libraries that do not normally
9117accompany the operating system.  Such a contradiction means you cannot
9118use both them and the Library together in an executable that you
9119distribute.
9120
9121  7. You may place library facilities that are a work based on the
9122Library side-by-side in a single library together with other library
9123facilities not covered by this License, and distribute such a combined
9124library, provided that the separate distribution of the work based on
9125the Library and of the other library facilities is otherwise
9126permitted, and provided that you do these two things:
9127
9128    a) Accompany the combined library with a copy of the same work
9129    based on the Library, uncombined with any other library
9130    facilities.  This must be distributed under the terms of the
9131    Sections above.
9132
9133    b) Give prominent notice with the combined library of the fact
9134    that part of it is a work based on the Library, and explaining
9135    where to find the accompanying uncombined form of the same work.
9136
9137  8. You may not copy, modify, sublicense, link with, or distribute
9138the Library except as expressly provided under this License.  Any
9139attempt otherwise to copy, modify, sublicense, link with, or
9140distribute the Library is void, and will automatically terminate your
9141rights under this License.  However, parties who have received copies,
9142or rights, from you under this License will not have their licenses
9143terminated so long as such parties remain in full compliance.
9144
9145  9. You are not required to accept this License, since you have not
9146signed it.  However, nothing else grants you permission to modify or
9147distribute the Library or its derivative works.  These actions are
9148prohibited by law if you do not accept this License.  Therefore, by
9149modifying or distributing the Library (or any work based on the
9150Library), you indicate your acceptance of this License to do so, and
9151all its terms and conditions for copying, distributing or modifying
9152the Library or works based on it.
9153
9154  10. Each time you redistribute the Library (or any work based on the
9155Library), the recipient automatically receives a license from the
9156original licensor to copy, distribute, link with or modify the Library
9157subject to these terms and conditions.  You may not impose any further
9158restrictions on the recipients' exercise of the rights granted herein.
9159You are not responsible for enforcing compliance by third parties to
9160this License.
9161
9162  11. If, as a consequence of a court judgment or allegation of patent
9163infringement or for any other reason (not limited to patent issues),
9164conditions are imposed on you (whether by court order, agreement or
9165otherwise) that contradict the conditions of this License, they do not
9166excuse you from the conditions of this License.  If you cannot
9167distribute so as to satisfy simultaneously your obligations under this
9168License and any other pertinent obligations, then as a consequence you
9169may not distribute the Library at all.  For example, if a patent
9170license would not permit royalty-free redistribution of the Library by
9171all those who receive copies directly or indirectly through you, then
9172the only way you could satisfy both it and this License would be to
9173refrain entirely from distribution of the Library.
9174
9175If any portion of this section is held invalid or unenforceable under any
9176particular circumstance, the balance of the section is intended to apply,
9177and the section as a whole is intended to apply in other circumstances.
9178
9179It is not the purpose of this section to induce you to infringe any
9180patents or other property right claims or to contest validity of any
9181such claims; this section has the sole purpose of protecting the
9182integrity of the free software distribution system which is
9183implemented by public license practices.  Many people have made
9184generous contributions to the wide range of software distributed
9185through that system in reliance on consistent application of that
9186system; it is up to the author/donor to decide if he or she is willing
9187to distribute software through any other system and a licensee cannot
9188impose that choice.
9189
9190This section is intended to make thoroughly clear what is believed to
9191be a consequence of the rest of this License.
9192
9193  12. If the distribution and/or use of the Library is restricted in
9194certain countries either by patents or by copyrighted interfaces, the
9195original copyright holder who places the Library under this License may add
9196an explicit geographical distribution limitation excluding those countries,
9197so that distribution is permitted only in or among countries not thus
9198excluded.  In such case, this License incorporates the limitation as if
9199written in the body of this License.
9200
9201  13. The Free Software Foundation may publish revised and/or new
9202versions of the Library General Public License from time to time.
9203Such new versions will be similar in spirit to the present version,
9204but may differ in detail to address new problems or concerns.
9205
9206Each version is given a distinguishing version number.  If the Library
9207specifies a version number of this License which applies to it and
9208"any later version", you have the option of following the terms and
9209conditions either of that version or of any later version published by
9210the Free Software Foundation.  If the Library does not specify a
9211license version number, you may choose any version ever published by
9212the Free Software Foundation.
9213
9214  14. If you wish to incorporate parts of the Library into other free
9215programs whose distribution conditions are incompatible with these,
9216write to the author to ask for permission.  For software which is
9217copyrighted by the Free Software Foundation, write to the Free
9218Software Foundation; we sometimes make exceptions for this.  Our
9219decision will be guided by the two goals of preserving the free status
9220of all derivatives of our free software and of promoting the sharing
9221and reuse of software generally.
9222
9223			    NO WARRANTY
9224
9225  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
9226WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
9227EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
9228OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
9229KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
9230IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
9231PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
9232LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
9233THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
9234
9235  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
9236WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
9237AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
9238FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
9239CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
9240LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
9241RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
9242FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
9243SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
9244DAMAGES.
9245
9246		     END OF TERMS AND CONDITIONS
9247
9248     Appendix: How to Apply These Terms to Your New Libraries
9249
9250  If you develop a new library, and you want it to be of the greatest
9251possible use to the public, we recommend making it free software that
9252everyone can redistribute and change.  You can do so by permitting
9253redistribution under these terms (or, alternatively, under the terms of the
9254ordinary General Public License).
9255
9256  To apply these terms, attach the following notices to the library.  It is
9257safest to attach them to the start of each source file to most effectively
9258convey the exclusion of warranty; and each file should have at least the
9259"copyright" line and a pointer to where the full notice is found.
9260
9261    <one line to give the library's name and a brief idea of what it does.>
9262    Copyright (C) <year>  <name of author>
9263
9264    This library is free software; you can redistribute it and/or
9265    modify it under the terms of the GNU Library General Public
9266    License as published by the Free Software Foundation; either
9267    version 2 of the License, or (at your option) any later version.
9268
9269    This library is distributed in the hope that it will be useful,
9270    but WITHOUT ANY WARRANTY; without even the implied warranty of
9271    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
9272    Library General Public License for more details.
9273
9274    You should have received a copy of the GNU Library General Public
9275    License along with this library; if not, write to the Free
9276    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
9277
9278Also add information on how to contact you by electronic and paper mail.
9279
9280You should also get your employer (if you work as a programmer) or your
9281school, if any, to sign a "copyright disclaimer" for the library, if
9282necessary.  Here is a sample; alter the names:
9283
9284  Yoyodyne, Inc., hereby disclaims all copyright interest in the
9285  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
9286
9287  <signature of Ty Coon>, 1 April 1990
9288  Ty Coon, President of Vice
9289
9290That's all there is to it!
9291
9292
9293 * MODP_B64 - High performance base64 encoder/decoder
9294 * Version 1.3 -- 17-Mar-2006
9295 * http://modp.com/release/base64
9296 *
9297 * Copyright (c) 2005, 2006  Nick Galbreath -- nickg [at] modp [dot] com
9298 * All rights reserved.
9299 *
9300 * Redistribution and use in source and binary forms, with or without
9301 * modification, are permitted provided that the following conditions are
9302 * met:
9303 *
9304 *   Redistributions of source code must retain the above copyright
9305 *   notice, this list of conditions and the following disclaimer.
9306 *
9307 *   Redistributions in binary form must reproduce the above copyright
9308 *   notice, this list of conditions and the following disclaimer in the
9309 *   documentation and/or other materials provided with the distribution.
9310 *
9311 *   Neither the name of the modp.com nor the names of its
9312 *   contributors may be used to endorse or promote products derived from
9313 *   this software without specific prior written permission.
9314 *
9315 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9316 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9317 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9318 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9319 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9320 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9321 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9322 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9323 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9324 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9325 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9326
9327Copyright 2008 MolokoCacao
9328All rights reserved
9329
9330Redistribution and use in source and binary forms, with or without
9331modification, are permitted providing that the following conditions 
9332are met:
93331. Redistributions of source code must retain the above copyright
9334   notice, this list of conditions and the following disclaimer.
93352. Redistributions in binary form must reproduce the above copyright
9336   notice, this list of conditions and the following disclaimer in the
9337   documentation and/or other materials provided with the distribution.
9338
9339THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
9340IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
9341WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
9342ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
9343DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
9344DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
9345OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
9346HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
9347STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
9348IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
9349POSSIBILITY OF SUCH DAMAGE.
9350
9351Copyright 2010-2011, Google Inc.
9352All rights reserved.
9353
9354Redistribution and use in source and binary forms, with or without
9355modification, are permitted provided that the following conditions are
9356met:
9357
9358* Redistributions of source code must retain the above copyright
9359notice, this list of conditions and the following disclaimer.
9360* Redistributions in binary form must reproduce the above
9361copyright notice, this list of conditions and the following disclaimer
9362in the documentation and/or other materials provided with the
9363distribution.
9364* Neither the name of Google Inc. nor the names of its
9365contributors may be used to endorse or promote products derived from
9366this software without specific prior written permission.
9367
9368THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9369"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9370LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9371A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9372OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9373SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9374LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9375DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9376THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9377(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9378OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9379
9380
9381/* ***** BEGIN LICENSE BLOCK *****
9382 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
9383 *
9384 * The contents of this file are subject to the Mozilla Public License Version
9385 * 1.1 (the "License"); you may not use this file except in compliance with
9386 * the License. You may obtain a copy of the License at
9387 * http://www.mozilla.org/MPL/
9388 *
9389 * Software distributed under the License is distributed on an "AS IS" basis,
9390 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
9391 * for the specific language governing rights and limitations under the
9392 * License.
9393 *
9394 * The Original Code is mozilla.org code.
9395 *
9396 * The Initial Developer of the Original Code is
9397 * Netscape Communications Corporation.
9398 * Portions created by the Initial Developer are Copyright (C) 2002
9399 * the Initial Developer. All Rights Reserved.
9400 *
9401 * Contributor(s):
9402 *
9403 * Alternatively, the contents of this file may be used under the terms of
9404 * either the GNU General Public License Version 2 or later (the "GPL"), or
9405 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
9406 * in which case the provisions of the GPL or the LGPL are applicable instead
9407 * of those above. If you wish to allow use of your version of this file only
9408 * under the terms of either the GPL or the LGPL, and not to allow others to
9409 * use your version of this file under the terms of the MPL, indicate your
9410 * decision by deleting the provisions above and replace them with the notice
9411 * and other provisions required by the GPL or the LGPL. If you do not delete
9412 * the provisions above, a recipient may use your version of this file under
9413 * the terms of any one of the MPL, the GPL or the LGPL.
9414 *
9415 * ***** END LICENSE BLOCK ***** */
9416
9417   A C-program for MT19937, with initialization improved 2002/1/26.
9418   Coded by Takuji Nishimura and Makoto Matsumoto.
9419
9420   Before using, initialize the state by using init_genrand(seed)  
9421   or init_by_array(init_key, key_length).
9422
9423   Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
9424   All rights reserved.                          
9425
9426   Redistribution and use in source and binary forms, with or without
9427   modification, are permitted provided that the following conditions
9428   are met:
9429
9430     1. Redistributions of source code must retain the above copyright
9431        notice, this list of conditions and the following disclaimer.
9432
9433     2. Redistributions in binary form must reproduce the above copyright
9434        notice, this list of conditions and the following disclaimer in the
9435        documentation and/or other materials provided with the distribution.
9436
9437     3. The names of its contributors may not be used to endorse or promote 
9438        products derived from this software without specific prior written 
9439        permission.
9440
9441   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9442   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9443   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9444   A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
9445   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
9446   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
9447   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
9448   PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
9449   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
9450   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
9451   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9452
9453Version: MPL 1.1/GPL 2.0/LGPL 2.1
9454
9455The contents of this file are subject to the Mozilla Public License Version
94561.1 (the "License"); you may not use this file except in compliance with
9457the License. You may obtain a copy of the License at
9458http://www.mozilla.org/MPL/
9459
9460Software distributed under the License is distributed on an "AS IS" basis,
9461WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
9462for the specific language governing rights and limitations under the
9463License.
9464
9465The Original Code is mozilla.org code.
9466
9467The Initial Developer of the Original Code is
9468Netscape Communications Corporation.
9469Portions created by the Initial Developer are Copyright (C) 1998
9470the Initial Developer. All Rights Reserved.
9471
9472Contributor(s):
9473
9474Alternatively, the contents of this file may be used under the terms of
9475either the GNU General Public License Version 2 or later (the "GPL"), or
9476the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
9477in which case the provisions of the GPL or the LGPL are applicable instead
9478of those above. If you wish to allow use of your version of this file only
9479under the terms of either the GPL or the LGPL, and not to allow others to
9480use your version of this file under the terms of the MPL, indicate your
9481decision by deleting the provisions above and replace them with the notice
9482and other provisions required by the GPL or the LGPL. If you do not delete
9483the provisions above, a recipient may use your version of this file under
9484the terms of any one of the MPL, the GPL or the LGPL.
9485
9486  
9487  Copyright (c) 2004-2012 by Mulle Kybernetik. All rights reserved.
9488
9489  Permission to use, copy, modify and distribute this software and its documentation
9490  is hereby granted, provided that both the copyright notice and this permission
9491  notice appear in all copies of the software, derivative works or modified versions,
9492  and any portions thereof, and that both notices appear in supporting documentation,
9493  and that credit is given to Mulle Kybernetik in all documents and publicity
9494  pertaining to direct or indirect use of this code or its derivatives.
9495
9496  THIS IS EXPERIMENTAL SOFTWARE AND IT IS KNOWN TO HAVE BUGS, SOME OF WHICH MAY HAVE
9497  SERIOUS CONSEQUENCES. THE COPYRIGHT HOLDER ALLOWS FREE USE OF THIS SOFTWARE IN ITS
9498  "AS IS" CONDITION. THE COPYRIGHT HOLDER DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY
9499  DAMAGES WHATSOEVER RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE
9500  OR OF ANY DERIVATIVE WORK.
9501Use of this source code is governed by a BSD-style license that can be
9502found in the LICENSE file in the root of the source tree. All
9503contributing project authors may be found in the AUTHORS file in the
9504root of the source tree.
9505
9506The files were originally licensed by ARM Limited.
9507
9508The following files:
9509
9510    * dl/api/omxtypes.h
9511    * dl/sp/api/omxSP.h
9512
9513are licensed by Khronos:
9514
9515Copyright © 2005-2008 The Khronos Group Inc. All Rights Reserved. 
9516
9517These materials are protected by copyright laws and contain material 
9518proprietary to the Khronos Group, Inc.  You may use these materials 
9519for implementing Khronos specifications, without altering or removing 
9520any trademark, copyright or other notice from the specification.
9521
9522Khronos Group makes no, and expressly disclaims any, representations 
9523or warranties, express or implied, regarding these materials, including, 
9524without limitation, any implied warranties of merchantability or fitness 
9525for a particular purpose or non-infringement of any intellectual property. 
9526Khronos Group makes no, and expressly disclaims any, warranties, express 
9527or implied, regarding the correctness, accuracy, completeness, timeliness, 
9528and reliability of these materials. 
9529
9530Under no circumstances will the Khronos Group, or any of its Promoters, 
9531Contributors or Members or their respective partners, officers, directors, 
9532employees, agents or representatives be liable for any damages, whether 
9533direct, indirect, special or consequential damages for lost revenues, 
9534lost profits, or otherwise, arising from or in connection with these 
9535materials.
9536
9537Khronos and OpenMAX are trademarks of the Khronos Group Inc. 
9538
9539Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic,
9540                    Jean-Marc Valin, Timothy B. Terriberry,
9541                    CSIRO, Gregory Maxwell, Mark Borgerding,
9542                    Erik de Castro Lopo
9543
9544Redistribution and use in source and binary forms, with or without
9545modification, are permitted provided that the following conditions
9546are met:
9547
9548- Redistributions of source code must retain the above copyright
9549notice, this list of conditions and the following disclaimer.
9550
9551- Redistributions in binary form must reproduce the above copyright
9552notice, this list of conditions and the following disclaimer in the
9553documentation and/or other materials provided with the distribution.
9554
9555- Neither the name of Internet Society, IETF or IETF Trust, nor the
9556names of specific contributors, may be used to endorse or promote
9557products derived from this software without specific prior written
9558permission.
9559
9560THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9561``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9562LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9563A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
9564OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
9565EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
9566PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
9567PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
9568LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
9569NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
9570SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9571
9572Opus is subject to the royalty-free patent licenses which are
9573specified at:
9574
9575Xiph.Org Foundation:
9576https://datatracker.ietf.org/ipr/1524/
9577
9578Microsoft Corporation:
9579https://datatracker.ietf.org/ipr/1914/
9580
9581Broadcom Corporation:
9582https://datatracker.ietf.org/ipr/1526/
9583
9584// Copyright (c) 2009 The Chromium Authors. All rights reserved.
9585//
9586// Redistribution and use in source and binary forms, with or without
9587// modification, are permitted provided that the following conditions are
9588// met:
9589//
9590//    * Redistributions of source code must retain the above copyright
9591// notice, this list of conditions and the following disclaimer.
9592//    * Redistributions in binary form must reproduce the above
9593// copyright notice, this list of conditions and the following disclaimer
9594// in the documentation and/or other materials provided with the
9595// distribution.
9596//    * Neither the name of Google Inc. nor the names of its
9597// contributors may be used to endorse or promote products derived from
9598// this software without specific prior written permission.
9599//
9600// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9601// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9602// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9603// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9604// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9605// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9606// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9607// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9608// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9609// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9610// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9611
9612PLY (Python Lex-Yacc)                   Version 3.4
9613
9614Copyright (C) 2001-2011,
9615David M. Beazley (Dabeaz LLC)
9616All rights reserved.
9617
9618Redistribution and use in source and binary forms, with or without
9619modification, are permitted provided that the following conditions are
9620met:
9621
9622* Redistributions of source code must retain the above copyright notice,
9623  this list of conditions and the following disclaimer.  
9624* Redistributions in binary form must reproduce the above copyright notice, 
9625  this list of conditions and the following disclaimer in the documentation
9626  and/or other materials provided with the distribution.  
9627* Neither the name of the David Beazley or Dabeaz LLC may be used to
9628  endorse or promote products derived from this software without
9629  specific prior written permission. 
9630
9631THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9632"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9633LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9634A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9635OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9636SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9637LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9638DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9639THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9640(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9641OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9642// Copyright (c) 2012 The Polymer Authors. All rights reserved.
9643//
9644// Redistribution and use in source and binary forms, with or without
9645// modification, are permitted provided that the following conditions are
9646// met:
9647//
9648//    * Redistributions of source code must retain the above copyright
9649// notice, this list of conditions and the following disclaimer.
9650//    * Redistributions in binary form must reproduce the above
9651// copyright notice, this list of conditions and the following disclaimer
9652// in the documentation and/or other materials provided with the
9653// distribution.
9654//    * Neither the name of Google Inc. nor the names of its
9655// contributors may be used to endorse or promote products derived from
9656// this software without specific prior written permission.
9657//
9658// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9659// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9660// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9661// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9662// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9663// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9664// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9665// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9666// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9667// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9668// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9669
9670// Copyright (c) 2012 The Polymer Authors. All rights reserved.
9671//
9672// Redistribution and use in source and binary forms, with or without
9673// modification, are permitted provided that the following conditions are
9674// met:
9675//
9676//    * Redistributions of source code must retain the above copyright
9677// notice, this list of conditions and the following disclaimer.
9678//    * Redistributions in binary form must reproduce the above
9679// copyright notice, this list of conditions and the following disclaimer
9680// in the documentation and/or other materials provided with the
9681// distribution.
9682//    * Neither the name of Google Inc. nor the names of its
9683// contributors may be used to endorse or promote products derived from
9684// this software without specific prior written permission.
9685//
9686// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9687// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9688// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9689// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9690// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9691// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9692// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9693// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9694// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9695// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9696// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9697
9698Copyright (c) 2014, Intel Corporation
9699All rights reserved.
9700
9701Redistribution and use in source and binary forms, with or without
9702modification, are permitted provided that the following conditions are
9703met:
9704
9705    * Redistributions of source code must retain the above copyright
9706notice, this list of conditions and the following disclaimer.
9707    * Redistributions in binary form must reproduce the above
9708copyright notice, this list of conditions and the following disclaimer
9709in the documentation and/or other materials provided with the
9710distribution.
9711    * Neither the name of Intel Corporation nor the names of its
9712contributors may be used to endorse or promote products derived from
9713this software without specific prior written permission.
9714
9715THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9716"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9717LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9718A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9719OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9720SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9721LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9722DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9723THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9724(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9725OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9726Copyright 2008, Google Inc.
9727All rights reserved.
9728
9729Redistribution and use in source and binary forms, with or without
9730modification, are permitted provided that the following conditions are
9731met:
9732
9733    * Redistributions of source code must retain the above copyright
9734notice, this list of conditions and the following disclaimer.
9735    * Redistributions in binary form must reproduce the above
9736copyright notice, this list of conditions and the following disclaimer
9737in the documentation and/or other materials provided with the
9738distribution.
9739    * Neither the name of Google Inc. nor the names of its
9740contributors may be used to endorse or promote products derived from
9741this software without specific prior written permission.
9742
9743THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9744"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9745LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9746A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9747OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9748SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9749LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9750DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9751THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9752(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9753OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9754
9755Code generated by the Protocol Buffer compiler is owned by the owner
9756of the input file used when generating it.  This code is not
9757standalone and requires a support library to be linked with it.  This
9758support library is itself covered by the above license.
9759
9760Copyright (c) 2003-2012, Michael Foord
9761All rights reserved.
9762
9763Redistribution and use in source and binary forms, with or without
9764modification, are permitted provided that the following conditions are
9765met:
9766
9767    * Redistributions of source code must retain the above copyright
9768      notice, this list of conditions and the following disclaimer.
9769
9770    * Redistributions in binary form must reproduce the above
9771      copyright notice, this list of conditions and the following
9772      disclaimer in the documentation and/or other materials provided
9773      with the distribution.
9774
9775THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9776"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9777LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9778A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9779OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9780SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9781LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9782DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9783THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9784(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9785OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9786
9787qcms
9788Copyright (C) 2009 Mozilla Corporation
9789Copyright (C) 1998-2007 Marti Maria
9790
9791Permission is hereby granted, free of charge, to any person obtaining 
9792a copy of this software and associated documentation files (the "Software"), 
9793to deal in the Software without restriction, including without limitation 
9794the rights to use, copy, modify, merge, publish, distribute, sublicense, 
9795and/or sell copies of the Software, and to permit persons to whom the Software 
9796is furnished to do so, subject to the following conditions:
9797
9798The above copyright notice and this permission notice shall be included in 
9799all copies or substantial portions of the Software.
9800
9801THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
9802EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
9803THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 
9804NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 
9805LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 
9806OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 
9807WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9808
9809Copyright 2014 jQuery Foundation and other contributors
9810http://jquery.com/
9811
9812Permission is hereby granted, free of charge, to any person obtaining
9813a copy of this software and associated documentation files (the
9814"Software"), to deal in the Software without restriction, including
9815without limitation the rights to use, copy, modify, merge, publish,
9816distribute, sublicense, and/or sell copies of the Software, and to
9817permit persons to whom the Software is furnished to do so, subject to
9818the following conditions:
9819
9820The above copyright notice and this permission notice shall be
9821included in all copies or substantial portions of the Software.
9822
9823THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
9824EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
9825MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
9826NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
9827LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
9828OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
9829WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9830// Copyright (c) 2009 The RE2 Authors. All rights reserved.
9831//
9832// Redistribution and use in source and binary forms, with or without
9833// modification, are permitted provided that the following conditions are
9834// met:
9835//
9836//    * Redistributions of source code must retain the above copyright
9837// notice, this list of conditions and the following disclaimer.
9838//    * Redistributions in binary form must reproduce the above
9839// copyright notice, this list of conditions and the following disclaimer
9840// in the documentation and/or other materials provided with the
9841// distribution.
9842//    * Neither the name of Google Inc. nor the names of its
9843// contributors may be used to endorse or promote products derived from
9844// this software without specific prior written permission.
9845//
9846// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9847// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9848// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9849// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9850// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9851// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9852// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9853// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9854// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9855// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9856// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9857
9858Copyright 2010 Arc90 Inc
9859
9860Licensed under the Apache License, Version 2.0 (the "License");
9861you may not use this file except in compliance with the License.
9862You may obtain a copy of the License at
9863
9864    http://www.apache.org/licenses/LICENSE-2.0
9865
9866Unless required by applicable law or agreed to in writing, software
9867distributed under the License is distributed on an "AS IS" BASIS,
9868WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9869See the License for the specific language governing permissions and
9870limitations under the License.
9871
9872
9873                                 Apache License
9874                           Version 2.0, January 2004
9875                        http://www.apache.org/licenses/
9876
9877   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
9878
9879   1. Definitions.
9880
9881      "License" shall mean the terms and conditions for use, reproduction,
9882      and distribution as defined by Sections 1 through 9 of this document.
9883
9884      "Licensor" shall mean the copyright owner or entity authorized by
9885      the copyright owner that is granting the License.
9886
9887      "Legal Entity" shall mean the union of the acting entity and all
9888      other entities that control, are controlled by, or are under common
9889      control with that entity. For the purposes of this definition,
9890      "control" means (i) the power, direct or indirect, to cause the
9891      direction or management of such entity, whether by contract or
9892      otherwise, or (ii) ownership of fifty percent (50%) or more of the
9893      outstanding shares, or (iii) beneficial ownership of such entity.
9894
9895      "You" (or "Your") shall mean an individual or Legal Entity
9896      exercising permissions granted by this License.
9897
9898      "Source" form shall mean the preferred form for making modifications,
9899      including but not limited to software source code, documentation
9900      source, and configuration files.
9901
9902      "Object" form shall mean any form resulting from mechanical
9903      transformation or translation of a Source form, including but
9904      not limited to compiled object code, generated documentation,
9905      and conversions to other media types.
9906
9907      "Work" shall mean the work of authorship, whether in Source or
9908      Object form, made available under the License, as indicated by a
9909      copyright notice that is included in or attached to the work
9910      (an example is provided in the Appendix below).
9911
9912      "Derivative Works" shall mean any work, whether in Source or Object
9913      form, that is based on (or derived from) the Work and for which the
9914      editorial revisions, annotations, elaborations, or other modifications
9915      represent, as a whole, an original work of authorship. For the purposes
9916      of this License, Derivative Works shall not include works that remain
9917      separable from, or merely link (or bind by name) to the interfaces of,
9918      the Work and Derivative Works thereof.
9919
9920      "Contribution" shall mean any work of authorship, including
9921      the original version of the Work and any modifications or additions
9922      to that Work or Derivative Works thereof, that is intentionally
9923      submitted to Licensor for inclusion in the Work by the copyright owner
9924      or by an individual or Legal Entity authorized to submit on behalf of
9925      the copyright owner. For the purposes of this definition, "submitted"
9926      means any form of electronic, verbal, or written communication sent
9927      to the Licensor or its representatives, including but not limited to
9928      communication on electronic mailing lists, source code control systems,
9929      and issue tracking systems that are managed by, or on behalf of, the
9930      Licensor for the purpose of discussing and improving the Work, but
9931      excluding communication that is conspicuously marked or otherwise
9932      designated in writing by the copyright owner as "Not a Contribution."
9933
9934      "Contributor" shall mean Licensor and any individual or Legal Entity
9935      on behalf of whom a Contribution has been received by Licensor and
9936      subsequently incorporated within the Work.
9937
9938   2. Grant of Copyright License. Subject to the terms and conditions of
9939      this License, each Contributor hereby grants to You a perpetual,
9940      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
9941      copyright license to reproduce, prepare Derivative Works of,
9942      publicly display, publicly perform, sublicense, and distribute the
9943      Work and such Derivative Works in Source or Object form.
9944
9945   3. Grant of Patent License. Subject to the terms and conditions of
9946      this License, each Contributor hereby grants to You a perpetual,
9947      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
9948      (except as stated in this section) patent license to make, have made,
9949      use, offer to sell, sell, import, and otherwise transfer the Work,
9950      where such license applies only to those patent claims licensable
9951      by such Contributor that are necessarily infringed by their
9952      Contribution(s) alone or by combination of their Contribution(s)
9953      with the Work to which such Contribution(s) was submitted. If You
9954      institute patent litigation against any entity (including a
9955      cross-claim or counterclaim in a lawsuit) alleging that the Work
9956      or a Contribution incorporated within the Work constitutes direct
9957      or contributory patent infringement, then any patent licenses
9958      granted to You under this License for that Work shall terminate
9959      as of the date such litigation is filed.
9960
9961   4. Redistribution. You may reproduce and distribute copies of the
9962      Work or Derivative Works thereof in any medium, with or without
9963      modifications, and in Source or Object form, provided that You
9964      meet the following conditions:
9965
9966      (a) You must give any other recipients of the Work or
9967          Derivative Works a copy of this License; and
9968
9969      (b) You must cause any modified files to carry prominent notices
9970          stating that You changed the files; and
9971
9972      (c) You must retain, in the Source form of any Derivative Works
9973          that You distribute, all copyright, patent, trademark, and
9974          attribution notices from the Source form of the Work,
9975          excluding those notices that do not pertain to any part of
9976          the Derivative Works; and
9977
9978      (d) If the Work includes a "NOTICE" text file as part of its
9979          distribution, then any Derivative Works that You distribute must
9980          include a readable copy of the attribution notices contained
9981          within such NOTICE file, excluding those notices that do not
9982          pertain to any part of the Derivative Works, in at least one
9983          of the following places: within a NOTICE text file distributed
9984          as part of the Derivative Works; within the Source form or
9985          documentation, if provided along with the Derivative Works; or,
9986          within a display generated by the Derivative Works, if and
9987          wherever such third-party notices normally appear. The contents
9988          of the NOTICE file are for informational purposes only and
9989          do not modify the License. You may add Your own attribution
9990          notices within Derivative Works that You distribute, alongside
9991          or as an addendum to the NOTICE text from the Work, provided
9992          that such additional attribution notices cannot be construed
9993          as modifying the License.
9994
9995      You may add Your own copyright statement to Your modifications and
9996      may provide additional or different license terms and conditions
9997      for use, reproduction, or distribution of Your modifications, or
9998      for any such Derivative Works as a whole, provided Your use,
9999      reproduction, and distribution of the Work otherwise complies with
10000      the conditions stated in this License.
10001
10002   5. Submission of Contributions. Unless You explicitly state otherwise,
10003      any Contribution intentionally submitted for inclusion in the Work
10004      by You to the Licensor shall be under the terms and conditions of
10005      this License, without any additional terms or conditions.
10006      Notwithstanding the above, nothing herein shall supersede or modify
10007      the terms of any separate license agreement you may have executed
10008      with Licensor regarding such Contributions.
10009
10010   6. Trademarks. This License does not grant permission to use the trade
10011      names, trademarks, service marks, or product names of the Licensor,
10012      except as required for reasonable and customary use in describing the
10013      origin of the Work and reproducing the content of the NOTICE file.
10014
10015   7. Disclaimer of Warranty. Unless required by applicable law or
10016      agreed to in writing, Licensor provides the Work (and each
10017      Contributor provides its Contributions) on an "AS IS" BASIS,
10018      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10019      implied, including, without limitation, any warranties or conditions
10020      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
10021      PARTICULAR PURPOSE. You are solely responsible for determining the
10022      appropriateness of using or redistributing the Work and assume any
10023      risks associated with Your exercise of permissions under this License.
10024
10025   8. Limitation of Liability. In no event and under no legal theory,
10026      whether in tort (including negligence), contract, or otherwise,
10027      unless required by applicable law (such as deliberate and grossly
10028      negligent acts) or agreed to in writing, shall any Contributor be
10029      liable to You for damages, including any direct, indirect, special,
10030      incidental, or consequential damages of any character arising as a
10031      result of this License or out of the use or inability to use the
10032      Work (including but not limited to damages for loss of goodwill,
10033      work stoppage, computer failure or malfunction, or any and all
10034      other commercial damages or losses), even if such Contributor
10035      has been advised of the possibility of such damages.
10036
10037   9. Accepting Warranty or Additional Liability. While redistributing
10038      the Work or Derivative Works thereof, You may choose to offer,
10039      and charge a fee for, acceptance of support, warranty, indemnity,
10040      or other liability obligations and/or rights consistent with this
10041      License. However, in accepting such obligations, You may act only
10042      on Your own behalf and on Your sole responsibility, not on behalf
10043      of any other Contributor, and only if You agree to indemnify,
10044      defend, and hold each Contributor harmless for any liability
10045      incurred by, or claims asserted against, such Contributor by reason
10046      of your accepting any such warranty or additional liability.
10047
10048   END OF TERMS AND CONDITIONS
10049
10050   APPENDIX: How to apply the Apache License to your work.
10051
10052      To apply the Apache License to your work, attach the following
10053      boilerplate notice, with the fields enclosed by brackets "[]"
10054      replaced with your own identifying information. (Don't include
10055      the brackets!)  The text should be enclosed in the appropriate
10056      comment syntax for the file format. We also recommend that a
10057      file or class name and description of purpose be included on the
10058      same "printed page" as the copyright notice for easier
10059      identification within third-party archives.
10060
10061   Copyright 2011 Google Inc. All Rights Reserved.
10062
10063   Licensed under the Apache License, Version 2.0 (the "License");
10064   you may not use this file except in compliance with the License.
10065   You may obtain a copy of the License at
10066
10067       http://www.apache.org/licenses/LICENSE-2.0
10068
10069   Unless required by applicable law or agreed to in writing, software
10070   distributed under the License is distributed on an "AS IS" BASIS,
10071   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10072   See the License for the specific language governing permissions and
10073   limitations under the License.
10074
10075
10076Copyright (c) 2006 Bob Ippolito
10077
10078Permission is hereby granted, free of charge, to any person obtaining a copy of
10079this software and associated documentation files (the "Software"), to deal in
10080the Software without restriction, including without limitation the rights to
10081use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
10082of the Software, and to permit persons to whom the Software is furnished to do
10083so, subject to the following conditions:
10084
10085The above copyright notice and this permission notice shall be included in all
10086copies or substantial portions of the Software.
10087
10088THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10089IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10090FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
10091AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
10092LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
10093OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
10094SOFTWARE.
10095
10096(The BSD License)
10097
10098Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no
10099All rights reserved.
10100
10101Redistribution and use in source and binary forms, with or without modification,
10102are permitted provided that the following conditions are met:
10103
10104    * Redistributions of source code must retain the above copyright notice,
10105      this list of conditions and the following disclaimer.
10106    * Redistributions in binary form must reproduce the above copyright notice,
10107      this list of conditions and the following disclaimer in the documentation
10108      and/or other materials provided with the distribution.
10109    * Neither the name of Christian Johansen nor the names of his contributors
10110      may be used to endorse or promote products derived from this software
10111      without specific prior written permission.
10112
10113THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
10114ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10115WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
10116DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
10117FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
10118DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
10119SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
10120CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
10121OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
10122THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10123
10124// Copyright (c) 2011 Google Inc. All rights reserved.
10125//
10126// Redistribution and use in source and binary forms, with or without
10127// modification, are permitted provided that the following conditions are
10128// met:
10129//
10130//    * Redistributions of source code must retain the above copyright
10131// notice, this list of conditions and the following disclaimer.
10132//    * Redistributions in binary form must reproduce the above
10133// copyright notice, this list of conditions and the following disclaimer
10134// in the documentation and/or other materials provided with the
10135// distribution.
10136//    * Neither the name of Google Inc. nor the names of its
10137// contributors may be used to endorse or promote products derived from
10138// this software without specific prior written permission.
10139//
10140// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
10141// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
10142// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
10143// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
10144// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
10145// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
10146// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
10147// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
10148// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
10149// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
10150// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10151
10152All MurmurHash source files are placed in the public domain.
10153
10154The license below applies to all other code in SMHasher:
10155
10156Copyright (c) 2011 Google, Inc.
10157
10158Permission is hereby granted, free of charge, to any person obtaining a copy
10159of this software and associated documentation files (the "Software"), to deal
10160in the Software without restriction, including without limitation the rights
10161to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10162copies of the Software, and to permit persons to whom the Software is
10163furnished to do so, subject to the following conditions:
10164
10165The above copyright notice and this permission notice shall be included in
10166all copies or substantial portions of the Software.
10167
10168THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10169IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10170FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
10171AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
10172LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
10173OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
10174THE SOFTWARE.
10175
10176Copyright 2002-2008 	Xiph.org Foundation
10177Copyright 2002-2008 	Jean-Marc Valin
10178Copyright 2005-2007	Analog Devices Inc.
10179Copyright 2005-2008	Commonwealth Scientific and Industrial Research 
10180                        Organisation (CSIRO)
10181Copyright 1993, 2002, 2006 David Rowe
10182Copyright 2003 		EpicGames
10183Copyright 1992-1994	Jutta Degener, Carsten Bormann
10184
10185Redistribution and use in source and binary forms, with or without
10186modification, are permitted provided that the following conditions
10187are met:
10188
10189- Redistributions of source code must retain the above copyright
10190notice, this list of conditions and the following disclaimer.
10191
10192- Redistributions in binary form must reproduce the above copyright
10193notice, this list of conditions and the following disclaimer in the
10194documentation and/or other materials provided with the distribution.
10195
10196- Neither the name of the Xiph.org Foundation nor the names of its
10197contributors may be used to endorse or promote products derived from
10198this software without specific prior written permission.
10199
10200THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
10201``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
10202LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
10203A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR
10204CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
10205EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
10206PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
10207PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
10208LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
10209NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
10210SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10211
10212The author disclaims copyright to this source code.  In place of
10213a legal notice, here is a blessing:
10214
10215   May you do good and not evil.
10216   May you find forgiveness for yourself and forgive others.
10217   May you share freely, never taking more than you give.
10218
10219SWIG is distributed under the following terms:
10220
10221I.  
10222
10223Copyright (c) 1995-1998
10224The University of Utah and the Regents of the University of California
10225All Rights Reserved
10226
10227Permission is hereby granted, without written agreement and without
10228license or royalty fees, to use, copy, modify, and distribute this
10229software and its documentation for any purpose, provided that 
10230(1) The above copyright notice and the following two paragraphs
10231appear in all copies of the source code and (2) redistributions
10232including binaries reproduces these notices in the supporting
10233documentation.   Substantial modifications to this software may be
10234copyrighted by their authors and need not follow the licensing terms
10235described here, provided that the new terms are clearly indicated in
10236all files where they apply.
10237
10238IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE 
10239UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY
10240PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
10241DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
10242EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF
10243THE POSSIBILITY OF SUCH DAMAGE.
10244
10245THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH
10246SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO, 
10247THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
10248PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND 
10249THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE,
10250SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
10251
10252
10253II. 
10254
10255This software includes contributions that are Copyright (c) 1998-2005
10256University of Chicago.
10257All rights reserved.
10258
10259Redistribution and use in source and binary forms, with or without
10260modification, are permitted provided that the following conditions are
10261met:
10262
10263Redistributions of source code must retain the above copyright notice,
10264this list of conditions and the following disclaimer.  Redistributions
10265in binary form must reproduce the above copyright notice, this list of
10266conditions and the following disclaimer in the documentation and/or
10267other materials provided with the distribution.  Neither the name of
10268the University of Chicago nor the names of its contributors may be
10269used to endorse or promote products derived from this software without
10270specific prior written permission.
10271
10272THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF CHICAGO AND CONTRIBUTORS
10273"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
10274LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
10275PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF
10276CHICAGO OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
10277SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
10278TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
10279PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
10280LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
10281NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
10282SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10283
10284
10285III.  
10286
10287This software includes contributions that are Copyright (c) 2005-2006
10288Arizona Board of Regents (University of Arizona).
10289All Rights Reserved
10290
10291Permission is hereby granted, without written agreement and without
10292license or royalty fees, to use, copy, modify, and distribute this
10293software and its documentation for any purpose, provided that 
10294(1) The above copyright notice and the following two paragraphs
10295appear in all copies of the source code and (2) redistributions
10296including binaries reproduces these notices in the supporting
10297documentation.   Substantial modifications to this software may be
10298copyrighted by their authors and need not follow the licensing terms
10299described here, provided that the new terms are clearly indicated in
10300all files where they apply.
10301
10302THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA AND CONTRIBUTORS
10303"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
10304LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
10305PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF
10306ARIZONA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
10307SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
10308TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
10309PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
10310LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
10311NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
10312SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10313
10314
10315// Copyright (c) 2005, Google Inc.
10316// All rights reserved.
10317//
10318// Redistribution and use in source and binary forms, with or without
10319// modification, are permitted provided that the following conditions are
10320// met:
10321//
10322//     * Redistributions of source code must retain the above copyright
10323// notice, this list of conditions and the following disclaimer.
10324//     * Redistributions in binary form must reproduce the above
10325// copyright notice, this list of conditions and the following disclaimer
10326// in the documentation and/or other materials provided with the
10327// distribution.
10328//     * Neither the name of Google Inc. nor the names of its
10329// contributors may be used to endorse or promote products derived from
10330// this software without specific prior written permission.
10331//
10332// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
10333// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
10334// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
10335// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
10336// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
10337// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
10338// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
10339// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
10340// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
10341// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
10342// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10343
10344
10345TLS Lite includes code from different sources. All code is either dedicated to
10346the public domain by its authors, or available under a BSD-style license. In
10347particular:
10348
10349- 
10350
10351Code written by Trevor Perrin, Kees Bos, Sam Rushing, Dimitris Moraitis,
10352Marcelo Fernandez, Martin von Loewis, and Dave Baggett is available under the
10353following terms:
10354
10355This is free and unencumbered software released into the public domain.
10356
10357Anyone is free to copy, modify, publish, use, compile, sell, or distribute
10358this software, either in source code form or as a compiled binary, for any
10359purpose, commercial or non-commercial, and by any means.
10360
10361In jurisdictions that recognize copyright laws, the author or authors of this
10362software dedicate any and all copyright interest in the software to the public
10363domain. We make this dedication for the benefit of the public at large and to
10364the detriment of our heirs and successors. We intend this dedication to be an
10365overt act of relinquishment in perpetuity of all present and future rights to
10366this software under copyright law.
10367
10368THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10369IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10370FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
10371AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
10372ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
10373WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10374
10375-
10376
10377Code written by Bram Cohen (rijndael.py) was dedicated to the public domain by
10378its author. See rijndael.py for details.
10379
10380-
10381
10382Code written by Google is available under the following terms:
10383
10384Copyright (c) 2008, The Chromium Authors 
10385All rights reserved.
10386
10387Redistribution and use in source and binary forms, with or without
10388modification, are permitted provided that the following conditions are met:
10389
10390 * Redistributions of source code must retain the above copyright notice, this
10391   list of conditions and the following disclaimer.
10392
10393 * Redistributions in binary form must reproduce the above copyright notice,
10394   this list of conditions and the following disclaimer in the documentation
10395   and/or other materials provided with the distribution.
10396
10397 * Neither the name of the Google Inc. nor the names of its contributors may
10398   be used to endorse or promote products derived from this software without
10399   specific prior written permission.
10400
10401THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
10402AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
10403IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
10404DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
10405FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
10406DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
10407SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
10408CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
10409OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
10410OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10411
10412Copyright (c) 2012, Linux USB Project
10413All rights reserved.
10414
10415Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
10416
10417o Redistributions of source code must retain the above copyright notice,
10418  this list of conditions and the following disclaimer.
10419
10420o Redistributions in binary form must reproduce the above copyright
10421  notice, this list of conditions and the following disclaimer in the
10422  documentation and/or other materials provided with the distribution.
10423
10424o Neither the name of the Linux USB Project nor the names of its
10425  contributors may be used to endorse or promote products derived from
10426  this software without specific prior written permission.
10427
10428THIS 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.
10429
10430(Copied from the COPYRIGHT file of
10431https://code.google.com/p/sctp-refimpl/source/browse/trunk/COPYRIGHT)
10432--------------------------------------------------------------------------------
10433
10434Copyright (c) 2001, 2002 Cisco Systems, Inc.
10435Copyright (c) 2002-12 Randall R. Stewart
10436Copyright (c) 2002-12 Michael Tuexen
10437All rights reserved.
10438
10439Redistribution and use in source and binary forms, with or without
10440modification, are permitted provided that the following conditions
10441are met:
10442
104431. Redistributions of source code must retain the above copyright
10444   notice, this list of conditions and the following disclaimer.
104452. Redistributions in binary form must reproduce the above copyright
10446   notice, this list of conditions and the following disclaimer in the
10447   documentation and/or other materials provided with the distribution.
10448
10449THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
10450ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
10451IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
10452ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
10453FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
10454DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
10455OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
10456HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
10457LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
10458OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
10459SUCH DAMAGE.
10460
10461Copyright (c) 2011, The WebRTC project authors. All rights reserved.
10462
10463Redistribution and use in source and binary forms, with or without
10464modification, are permitted provided that the following conditions are
10465met:
10466
10467  * Redistributions of source code must retain the above copyright
10468    notice, this list of conditions and the following disclaimer.
10469
10470  * Redistributions in binary form must reproduce the above copyright
10471    notice, this list of conditions and the following disclaimer in
10472    the documentation and/or other materials provided with the
10473    distribution.
10474
10475  * Neither the name of Google nor the names of its contributors may
10476    be used to endorse or promote products derived from this software
10477    without specific prior written permission.
10478
10479THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
10480"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
10481LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
10482A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
10483HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
10484SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
10485LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
10486DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
10487THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
10488(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
10489OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10490
10491
10492                                 Apache License
10493                           Version 2.0, January 2010
10494                        http://www.apache.org/licenses/
10495
10496   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10497
10498   1. Definitions.
10499
10500      "License" shall mean the terms and conditions for use, reproduction,
10501      and distribution as defined by Sections 1 through 9 of this document.
10502
10503      "Licensor" shall mean the copyright owner or entity authorized by
10504      the copyright owner that is granting the License.
10505
10506      "Legal Entity" shall mean the union of the acting entity and all
10507      other entities that control, are controlled by, or are under common
10508      control with that entity. For the purposes of this definition,
10509      "control" means (i) the power, direct or indirect, to cause the
10510      direction or management of such entity, whether by contract or
10511      otherwise, or (ii) ownership of fifty percent (50%) or more of the
10512      outstanding shares, or (iii) beneficial ownership of such entity.
10513
10514      "You" (or "Your") shall mean an individual or Legal Entity
10515      exercising permissions granted by this License.
10516
10517      "Source" form shall mean the preferred form for making modifications,
10518      including but not limited to software source code, documentation
10519      source, and configuration files.
10520
10521      "Object" form shall mean any form resulting from mechanical
10522      transformation or translation of a Source form, including but
10523      not limited to compiled object code, generated documentation,
10524      and conversions to other media types.
10525
10526      "Work" shall mean the work of authorship, whether in Source or
10527      Object form, made available under the License, as indicated by a
10528      copyright notice that is included in or attached to the work
10529      (an example is provided in the Appendix below).
10530
10531      "Derivative Works" shall mean any work, whether in Source or Object
10532      form, that is based on (or derived from) the Work and for which the
10533      editorial revisions, annotations, elaborations, or other modifications
10534      represent, as a whole, an original work of authorship. For the purposes
10535      of this License, Derivative Works shall not include works that remain
10536      separable from, or merely link (or bind by name) to the interfaces of,
10537      the Work and Derivative Works thereof.
10538
10539      "Contribution" shall mean any work of authorship, including
10540      the original version of the Work and any modifications or additions
10541      to that Work or Derivative Works thereof, that is intentionally
10542      submitted to Licensor for inclusion in the Work by the copyright owner
10543      or by an individual or Legal Entity authorized to submit on behalf of
10544      the copyright owner. For the purposes of this definition, "submitted"
10545      means any form of electronic, verbal, or written communication sent
10546      to the Licensor or its representatives, including but not limited to
10547      communication on electronic mailing lists, source code control systems,
10548      and issue tracking systems that are managed by, or on behalf of, the
10549      Licensor for the purpose of discussing and improving the Work, but
10550      excluding communication that is conspicuously marked or otherwise
10551      designated in writing by the copyright owner as "Not a Contribution."
10552
10553      "Contributor" shall mean Licensor and any individual or Legal Entity
10554      on behalf of whom a Contribution has been received by Licensor and
10555      subsequently incorporated within the Work.
10556
10557   2. Grant of Copyright License. Subject to the terms and conditions of
10558      this License, each Contributor hereby grants to You a perpetual,
10559      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
10560      copyright license to reproduce, prepare Derivative Works of,
10561      publicly display, publicly perform, sublicense, and distribute the
10562      Work and such Derivative Works in Source or Object form.
10563
10564   3. Grant of Patent License. Subject to the terms and conditions of
10565      this License, each Contributor hereby grants to You a perpetual,
10566      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
10567      (except as stated in this section) patent license to make, have made,
10568      use, offer to sell, sell, import, and otherwise transfer the Work,
10569      where such license applies only to those patent claims licensable
10570      by such Contributor that are necessarily infringed by their
10571      Contribution(s) alone or by combination of their Contribution(s)
10572      with the Work to which such Contribution(s) was submitted. If You
10573      institute patent litigation against any entity (including a
10574      cross-claim or counterclaim in a lawsuit) alleging that the Work
10575      or a Contribution incorporated within the Work constitutes direct
10576      or contributory patent infringement, then any patent licenses
10577      granted to You under this License for that Work shall terminate
10578      as of the date such litigation is filed.
10579
10580   4. Redistribution. You may reproduce and distribute copies of the
10581      Work or Derivative Works thereof in any medium, with or without
10582      modifications, and in Source or Object form, provided that You
10583      meet the following conditions:
10584
10585      (a) You must give any other recipients of the Work or
10586          Derivative Works a copy of this License; and
10587
10588      (b) You must cause any modified files to carry prominent notices
10589          stating that You changed the files; and
10590
10591      (c) You must retain, in the Source form of any Derivative Works
10592          that You distribute, all copyright, patent, trademark, and
10593          attribution notices from the Source form of the Work,
10594          excluding those notices that do not pertain to any part of
10595          the Derivative Works; and
10596
10597      (d) If the Work includes a "NOTICE" text file as part of its
10598          distribution, then any Derivative Works that You distribute must
10599          include a readable copy of the attribution notices contained
10600          within such NOTICE file, excluding those notices that do not
10601          pertain to any part of the Derivative Works, in at least one
10602          of the following places: within a NOTICE text file distributed
10603          as part of the Derivative Works; within the Source form or
10604          documentation, if provided along with the Derivative Works; or,
10605          within a display generated by the Derivative Works, if and
10606          wherever such third-party notices normally appear. The contents
10607          of the NOTICE file are for informational purposes only and
10608          do not modify the License. You may add Your own attribution
10609          notices within Derivative Works that You distribute, alongside
10610          or as an addendum to the NOTICE text from the Work, provided
10611          that such additional attribution notices cannot be construed
10612          as modifying the License.
10613
10614      You may add Your own copyright statement to Your modifications and
10615      may provide additional or different license terms and conditions
10616      for use, reproduction, or distribution of Your modifications, or
10617      for any such Derivative Works as a whole, provided Your use,
10618      reproduction, and distribution of the Work otherwise complies with
10619      the conditions stated in this License.
10620
10621   5. Submission of Contributions. Unless You explicitly state otherwise,
10622      any Contribution intentionally submitted for inclusion in the Work
10623      by You to the Licensor shall be under the terms and conditions of
10624      this License, without any additional terms or conditions.
10625      Notwithstanding the above, nothing herein shall supersede or modify
10626      the terms of any separate license agreement you may have executed
10627      with Licensor regarding such Contributions.
10628
10629   6. Trademarks. This License does not grant permission to use the trade
10630      names, trademarks, service marks, or product names of the Licensor,
10631      except as required for reasonable and customary use in describing the
10632      origin of the Work and reproducing the content of the NOTICE file.
10633
10634   7. Disclaimer of Warranty. Unless required by applicable law or
10635      agreed to in writing, Licensor provides the Work (and each
10636      Contributor provides its Contributions) on an "AS IS" BASIS,
10637      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10638      implied, including, without limitation, any warranties or conditions
10639      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
10640      PARTICULAR PURPOSE. You are solely responsible for determining the
10641      appropriateness of using or redistributing the Work and assume any
10642      risks associated with Your exercise of permissions under this License.
10643
10644   8. Limitation of Liability. In no event and under no legal theory,
10645      whether in tort (including negligence), contract, or otherwise,
10646      unless required by applicable law (such as deliberate and grossly
10647      negligent acts) or agreed to in writing, shall any Contributor be
10648      liable to You for damages, including any direct, indirect, special,
10649      incidental, or consequential damages of any character arising as a
10650      result of this License or out of the use or inability to use the
10651      Work (including but not limited to damages for loss of goodwill,
10652      work stoppage, computer failure or malfunction, or any and all
10653      other commercial damages or losses), even if such Contributor
10654      has been advised of the possibility of such damages.
10655
10656   9. Accepting Warranty or Additional Liability. While redistributing
10657      the Work or Derivative Works thereof, You may choose to offer,
10658      and charge a fee for, acceptance of support, warranty, indemnity,
10659      or other liability obligations and/or rights consistent with this
10660      License. However, in accepting such obligations, You may act only
10661      on Your own behalf and on Your sole responsibility, not on behalf
10662      of any other Contributor, and only if You agree to indemnify,
10663      defend, and hold each Contributor harmless for any liability
10664      incurred by, or claims asserted against, such Contributor by reason
10665      of your accepting any such warranty or additional liability.
10666
10667   END OF TERMS AND CONDITIONS
10668
10669   APPENDIX: How to apply the Apache License to your work.
10670
10671      To apply the Apache License to your work, attach the following
10672      boilerplate notice, with the fields enclosed by brackets "[]"
10673      replaced with your own identifying information. (Don't include
10674      the brackets!)  The text should be enclosed in the appropriate
10675      comment syntax for the file format. We also recommend that a
10676      file or class name and description of purpose be included on the
10677      same "printed page" as the copyright notice for easier
10678      identification within third-party archives.
10679
10680   Copyright [yyyy] [name of copyright owner]
10681
10682   Licensed under the Apache License, Version 2.0 (the "License");
10683   you may not use this file except in compliance with the License.
10684   You may obtain a copy of the License at
10685
10686       http://www.apache.org/licenses/LICENSE-2.0
10687
10688   Unless required by applicable law or agreed to in writing, software
10689   distributed under the License is distributed on an "AS IS" BASIS,
10690   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10691   See the License for the specific language governing permissions and
10692   limitations under the License.
10693
10694// Copyright (c) 2013 The Chromium Authors. All rights reserved.
10695//
10696// Redistribution and use in source and binary forms, with or without
10697// modification, are permitted provided that the following conditions are
10698// met:
10699//
10700//    * Redistributions of source code must retain the above copyright
10701// notice, this list of conditions and the following disclaimer.
10702//    * Redistributions in binary form must reproduce the above
10703// copyright notice, this list of conditions and the following disclaimer
10704// in the documentation and/or other materials provided with the
10705// distribution.
10706//    * Neither the name of Google Inc. nor the names of its
10707// contributors may be used to endorse or promote products derived from
10708// this software without specific prior written permission.
10709//
10710// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
10711// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
10712// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
10713// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
10714// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
10715// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
10716// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
10717// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
10718// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
10719// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
10720// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10721
10722;*****************************************************************************
10723;* x86inc.asm
10724;*****************************************************************************
10725;* Copyright (C) 2005-2011 x264 project
10726;*
10727;* Authors: Loren Merritt <lorenm@u.washington.edu>
10728;*          Anton Mitrofanov <BugMaster@narod.ru>
10729;*          Jason Garrett-Glaser <darkshikari@gmail.com>
10730;*
10731;* Permission to use, copy, modify, and/or distribute this software for any
10732;* purpose with or without fee is hereby granted, provided that the above
10733;* copyright notice and this permission notice appear in all copies.
10734;*
10735;* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10736;* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10737;* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10738;* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
10739;* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
10740;* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
10741;* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
10742;*****************************************************************************
10743
10744; This is a header file for the x264ASM assembly language, which uses
10745; NASM/YASM syntax combined with a large number of macros to provide easy
10746; abstraction between different calling conventions (x86_32, win64, linux64).
10747; It also has various other useful features to simplify writing the kind of
10748; DSP functions that are most often used in x264.
10749
10750; Unlike the rest of x264, this file is available under an ISC license, as it
10751; has significant usefulness outside of x264 and we want it to be available
10752; to the largest audience possible.  Of course, if you modify it for your own
10753; purposes to add a new feature, we strongly encourage contributing a patch
10754; as this feature might be useful for others as well.  Send patches or ideas
10755; to x264-devel@videolan.org .
10756
10757Yasm is Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
10758
10759Yasm developers and/or contributors include:
10760  Peter Johnson
10761  Michael Urman
10762  Brian Gladman (Visual Studio build files, other fixes)
10763  Stanislav Karchebny (options parser)
10764  Mathieu Monnier (SSE4 instruction patches, NASM preprocessor additions)
10765  Anonymous "NASM64" developer (NASM preprocessor fixes)
10766  Stephen Polkowski (x86 instruction patches)
10767  Henryk Richter (Mach-O object format)
10768  Ben Skeggs (patches, bug reports)
10769  Alexei Svitkine (GAS preprocessor)
10770  Samuel Thibault (TASM parser and frontend)
10771
10772-----------------------------------
10773Yasm licensing overview and summary
10774-----------------------------------
10775
10776Note: This document does not provide legal advice nor is it the actual
10777license of any part of Yasm.  See the individual licenses for complete
10778details.  Consult a lawyer for legal advice.
10779
10780The primary license of Yasm is the 2-clause BSD license.  Please use this
10781license if you plan on submitting code to the project.
10782
10783Yasm has absolutely no warranty; not even for merchantibility or fitness
10784for a particular purpose.
10785
10786-------
10787Libyasm
10788-------
10789Libyasm is 2-clause or 3-clause BSD licensed, with the exception of
10790bitvect, which is triple-licensed under the Artistic license, GPL, and
10791LGPL.  Libyasm is thus GPL and LGPL compatible.  In addition, this also
10792means that libyasm is free for binary-only distribution as long as the
10793terms of the 3-clause BSD license and Artistic license (as it applies to
10794bitvect) are fulfilled.
10795
10796-------
10797Modules
10798-------
10799The modules are 2-clause or 3-clause BSD licensed.
10800
10801---------
10802Frontends
10803---------
10804The frontends are 2-clause BSD licensed.
10805
10806-------------
10807License Texts
10808-------------
10809The full text of all licenses are provided in separate files in the source
10810distribution.  Each source file may include the entire license (in the case
10811of the BSD and Artistic licenses), or may reference the GPL or LGPL license
10812file.
10813
10814BSD.txt - 2-clause and 3-clause BSD licenses
10815Artistic.txt - Artistic license
10816GNU_GPL-2.0 - GNU General Public License
10817GNU_LGPL-2.0 - GNU Library General Public License
10818
10819/* zlib.h -- interface of the 'zlib' general purpose compression library
10820  version 1.2.4, March 14th, 2010
10821
10822  Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
10823
10824  This software is provided 'as-is', without any express or implied
10825  warranty.  In no event will the authors be held liable for any damages
10826  arising from the use of this software.
10827
10828  Permission is granted to anyone to use this software for any purpose,
10829  including commercial applications, and to alter it and redistribute it
10830  freely, subject to the following restrictions:
10831
10832  1. The origin of this software must not be misrepresented; you must not
10833     claim that you wrote the original software. If you use this software
10834     in a product, an acknowledgment in the product documentation would be
10835     appreciated but is not required.
10836  2. Altered source versions must be plainly marked as such, and must not be
10837     misrepresented as being the original software.
10838  3. This notice may not be removed or altered from any source distribution.
10839
10840  Jean-loup Gailly
10841  Mark Adler
10842
10843*/
10844
10845
10846                                 Apache License
10847                           Version 2.0, January 2004
10848                        http://www.apache.org/licenses/
10849
10850   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10851
10852   1. Definitions.
10853
10854      "License" shall mean the terms and conditions for use, reproduction,
10855      and distribution as defined by Sections 1 through 9 of this document.
10856
10857      "Licensor" shall mean the copyright owner or entity authorized by
10858      the copyright owner that is granting the License.
10859
10860      "Legal Entity" shall mean the union of the acting entity and all
10861      other entities that control, are controlled by, or are under common
10862      control with that entity. For the purposes of this definition,
10863      "control" means (i) the power, direct or indirect, to cause the
10864      direction or management of such entity, whether by contract or
10865      otherwise, or (ii) ownership of fifty percent (50%) or more of the
10866      outstanding shares, or (iii) beneficial ownership of such entity.
10867
10868      "You" (or "Your") shall mean an individual or Legal Entity
10869      exercising permissions granted by this License.
10870
10871      "Source" form shall mean the preferred form for making modifications,
10872      including but not limited to software source code, documentation
10873      source, and configuration files.
10874
10875      "Object" form shall mean any form resulting from mechanical
10876      transformation or translation of a Source form, including but
10877      not limited to compiled object code, generated documentation,
10878      and conversions to other media types.
10879
10880      "Work" shall mean the work of authorship, whether in Source or
10881      Object form, made available under the License, as indicated by a
10882      copyright notice that is included in or attached to the work
10883      (an example is provided in the Appendix below).
10884
10885      "Derivative Works" shall mean any work, whether in Source or Object
10886      form, that is based on (or derived from) the Work and for which the
10887      editorial revisions, annotations, elaborations, or other modifications
10888      represent, as a whole, an original work of authorship. For the purposes
10889      of this License, Derivative Works shall not include works that remain
10890      separable from, or merely link (or bind by name) to the interfaces of,
10891      the Work and Derivative Works thereof.
10892
10893      "Contribution" shall mean any work of authorship, including
10894      the original version of the Work and any modifications or additions
10895      to that Work or Derivative Works thereof, that is intentionally
10896      submitted to Licensor for inclusion in the Work by the copyright owner
10897      or by an individual or Legal Entity authorized to submit on behalf of
10898      the copyright owner. For the purposes of this definition, "submitted"
10899      means any form of electronic, verbal, or written communication sent
10900      to the Licensor or its representatives, including but not limited to
10901      communication on electronic mailing lists, source code control systems,
10902      and issue tracking systems that are managed by, or on behalf of, the
10903      Licensor for the purpose of discussing and improving the Work, but
10904      excluding communication that is conspicuously marked or otherwise
10905      designated in writing by the copyright owner as "Not a Contribution."
10906
10907      "Contributor" shall mean Licensor and any individual or Legal Entity
10908      on behalf of whom a Contribution has been received by Licensor and
10909      subsequently incorporated within the Work.
10910
10911   2. Grant of Copyright License. Subject to the terms and conditions of
10912      this License, each Contributor hereby grants to You a perpetual,
10913      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
10914      copyright license to reproduce, prepare Derivative Works of,
10915      publicly display, publicly perform, sublicense, and distribute the
10916      Work and such Derivative Works in Source or Object form.
10917
10918   3. Grant of Patent License. Subject to the terms and conditions of
10919      this License, each Contributor hereby grants to You a perpetual,
10920      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
10921      (except as stated in this section) patent license to make, have made,
10922      use, offer to sell, sell, import, and otherwise transfer the Work,
10923      where such license applies only to those patent claims licensable
10924      by such Contributor that are necessarily infringed by their
10925      Contribution(s) alone or by combination of their Contribution(s)
10926      with the Work to which such Contribution(s) was submitted. If You
10927      institute patent litigation against any entity (including a
10928      cross-claim or counterclaim in a lawsuit) alleging that the Work
10929      or a Contribution incorporated within the Work constitutes direct
10930      or contributory patent infringement, then any patent licenses
10931      granted to You under this License for that Work shall terminate
10932      as of the date such litigation is filed.
10933
10934   4. Redistribution. You may reproduce and distribute copies of the
10935      Work or Derivative Works thereof in any medium, with or without
10936      modifications, and in Source or Object form, provided that You
10937      meet the following conditions:
10938
10939      (a) You must give any other recipients of the Work or
10940          Derivative Works a copy of this License; and
10941
10942      (b) You must cause any modified files to carry prominent notices
10943          stating that You changed the files; and
10944
10945      (c) You must retain, in the Source form of any Derivative Works
10946          that You distribute, all copyright, patent, trademark, and
10947          attribution notices from the Source form of the Work,
10948          excluding those notices that do not pertain to any part of
10949          the Derivative Works; and
10950
10951      (d) If the Work includes a "NOTICE" text file as part of its
10952          distribution, then any Derivative Works that You distribute must
10953          include a readable copy of the attribution notices contained
10954          within such NOTICE file, excluding those notices that do not
10955          pertain to any part of the Derivative Works, in at least one
10956          of the following places: within a NOTICE text file distributed
10957          as part of the Derivative Works; within the Source form or
10958          documentation, if provided along with the Derivative Works; or,
10959          within a display generated by the Derivative Works, if and
10960          wherever such third-party notices normally appear. The contents
10961          of the NOTICE file are for informational purposes only and
10962          do not modify the License. You may add Your own attribution
10963          notices within Derivative Works that You distribute, alongside
10964          or as an addendum to the NOTICE text from the Work, provided
10965          that such additional attribution notices cannot be construed
10966          as modifying the License.
10967
10968      You may add Your own copyright statement to Your modifications and
10969      may provide additional or different license terms and conditions
10970      for use, reproduction, or distribution of Your modifications, or
10971      for any such Derivative Works as a whole, provided Your use,
10972      reproduction, and distribution of the Work otherwise complies with
10973      the conditions stated in this License.
10974
10975   5. Submission of Contributions. Unless You explicitly state otherwise,
10976      any Contribution intentionally submitted for inclusion in the Work
10977      by You to the Licensor shall be under the terms and conditions of
10978      this License, without any additional terms or conditions.
10979      Notwithstanding the above, nothing herein shall supersede or modify
10980      the terms of any separate license agreement you may have executed
10981      with Licensor regarding such Contributions.
10982
10983   6. Trademarks. This License does not grant permission to use the trade
10984      names, trademarks, service marks, or product names of the Licensor,
10985      except as required for reasonable and customary use in describing the
10986      origin of the Work and reproducing the content of the NOTICE file.
10987
10988   7. Disclaimer of Warranty. Unless required by applicable law or
10989      agreed to in writing, Licensor provides the Work (and each
10990      Contributor provides its Contributions) on an "AS IS" BASIS,
10991      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10992      implied, including, without limitation, any warranties or conditions
10993      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
10994      PARTICULAR PURPOSE. You are solely responsible for determining the
10995      appropriateness of using or redistributing the Work and assume any
10996      risks associated with Your exercise of permissions under this License.
10997
10998   8. Limitation of Liability. In no event and under no legal theory,
10999      whether in tort (including negligence), contract, or otherwise,
11000      unless required by applicable law (such as deliberate and grossly
11001      negligent acts) or agreed to in writing, shall any Contributor be
11002      liable to You for damages, including any direct, indirect, special,
11003      incidental, or consequential damages of any character arising as a
11004      result of this License or out of the use or inability to use the
11005      Work (including but not limited to damages for loss of goodwill,
11006      work stoppage, computer failure or malfunction, or any and all
11007      other commercial damages or losses), even if such Contributor
11008      has been advised of the possibility of such damages.
11009
11010   9. Accepting Warranty or Additional Liability. While redistributing
11011      the Work or Derivative Works thereof, You may choose to offer,
11012      and charge a fee for, acceptance of support, warranty, indemnity,
11013      or other liability obligations and/or rights consistent with this
11014      License. However, in accepting such obligations, You may act only
11015      on Your own behalf and on Your sole responsibility, not on behalf
11016      of any other Contributor, and only if You agree to indemnify,
11017      defend, and hold each Contributor harmless for any liability
11018      incurred by, or claims asserted against, such Contributor by reason
11019      of your accepting any such warranty or additional liability.
11020
11021   END OF TERMS AND CONDITIONS
11022
11023   APPENDIX: How to apply the Apache License to your work.
11024
11025      To apply the Apache License to your work, attach the following
11026      boilerplate notice, with the fields enclosed by brackets "[]"
11027      replaced with your own identifying information. (Don't include
11028      the brackets!)  The text should be enclosed in the appropriate
11029      comment syntax for the file format. We also recommend that a
11030      file or class name and description of purpose be included on the
11031      same "printed page" as the copyright notice for easier
11032      identification within third-party archives.
11033
11034   Copyright 2011 Marco Braak
11035
11036   Licensed under the Apache License, Version 2.0 (the "License");
11037   you may not use this file except in compliance with the License.
11038   You may obtain a copy of the License at
11039
11040       http://www.apache.org/licenses/LICENSE-2.0
11041
11042   Unless required by applicable law or agreed to in writing, software
11043   distributed under the License is distributed on an "AS IS" BASIS,
11044   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11045   See the License for the specific language governing permissions and
11046   limitations under the License.
11047
11048Copyright (c) 2011, The WebRTC project authors. All rights reserved.
11049
11050Redistribution and use in source and binary forms, with or without
11051modification, are permitted provided that the following conditions are
11052met:
11053
11054  * Redistributions of source code must retain the above copyright
11055    notice, this list of conditions and the following disclaimer.
11056
11057  * Redistributions in binary form must reproduce the above copyright
11058    notice, this list of conditions and the following disclaimer in
11059    the documentation and/or other materials provided with the
11060    distribution.
11061
11062  * Neither the name of Google nor the names of its contributors may
11063    be used to endorse or promote products derived from this software
11064    without specific prior written permission.
11065
11066THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
11067"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
11068LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
11069A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
11070HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
11071SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
11072LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
11073DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
11074THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
11075(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
11076OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11077
11078
11079Copyright (c) 2001-2013 Chris Liechti <cliechti@gmx.net>;
11080All Rights Reserved.
11081
11082This is the Python license. In short, you can use this product in
11083commercial and non-commercial applications, modify it, redistribute it.
11084A notification to the author when you use and/or modify it is welcome.
11085
11086
11087TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING THIS SOFTWARE
11088===================================================================
11089
11090LICENSE AGREEMENT
11091-----------------
11092
110931. This LICENSE AGREEMENT is between the copyright holder of this
11094product, and the Individual or Organization ("Licensee") accessing
11095and otherwise using this product in source or binary form and its
11096associated documentation.
11097
110982. Subject to the terms and conditions of this License Agreement,
11099the copyright holder hereby grants Licensee a nonexclusive,
11100royalty-free, world-wide license to reproduce, analyze, test,
11101perform and/or display publicly, prepare derivative works, distribute,
11102and otherwise use this product alone or in any derivative version,
11103provided, however, that copyright holders License Agreement and
11104copyright holders notice of copyright are retained in this product
11105alone or in any derivative version prepared by Licensee.
11106
111073. In the event Licensee prepares a derivative work that is based on
11108or incorporates this product or any part thereof, and wants to make
11109the derivative work available to others as provided herein, then
11110Licensee hereby agrees to include in any such work a brief summary of
11111the changes made to this product.
11112
111134. The copyright holder is making this product available to Licensee on
11114an "AS IS" basis. THE COPYRIGHT HOLDER MAKES NO REPRESENTATIONS OR
11115WARRANTIES, EXPRESS OR IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION,
11116THE COPYRIGHT HOLDER MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
11117WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR
11118THAT THE USE OF THIS PRODUCT WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
11119
111205. THE COPYRIGHT HOLDER SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER
11121USERS OF THIS PRODUCT FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL
11122DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE
11123USING THIS PRODUCT, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE
11124POSSIBILITY THEREOF.
11125
111266. This License Agreement will automatically terminate upon a material
11127breach of its terms and conditions.
11128
111297. Nothing in this License Agreement shall be deemed to create any
11130relationship of agency, partnership, or joint venture between the
11131copyright holder and Licensee. This License Agreement does not grant
11132permission to use trademarks or trade names from the copyright holder
11133in a trademark sense to endorse or promote products or services of
11134Licensee, or any third party.
11135
111368. By copying, installing or otherwise using this product, Licensee
11137agrees to be bound by the terms and conditions of this License
11138Agreement.
11139
11140
11141Copyright 2007, Google Inc.
11142All rights reserved.
11143
11144Redistribution and use in source and binary forms, with or without
11145modification, are permitted provided that the following conditions are
11146met:
11147
11148    * Redistributions of source code must retain the above copyright
11149notice, this list of conditions and the following disclaimer.
11150    * Redistributions in binary form must reproduce the above
11151copyright notice, this list of conditions and the following disclaimer
11152in the documentation and/or other materials provided with the
11153distribution.
11154    * Neither the name of Google Inc. nor the names of its
11155contributors may be used to endorse or promote products derived from
11156this software without specific prior written permission.
11157
11158THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
11159"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
11160LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
11161A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
11162OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
11163SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
11164LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
11165DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
11166THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
11167(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
11168OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11169
11170-------------------------------------------------------------------------------
11171
11172The file url_parse.cc is based on nsURLParsers.cc from Mozilla. This file is
11173licensed separately as follows:
11174
11175The contents of this file are subject to the Mozilla Public License Version
111761.1 (the "License"); you may not use this file except in compliance with
11177the License. You may obtain a copy of the License at
11178http://www.mozilla.org/MPL/
11179
11180Software distributed under the License is distributed on an "AS IS" basis,
11181WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11182for the specific language governing rights and limitations under the
11183License.
11184
11185The Original Code is mozilla.org code.
11186
11187The Initial Developer of the Original Code is
11188Netscape Communications Corporation.
11189Portions created by the Initial Developer are Copyright (C) 1998
11190the Initial Developer. All Rights Reserved.
11191
11192Contributor(s):
11193  Darin Fisher (original author)
11194
11195Alternatively, the contents of this file may be used under the terms of
11196either the GNU General Public License Version 2 or later (the "GPL"), or
11197the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
11198in which case the provisions of the GPL or the LGPL are applicable instead
11199of those above. If you wish to allow use of your version of this file only
11200under the terms of either the GPL or the LGPL, and not to allow others to
11201use your version of this file under the terms of the MPL, indicate your
11202decision by deleting the provisions above and replace them with the notice
11203and other provisions required by the GPL or the LGPL. If you do not delete
11204the provisions above, a recipient may use your version of this file under
11205the terms of any one of the MPL, the GPL or the LGPL.
11206
11207This license applies to all parts of V8 that are not externally
11208maintained libraries.  The externally maintained libraries used by V8
11209are:
11210
11211  - PCRE test suite, located in
11212    test/mjsunit/third_party/regexp-pcre.js.  This is based on the
11213    test suite from PCRE-7.3, which is copyrighted by the University
11214    of Cambridge and Google, Inc.  The copyright notice and license
11215    are embedded in regexp-pcre.js.
11216
11217  - Layout tests, located in test/mjsunit/third_party.  These are
11218    based on layout tests from webkit.org which are copyrighted by
11219    Apple Computer, Inc. and released under a 3-clause BSD license.
11220
11221  - Strongtalk assembler, the basis of the files assembler-arm-inl.h,
11222    assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h,
11223    assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h,
11224    assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h,
11225    assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h.
11226    This code is copyrighted by Sun Microsystems Inc. and released
11227    under a 3-clause BSD license.
11228
11229  - Valgrind client API header, located at third_party/valgrind/valgrind.h
11230    This is release under the BSD license.
11231
11232These libraries have their own licenses; we recommend you read them,
11233as their terms may differ from the terms below.
11234
11235Copyright 2014, the V8 project authors. All rights reserved.
11236Redistribution and use in source and binary forms, with or without
11237modification, are permitted provided that the following conditions are
11238met:
11239
11240    * Redistributions of source code must retain the above copyright
11241      notice, this list of conditions and the following disclaimer.
11242    * Redistributions in binary form must reproduce the above
11243      copyright notice, this list of conditions and the following
11244      disclaimer in the documentation and/or other materials provided
11245      with the distribution.
11246    * Neither the name of Google Inc. nor the names of its
11247      contributors may be used to endorse or promote products derived
11248      from this software without specific prior written permission.
11249
11250THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
11251"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
11252LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
11253A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
11254OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
11255SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
11256LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
11257DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
11258THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
11259(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
11260OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11261
11262Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
11263
11264Developed at SunSoft, a Sun Microsystems, Inc. business.
11265Permission to use, copy, modify, and distribute this
11266software is freely granted, provided that this notice
11267is preserved.
11268