7831
|
1 |
== contrib/python-zstandard ====================================================
|
|
2 |
Copyright (c) 2016, Gregory Szorc
|
|
3 |
All rights reserved.
|
|
4 |
|
|
5 |
Redistribution and use in source and binary forms, with or without modification,
|
|
6 |
are permitted provided that the following conditions are met:
|
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above copyright notice, this
|
|
9 |
list of conditions and the following disclaimer.
|
|
10 |
|
|
11 |
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12 |
this list of conditions and the following disclaimer in the documentation
|
|
13 |
and/or other materials provided with the distribution.
|
|
14 |
|
|
15 |
3. Neither the name of the copyright holder nor the names of its contributors
|
|
16 |
may be used to endorse or promote products derived from this software without
|
|
17 |
specific prior written permission.
|
|
18 |
|
|
19 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
20 |
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
21 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22 |
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
|
23 |
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
24 |
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
25 |
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
26 |
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
27 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
28 |
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
29 |
|
|
30 |
== contrib/python-zstandard/zstd, hgext/fsmonitor/pywatchman ===================
|
|
31 |
Copyright (c) 2016-present, Facebook, Inc. All rights reserved.
|
|
32 |
|
|
33 |
Redistribution and use in source and binary forms, with or without modification,
|
|
34 |
are permitted provided that the following conditions are met:
|
|
35 |
|
|
36 |
* Redistributions of source code must retain the above copyright notice, this
|
|
37 |
list of conditions and the following disclaimer.
|
|
38 |
|
|
39 |
* Redistributions in binary form must reproduce the above copyright notice,
|
|
40 |
this list of conditions and the following disclaimer in the documentation
|
|
41 |
and/or other materials provided with the distribution.
|
|
42 |
|
|
43 |
* Neither the name Facebook nor the names of its contributors may be used to
|
|
44 |
endorse or promote products derived from this software without specific
|
|
45 |
prior written permission.
|
|
46 |
|
|
47 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
48 |
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
49 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
50 |
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
|
51 |
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
52 |
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
53 |
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
54 |
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
55 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
56 |
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
57 |
|
|
58 |
== contrib/python-zstandard/zstd ===============================================
|
|
59 |
Additional Grant of Patent Rights Version 2
|
|
60 |
|
|
61 |
"Software" means the Zstandard software distributed by Facebook, Inc.
|
|
62 |
|
|
63 |
Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software
|
|
64 |
("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable
|
|
65 |
(subject to the termination provision below) license under any Necessary
|
|
66 |
Claims, to make, have made, use, sell, offer to sell, import, and otherwise
|
|
67 |
transfer the Software. For avoidance of doubt, no license is granted under
|
|
68 |
Facebook's rights in any patent claims that are infringed by (i) modifications
|
|
69 |
to the Software made by you or any third party or (ii) the Software in
|
|
70 |
combination with any software or other technology.
|
|
71 |
|
|
72 |
The license granted hereunder will terminate, automatically and without notice,
|
|
73 |
if you (or any of your subsidiaries, corporate affiliates or agents) initiate
|
|
74 |
directly or indirectly, or take a direct financial interest in, any Patent
|
|
75 |
Assertion: (i) against Facebook or any of its subsidiaries or corporate
|
|
76 |
affiliates, (ii) against any party if such Patent Assertion arises in whole or
|
|
77 |
in part from any software, technology, product or service of Facebook or any of
|
|
78 |
its subsidiaries or corporate affiliates, or (iii) against any party relating
|
|
79 |
to the Software. Notwithstanding the foregoing, if Facebook or any of its
|
|
80 |
subsidiaries or corporate affiliates files a lawsuit alleging patent
|
|
81 |
infringement against you in the first instance, and you respond by filing a
|
|
82 |
patent infringement counterclaim in that lawsuit against that party that is
|
|
83 |
unrelated to the Software, the license granted hereunder will not terminate
|
|
84 |
under section (i) of this paragraph due to such counterclaim.
|
|
85 |
|
|
86 |
A "Necessary Claim" is a claim of a patent owned by Facebook that is
|
|
87 |
necessarily infringed by the Software standing alone.
|
|
88 |
|
|
89 |
A "Patent Assertion" is any lawsuit or other action alleging direct, indirect,
|
|
90 |
or contributory infringement or inducement to infringe any patent, including a
|
|
91 |
cross-claim or counterclaim.
|
|
92 |
|
|
93 |
== contrib/python-zstandard/zstd/common ========================================
|
|
94 |
Copyright (C) 2013-2016, Yann Collet.
|
|
95 |
|
|
96 |
Redistribution and use in source and binary forms, with or without
|
|
97 |
modification, are permitted provided that the following conditions are
|
|
98 |
met:
|
|
99 |
|
|
100 |
* Redistributions of source code must retain the above copyright
|
|
101 |
notice, this list of conditions and the following disclaimer.
|
|
102 |
* Redistributions in binary form must reproduce the above
|
|
103 |
copyright notice, this list of conditions and the following disclaimer
|
|
104 |
in the documentation and/or other materials provided with the
|
|
105 |
distribution.
|
|
106 |
|
|
107 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
108 |
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
109 |
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
110 |
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
111 |
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
112 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
113 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
114 |
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
115 |
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
116 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
117 |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
118 |
|
|
119 |
== contrib/python-zstandard/zstd/dictBuilder ===================================
|
|
120 |
Copyright (c) 2003-2008 Yuta Mori All Rights Reserved.
|
|
121 |
|
|
122 |
Permission is hereby granted, free of charge, to any person
|
|
123 |
obtaining a copy of this software and associated documentation
|
|
124 |
files (the "Software"), to deal in the Software without
|
|
125 |
restriction, including without limitation the rights to use,
|
|
126 |
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
127 |
copies of the Software, and to permit persons to whom the
|
|
128 |
Software is furnished to do so, subject to the following
|
|
129 |
conditions:
|
|
130 |
|
|
131 |
The above copyright notice and this permission notice shall be
|
|
132 |
included in all copies or substantial portions of the Software.
|
|
133 |
|
|
134 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
135 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
136 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
137 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
138 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
139 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
140 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
141 |
OTHER DEALINGS IN THE SOFTWARE.
|