raw-webgpu 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/NOTICE +21 -0
- package/README.md +115 -0
- package/THIRD_PARTY_LICENSES.txt +2842 -0
- package/dist/decode/instantiate.d.ts +3 -0
- package/dist/decode/module.d.ts +2 -0
- package/dist/decode/session.d.ts +7 -0
- package/dist/decode/tiff-worker.d.ts +1 -0
- package/dist/decode/worker.d.ts +1 -0
- package/dist/develop/gpu.d.ts +27 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +710 -0
- package/dist/libraw.js +2 -0
- package/dist/libraw.wasm +0 -0
- package/dist/math.d.ts +4 -0
- package/dist/tiff/color.d.ts +17 -0
- package/dist/tiff/index.d.ts +7 -0
- package/dist/tiff/upload.d.ts +21 -0
- package/dist/tiff-worker.js +181 -0
- package/dist/types.d.ts +51 -0
- package/dist/worker.js +116 -0
- package/docs/conversion.md +52 -0
- package/native/bridge.cpp +119 -0
- package/native/build.py +229 -0
- package/native/calibration.cpp +136 -0
- package/native/direct.h +29 -0
- package/native/dng-no-xmp.patch +34 -0
- package/native/dng.cpp +42 -0
- package/native/pixels.cpp +213 -0
- package/native/raw.h +47 -0
- package/native/tiff.cpp +164 -0
- package/package.json +68 -0
|
@@ -0,0 +1,2842 @@
|
|
|
1
|
+
OpenLight RAW WebAssembly third-party notices
|
|
2
|
+
|
|
3
|
+
This software is based in part on the work of the Independent JPEG Group.
|
|
4
|
+
LibRaw is distributed under CDDL 1.0. Exact upstream source and rebuild instructions accompany the bridge.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
========================================================================
|
|
8
|
+
LibRaw 0.22.2 — CDDL distribution
|
|
9
|
+
========================================================================
|
|
10
|
+
|
|
11
|
+
** LibRaw: Raw images processing library **
|
|
12
|
+
|
|
13
|
+
Copyright (C) 2008-2025 LibRaw LLC (http://www.libraw.org, info@libraw.org)
|
|
14
|
+
|
|
15
|
+
LibRaw is free software; you can redistribute it and/or modify
|
|
16
|
+
it under the terms of the one of two licenses as you choose:
|
|
17
|
+
|
|
18
|
+
1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1
|
|
19
|
+
(See file LICENSE.LGPL provided in LibRaw distribution archive for details).
|
|
20
|
+
|
|
21
|
+
2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
|
|
22
|
+
(See file LICENSE.CDDL provided in LibRaw distribution archive for details).
|
|
23
|
+
|
|
24
|
+
LibRaw uses code from dcraw.c -- Dave Coffin's raw photo decoder,
|
|
25
|
+
dcraw.c is copyright 1997-2018 by Dave Coffin, dcoffin a cybercom o net.
|
|
26
|
+
LibRaw do not use RESTRICTED code from dcraw.c
|
|
27
|
+
|
|
28
|
+
LibRaw uses DCB demosaic and FBDD denoise licensed under BSD-like 3-clause license
|
|
29
|
+
DCB and FBDD are Copyright (C) 2010, Jacek Gozdz (cuniek@kft.umcs.lublin.pl)
|
|
30
|
+
|
|
31
|
+
LibRaw uses X3F library to unpack Foveon Files, licensed BSD-style license
|
|
32
|
+
Copyright (c) 2010, Roland Karlsson (roland@proxel.se)
|
|
33
|
+
All rights reserved.
|
|
34
|
+
|
|
35
|
+
LibRaw uses pieces of code from Adobe DNG SDK 1.4,
|
|
36
|
+
Copyright (c) 2005 Adobe Systems Incorporated, licensed under MIT license
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
========================================================================
|
|
41
|
+
Common Development and Distribution License 1.0
|
|
42
|
+
========================================================================
|
|
43
|
+
|
|
44
|
+
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
|
|
45
|
+
|
|
46
|
+
1. Definitions.
|
|
47
|
+
|
|
48
|
+
1.1. Contributor means each individual or entity that creates or
|
|
49
|
+
contributes to the creation of Modifications.
|
|
50
|
+
|
|
51
|
+
1.2. Contributor Version means the combination of the Original
|
|
52
|
+
Software, prior Modifications used by a Contributor (if any),
|
|
53
|
+
and the Modifications made by that particular Contributor.
|
|
54
|
+
|
|
55
|
+
1.3. Covered Software means (a) the Original Software, or (b)
|
|
56
|
+
Modifications, or (c) the combination of files containing
|
|
57
|
+
Original Software with files containing Modifications, in each
|
|
58
|
+
case including portions thereof.
|
|
59
|
+
|
|
60
|
+
1.4. Executable means the Covered Software in any form other
|
|
61
|
+
than Source Code.
|
|
62
|
+
|
|
63
|
+
1.5. Initial Developer means the individual or entity that first
|
|
64
|
+
makes Original Software available under this License.
|
|
65
|
+
|
|
66
|
+
1.6. Larger Workmeans a work which combines Covered Software or
|
|
67
|
+
portions thereof with code not governed by the terms of this
|
|
68
|
+
License.
|
|
69
|
+
|
|
70
|
+
1.7. License means this document.
|
|
71
|
+
|
|
72
|
+
1.8. Licensable means having the right to grant, to the maximum
|
|
73
|
+
extent possible, whether at the time of the initial grant or
|
|
74
|
+
subsequently acquired, any and all of the rights conveyed herein.
|
|
75
|
+
|
|
76
|
+
1.9. Modifications means the Source Code and Executable form of
|
|
77
|
+
any of the following: A. Any file that results from an addition
|
|
78
|
+
to, deletion from or modification of the contents of a file
|
|
79
|
+
containing Original Software or previous Modifications; B. Any
|
|
80
|
+
new file that contains any part of the Original Software or
|
|
81
|
+
previous Modification; or C. Any new file that is contributed or
|
|
82
|
+
otherwise made available under the terms of this License.
|
|
83
|
+
|
|
84
|
+
1.10. Original Software means the Source Code and Executable
|
|
85
|
+
form of computer software code that is originally released under
|
|
86
|
+
this License.
|
|
87
|
+
|
|
88
|
+
1.11. Patent Claims means any patent claim(s), now owned or
|
|
89
|
+
hereafter acquired, including without limitation, method,
|
|
90
|
+
process, and apparatus claims, in any patent Licensable by
|
|
91
|
+
grantor.
|
|
92
|
+
|
|
93
|
+
1.12. Source Code means (a) the common form of computer software
|
|
94
|
+
code in which modifications are made and (b) associated
|
|
95
|
+
documentation included in or with such code.
|
|
96
|
+
|
|
97
|
+
1.13. You (or Your) means an individual or a legal entity
|
|
98
|
+
exercising rights under, and complying with all of the terms of,
|
|
99
|
+
this License. For legal entities, You includes any entity which
|
|
100
|
+
controls, is controlled by, or is under common control with You.
|
|
101
|
+
For purposes of this definition, control means (a) the power,
|
|
102
|
+
direct or indirect, to cause the direction or management of such
|
|
103
|
+
entity, whether by contract or otherwise, or (b) ownership of
|
|
104
|
+
more than fifty percent (50%) of the outstanding shares or
|
|
105
|
+
beneficial ownership of such entity.
|
|
106
|
+
|
|
107
|
+
2. License Grants.
|
|
108
|
+
|
|
109
|
+
2.1. The Initial Developer Grant. Conditioned upon Your
|
|
110
|
+
compliance with Section 3.1 below and subject to third party
|
|
111
|
+
intellectual property claims, the Initial Developer hereby
|
|
112
|
+
grants You a world-wide, royalty-free, non-exclusive license:
|
|
113
|
+
|
|
114
|
+
(a) under intellectual property rights (other than patent or
|
|
115
|
+
trademark) Licensable by Initial Developer, to use, reproduce,
|
|
116
|
+
modify, display, perform, sublicense and distribute the Original
|
|
117
|
+
Software (or portions thereof), with or without Modifications,
|
|
118
|
+
and/or as part of a Larger Work; and
|
|
119
|
+
|
|
120
|
+
(b) under Patent Claims infringed by the making, using or
|
|
121
|
+
selling of Original Software, to make, have made, use, practice,
|
|
122
|
+
sell, and offer for sale, and/or otherwise dispose of the
|
|
123
|
+
Original Software (or portions thereof);
|
|
124
|
+
|
|
125
|
+
(c) The licenses granted in Sections 2.1(a) and (b) are
|
|
126
|
+
effective on the date Initial Developer first distributes or
|
|
127
|
+
otherwise makes the Original Software available to a third party
|
|
128
|
+
under the terms of this License;
|
|
129
|
+
|
|
130
|
+
(d) Notwithstanding Section 2.1(b) above, no patent license is
|
|
131
|
+
granted: (1) for code that You delete from the Original
|
|
132
|
+
Software, or (2) for infringements caused by: (i) the
|
|
133
|
+
modification of the Original Software, or (ii) the combination
|
|
134
|
+
of the Original Software with other software or devices.
|
|
135
|
+
|
|
136
|
+
2.2. Contributor Grant. Conditioned upon Your compliance with
|
|
137
|
+
Section 3.1 below and subject to third party intellectual
|
|
138
|
+
property claims, each Contributor hereby grants You a
|
|
139
|
+
world-wide, royalty-free, non-exclusive license:
|
|
140
|
+
|
|
141
|
+
(a) under intellectual property rights (other than patent or
|
|
142
|
+
trademark) Licensable by Contributor to use, reproduce, modify,
|
|
143
|
+
display, perform, sublicense and distribute the Modifications
|
|
144
|
+
created by such Contributor (or portions thereof), either on an
|
|
145
|
+
unmodified basis, with other Modifications, as Covered Software
|
|
146
|
+
and/or as part of a Larger Work; and
|
|
147
|
+
|
|
148
|
+
(b) under Patent Claims infringed by the making, using, or
|
|
149
|
+
selling of Modifications made by that Contributor either alone
|
|
150
|
+
and/or in combination with its Contributor Version (or portions
|
|
151
|
+
of such combination), to make, use, sell, offer for sale, have
|
|
152
|
+
made, and/or otherwise dispose of: (1) Modifications made by
|
|
153
|
+
that Contributor (or portions thereof); and (2) the combination
|
|
154
|
+
of Modifications made by that Contributor with its Contributor
|
|
155
|
+
Version (or portions of such combination).
|
|
156
|
+
|
|
157
|
+
(c) The licenses granted in Sections 2.2(a) and 2.2(b)
|
|
158
|
+
areeffective on the date Contributor first distributes or
|
|
159
|
+
otherwise makes the Modifications available to a third party.
|
|
160
|
+
|
|
161
|
+
(d) Notwithstanding Section 2.2(b) above, no patent license is
|
|
162
|
+
granted: (1) for any code that Contributor has deleted from the
|
|
163
|
+
Contributor Version; (2) for infringements caused by: (i) third
|
|
164
|
+
party modifications of Contributor Version, or (ii) the
|
|
165
|
+
combination of Modifications made by that Contributor with other
|
|
166
|
+
software (except as part of the Contributor Version) or other
|
|
167
|
+
devices; or (3) under Patent Claims infringed by Covered
|
|
168
|
+
Software in the absence of Modifications made by that
|
|
169
|
+
Contributor.
|
|
170
|
+
|
|
171
|
+
3. Distribution Obligations.
|
|
172
|
+
|
|
173
|
+
3.1. Availability of Source Code. Any Covered Software that You
|
|
174
|
+
distribute or otherwise make available in Executable form must
|
|
175
|
+
also be made available in Source Code form and that Source Code
|
|
176
|
+
form must be distributed only under the terms of this License.
|
|
177
|
+
You must include a copy of this License with every copy of the
|
|
178
|
+
Source Code form of the Covered Software You distribute or
|
|
179
|
+
otherwise make available. You must inform recipients of any such
|
|
180
|
+
Covered Software in Executable form as to how they can obtain
|
|
181
|
+
such Covered Software in Source Code form in a reasonable manner
|
|
182
|
+
on or through a medium customarily used for software exchange.
|
|
183
|
+
|
|
184
|
+
3.2. Modifications. The Modifications that You create or to
|
|
185
|
+
which You contribute are governed by the terms of this License.
|
|
186
|
+
You represent that You believe Your Modifications are Your
|
|
187
|
+
original creation(s) and/or You have sufficient rights to grant
|
|
188
|
+
the rights conveyed by this License.
|
|
189
|
+
|
|
190
|
+
3.3. Required Notices. You must include a notice in each of Your
|
|
191
|
+
Modifications that identifies You as the Contributor of the
|
|
192
|
+
Modification. You may not remove or alter any copyright, patent
|
|
193
|
+
or trademark notices contained within the Covered Software, or
|
|
194
|
+
any notices of licensing or any descriptive text giving
|
|
195
|
+
attribution to any Contributor or the Initial Developer.
|
|
196
|
+
|
|
197
|
+
3.4. Application of Additional Terms. You may not offer or
|
|
198
|
+
impose any terms on any Covered Software in Source Code form
|
|
199
|
+
that alters or restricts the applicable version of this License
|
|
200
|
+
or the recipients rights hereunder. You may choose to offer, and
|
|
201
|
+
to charge a fee for, warranty, support, indemnity or liability
|
|
202
|
+
obligations to one or more recipients of Covered
|
|
203
|
+
Software. However, you may do so only on Your own behalf, and
|
|
204
|
+
not on behalf of the Initial Developer or any Contributor. You
|
|
205
|
+
must make it absolutely clear that any such warranty, support,
|
|
206
|
+
indemnity or liability obligation is offered by You alone, and
|
|
207
|
+
You hereby agree to indemnify the Initial Developer and every
|
|
208
|
+
Contributor for any liability incurred by the Initial Developer
|
|
209
|
+
or such Contributor as a result of warranty, support, indemnity
|
|
210
|
+
or liability terms You offer.
|
|
211
|
+
|
|
212
|
+
3.5. Distribution of Executable Versions. You may distribute the
|
|
213
|
+
Executable form of the Covered Software under the terms of this
|
|
214
|
+
License or under the terms of a license of Your choice, which
|
|
215
|
+
may contain terms different from this License, provided that You
|
|
216
|
+
are in compliance with the terms of this License and that the
|
|
217
|
+
license for the Executable form does not attempt to limit or
|
|
218
|
+
alter the recipients rights in the Source Code form from the
|
|
219
|
+
rights set forth in this License. If You distribute the Covered
|
|
220
|
+
Software in Executable form under a different license, You must
|
|
221
|
+
make it absolutely clear that any terms which differ from this
|
|
222
|
+
License are offered by You alone, not by the Initial Developer
|
|
223
|
+
or Contributor. You hereby agree to indemnify the Initial
|
|
224
|
+
Developer and every Contributor for any liability incurred by
|
|
225
|
+
the Initial Developer or such Contributor as a result of any
|
|
226
|
+
such terms You offer.
|
|
227
|
+
|
|
228
|
+
3.6. Larger Works. You may create a Larger Work by combining
|
|
229
|
+
Covered Software with other code not governed by the terms of
|
|
230
|
+
this License and distribute the Larger Work as a single product.
|
|
231
|
+
In such a case, You must make sure the requirements of this
|
|
232
|
+
License are fulfilled for the Covered Software.
|
|
233
|
+
|
|
234
|
+
4. Versions of the License.
|
|
235
|
+
|
|
236
|
+
4.1. New Versions. Sun Microsystems, Inc. is the initial license
|
|
237
|
+
steward and may publish revised and/or new versions of this
|
|
238
|
+
License from time to time. Each version will be given a
|
|
239
|
+
distinguishing version number. Except as provided in Section
|
|
240
|
+
4.3, no one other than the license steward has the right to
|
|
241
|
+
modify this License.
|
|
242
|
+
|
|
243
|
+
4.2. Effect of New Versions. You may always continue to use,
|
|
244
|
+
distribute or otherwise make the Covered Software available
|
|
245
|
+
under the terms of the version of the License under which You
|
|
246
|
+
originally received the Covered Software. If the Initial
|
|
247
|
+
Developer includes a notice in the Original Software prohibiting
|
|
248
|
+
it from being distributed or otherwise made available under any
|
|
249
|
+
subsequent version of the License, You must distribute and make
|
|
250
|
+
the Covered Software available under the terms of the version of
|
|
251
|
+
the License under which You originally received the Covered
|
|
252
|
+
Software. Otherwise, You may also choose to use, distribute or
|
|
253
|
+
otherwise make the Covered Software available under the terms of
|
|
254
|
+
any subsequent version of the License published by the license
|
|
255
|
+
steward.
|
|
256
|
+
|
|
257
|
+
4.3. Modified Versions. When You are an Initial Developer and
|
|
258
|
+
You want to create a new license for Your Original Software, You
|
|
259
|
+
may create and use a modified version of this License if You:
|
|
260
|
+
(a) rename the license and remove any references to the name of
|
|
261
|
+
the license steward (except to note that the license differs
|
|
262
|
+
from this License); and (b) otherwise make it clear that the
|
|
263
|
+
license contains terms which differ from this License.
|
|
264
|
+
|
|
265
|
+
5. DISCLAIMER OF WARRANTY. COVERED SOFTWARE IS PROVIDED UNDER
|
|
266
|
+
THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND,
|
|
267
|
+
EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION,
|
|
268
|
+
WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS,
|
|
269
|
+
MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
|
|
270
|
+
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED
|
|
271
|
+
SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE
|
|
272
|
+
DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
|
|
273
|
+
OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
|
|
274
|
+
REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
|
|
275
|
+
ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE
|
|
276
|
+
IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
|
|
277
|
+
|
|
278
|
+
6. TERMINATION.
|
|
279
|
+
|
|
280
|
+
6.1. This License and the rights granted hereunder will
|
|
281
|
+
terminate automatically if You fail to comply with terms herein
|
|
282
|
+
and fail to cure such breach within 30 days of becoming aware of
|
|
283
|
+
the breach. Provisions which, by their nature, must remain in
|
|
284
|
+
effect beyond the termination of this License shall survive.
|
|
285
|
+
|
|
286
|
+
6.2. If You assert a patent infringement claim (excluding
|
|
287
|
+
declaratory judgment actions) against Initial Developer or a
|
|
288
|
+
Contributor (the Initial Developer or Contributor against whom
|
|
289
|
+
You assert such claim is referred to as Participant) alleging
|
|
290
|
+
that the Participant Software (meaning the Contributor Version
|
|
291
|
+
where the Participant is a Contributor or the Original Software
|
|
292
|
+
where the Participant is the Initial Developer) directly or
|
|
293
|
+
indirectly infringes any patent, then any and all rights granted
|
|
294
|
+
directly or indirectly to You by such Participant, the Initial
|
|
295
|
+
Developer (if the Initial Developer is not the Participant) and
|
|
296
|
+
all Contributors under Sections 2.1 and/or 2.2 of this License
|
|
297
|
+
shall, upon 60 days notice from Participant terminate
|
|
298
|
+
prospectively and automatically at the expiration of such 60 day
|
|
299
|
+
notice period, unless if within such 60 day period You withdraw
|
|
300
|
+
Your claim with respect to the Participant Software against such
|
|
301
|
+
Participant either unilaterally or pursuant to a written
|
|
302
|
+
agreement with Participant.
|
|
303
|
+
|
|
304
|
+
6.3. In the event of termination under Sections 6.1 or 6.2
|
|
305
|
+
above, all end user licenses that have been validly granted by
|
|
306
|
+
You or any distributor hereunder prior to termination (excluding
|
|
307
|
+
licenses granted to You by any distributor) shall survive
|
|
308
|
+
termination.
|
|
309
|
+
|
|
310
|
+
7. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO
|
|
311
|
+
LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR
|
|
312
|
+
OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER
|
|
313
|
+
CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY
|
|
314
|
+
SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY
|
|
315
|
+
INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
|
|
316
|
+
CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST
|
|
317
|
+
PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
|
|
318
|
+
MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES,
|
|
319
|
+
EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY
|
|
320
|
+
OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO
|
|
321
|
+
LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH
|
|
322
|
+
PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH
|
|
323
|
+
LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
|
|
324
|
+
LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS
|
|
325
|
+
EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
|
|
326
|
+
|
|
327
|
+
8. U.S. GOVERNMENT END USERS. The Covered Software is a
|
|
328
|
+
commercial item, as that term is defined in 48 C.F.R. 2.101
|
|
329
|
+
(Oct. 1995), consisting of commercial computer software (as that
|
|
330
|
+
term is defined at 48 C.F.R. 252.227-7014(a)(1)) and commercial
|
|
331
|
+
computer software documentation as such terms are used in 48
|
|
332
|
+
C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and
|
|
333
|
+
48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
|
|
334
|
+
U.S. Government End Users acquire Covered Software with only
|
|
335
|
+
those rights set forth herein. This U.S. Government Rights
|
|
336
|
+
clause is in lieu of, and supersedes, any other FAR, DFAR, or
|
|
337
|
+
other clause or provision that addresses Government rights in
|
|
338
|
+
computer software under this License.
|
|
339
|
+
|
|
340
|
+
9. MISCELLANEOUS. This License represents the complete agreement
|
|
341
|
+
concerning subject matter hereof. If any provision of this
|
|
342
|
+
License is held to be unenforceable, such provision shall be
|
|
343
|
+
reformed only to the extent necessary to make it enforceable.
|
|
344
|
+
This License shall be governed by the law of the jurisdiction
|
|
345
|
+
specified in a notice contained within the Original Software
|
|
346
|
+
(except to the extent applicable law, if any, provides
|
|
347
|
+
otherwise), excluding such jurisdictions conflict-of-law
|
|
348
|
+
provisions. Any litigation relating to this License shall be
|
|
349
|
+
subject to the jurisdiction of the courts located in the
|
|
350
|
+
jurisdiction and venue specified in a notice contained within
|
|
351
|
+
the Original Software, with the losing party responsible for
|
|
352
|
+
costs, including, without limitation, court costs and reasonable
|
|
353
|
+
attorneys fees and expenses. The application of the United
|
|
354
|
+
Nations Convention on Contracts for the International Sale of
|
|
355
|
+
Goods is expressly excluded. Any law or regulation which
|
|
356
|
+
provides that the language of a contract shall be construed
|
|
357
|
+
against the drafter shall not apply to this License. You agree
|
|
358
|
+
that You alone are responsible for compliance with the United
|
|
359
|
+
States export administration regulations (and the export control
|
|
360
|
+
laws and regulation of any other countries) when You use,
|
|
361
|
+
distribute or otherwise make available any Covered Software.
|
|
362
|
+
|
|
363
|
+
10. RESPONSIBILITY FOR CLAIMS. As between Initial Developer and
|
|
364
|
+
the Contributors, each party is responsible for claims and
|
|
365
|
+
damages arising, directly or indirectly, out of its utilization
|
|
366
|
+
of rights under this License and You agree to work with Initial
|
|
367
|
+
Developer and Contributors to distribute such responsibility on
|
|
368
|
+
an equitable basis. Nothing herein is intended or shall be
|
|
369
|
+
deemed to constitute any admission of liability.
|
|
370
|
+
|
|
371
|
+
----------------------------------------------------------------
|
|
372
|
+
|
|
373
|
+
NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND
|
|
374
|
+
DISTRIBUTION LICENSE (CDDL): This code is released under the
|
|
375
|
+
CDDL and shall be governed by the laws of the State of
|
|
376
|
+
California (excluding conflict-of-law provisions). Any
|
|
377
|
+
litigation relating to this License shall be subject to the
|
|
378
|
+
jurisdiction of the Federal Courts of the Northern District of
|
|
379
|
+
California and the state courts of the State of California, with
|
|
380
|
+
venue lying in Santa Clara County, California.
|
|
381
|
+
|
|
382
|
+
----------------------------------------------------------------
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
========================================================================
|
|
387
|
+
Adobe DNG SDK 1.7.1
|
|
388
|
+
========================================================================
|
|
389
|
+
|
|
390
|
+
DNG SDK License Agreement
|
|
391
|
+
|
|
392
|
+
NOTICE TO USER: Adobe Inc. provides the Software and Documentation for
|
|
393
|
+
use under the terms of this Agreement. Any download, installation,
|
|
394
|
+
use, reproduction, modification or distribution of the Software or
|
|
395
|
+
Documentation, or any derivatives or portions thereof, constitutes
|
|
396
|
+
your acceptance of this Agreement.
|
|
397
|
+
|
|
398
|
+
As used in this Agreement,
|
|
399
|
+
|
|
400
|
+
"Adobe" means Adobe Inc.
|
|
401
|
+
|
|
402
|
+
"Software" means the software code, in any format, including sample
|
|
403
|
+
code and source code, accompanying this Agreement.
|
|
404
|
+
|
|
405
|
+
"Documentation" means the documents, specifications and all other
|
|
406
|
+
items accompanying this Agreement other than the Software.
|
|
407
|
+
|
|
408
|
+
1. LICENSE GRANT Software License. Subject to the restrictions below
|
|
409
|
+
and other terms of this Agreement, Adobe hereby grants you a
|
|
410
|
+
non-exclusive, worldwide, royalty free license to use, reproduce,
|
|
411
|
+
prepare derivative works from, publicly display, publicly perform,
|
|
412
|
+
distribute and sublicense the Software for any purpose.
|
|
413
|
+
|
|
414
|
+
Document License. Subject to the terms of this Agreement, Adobe hereby
|
|
415
|
+
grants you a non-exclusive, worldwide, royalty free license to make a
|
|
416
|
+
limited number of copies of the Documentation for your development
|
|
417
|
+
purposes and to publicly display, publicly perform and distribute such
|
|
418
|
+
copies. You may not modify the Documentation.
|
|
419
|
+
|
|
420
|
+
2. RESTRICTIONS AND OWNERSHIP You will not remove any copyright or
|
|
421
|
+
other notice included in the Software or Documentation and you will
|
|
422
|
+
include such notices in any copies of the Software that you distribute
|
|
423
|
+
in human-readable format.
|
|
424
|
+
|
|
425
|
+
You will not copy, use, display, modify or distribute the Software or
|
|
426
|
+
Documentation in any manner not permitted by this Agreement. No title
|
|
427
|
+
to the intellectual property in the Software or Documentation is
|
|
428
|
+
transferred to you under the terms of this Agreement. You do not
|
|
429
|
+
acquire any rights to the Software or the Documentation except as
|
|
430
|
+
expressly set forth in this Agreement. All rights not granted are
|
|
431
|
+
reserved by Adobe.
|
|
432
|
+
|
|
433
|
+
3. DISCLAIMER OF WARRANTY ADOBE PROVIDES THE SOFTWARE AND
|
|
434
|
+
DOCUMENTATION ONLY ON AN "AS IS" BASIS WITHOUT WARRANTIES OR
|
|
435
|
+
CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT
|
|
436
|
+
LIMITATION ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
|
|
437
|
+
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. ADOBE MAKES NO
|
|
438
|
+
WARRANTY THAT THE SOFTWARE OR DOCUMENTATION WILL BE ERROR-FREE. To the
|
|
439
|
+
extent permissible, any warranties that are not and cannot be excluded
|
|
440
|
+
by the foregoing are limited to ninety (90) days.
|
|
441
|
+
|
|
442
|
+
4. LIMITATION OF LIABILITY ADOBE AND ITS SUPPLIERS SHALL NOT BE LIABLE
|
|
443
|
+
FOR LOSS OR DAMAGE ARISING OUT OF THIS AGREEMENT OR FROM THE USE OF
|
|
444
|
+
THE SOFTWARE OR DOCUMENTATION. IN NO EVENT WILL ADOBE BE LIABLE TO YOU
|
|
445
|
+
OR ANY THIRD PARTY FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL,
|
|
446
|
+
INCIDENTAL, OR SPECIAL DAMAGES INCLUDING LOST PROFITS, LOST SAVINGS,
|
|
447
|
+
COSTS, FEES, OR EXPENSES OF ANY KIND ARISING OUT OF ANY PROVISION OF
|
|
448
|
+
THIS AGREEMENT OR THE USE OR THE INABILITY TO USE THE SOFTWARE OR
|
|
449
|
+
DOCUMENTATION, HOWEVER CAUSED AND UNDER ANY THEORY OF LIABILITY,
|
|
450
|
+
WHETHER IN CONTRACT, STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR
|
|
451
|
+
OTHERWISE), EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
452
|
+
ADOBE'S AGGREGATE LIABILITY AND THAT OF ITS SUPPLIERS UNDER OR IN
|
|
453
|
+
CONNECTION WITH THIS AGREEMENT SHALL BE LIMITED TO THE AMOUNT PAID BY
|
|
454
|
+
YOU FOR THE SOFTWARE AND DOCUMENTATION.
|
|
455
|
+
|
|
456
|
+
5. INDEMNIFICATION If you choose to distribute the Software in a
|
|
457
|
+
commercial product, you do so with the understanding that you agree to
|
|
458
|
+
defend, indemnify and hold harmless Adobe against any losses, damages
|
|
459
|
+
and costs arising from the claims, lawsuits or other legal actions
|
|
460
|
+
arising out of such distribution.
|
|
461
|
+
|
|
462
|
+
6. TRADEMARK USAGE Adobe and the DNG logo are the trademarks or
|
|
463
|
+
registered trademarks of Adobe Inc. in the United States and other
|
|
464
|
+
countries. Such trademarks may not be used to endorse or promote any
|
|
465
|
+
product unless expressly permitted under separate agreement with
|
|
466
|
+
Adobe. For information on how to license the DNG logo please go to
|
|
467
|
+
www.adobe.com.
|
|
468
|
+
|
|
469
|
+
7. TERM Your rights under this Agreement shall terminate if you fail
|
|
470
|
+
to comply with any of the material terms or conditions of this
|
|
471
|
+
Agreement. If all your rights under this Agreement terminate, you will
|
|
472
|
+
immediately cease use and distribution of the Software and
|
|
473
|
+
Documentation.
|
|
474
|
+
|
|
475
|
+
8. GOVERNING LAW AND JURISDICTION This Agreement is governed by the
|
|
476
|
+
statutes and laws of the State of California, without regard to the
|
|
477
|
+
conflicts of law principles thereof. The federal and state courts
|
|
478
|
+
located in Santa Clara County, California, USA, will have
|
|
479
|
+
non-exclusive jurisdiction over any dispute arising out of this
|
|
480
|
+
Agreement.
|
|
481
|
+
|
|
482
|
+
9. GENERAL This Agreement supersedes any prior agreement, oral or
|
|
483
|
+
written, between Adobe and you with respect to the licensing to you of
|
|
484
|
+
the Software and Documentation. No variation of the terms of this
|
|
485
|
+
Agreement will be enforceable against Adobe unless Adobe gives its
|
|
486
|
+
express consent in writing signed by an authorized signatory of Adobe.
|
|
487
|
+
If any part of this Agreement is found void and unenforceable, it will
|
|
488
|
+
not affect the validity of the balance of the Agreement, which shall
|
|
489
|
+
remain valid and enforceable according to its terms.
|
|
490
|
+
|
|
491
|
+
For licensing information on the DNG File Format Specification, which
|
|
492
|
+
is not included in the DNG SDK, please visit:
|
|
493
|
+
https://helpx.adobe.com/camera-raw/digital-negative.html
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
========================================================================
|
|
498
|
+
JPEG XL 0.11.2
|
|
499
|
+
========================================================================
|
|
500
|
+
|
|
501
|
+
Copyright (c) the JPEG XL Project Authors.
|
|
502
|
+
All rights reserved.
|
|
503
|
+
|
|
504
|
+
Redistribution and use in source and binary forms, with or without
|
|
505
|
+
modification, are permitted provided that the following conditions are met:
|
|
506
|
+
|
|
507
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
508
|
+
list of conditions and the following disclaimer.
|
|
509
|
+
|
|
510
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
511
|
+
this list of conditions and the following disclaimer in the documentation
|
|
512
|
+
and/or other materials provided with the distribution.
|
|
513
|
+
|
|
514
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
515
|
+
contributors may be used to endorse or promote products derived from
|
|
516
|
+
this software without specific prior written permission.
|
|
517
|
+
|
|
518
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
519
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
520
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
521
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
522
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
523
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
524
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
525
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
526
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
527
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
========================================================================
|
|
531
|
+
Brotli
|
|
532
|
+
========================================================================
|
|
533
|
+
|
|
534
|
+
Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
|
|
535
|
+
|
|
536
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
537
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
538
|
+
in the Software without restriction, including without limitation the rights
|
|
539
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
540
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
541
|
+
furnished to do so, subject to the following conditions:
|
|
542
|
+
|
|
543
|
+
The above copyright notice and this permission notice shall be included in
|
|
544
|
+
all copies or substantial portions of the Software.
|
|
545
|
+
|
|
546
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
547
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
548
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
549
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
550
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
551
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
552
|
+
THE SOFTWARE.
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
========================================================================
|
|
556
|
+
Highway
|
|
557
|
+
========================================================================
|
|
558
|
+
|
|
559
|
+
Apache License
|
|
560
|
+
Version 2.0, January 2004
|
|
561
|
+
http://www.apache.org/licenses/
|
|
562
|
+
|
|
563
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
564
|
+
|
|
565
|
+
1. Definitions.
|
|
566
|
+
|
|
567
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
568
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
569
|
+
|
|
570
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
571
|
+
the copyright owner that is granting the License.
|
|
572
|
+
|
|
573
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
574
|
+
other entities that control, are controlled by, or are under common
|
|
575
|
+
control with that entity. For the purposes of this definition,
|
|
576
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
577
|
+
direction or management of such entity, whether by contract or
|
|
578
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
579
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
580
|
+
|
|
581
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
582
|
+
exercising permissions granted by this License.
|
|
583
|
+
|
|
584
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
585
|
+
including but not limited to software source code, documentation
|
|
586
|
+
source, and configuration files.
|
|
587
|
+
|
|
588
|
+
"Object" form shall mean any form resulting from mechanical
|
|
589
|
+
transformation or translation of a Source form, including but
|
|
590
|
+
not limited to compiled object code, generated documentation,
|
|
591
|
+
and conversions to other media types.
|
|
592
|
+
|
|
593
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
594
|
+
Object form, made available under the License, as indicated by a
|
|
595
|
+
copyright notice that is included in or attached to the work
|
|
596
|
+
(an example is provided in the Appendix below).
|
|
597
|
+
|
|
598
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
599
|
+
form, that is based on (or derived from) the Work and for which the
|
|
600
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
601
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
602
|
+
of this License, Derivative Works shall not include works that remain
|
|
603
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
604
|
+
the Work and Derivative Works thereof.
|
|
605
|
+
|
|
606
|
+
"Contribution" shall mean any work of authorship, including
|
|
607
|
+
the original version of the Work and any modifications or additions
|
|
608
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
609
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
610
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
611
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
612
|
+
means any form of electronic, verbal, or written communication sent
|
|
613
|
+
to the Licensor or its representatives, including but not limited to
|
|
614
|
+
communication on electronic mailing lists, source code control systems,
|
|
615
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
616
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
617
|
+
excluding communication that is conspicuously marked or otherwise
|
|
618
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
619
|
+
|
|
620
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
621
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
622
|
+
subsequently incorporated within the Work.
|
|
623
|
+
|
|
624
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
625
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
626
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
627
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
628
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
629
|
+
Work and such Derivative Works in Source or Object form.
|
|
630
|
+
|
|
631
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
632
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
633
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
634
|
+
(except as stated in this section) patent license to make, have made,
|
|
635
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
636
|
+
where such license applies only to those patent claims licensable
|
|
637
|
+
by such Contributor that are necessarily infringed by their
|
|
638
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
639
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
640
|
+
institute patent litigation against any entity (including a
|
|
641
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
642
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
643
|
+
or contributory patent infringement, then any patent licenses
|
|
644
|
+
granted to You under this License for that Work shall terminate
|
|
645
|
+
as of the date such litigation is filed.
|
|
646
|
+
|
|
647
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
648
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
649
|
+
modifications, and in Source or Object form, provided that You
|
|
650
|
+
meet the following conditions:
|
|
651
|
+
|
|
652
|
+
(a) You must give any other recipients of the Work or
|
|
653
|
+
Derivative Works a copy of this License; and
|
|
654
|
+
|
|
655
|
+
(b) You must cause any modified files to carry prominent notices
|
|
656
|
+
stating that You changed the files; and
|
|
657
|
+
|
|
658
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
659
|
+
that You distribute, all copyright, patent, trademark, and
|
|
660
|
+
attribution notices from the Source form of the Work,
|
|
661
|
+
excluding those notices that do not pertain to any part of
|
|
662
|
+
the Derivative Works; and
|
|
663
|
+
|
|
664
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
665
|
+
distribution, then any Derivative Works that You distribute must
|
|
666
|
+
include a readable copy of the attribution notices contained
|
|
667
|
+
within such NOTICE file, excluding those notices that do not
|
|
668
|
+
pertain to any part of the Derivative Works, in at least one
|
|
669
|
+
of the following places: within a NOTICE text file distributed
|
|
670
|
+
as part of the Derivative Works; within the Source form or
|
|
671
|
+
documentation, if provided along with the Derivative Works; or,
|
|
672
|
+
within a display generated by the Derivative Works, if and
|
|
673
|
+
wherever such third-party notices normally appear. The contents
|
|
674
|
+
of the NOTICE file are for informational purposes only and
|
|
675
|
+
do not modify the License. You may add Your own attribution
|
|
676
|
+
notices within Derivative Works that You distribute, alongside
|
|
677
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
678
|
+
that such additional attribution notices cannot be construed
|
|
679
|
+
as modifying the License.
|
|
680
|
+
|
|
681
|
+
You may add Your own copyright statement to Your modifications and
|
|
682
|
+
may provide additional or different license terms and conditions
|
|
683
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
684
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
685
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
686
|
+
the conditions stated in this License.
|
|
687
|
+
|
|
688
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
689
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
690
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
691
|
+
this License, without any additional terms or conditions.
|
|
692
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
693
|
+
the terms of any separate license agreement you may have executed
|
|
694
|
+
with Licensor regarding such Contributions.
|
|
695
|
+
|
|
696
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
697
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
698
|
+
except as required for reasonable and customary use in describing the
|
|
699
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
700
|
+
|
|
701
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
702
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
703
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
704
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
705
|
+
implied, including, without limitation, any warranties or conditions
|
|
706
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
707
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
708
|
+
appropriateness of using or redistributing the Work and assume any
|
|
709
|
+
risks associated with Your exercise of permissions under this License.
|
|
710
|
+
|
|
711
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
712
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
713
|
+
unless required by applicable law (such as deliberate and grossly
|
|
714
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
715
|
+
liable to You for damages, including any direct, indirect, special,
|
|
716
|
+
incidental, or consequential damages of any character arising as a
|
|
717
|
+
result of this License or out of the use or inability to use the
|
|
718
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
719
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
720
|
+
other commercial damages or losses), even if such Contributor
|
|
721
|
+
has been advised of the possibility of such damages.
|
|
722
|
+
|
|
723
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
724
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
725
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
726
|
+
or other liability obligations and/or rights consistent with this
|
|
727
|
+
License. However, in accepting such obligations, You may act only
|
|
728
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
729
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
730
|
+
defend, and hold each Contributor harmless for any liability
|
|
731
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
732
|
+
of your accepting any such warranty or additional liability.
|
|
733
|
+
|
|
734
|
+
END OF TERMS AND CONDITIONS
|
|
735
|
+
|
|
736
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
737
|
+
|
|
738
|
+
To apply the Apache License to your work, attach the following
|
|
739
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
740
|
+
replaced with your own identifying information. (Don't include
|
|
741
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
742
|
+
comment syntax for the file format. We also recommend that a
|
|
743
|
+
file or class name and description of purpose be included on the
|
|
744
|
+
same "printed page" as the copyright notice for easier
|
|
745
|
+
identification within third-party archives.
|
|
746
|
+
|
|
747
|
+
Copyright [yyyy] [name of copyright owner]
|
|
748
|
+
|
|
749
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
750
|
+
you may not use this file except in compliance with the License.
|
|
751
|
+
You may obtain a copy of the License at
|
|
752
|
+
|
|
753
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
754
|
+
|
|
755
|
+
Unless required by applicable law or agreed to in writing, software
|
|
756
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
757
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
758
|
+
See the License for the specific language governing permissions and
|
|
759
|
+
limitations under the License.
|
|
760
|
+
|
|
761
|
+
========================================================================
|
|
762
|
+
Skia skcms
|
|
763
|
+
========================================================================
|
|
764
|
+
|
|
765
|
+
// Copyright (c) 2018 Google Inc. All rights reserved.
|
|
766
|
+
//
|
|
767
|
+
// Redistribution and use in source and binary forms, with or without
|
|
768
|
+
// modification, are permitted provided that the following conditions are
|
|
769
|
+
// met:
|
|
770
|
+
//
|
|
771
|
+
// * Redistributions of source code must retain the above copyright
|
|
772
|
+
// notice, this list of conditions and the following disclaimer.
|
|
773
|
+
// * Redistributions in binary form must reproduce the above
|
|
774
|
+
// copyright notice, this list of conditions and the following disclaimer
|
|
775
|
+
// in the documentation and/or other materials provided with the
|
|
776
|
+
// distribution.
|
|
777
|
+
// * Neither the name of Google Inc. nor the names of its
|
|
778
|
+
// contributors may be used to endorse or promote products derived from
|
|
779
|
+
// this software without specific prior written permission.
|
|
780
|
+
//
|
|
781
|
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
782
|
+
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
783
|
+
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
784
|
+
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
785
|
+
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
786
|
+
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
787
|
+
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
788
|
+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
789
|
+
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
790
|
+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
791
|
+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
792
|
+
|
|
793
|
+
--------------------------------------------------------------------------------
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
========================================================================
|
|
797
|
+
Independent JPEG Group 9f
|
|
798
|
+
========================================================================
|
|
799
|
+
|
|
800
|
+
The Independent JPEG Group's JPEG software
|
|
801
|
+
==========================================
|
|
802
|
+
|
|
803
|
+
README for release 9f of 14-Jan-2024
|
|
804
|
+
====================================
|
|
805
|
+
|
|
806
|
+
This distribution contains the ninth public release of the Independent JPEG
|
|
807
|
+
Group's free JPEG software. You are welcome to redistribute this software and
|
|
808
|
+
to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
|
|
809
|
+
|
|
810
|
+
This software is the work of Tom Lane, Guido Vollbeding, Philip Gladstone,
|
|
811
|
+
Bill Allombert, Jim Boucher, Lee Crocker, Bob Friesenhahn, Ben Jackson,
|
|
812
|
+
John Korejwa, Julian Minguillon, Luis Ortiz, George Phillips, Davide Rossi,
|
|
813
|
+
Ge' Weijers, and other members of the Independent JPEG Group.
|
|
814
|
+
|
|
815
|
+
IJG is not affiliated with the ISO/IEC JTC1/SC29/WG1 standards committee
|
|
816
|
+
(previously known as JPEG, together with ITU-T SG16).
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
DOCUMENTATION ROADMAP
|
|
820
|
+
=====================
|
|
821
|
+
|
|
822
|
+
This file contains the following sections:
|
|
823
|
+
|
|
824
|
+
OVERVIEW General description of JPEG and the IJG software.
|
|
825
|
+
LEGAL ISSUES Copyright, lack of warranty, terms of distribution.
|
|
826
|
+
REFERENCES Where to learn more about JPEG.
|
|
827
|
+
ARCHIVE LOCATIONS Where to find newer versions of this software.
|
|
828
|
+
ACKNOWLEDGMENTS Special thanks.
|
|
829
|
+
FILE FORMAT WARS Software *not* to get.
|
|
830
|
+
TO DO Plans for future IJG releases.
|
|
831
|
+
|
|
832
|
+
Other documentation files in the distribution are:
|
|
833
|
+
|
|
834
|
+
User documentation:
|
|
835
|
+
install.txt How to configure and install the IJG software.
|
|
836
|
+
usage.txt Usage instructions for cjpeg, djpeg, jpegtran,
|
|
837
|
+
rdjpgcom, and wrjpgcom.
|
|
838
|
+
*.1 Unix-style man pages for programs (same info as usage.txt).
|
|
839
|
+
wizard.txt Advanced usage instructions for JPEG wizards only.
|
|
840
|
+
cdaltui.txt Description of alternate user interface for cjpeg/djpeg.
|
|
841
|
+
change.log Version-to-version change highlights.
|
|
842
|
+
Programmer and internal documentation:
|
|
843
|
+
libjpeg.txt How to use the JPEG library in your own programs.
|
|
844
|
+
example.c Sample code for calling the JPEG library.
|
|
845
|
+
structure.txt Overview of the JPEG library's internal structure.
|
|
846
|
+
filelist.txt Road map of IJG files.
|
|
847
|
+
coderules.txt Coding style rules --- please read if you contribute code.
|
|
848
|
+
|
|
849
|
+
Please read at least the files install.txt and usage.txt. Some information
|
|
850
|
+
can also be found in the JPEG FAQ (Frequently Asked Questions) article. See
|
|
851
|
+
ARCHIVE LOCATIONS below to find out where to obtain the FAQ article.
|
|
852
|
+
|
|
853
|
+
If you want to understand how the JPEG code works, we suggest reading one or
|
|
854
|
+
more of the REFERENCES, then looking at the documentation files (in roughly
|
|
855
|
+
the order listed) before diving into the code.
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
OVERVIEW
|
|
859
|
+
========
|
|
860
|
+
|
|
861
|
+
This package contains C software to implement JPEG image encoding, decoding,
|
|
862
|
+
and transcoding. JPEG (pronounced "jay-peg") is a standardized compression
|
|
863
|
+
method for full-color and grayscale images.
|
|
864
|
+
|
|
865
|
+
This software implements JPEG baseline, extended-sequential, and progressive
|
|
866
|
+
compression processes. Provision is made for supporting all variants of these
|
|
867
|
+
processes, although some uncommon parameter settings aren't implemented yet.
|
|
868
|
+
We have made no provision for supporting the hierarchical or lossless
|
|
869
|
+
processes defined in the standard.
|
|
870
|
+
|
|
871
|
+
We provide a set of library routines for reading and writing JPEG image files,
|
|
872
|
+
plus two sample applications "cjpeg" and "djpeg", which use the library to
|
|
873
|
+
perform conversion between JPEG and some other popular image file formats.
|
|
874
|
+
The library is intended to be reused in other applications.
|
|
875
|
+
|
|
876
|
+
In order to support file conversion and viewing software, we have included
|
|
877
|
+
considerable functionality beyond the bare JPEG coding/decoding capability;
|
|
878
|
+
for example, the color quantization modules are not strictly part of JPEG
|
|
879
|
+
decoding, but they are essential for output to colormapped file formats or
|
|
880
|
+
colormapped displays. These extra functions can be compiled out of the
|
|
881
|
+
library if not required for a particular application.
|
|
882
|
+
|
|
883
|
+
We have also included "jpegtran", a utility for lossless transcoding between
|
|
884
|
+
different JPEG processes, and "rdjpgcom" and "wrjpgcom", two simple
|
|
885
|
+
applications for inserting and extracting textual comments in JFIF files.
|
|
886
|
+
|
|
887
|
+
The emphasis in designing this software has been on achieving portability and
|
|
888
|
+
flexibility, while also making it fast enough to be useful. In particular,
|
|
889
|
+
the software is not intended to be read as a tutorial on JPEG. (See the
|
|
890
|
+
REFERENCES section for introductory material.) Rather, it is intended to
|
|
891
|
+
be reliable, portable, industrial-strength code. We do not claim to have
|
|
892
|
+
achieved that goal in every aspect of the software, but we strive for it.
|
|
893
|
+
|
|
894
|
+
We welcome the use of this software as a component of commercial products.
|
|
895
|
+
No royalty is required, but we do ask for an acknowledgement in product
|
|
896
|
+
documentation, as described under LEGAL ISSUES.
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
LEGAL ISSUES
|
|
900
|
+
============
|
|
901
|
+
|
|
902
|
+
In plain English:
|
|
903
|
+
|
|
904
|
+
1. We don't promise that this software works. (But if you find any bugs,
|
|
905
|
+
please let us know!)
|
|
906
|
+
2. You can use this software for whatever you want. You don't have to pay us.
|
|
907
|
+
3. You may not pretend that you wrote this software. If you use it in a
|
|
908
|
+
program, you must acknowledge somewhere in your documentation that
|
|
909
|
+
you've used the IJG code.
|
|
910
|
+
|
|
911
|
+
In legalese:
|
|
912
|
+
|
|
913
|
+
The authors make NO WARRANTY or representation, either express or implied,
|
|
914
|
+
with respect to this software, its quality, accuracy, merchantability, or
|
|
915
|
+
fitness for a particular purpose. This software is provided "AS IS", and you,
|
|
916
|
+
its user, assume the entire risk as to its quality and accuracy.
|
|
917
|
+
|
|
918
|
+
This software is copyright (C) 1991-2024, Thomas G. Lane, Guido Vollbeding.
|
|
919
|
+
All Rights Reserved except as specified below.
|
|
920
|
+
|
|
921
|
+
Permission is hereby granted to use, copy, modify, and distribute this
|
|
922
|
+
software (or portions thereof) for any purpose, without fee, subject to these
|
|
923
|
+
conditions:
|
|
924
|
+
(1) If any part of the source code for this software is distributed, then this
|
|
925
|
+
README file must be included, with this copyright and no-warranty notice
|
|
926
|
+
unaltered; and any additions, deletions, or changes to the original files
|
|
927
|
+
must be clearly indicated in accompanying documentation.
|
|
928
|
+
(2) If only executable code is distributed, then the accompanying
|
|
929
|
+
documentation must state that "this software is based in part on the work of
|
|
930
|
+
the Independent JPEG Group".
|
|
931
|
+
(3) Permission for use of this software is granted only if the user accepts
|
|
932
|
+
full responsibility for any undesirable consequences; the authors accept
|
|
933
|
+
NO LIABILITY for damages of any kind.
|
|
934
|
+
|
|
935
|
+
These conditions apply to any software derived from or based on the IJG code,
|
|
936
|
+
not just to the unmodified library. If you use our work, you ought to
|
|
937
|
+
acknowledge us.
|
|
938
|
+
|
|
939
|
+
Permission is NOT granted for the use of any IJG author's name or company name
|
|
940
|
+
in advertising or publicity relating to this software or products derived from
|
|
941
|
+
it. This software may be referred to only as "the Independent JPEG Group's
|
|
942
|
+
software".
|
|
943
|
+
|
|
944
|
+
We specifically permit and encourage the use of this software as the basis of
|
|
945
|
+
commercial products, provided that all warranty or liability claims are
|
|
946
|
+
assumed by the product vendor.
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
The Unix configuration script "configure" was produced with GNU Autoconf.
|
|
950
|
+
It is copyright by the Free Software Foundation but is freely distributable.
|
|
951
|
+
The same holds for its supporting scripts (config.guess, config.sub,
|
|
952
|
+
ltmain.sh). Another support script, install-sh, is copyright by X Consortium
|
|
953
|
+
but is also freely distributable.
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
REFERENCES
|
|
957
|
+
==========
|
|
958
|
+
|
|
959
|
+
We recommend reading one or more of these references before trying to
|
|
960
|
+
understand the innards of the JPEG software.
|
|
961
|
+
|
|
962
|
+
The best short technical introduction to the JPEG compression algorithm is
|
|
963
|
+
Wallace, Gregory K. "The JPEG Still Picture Compression Standard",
|
|
964
|
+
Communications of the ACM, April 1991 (vol. 34 no. 4), pp. 30-44.
|
|
965
|
+
(Adjacent articles in that issue discuss MPEG motion picture compression,
|
|
966
|
+
applications of JPEG, and related topics.) If you don't have the CACM issue
|
|
967
|
+
handy, a PDF file containing a revised version of Wallace's article is
|
|
968
|
+
available at https://www.ijg.org/files/Wallace.JPEG.pdf. The file (actually
|
|
969
|
+
a preprint for an article that appeared in IEEE Trans. Consumer Electronics)
|
|
970
|
+
omits the sample images that appeared in CACM, but it includes corrections
|
|
971
|
+
and some added material. Note: the Wallace article is copyright ACM and IEEE,
|
|
972
|
+
and it may not be used for commercial purposes.
|
|
973
|
+
|
|
974
|
+
A somewhat less technical, more leisurely introduction to JPEG can be found in
|
|
975
|
+
"The Data Compression Book" by Mark Nelson and Jean-loup Gailly, published by
|
|
976
|
+
M&T Books (New York), 2nd ed. 1996, ISBN 1-55851-434-1. This book provides
|
|
977
|
+
good explanations and example C code for a multitude of compression methods
|
|
978
|
+
including JPEG. It is an excellent source if you are comfortable reading C
|
|
979
|
+
code but don't know much about data compression in general. The book's JPEG
|
|
980
|
+
sample code is far from industrial-strength, but when you are ready to look
|
|
981
|
+
at a full implementation, you've got one here...
|
|
982
|
+
|
|
983
|
+
The best currently available description of JPEG is the textbook "JPEG Still
|
|
984
|
+
Image Data Compression Standard" by William B. Pennebaker and Joan L.
|
|
985
|
+
Mitchell, published by Van Nostrand Reinhold, 1993, ISBN 0-442-01272-1.
|
|
986
|
+
Price US$59.95, 638 pp. The book includes the complete text of the ISO JPEG
|
|
987
|
+
standards (DIS 10918-1 and draft DIS 10918-2).
|
|
988
|
+
Although this is by far the most detailed and comprehensive exposition of
|
|
989
|
+
JPEG publicly available, we point out that it is still missing an explanation
|
|
990
|
+
of the most essential properties and algorithms of the underlying DCT
|
|
991
|
+
technology.
|
|
992
|
+
If you think that you know about DCT-based JPEG after reading this book,
|
|
993
|
+
then you are in delusion. The real fundamentals and corresponding potential
|
|
994
|
+
of DCT-based JPEG are not publicly known so far, and that is the reason for
|
|
995
|
+
all the mistaken developments taking place in the image coding domain.
|
|
996
|
+
|
|
997
|
+
The original JPEG standard is divided into two parts, Part 1 being the actual
|
|
998
|
+
specification, while Part 2 covers compliance testing methods. Part 1 is
|
|
999
|
+
titled "Digital Compression and Coding of Continuous-tone Still Images,
|
|
1000
|
+
Part 1: Requirements and guidelines" and has document numbers ISO/IEC IS
|
|
1001
|
+
10918-1, ITU-T T.81. Part 2 is titled "Digital Compression and Coding of
|
|
1002
|
+
Continuous-tone Still Images, Part 2: Compliance testing" and has document
|
|
1003
|
+
numbers ISO/IEC IS 10918-2, ITU-T T.83.
|
|
1004
|
+
IJG JPEG 8 introduced an implementation of the JPEG SmartScale extension
|
|
1005
|
+
which is specified in two documents: A contributed document at ITU and ISO
|
|
1006
|
+
with title "ITU-T JPEG-Plus Proposal for Extending ITU-T T.81 for Advanced
|
|
1007
|
+
Image Coding", April 2006, Geneva, Switzerland. The latest version of this
|
|
1008
|
+
document is Revision 3. And a contributed document ISO/IEC JTC1/SC29/WG1 N
|
|
1009
|
+
5799 with title "Evolution of JPEG", June/July 2011, Berlin, Germany.
|
|
1010
|
+
IJG JPEG 9 introduces a reversible color transform for improved lossless
|
|
1011
|
+
compression which is described in a contributed document ISO/IEC JTC1/SC29/
|
|
1012
|
+
WG1 N 6080 with title "JPEG 9 Lossless Coding", June/July 2012, Paris, France.
|
|
1013
|
+
|
|
1014
|
+
The JPEG standard does not specify all details of an interchangeable file
|
|
1015
|
+
format. For the omitted details we follow the "JFIF" conventions, version 2.
|
|
1016
|
+
JFIF version 1 has been adopted as Recommendation ITU-T T.871 (05/2011) :
|
|
1017
|
+
Information technology - Digital compression and coding of continuous-tone
|
|
1018
|
+
still images: JPEG File Interchange Format (JFIF). It is available as a
|
|
1019
|
+
free download in PDF file format from https://www.itu.int/rec/T-REC-T.871.
|
|
1020
|
+
A PDF file of the older JFIF document is available at
|
|
1021
|
+
https://www.w3.org/Graphics/JPEG/jfif3.pdf.
|
|
1022
|
+
|
|
1023
|
+
The TIFF 6.0 file format specification can be obtained by FTP from
|
|
1024
|
+
ftp://ftp.sgi.com/graphics/tiff/TIFF6.ps.gz. The JPEG incorporation scheme
|
|
1025
|
+
found in the TIFF 6.0 spec of 3-June-92 has a number of serious problems.
|
|
1026
|
+
IJG does not recommend use of the TIFF 6.0 design (TIFF Compression tag 6).
|
|
1027
|
+
Instead, we recommend the JPEG design proposed by TIFF Technical Note #2
|
|
1028
|
+
(Compression tag 7). Copies of this Note can be obtained from
|
|
1029
|
+
https://www.ijg.org/files/. It is expected that the next revision
|
|
1030
|
+
of the TIFF spec will replace the 6.0 JPEG design with the Note's design.
|
|
1031
|
+
Although IJG's own code does not support TIFF/JPEG, the free libtiff library
|
|
1032
|
+
uses our library to implement TIFF/JPEG per the Note.
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
ARCHIVE LOCATIONS
|
|
1036
|
+
=================
|
|
1037
|
+
|
|
1038
|
+
The "official" archive site for this software is www.ijg.org.
|
|
1039
|
+
The most recent released version can always be found there in
|
|
1040
|
+
directory "files". This particular version will be archived
|
|
1041
|
+
in Windows-compatible "zip" archive format as
|
|
1042
|
+
https://www.ijg.org/files/jpegsr9f.zip, and
|
|
1043
|
+
in Unix-compatible "tar.gz" archive format as
|
|
1044
|
+
https://www.ijg.org/files/jpegsrc.v9f.tar.gz.
|
|
1045
|
+
|
|
1046
|
+
The JPEG FAQ (Frequently Asked Questions) article is a source of some
|
|
1047
|
+
general information about JPEG.
|
|
1048
|
+
It is available on the World Wide Web at http://www.faqs.org/faqs/jpeg-faq/
|
|
1049
|
+
and other news.answers archive sites, including the official news.answers
|
|
1050
|
+
archive at rtfm.mit.edu: ftp://rtfm.mit.edu/pub/usenet/news.answers/jpeg-faq/.
|
|
1051
|
+
If you don't have Web or FTP access, send e-mail to mail-server@rtfm.mit.edu
|
|
1052
|
+
with body
|
|
1053
|
+
send usenet/news.answers/jpeg-faq/part1
|
|
1054
|
+
send usenet/news.answers/jpeg-faq/part2
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
ACKNOWLEDGMENTS
|
|
1058
|
+
===============
|
|
1059
|
+
|
|
1060
|
+
Thank to Juergen Bruder for providing me with a copy of the common DCT
|
|
1061
|
+
algorithm article, only to find out that I had come to the same result
|
|
1062
|
+
in a more direct and comprehensible way with a more generative approach.
|
|
1063
|
+
|
|
1064
|
+
Thank to Istvan Sebestyen and Joan L. Mitchell for inviting me to the
|
|
1065
|
+
ITU JPEG (Study Group 16) meeting in Geneva, Switzerland.
|
|
1066
|
+
|
|
1067
|
+
Thank to Thomas Wiegand and Gary Sullivan for inviting me to the
|
|
1068
|
+
Joint Video Team (MPEG & ITU) meeting in Geneva, Switzerland.
|
|
1069
|
+
|
|
1070
|
+
Thank to Thomas Richter and Daniel Lee for inviting me to the
|
|
1071
|
+
ISO/IEC JTC1/SC29/WG1 (previously known as JPEG, together with ITU-T SG16)
|
|
1072
|
+
meeting in Berlin, Germany.
|
|
1073
|
+
|
|
1074
|
+
Thank to John Korejwa and Massimo Ballerini for inviting me to
|
|
1075
|
+
fruitful consultations in Boston, MA and Milan, Italy.
|
|
1076
|
+
|
|
1077
|
+
Thank to Hendrik Elstner, Roland Fassauer, Simone Zuck, Guenther
|
|
1078
|
+
Maier-Gerber, Walter Stoeber, Fred Schmitz, and Norbert Braunagel
|
|
1079
|
+
for corresponding business development.
|
|
1080
|
+
|
|
1081
|
+
Thank to Nico Zschach and Dirk Stelling of the technical support team
|
|
1082
|
+
at the Digital Images company in Halle for providing me with extra
|
|
1083
|
+
equipment for configuration tests.
|
|
1084
|
+
|
|
1085
|
+
Thank to Richard F. Lyon (then of Foveon Inc.) for fruitful
|
|
1086
|
+
communication about JPEG configuration in Sigma Photo Pro software.
|
|
1087
|
+
|
|
1088
|
+
Thank to Andrew Finkenstadt for hosting the ijg.org site.
|
|
1089
|
+
|
|
1090
|
+
Thank to Thomas G. Lane for the original design and development
|
|
1091
|
+
of this singular software package.
|
|
1092
|
+
|
|
1093
|
+
Thank to Lars Goehler, Andreas Heinecke, Sebastian Fuss,
|
|
1094
|
+
Yvonne Roebert, Andrej Werner, Ulf-Dietrich Braumann,
|
|
1095
|
+
and Nina Ssymank for support and public relations.
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
FILE FORMAT WARS
|
|
1099
|
+
================
|
|
1100
|
+
|
|
1101
|
+
The ISO/IEC JTC1/SC29/WG1 standards committee (previously known as JPEG,
|
|
1102
|
+
together with ITU-T SG16) currently promotes different formats containing
|
|
1103
|
+
the name "JPEG" which is misleading because these formats are incompatible
|
|
1104
|
+
with original DCT-based JPEG and are based on faulty technologies.
|
|
1105
|
+
IJG therefore does not and will not support such momentary mistakes
|
|
1106
|
+
(see REFERENCES).
|
|
1107
|
+
There exist also distributions under the name "OpenJPEG" promoting such
|
|
1108
|
+
kind of formats which is misleading because they don't support original
|
|
1109
|
+
JPEG images.
|
|
1110
|
+
We have no sympathy for the promotion of inferior formats. Indeed, one of
|
|
1111
|
+
the original reasons for developing this free software was to help force
|
|
1112
|
+
convergence on common, interoperable format standards for JPEG files.
|
|
1113
|
+
Don't use an incompatible file format!
|
|
1114
|
+
(In any case, our decoder will remain capable of reading existing JPEG
|
|
1115
|
+
image files indefinitely.)
|
|
1116
|
+
|
|
1117
|
+
The ISO committee pretends to be "responsible for the popular JPEG" in their
|
|
1118
|
+
public reports which is not true because they don't respond to actual
|
|
1119
|
+
requirements for the maintenance of the original JPEG specification.
|
|
1120
|
+
Furthermore, the ISO committee pretends to "ensure interoperability" with
|
|
1121
|
+
their standards which is not true because their "standards" support only
|
|
1122
|
+
application-specific and proprietary use cases and contain mathematically
|
|
1123
|
+
incorrect code.
|
|
1124
|
+
|
|
1125
|
+
There are currently different distributions in circulation containing the
|
|
1126
|
+
name "libjpeg" which is misleading because they don't have the features and
|
|
1127
|
+
are incompatible with formats supported by actual IJG libjpeg distributions.
|
|
1128
|
+
One of those fakes is released by members of the ISO committee and just uses
|
|
1129
|
+
the name of libjpeg for misdirection of people, similar to the abuse of the
|
|
1130
|
+
name JPEG as described above, while having nothing in common with actual IJG
|
|
1131
|
+
libjpeg distributions and containing mathematically incorrect code.
|
|
1132
|
+
The other one claims to be a "derivative" or "fork" of the original libjpeg,
|
|
1133
|
+
but violates the license conditions as described under LEGAL ISSUES above
|
|
1134
|
+
and violates basic C programming properties.
|
|
1135
|
+
We have no sympathy for the release of misleading, incorrect and illegal
|
|
1136
|
+
distributions derived from obsolete code bases.
|
|
1137
|
+
Don't use an obsolete code base!
|
|
1138
|
+
|
|
1139
|
+
According to the UCC (Uniform Commercial Code) law, IJG has the lawful and
|
|
1140
|
+
legal right to foreclose on certain standardization bodies and other
|
|
1141
|
+
institutions or corporations that knowingly perform substantial and
|
|
1142
|
+
systematic deceptive acts and practices, fraud, theft, and damaging of the
|
|
1143
|
+
value of the people of this planet without their knowing, willing and
|
|
1144
|
+
intentional consent.
|
|
1145
|
+
The titles, ownership, and rights of these institutions and all their assets
|
|
1146
|
+
are now duly secured and held in trust for the free people of this planet.
|
|
1147
|
+
People of the planet, on every country, may have a financial interest in
|
|
1148
|
+
the assets of these former principals, agents, and beneficiaries of the
|
|
1149
|
+
foreclosed institutions and corporations.
|
|
1150
|
+
IJG asserts what is: that each man, woman, and child has unalienable value
|
|
1151
|
+
and rights granted and deposited in them by the Creator and not any one of
|
|
1152
|
+
the people is subordinate to any artificial principality, corporate fiction
|
|
1153
|
+
or the special interest of another without their appropriate knowing,
|
|
1154
|
+
willing and intentional consent made by contract or accommodation agreement.
|
|
1155
|
+
IJG expresses that which already was.
|
|
1156
|
+
The people have already determined and demanded that public administration
|
|
1157
|
+
entities, national governments, and their supporting judicial systems must
|
|
1158
|
+
be fully transparent, accountable, and liable.
|
|
1159
|
+
IJG has secured the value for all concerned free people of the planet.
|
|
1160
|
+
|
|
1161
|
+
A partial list of foreclosed institutions and corporations ("Hall of Shame")
|
|
1162
|
+
is currently prepared and will be published later.
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
TO DO
|
|
1166
|
+
=====
|
|
1167
|
+
|
|
1168
|
+
Version 9 is the second release of a new generation JPEG standard
|
|
1169
|
+
to overcome the limitations of the original JPEG specification,
|
|
1170
|
+
and is the first true source reference JPEG codec.
|
|
1171
|
+
More features are being prepared for coming releases...
|
|
1172
|
+
|
|
1173
|
+
Please send bug reports, offers of help, etc. to jpeg-info@ijg.org.
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
========================================================================
|
|
1177
|
+
zlib 1.3.2
|
|
1178
|
+
========================================================================
|
|
1179
|
+
|
|
1180
|
+
Copyright notice:
|
|
1181
|
+
|
|
1182
|
+
(C) 1995-2026 Jean-loup Gailly and Mark Adler
|
|
1183
|
+
|
|
1184
|
+
This software is provided 'as-is', without any express or implied
|
|
1185
|
+
warranty. In no event will the authors be held liable for any damages
|
|
1186
|
+
arising from the use of this software.
|
|
1187
|
+
|
|
1188
|
+
Permission is granted to anyone to use this software for any purpose,
|
|
1189
|
+
including commercial applications, and to alter it and redistribute it
|
|
1190
|
+
freely, subject to the following restrictions:
|
|
1191
|
+
|
|
1192
|
+
1. The origin of this software must not be misrepresented; you must not
|
|
1193
|
+
claim that you wrote the original software. If you use this software
|
|
1194
|
+
in a product, an acknowledgment in the product documentation would be
|
|
1195
|
+
appreciated but is not required.
|
|
1196
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
1197
|
+
misrepresented as being the original software.
|
|
1198
|
+
3. This notice may not be removed or altered from any source distribution.
|
|
1199
|
+
|
|
1200
|
+
Jean-loup Gailly Mark Adler
|
|
1201
|
+
jloup@gzip.org madler@alumni.caltech.edu
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
========================================================================
|
|
1205
|
+
Emscripten 6.0.9
|
|
1206
|
+
========================================================================
|
|
1207
|
+
|
|
1208
|
+
Emscripten is available under 2 licenses, the MIT license and the
|
|
1209
|
+
University of Illinois/NCSA Open Source License.
|
|
1210
|
+
|
|
1211
|
+
Both are permissive open source licenses, with little if any
|
|
1212
|
+
practical difference between them.
|
|
1213
|
+
|
|
1214
|
+
The reason for offering both is that (1) the MIT license is
|
|
1215
|
+
well-known, while (2) the University of Illinois/NCSA Open Source
|
|
1216
|
+
License allows Emscripten's code to be integrated upstream into
|
|
1217
|
+
LLVM, which uses that license, should the opportunity arise.
|
|
1218
|
+
|
|
1219
|
+
The full text of both licenses follows.
|
|
1220
|
+
|
|
1221
|
+
==============================================================================
|
|
1222
|
+
|
|
1223
|
+
Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
|
|
1224
|
+
|
|
1225
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1226
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1227
|
+
in the Software without restriction, including without limitation the rights
|
|
1228
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1229
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1230
|
+
furnished to do so, subject to the following conditions:
|
|
1231
|
+
|
|
1232
|
+
The above copyright notice and this permission notice shall be included in
|
|
1233
|
+
all copies or substantial portions of the Software.
|
|
1234
|
+
|
|
1235
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1236
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1237
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1238
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1239
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1240
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1241
|
+
THE SOFTWARE.
|
|
1242
|
+
|
|
1243
|
+
==============================================================================
|
|
1244
|
+
|
|
1245
|
+
Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
|
|
1246
|
+
All rights reserved.
|
|
1247
|
+
|
|
1248
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
1249
|
+
copy of this software and associated documentation files (the
|
|
1250
|
+
"Software"), to deal with the Software without restriction, including
|
|
1251
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
1252
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
1253
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
1254
|
+
the following conditions:
|
|
1255
|
+
|
|
1256
|
+
Redistributions of source code must retain the above copyright
|
|
1257
|
+
notice, this list of conditions and the following disclaimers.
|
|
1258
|
+
|
|
1259
|
+
Redistributions in binary form must reproduce the above
|
|
1260
|
+
copyright notice, this list of conditions and the following disclaimers
|
|
1261
|
+
in the documentation and/or other materials provided with the
|
|
1262
|
+
distribution.
|
|
1263
|
+
|
|
1264
|
+
Neither the names of Mozilla,
|
|
1265
|
+
nor the names of its contributors may be used to endorse
|
|
1266
|
+
or promote products derived from this Software without specific prior
|
|
1267
|
+
written permission.
|
|
1268
|
+
|
|
1269
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
1270
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
1271
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1272
|
+
IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
|
|
1273
|
+
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
1274
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1275
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
|
|
1276
|
+
|
|
1277
|
+
==============================================================================
|
|
1278
|
+
|
|
1279
|
+
This program uses portions of Node.js source code located in src/library_path.js,
|
|
1280
|
+
in accordance with the terms of the MIT license. Node's license follows:
|
|
1281
|
+
|
|
1282
|
+
"""
|
|
1283
|
+
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
1284
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1285
|
+
of this software and associated documentation files (the "Software"), to
|
|
1286
|
+
deal in the Software without restriction, including without limitation the
|
|
1287
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
1288
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
1289
|
+
furnished to do so, subject to the following conditions:
|
|
1290
|
+
|
|
1291
|
+
The above copyright notice and this permission notice shall be included in
|
|
1292
|
+
all copies or substantial portions of the Software.
|
|
1293
|
+
|
|
1294
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1295
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1296
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1297
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1298
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
1299
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
1300
|
+
IN THE SOFTWARE.
|
|
1301
|
+
"""
|
|
1302
|
+
|
|
1303
|
+
The musl libc project is bundled in this repo, and it has the MIT license, see
|
|
1304
|
+
system/lib/libc/musl/COPYRIGHT
|
|
1305
|
+
|
|
1306
|
+
The third_party/ subdirectory contains code with other licenses. None of it is
|
|
1307
|
+
used by default, but certain options use it (e.g., the optional closure compiler
|
|
1308
|
+
flag will run closure compiler from third_party/).
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
========================================================================
|
|
1313
|
+
musl libc
|
|
1314
|
+
========================================================================
|
|
1315
|
+
|
|
1316
|
+
musl as a whole is licensed under the following standard MIT license:
|
|
1317
|
+
|
|
1318
|
+
----------------------------------------------------------------------
|
|
1319
|
+
Copyright © 2005-2020 Rich Felker, et al.
|
|
1320
|
+
|
|
1321
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
1322
|
+
a copy of this software and associated documentation files (the
|
|
1323
|
+
"Software"), to deal in the Software without restriction, including
|
|
1324
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
1325
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
1326
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
1327
|
+
the following conditions:
|
|
1328
|
+
|
|
1329
|
+
The above copyright notice and this permission notice shall be
|
|
1330
|
+
included in all copies or substantial portions of the Software.
|
|
1331
|
+
|
|
1332
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
1333
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
1334
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1335
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
1336
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
1337
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1338
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1339
|
+
----------------------------------------------------------------------
|
|
1340
|
+
|
|
1341
|
+
Authors/contributors include:
|
|
1342
|
+
|
|
1343
|
+
A. Wilcox
|
|
1344
|
+
Ada Worcester
|
|
1345
|
+
Alex Dowad
|
|
1346
|
+
Alex Suykov
|
|
1347
|
+
Alexander Monakov
|
|
1348
|
+
Andre McCurdy
|
|
1349
|
+
Andrew Kelley
|
|
1350
|
+
Anthony G. Basile
|
|
1351
|
+
Aric Belsito
|
|
1352
|
+
Arvid Picciani
|
|
1353
|
+
Bartosz Brachaczek
|
|
1354
|
+
Benjamin Peterson
|
|
1355
|
+
Bobby Bingham
|
|
1356
|
+
Boris Brezillon
|
|
1357
|
+
Brent Cook
|
|
1358
|
+
Chris Spiegel
|
|
1359
|
+
Clément Vasseur
|
|
1360
|
+
Daniel Micay
|
|
1361
|
+
Daniel Sabogal
|
|
1362
|
+
Daurnimator
|
|
1363
|
+
David Carlier
|
|
1364
|
+
David Edelsohn
|
|
1365
|
+
Denys Vlasenko
|
|
1366
|
+
Dmitry Ivanov
|
|
1367
|
+
Dmitry V. Levin
|
|
1368
|
+
Drew DeVault
|
|
1369
|
+
Emil Renner Berthing
|
|
1370
|
+
Fangrui Song
|
|
1371
|
+
Felix Fietkau
|
|
1372
|
+
Felix Janda
|
|
1373
|
+
Gianluca Anzolin
|
|
1374
|
+
Hauke Mehrtens
|
|
1375
|
+
He X
|
|
1376
|
+
Hiltjo Posthuma
|
|
1377
|
+
Isaac Dunham
|
|
1378
|
+
Jaydeep Patil
|
|
1379
|
+
Jens Gustedt
|
|
1380
|
+
Jeremy Huntwork
|
|
1381
|
+
Jo-Philipp Wich
|
|
1382
|
+
Joakim Sindholt
|
|
1383
|
+
John Spencer
|
|
1384
|
+
Julien Ramseier
|
|
1385
|
+
Justin Cormack
|
|
1386
|
+
Kaarle Ritvanen
|
|
1387
|
+
Khem Raj
|
|
1388
|
+
Kylie McClain
|
|
1389
|
+
Leah Neukirchen
|
|
1390
|
+
Luca Barbato
|
|
1391
|
+
Luka Perkov
|
|
1392
|
+
Lynn Ochs
|
|
1393
|
+
M Farkas-Dyck (Strake)
|
|
1394
|
+
Mahesh Bodapati
|
|
1395
|
+
Markus Wichmann
|
|
1396
|
+
Masanori Ogino
|
|
1397
|
+
Michael Clark
|
|
1398
|
+
Michael Forney
|
|
1399
|
+
Mikhail Kremnyov
|
|
1400
|
+
Natanael Copa
|
|
1401
|
+
Nicholas J. Kain
|
|
1402
|
+
orc
|
|
1403
|
+
Pascal Cuoq
|
|
1404
|
+
Patrick Oppenlander
|
|
1405
|
+
Petr Hosek
|
|
1406
|
+
Petr Skocik
|
|
1407
|
+
Pierre Carrier
|
|
1408
|
+
Reini Urban
|
|
1409
|
+
Rich Felker
|
|
1410
|
+
Richard Pennington
|
|
1411
|
+
Ryan Fairfax
|
|
1412
|
+
Samuel Holland
|
|
1413
|
+
Segev Finer
|
|
1414
|
+
Shiz
|
|
1415
|
+
sin
|
|
1416
|
+
Solar Designer
|
|
1417
|
+
Stefan Kristiansson
|
|
1418
|
+
Stefan O'Rear
|
|
1419
|
+
Szabolcs Nagy
|
|
1420
|
+
Timo Teräs
|
|
1421
|
+
Trutz Behn
|
|
1422
|
+
Will Dietz
|
|
1423
|
+
William Haddon
|
|
1424
|
+
William Pitcock
|
|
1425
|
+
|
|
1426
|
+
Portions of this software are derived from third-party works licensed
|
|
1427
|
+
under terms compatible with the above MIT license:
|
|
1428
|
+
|
|
1429
|
+
The TRE regular expression implementation (src/regex/reg* and
|
|
1430
|
+
src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
|
|
1431
|
+
under a 2-clause BSD license (license text in the source files). The
|
|
1432
|
+
included version has been heavily modified by Rich Felker in 2012, in
|
|
1433
|
+
the interests of size, simplicity, and namespace cleanliness.
|
|
1434
|
+
|
|
1435
|
+
Much of the math library code (src/math/* and src/complex/*) is
|
|
1436
|
+
Copyright © 1993,2004 Sun Microsystems or
|
|
1437
|
+
Copyright © 2003-2011 David Schultz or
|
|
1438
|
+
Copyright © 2003-2009 Steven G. Kargl or
|
|
1439
|
+
Copyright © 2003-2009 Bruce D. Evans or
|
|
1440
|
+
Copyright © 2008 Stephen L. Moshier or
|
|
1441
|
+
Copyright © 2017-2018 Arm Limited
|
|
1442
|
+
and labelled as such in comments in the individual source files. All
|
|
1443
|
+
have been licensed under extremely permissive terms.
|
|
1444
|
+
|
|
1445
|
+
The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
|
|
1446
|
+
The Android Open Source Project and is licensed under a two-clause BSD
|
|
1447
|
+
license. It was taken from Bionic libc, used on Android.
|
|
1448
|
+
|
|
1449
|
+
The AArch64 memcpy and memset code (src/string/aarch64/*) are
|
|
1450
|
+
Copyright © 1999-2019, Arm Limited.
|
|
1451
|
+
|
|
1452
|
+
The implementation of DES for crypt (src/crypt/crypt_des.c) is
|
|
1453
|
+
Copyright © 1994 David Burren. It is licensed under a BSD license.
|
|
1454
|
+
|
|
1455
|
+
The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
|
|
1456
|
+
originally written by Solar Designer and placed into the public
|
|
1457
|
+
domain. The code also comes with a fallback permissive license for use
|
|
1458
|
+
in jurisdictions that may not recognize the public domain.
|
|
1459
|
+
|
|
1460
|
+
The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
|
|
1461
|
+
Lynn Ochs and is licensed under an MIT-style license.
|
|
1462
|
+
|
|
1463
|
+
The x86_64 port was written by Nicholas J. Kain and is licensed under
|
|
1464
|
+
the standard MIT terms.
|
|
1465
|
+
|
|
1466
|
+
The mips and microblaze ports were originally written by Richard
|
|
1467
|
+
Pennington for use in the ellcc project. The original code was adapted
|
|
1468
|
+
by Rich Felker for build system and code conventions during upstream
|
|
1469
|
+
integration. It is licensed under the standard MIT terms.
|
|
1470
|
+
|
|
1471
|
+
The mips64 port was contributed by Imagination Technologies and is
|
|
1472
|
+
licensed under the standard MIT terms.
|
|
1473
|
+
|
|
1474
|
+
The powerpc port was also originally written by Richard Pennington,
|
|
1475
|
+
and later supplemented and integrated by John Spencer. It is licensed
|
|
1476
|
+
under the standard MIT terms.
|
|
1477
|
+
|
|
1478
|
+
All other files which have no copyright comments are original works
|
|
1479
|
+
produced specifically for use as part of this library, written either
|
|
1480
|
+
by Rich Felker, the main author of the library, or by one or more
|
|
1481
|
+
contibutors listed above. Details on authorship of individual files
|
|
1482
|
+
can be found in the git version control history of the project. The
|
|
1483
|
+
omission of copyright and license comments in each file is in the
|
|
1484
|
+
interest of source tree size.
|
|
1485
|
+
|
|
1486
|
+
In addition, permission is hereby granted for all public header files
|
|
1487
|
+
(include/* and arch/*/bits/*) and crt files intended to be linked into
|
|
1488
|
+
applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
|
|
1489
|
+
the copyright notice and permission notice otherwise required by the
|
|
1490
|
+
license, and to use these files without any requirement of
|
|
1491
|
+
attribution. These files include substantial contributions from:
|
|
1492
|
+
|
|
1493
|
+
Bobby Bingham
|
|
1494
|
+
John Spencer
|
|
1495
|
+
Nicholas J. Kain
|
|
1496
|
+
Rich Felker
|
|
1497
|
+
Richard Pennington
|
|
1498
|
+
Stefan Kristiansson
|
|
1499
|
+
Szabolcs Nagy
|
|
1500
|
+
|
|
1501
|
+
all of whom have explicitly granted such permission.
|
|
1502
|
+
|
|
1503
|
+
This file previously contained text expressing a belief that most of
|
|
1504
|
+
the files covered by the above exception were sufficiently trivial not
|
|
1505
|
+
to be subject to copyright, resulting in confusion over whether it
|
|
1506
|
+
negated the permissions granted in the license. In the spirit of
|
|
1507
|
+
permissive licensing, and of not having licensing issues being an
|
|
1508
|
+
obstacle to adoption, that text has been removed.
|
|
1509
|
+
|
|
1510
|
+
|
|
1511
|
+
========================================================================
|
|
1512
|
+
LLVM libc++, libc++abi, compiler-rt and libunwind
|
|
1513
|
+
========================================================================
|
|
1514
|
+
|
|
1515
|
+
==============================================================================
|
|
1516
|
+
The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
|
|
1517
|
+
==============================================================================
|
|
1518
|
+
|
|
1519
|
+
Apache License
|
|
1520
|
+
Version 2.0, January 2004
|
|
1521
|
+
http://www.apache.org/licenses/
|
|
1522
|
+
|
|
1523
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
1524
|
+
|
|
1525
|
+
1. Definitions.
|
|
1526
|
+
|
|
1527
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
1528
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
1529
|
+
|
|
1530
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
1531
|
+
the copyright owner that is granting the License.
|
|
1532
|
+
|
|
1533
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
1534
|
+
other entities that control, are controlled by, or are under common
|
|
1535
|
+
control with that entity. For the purposes of this definition,
|
|
1536
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
1537
|
+
direction or management of such entity, whether by contract or
|
|
1538
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
1539
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
1540
|
+
|
|
1541
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
1542
|
+
exercising permissions granted by this License.
|
|
1543
|
+
|
|
1544
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
1545
|
+
including but not limited to software source code, documentation
|
|
1546
|
+
source, and configuration files.
|
|
1547
|
+
|
|
1548
|
+
"Object" form shall mean any form resulting from mechanical
|
|
1549
|
+
transformation or translation of a Source form, including but
|
|
1550
|
+
not limited to compiled object code, generated documentation,
|
|
1551
|
+
and conversions to other media types.
|
|
1552
|
+
|
|
1553
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
1554
|
+
Object form, made available under the License, as indicated by a
|
|
1555
|
+
copyright notice that is included in or attached to the work
|
|
1556
|
+
(an example is provided in the Appendix below).
|
|
1557
|
+
|
|
1558
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
1559
|
+
form, that is based on (or derived from) the Work and for which the
|
|
1560
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
1561
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
1562
|
+
of this License, Derivative Works shall not include works that remain
|
|
1563
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
1564
|
+
the Work and Derivative Works thereof.
|
|
1565
|
+
|
|
1566
|
+
"Contribution" shall mean any work of authorship, including
|
|
1567
|
+
the original version of the Work and any modifications or additions
|
|
1568
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
1569
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
1570
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
1571
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
1572
|
+
means any form of electronic, verbal, or written communication sent
|
|
1573
|
+
to the Licensor or its representatives, including but not limited to
|
|
1574
|
+
communication on electronic mailing lists, source code control systems,
|
|
1575
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
1576
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
1577
|
+
excluding communication that is conspicuously marked or otherwise
|
|
1578
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
1579
|
+
|
|
1580
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
1581
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
1582
|
+
subsequently incorporated within the Work.
|
|
1583
|
+
|
|
1584
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
1585
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1586
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1587
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
1588
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
1589
|
+
Work and such Derivative Works in Source or Object form.
|
|
1590
|
+
|
|
1591
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
1592
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1593
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1594
|
+
(except as stated in this section) patent license to make, have made,
|
|
1595
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
1596
|
+
where such license applies only to those patent claims licensable
|
|
1597
|
+
by such Contributor that are necessarily infringed by their
|
|
1598
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
1599
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
1600
|
+
institute patent litigation against any entity (including a
|
|
1601
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
1602
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
1603
|
+
or contributory patent infringement, then any patent licenses
|
|
1604
|
+
granted to You under this License for that Work shall terminate
|
|
1605
|
+
as of the date such litigation is filed.
|
|
1606
|
+
|
|
1607
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
1608
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
1609
|
+
modifications, and in Source or Object form, provided that You
|
|
1610
|
+
meet the following conditions:
|
|
1611
|
+
|
|
1612
|
+
(a) You must give any other recipients of the Work or
|
|
1613
|
+
Derivative Works a copy of this License; and
|
|
1614
|
+
|
|
1615
|
+
(b) You must cause any modified files to carry prominent notices
|
|
1616
|
+
stating that You changed the files; and
|
|
1617
|
+
|
|
1618
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
1619
|
+
that You distribute, all copyright, patent, trademark, and
|
|
1620
|
+
attribution notices from the Source form of the Work,
|
|
1621
|
+
excluding those notices that do not pertain to any part of
|
|
1622
|
+
the Derivative Works; and
|
|
1623
|
+
|
|
1624
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
1625
|
+
distribution, then any Derivative Works that You distribute must
|
|
1626
|
+
include a readable copy of the attribution notices contained
|
|
1627
|
+
within such NOTICE file, excluding those notices that do not
|
|
1628
|
+
pertain to any part of the Derivative Works, in at least one
|
|
1629
|
+
of the following places: within a NOTICE text file distributed
|
|
1630
|
+
as part of the Derivative Works; within the Source form or
|
|
1631
|
+
documentation, if provided along with the Derivative Works; or,
|
|
1632
|
+
within a display generated by the Derivative Works, if and
|
|
1633
|
+
wherever such third-party notices normally appear. The contents
|
|
1634
|
+
of the NOTICE file are for informational purposes only and
|
|
1635
|
+
do not modify the License. You may add Your own attribution
|
|
1636
|
+
notices within Derivative Works that You distribute, alongside
|
|
1637
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
1638
|
+
that such additional attribution notices cannot be construed
|
|
1639
|
+
as modifying the License.
|
|
1640
|
+
|
|
1641
|
+
You may add Your own copyright statement to Your modifications and
|
|
1642
|
+
may provide additional or different license terms and conditions
|
|
1643
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
1644
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
1645
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
1646
|
+
the conditions stated in this License.
|
|
1647
|
+
|
|
1648
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
1649
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
1650
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
1651
|
+
this License, without any additional terms or conditions.
|
|
1652
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
1653
|
+
the terms of any separate license agreement you may have executed
|
|
1654
|
+
with Licensor regarding such Contributions.
|
|
1655
|
+
|
|
1656
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
1657
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
1658
|
+
except as required for reasonable and customary use in describing the
|
|
1659
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
1660
|
+
|
|
1661
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
1662
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
1663
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
1664
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
1665
|
+
implied, including, without limitation, any warranties or conditions
|
|
1666
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
1667
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
1668
|
+
appropriateness of using or redistributing the Work and assume any
|
|
1669
|
+
risks associated with Your exercise of permissions under this License.
|
|
1670
|
+
|
|
1671
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
1672
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
1673
|
+
unless required by applicable law (such as deliberate and grossly
|
|
1674
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
1675
|
+
liable to You for damages, including any direct, indirect, special,
|
|
1676
|
+
incidental, or consequential damages of any character arising as a
|
|
1677
|
+
result of this License or out of the use or inability to use the
|
|
1678
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
1679
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
1680
|
+
other commercial damages or losses), even if such Contributor
|
|
1681
|
+
has been advised of the possibility of such damages.
|
|
1682
|
+
|
|
1683
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
1684
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
1685
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
1686
|
+
or other liability obligations and/or rights consistent with this
|
|
1687
|
+
License. However, in accepting such obligations, You may act only
|
|
1688
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
1689
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
1690
|
+
defend, and hold each Contributor harmless for any liability
|
|
1691
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
1692
|
+
of your accepting any such warranty or additional liability.
|
|
1693
|
+
|
|
1694
|
+
END OF TERMS AND CONDITIONS
|
|
1695
|
+
|
|
1696
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
1697
|
+
|
|
1698
|
+
To apply the Apache License to your work, attach the following
|
|
1699
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
1700
|
+
replaced with your own identifying information. (Don't include
|
|
1701
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
1702
|
+
comment syntax for the file format. We also recommend that a
|
|
1703
|
+
file or class name and description of purpose be included on the
|
|
1704
|
+
same "printed page" as the copyright notice for easier
|
|
1705
|
+
identification within third-party archives.
|
|
1706
|
+
|
|
1707
|
+
Copyright [yyyy] [name of copyright owner]
|
|
1708
|
+
|
|
1709
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
1710
|
+
you may not use this file except in compliance with the License.
|
|
1711
|
+
You may obtain a copy of the License at
|
|
1712
|
+
|
|
1713
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
1714
|
+
|
|
1715
|
+
Unless required by applicable law or agreed to in writing, software
|
|
1716
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
1717
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1718
|
+
See the License for the specific language governing permissions and
|
|
1719
|
+
limitations under the License.
|
|
1720
|
+
|
|
1721
|
+
|
|
1722
|
+
---- LLVM Exceptions to the Apache 2.0 License ----
|
|
1723
|
+
|
|
1724
|
+
As an exception, if, as a result of your compiling your source code, portions
|
|
1725
|
+
of this Software are embedded into an Object form of such source code, you
|
|
1726
|
+
may redistribute such embedded portions in such Object form without complying
|
|
1727
|
+
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
|
|
1728
|
+
|
|
1729
|
+
In addition, if you combine or link compiled forms of this Software with
|
|
1730
|
+
software that is licensed under the GPLv2 ("Combined Software") and if a
|
|
1731
|
+
court of competent jurisdiction determines that the patent provision (Section
|
|
1732
|
+
3), the indemnity provision (Section 9) or other Section of the License
|
|
1733
|
+
conflicts with the conditions of the GPLv2, you may retroactively and
|
|
1734
|
+
prospectively choose to deem waived or otherwise exclude such Section(s) of
|
|
1735
|
+
the License, but only in their entirety and only with respect to the Combined
|
|
1736
|
+
Software.
|
|
1737
|
+
|
|
1738
|
+
==============================================================================
|
|
1739
|
+
Software from third parties included in the LLVM Project:
|
|
1740
|
+
==============================================================================
|
|
1741
|
+
The LLVM Project contains third party software which is under different license
|
|
1742
|
+
terms. All such code will be identified clearly using at least one of two
|
|
1743
|
+
mechanisms:
|
|
1744
|
+
1) It will be in a separate directory tree with its own `LICENSE.txt` or
|
|
1745
|
+
`LICENSE` file at the top containing the specific license and restrictions
|
|
1746
|
+
which apply to that software, or
|
|
1747
|
+
2) It will contain specific license and restriction terms at the top of every
|
|
1748
|
+
file.
|
|
1749
|
+
|
|
1750
|
+
==============================================================================
|
|
1751
|
+
Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
|
|
1752
|
+
==============================================================================
|
|
1753
|
+
|
|
1754
|
+
The libc++ library is dual licensed under both the University of Illinois
|
|
1755
|
+
"BSD-Like" license and the MIT license. As a user of this code you may choose
|
|
1756
|
+
to use it under either license. As a contributor, you agree to allow your code
|
|
1757
|
+
to be used under both.
|
|
1758
|
+
|
|
1759
|
+
Full text of the relevant licenses is included below.
|
|
1760
|
+
|
|
1761
|
+
==============================================================================
|
|
1762
|
+
|
|
1763
|
+
University of Illinois/NCSA
|
|
1764
|
+
Open Source License
|
|
1765
|
+
|
|
1766
|
+
Copyright (c) 2009-2019 by the contributors listed in CREDITS.TXT
|
|
1767
|
+
|
|
1768
|
+
All rights reserved.
|
|
1769
|
+
|
|
1770
|
+
Developed by:
|
|
1771
|
+
|
|
1772
|
+
LLVM Team
|
|
1773
|
+
|
|
1774
|
+
University of Illinois at Urbana-Champaign
|
|
1775
|
+
|
|
1776
|
+
http://llvm.org
|
|
1777
|
+
|
|
1778
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1779
|
+
this software and associated documentation files (the "Software"), to deal with
|
|
1780
|
+
the Software without restriction, including without limitation the rights to
|
|
1781
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
1782
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
1783
|
+
so, subject to the following conditions:
|
|
1784
|
+
|
|
1785
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
1786
|
+
this list of conditions and the following disclaimers.
|
|
1787
|
+
|
|
1788
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
1789
|
+
this list of conditions and the following disclaimers in the
|
|
1790
|
+
documentation and/or other materials provided with the distribution.
|
|
1791
|
+
|
|
1792
|
+
* Neither the names of the LLVM Team, University of Illinois at
|
|
1793
|
+
Urbana-Champaign, nor the names of its contributors may be used to
|
|
1794
|
+
endorse or promote products derived from this Software without specific
|
|
1795
|
+
prior written permission.
|
|
1796
|
+
|
|
1797
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1798
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
1799
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1800
|
+
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1801
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1802
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
|
1803
|
+
SOFTWARE.
|
|
1804
|
+
|
|
1805
|
+
==============================================================================
|
|
1806
|
+
|
|
1807
|
+
Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT
|
|
1808
|
+
|
|
1809
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1810
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1811
|
+
in the Software without restriction, including without limitation the rights
|
|
1812
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1813
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1814
|
+
furnished to do so, subject to the following conditions:
|
|
1815
|
+
|
|
1816
|
+
The above copyright notice and this permission notice shall be included in
|
|
1817
|
+
all copies or substantial portions of the Software.
|
|
1818
|
+
|
|
1819
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1820
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1821
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1822
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1823
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1824
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1825
|
+
THE SOFTWARE.
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
DCB and FBDD
|
|
1829
|
+
/*
|
|
1830
|
+
* Copyright (C) 2010, Jacek Gozdz (cuniek@kft.umcs.lublin.pl)
|
|
1831
|
+
*
|
|
1832
|
+
* This code is licensed under a (3-clause) BSD license as follows :
|
|
1833
|
+
*
|
|
1834
|
+
* Redistribution and use in source and binary forms, with or without
|
|
1835
|
+
* modification, are permitted provided that the following
|
|
1836
|
+
* conditions are met:
|
|
1837
|
+
*
|
|
1838
|
+
* * Redistributions of source code must retain the above copyright
|
|
1839
|
+
* notice, this list of conditions and the following disclaimer.
|
|
1840
|
+
* * Redistributions in binary form must reproduce the above
|
|
1841
|
+
* copyright notice, this list of conditions and the following
|
|
1842
|
+
* disclaimer in the documentation and/or other materials provided
|
|
1843
|
+
* with the distribution.
|
|
1844
|
+
* * Neither the name of the author nor the names of its
|
|
1845
|
+
* contributors may be used to endorse or promote products
|
|
1846
|
+
* derived from this software without specific prior written permission.
|
|
1847
|
+
*
|
|
1848
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
1849
|
+
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
1850
|
+
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
1851
|
+
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
|
1852
|
+
* THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
|
1853
|
+
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
1854
|
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
1855
|
+
* SERVICES; LOSS OF USE,
|
|
1856
|
+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
1857
|
+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
1858
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
|
1859
|
+
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
|
1860
|
+
* OF SUCH DAMAGE.
|
|
1861
|
+
*/
|
|
1862
|
+
|
|
1863
|
+
X3F
|
|
1864
|
+
/* Library for accessing X3F Files
|
|
1865
|
+
----------------------------------------------------------------
|
|
1866
|
+
BSD-style License
|
|
1867
|
+
----------------------------------------------------------------
|
|
1868
|
+
|
|
1869
|
+
* Copyright (c) 2010, Roland Karlsson (roland@proxel.se)
|
|
1870
|
+
* All rights reserved.
|
|
1871
|
+
*
|
|
1872
|
+
* Redistribution and use in source and binary forms, with or without
|
|
1873
|
+
* modification, are permitted provided that the following conditions are met:
|
|
1874
|
+
* * Redistributions of source code must retain the above copyright
|
|
1875
|
+
* notice, this list of conditions and the following disclaimer.
|
|
1876
|
+
* * Redistributions in binary form must reproduce the above copyright
|
|
1877
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
1878
|
+
* documentation and/or other materials provided with the distribution.
|
|
1879
|
+
* * Neither the name of the organization nor the
|
|
1880
|
+
* names of its contributors may be used to endorse or promote products
|
|
1881
|
+
* derived from this software without specific prior written permission.
|
|
1882
|
+
*
|
|
1883
|
+
* THIS SOFTWARE IS PROVIDED BY ROLAND KARLSSON ''AS IS'' AND ANY
|
|
1884
|
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
1885
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
1886
|
+
* DISCLAIMED. IN NO EVENT SHALL ROLAND KARLSSON BE LIABLE FOR ANY
|
|
1887
|
+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
1888
|
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
1889
|
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
1890
|
+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
1891
|
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
1892
|
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1893
|
+
|
|
1894
|
+
*/
|
|
1895
|
+
|
|
1896
|
+
========================================================================
|
|
1897
|
+
LLVM libcxxabi license and historical notices
|
|
1898
|
+
========================================================================
|
|
1899
|
+
|
|
1900
|
+
==============================================================================
|
|
1901
|
+
The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
|
|
1902
|
+
==============================================================================
|
|
1903
|
+
|
|
1904
|
+
Apache License
|
|
1905
|
+
Version 2.0, January 2004
|
|
1906
|
+
http://www.apache.org/licenses/
|
|
1907
|
+
|
|
1908
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
1909
|
+
|
|
1910
|
+
1. Definitions.
|
|
1911
|
+
|
|
1912
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
1913
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
1914
|
+
|
|
1915
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
1916
|
+
the copyright owner that is granting the License.
|
|
1917
|
+
|
|
1918
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
1919
|
+
other entities that control, are controlled by, or are under common
|
|
1920
|
+
control with that entity. For the purposes of this definition,
|
|
1921
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
1922
|
+
direction or management of such entity, whether by contract or
|
|
1923
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
1924
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
1925
|
+
|
|
1926
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
1927
|
+
exercising permissions granted by this License.
|
|
1928
|
+
|
|
1929
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
1930
|
+
including but not limited to software source code, documentation
|
|
1931
|
+
source, and configuration files.
|
|
1932
|
+
|
|
1933
|
+
"Object" form shall mean any form resulting from mechanical
|
|
1934
|
+
transformation or translation of a Source form, including but
|
|
1935
|
+
not limited to compiled object code, generated documentation,
|
|
1936
|
+
and conversions to other media types.
|
|
1937
|
+
|
|
1938
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
1939
|
+
Object form, made available under the License, as indicated by a
|
|
1940
|
+
copyright notice that is included in or attached to the work
|
|
1941
|
+
(an example is provided in the Appendix below).
|
|
1942
|
+
|
|
1943
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
1944
|
+
form, that is based on (or derived from) the Work and for which the
|
|
1945
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
1946
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
1947
|
+
of this License, Derivative Works shall not include works that remain
|
|
1948
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
1949
|
+
the Work and Derivative Works thereof.
|
|
1950
|
+
|
|
1951
|
+
"Contribution" shall mean any work of authorship, including
|
|
1952
|
+
the original version of the Work and any modifications or additions
|
|
1953
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
1954
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
1955
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
1956
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
1957
|
+
means any form of electronic, verbal, or written communication sent
|
|
1958
|
+
to the Licensor or its representatives, including but not limited to
|
|
1959
|
+
communication on electronic mailing lists, source code control systems,
|
|
1960
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
1961
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
1962
|
+
excluding communication that is conspicuously marked or otherwise
|
|
1963
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
1964
|
+
|
|
1965
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
1966
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
1967
|
+
subsequently incorporated within the Work.
|
|
1968
|
+
|
|
1969
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
1970
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1971
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1972
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
1973
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
1974
|
+
Work and such Derivative Works in Source or Object form.
|
|
1975
|
+
|
|
1976
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
1977
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1978
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1979
|
+
(except as stated in this section) patent license to make, have made,
|
|
1980
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
1981
|
+
where such license applies only to those patent claims licensable
|
|
1982
|
+
by such Contributor that are necessarily infringed by their
|
|
1983
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
1984
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
1985
|
+
institute patent litigation against any entity (including a
|
|
1986
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
1987
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
1988
|
+
or contributory patent infringement, then any patent licenses
|
|
1989
|
+
granted to You under this License for that Work shall terminate
|
|
1990
|
+
as of the date such litigation is filed.
|
|
1991
|
+
|
|
1992
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
1993
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
1994
|
+
modifications, and in Source or Object form, provided that You
|
|
1995
|
+
meet the following conditions:
|
|
1996
|
+
|
|
1997
|
+
(a) You must give any other recipients of the Work or
|
|
1998
|
+
Derivative Works a copy of this License; and
|
|
1999
|
+
|
|
2000
|
+
(b) You must cause any modified files to carry prominent notices
|
|
2001
|
+
stating that You changed the files; and
|
|
2002
|
+
|
|
2003
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
2004
|
+
that You distribute, all copyright, patent, trademark, and
|
|
2005
|
+
attribution notices from the Source form of the Work,
|
|
2006
|
+
excluding those notices that do not pertain to any part of
|
|
2007
|
+
the Derivative Works; and
|
|
2008
|
+
|
|
2009
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
2010
|
+
distribution, then any Derivative Works that You distribute must
|
|
2011
|
+
include a readable copy of the attribution notices contained
|
|
2012
|
+
within such NOTICE file, excluding those notices that do not
|
|
2013
|
+
pertain to any part of the Derivative Works, in at least one
|
|
2014
|
+
of the following places: within a NOTICE text file distributed
|
|
2015
|
+
as part of the Derivative Works; within the Source form or
|
|
2016
|
+
documentation, if provided along with the Derivative Works; or,
|
|
2017
|
+
within a display generated by the Derivative Works, if and
|
|
2018
|
+
wherever such third-party notices normally appear. The contents
|
|
2019
|
+
of the NOTICE file are for informational purposes only and
|
|
2020
|
+
do not modify the License. You may add Your own attribution
|
|
2021
|
+
notices within Derivative Works that You distribute, alongside
|
|
2022
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
2023
|
+
that such additional attribution notices cannot be construed
|
|
2024
|
+
as modifying the License.
|
|
2025
|
+
|
|
2026
|
+
You may add Your own copyright statement to Your modifications and
|
|
2027
|
+
may provide additional or different license terms and conditions
|
|
2028
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
2029
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
2030
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
2031
|
+
the conditions stated in this License.
|
|
2032
|
+
|
|
2033
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
2034
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
2035
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
2036
|
+
this License, without any additional terms or conditions.
|
|
2037
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
2038
|
+
the terms of any separate license agreement you may have executed
|
|
2039
|
+
with Licensor regarding such Contributions.
|
|
2040
|
+
|
|
2041
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
2042
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
2043
|
+
except as required for reasonable and customary use in describing the
|
|
2044
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
2045
|
+
|
|
2046
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
2047
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
2048
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
2049
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
2050
|
+
implied, including, without limitation, any warranties or conditions
|
|
2051
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
2052
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
2053
|
+
appropriateness of using or redistributing the Work and assume any
|
|
2054
|
+
risks associated with Your exercise of permissions under this License.
|
|
2055
|
+
|
|
2056
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
2057
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
2058
|
+
unless required by applicable law (such as deliberate and grossly
|
|
2059
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
2060
|
+
liable to You for damages, including any direct, indirect, special,
|
|
2061
|
+
incidental, or consequential damages of any character arising as a
|
|
2062
|
+
result of this License or out of the use or inability to use the
|
|
2063
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
2064
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
2065
|
+
other commercial damages or losses), even if such Contributor
|
|
2066
|
+
has been advised of the possibility of such damages.
|
|
2067
|
+
|
|
2068
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
2069
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
2070
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
2071
|
+
or other liability obligations and/or rights consistent with this
|
|
2072
|
+
License. However, in accepting such obligations, You may act only
|
|
2073
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
2074
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
2075
|
+
defend, and hold each Contributor harmless for any liability
|
|
2076
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
2077
|
+
of your accepting any such warranty or additional liability.
|
|
2078
|
+
|
|
2079
|
+
END OF TERMS AND CONDITIONS
|
|
2080
|
+
|
|
2081
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
2082
|
+
|
|
2083
|
+
To apply the Apache License to your work, attach the following
|
|
2084
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
2085
|
+
replaced with your own identifying information. (Don't include
|
|
2086
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
2087
|
+
comment syntax for the file format. We also recommend that a
|
|
2088
|
+
file or class name and description of purpose be included on the
|
|
2089
|
+
same "printed page" as the copyright notice for easier
|
|
2090
|
+
identification within third-party archives.
|
|
2091
|
+
|
|
2092
|
+
Copyright [yyyy] [name of copyright owner]
|
|
2093
|
+
|
|
2094
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
2095
|
+
you may not use this file except in compliance with the License.
|
|
2096
|
+
You may obtain a copy of the License at
|
|
2097
|
+
|
|
2098
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
2099
|
+
|
|
2100
|
+
Unless required by applicable law or agreed to in writing, software
|
|
2101
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
2102
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2103
|
+
See the License for the specific language governing permissions and
|
|
2104
|
+
limitations under the License.
|
|
2105
|
+
|
|
2106
|
+
|
|
2107
|
+
---- LLVM Exceptions to the Apache 2.0 License ----
|
|
2108
|
+
|
|
2109
|
+
As an exception, if, as a result of your compiling your source code, portions
|
|
2110
|
+
of this Software are embedded into an Object form of such source code, you
|
|
2111
|
+
may redistribute such embedded portions in such Object form without complying
|
|
2112
|
+
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
|
|
2113
|
+
|
|
2114
|
+
In addition, if you combine or link compiled forms of this Software with
|
|
2115
|
+
software that is licensed under the GPLv2 ("Combined Software") and if a
|
|
2116
|
+
court of competent jurisdiction determines that the patent provision (Section
|
|
2117
|
+
3), the indemnity provision (Section 9) or other Section of the License
|
|
2118
|
+
conflicts with the conditions of the GPLv2, you may retroactively and
|
|
2119
|
+
prospectively choose to deem waived or otherwise exclude such Section(s) of
|
|
2120
|
+
the License, but only in their entirety and only with respect to the Combined
|
|
2121
|
+
Software.
|
|
2122
|
+
|
|
2123
|
+
==============================================================================
|
|
2124
|
+
Software from third parties included in the LLVM Project:
|
|
2125
|
+
==============================================================================
|
|
2126
|
+
The LLVM Project contains third party software which is under different license
|
|
2127
|
+
terms. All such code will be identified clearly using at least one of two
|
|
2128
|
+
mechanisms:
|
|
2129
|
+
1) It will be in a separate directory tree with its own `LICENSE.txt` or
|
|
2130
|
+
`LICENSE` file at the top containing the specific license and restrictions
|
|
2131
|
+
which apply to that software, or
|
|
2132
|
+
2) It will contain specific license and restriction terms at the top of every
|
|
2133
|
+
file.
|
|
2134
|
+
|
|
2135
|
+
==============================================================================
|
|
2136
|
+
Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
|
|
2137
|
+
==============================================================================
|
|
2138
|
+
|
|
2139
|
+
The libc++abi library is dual licensed under both the University of Illinois
|
|
2140
|
+
"BSD-Like" license and the MIT license. As a user of this code you may choose
|
|
2141
|
+
to use it under either license. As a contributor, you agree to allow your code
|
|
2142
|
+
to be used under both.
|
|
2143
|
+
|
|
2144
|
+
Full text of the relevant licenses is included below.
|
|
2145
|
+
|
|
2146
|
+
==============================================================================
|
|
2147
|
+
|
|
2148
|
+
University of Illinois/NCSA
|
|
2149
|
+
Open Source License
|
|
2150
|
+
|
|
2151
|
+
Copyright (c) 2009-2019 by the contributors listed in CREDITS.TXT
|
|
2152
|
+
|
|
2153
|
+
All rights reserved.
|
|
2154
|
+
|
|
2155
|
+
Developed by:
|
|
2156
|
+
|
|
2157
|
+
LLVM Team
|
|
2158
|
+
|
|
2159
|
+
University of Illinois at Urbana-Champaign
|
|
2160
|
+
|
|
2161
|
+
http://llvm.org
|
|
2162
|
+
|
|
2163
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
2164
|
+
this software and associated documentation files (the "Software"), to deal with
|
|
2165
|
+
the Software without restriction, including without limitation the rights to
|
|
2166
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
2167
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
2168
|
+
so, subject to the following conditions:
|
|
2169
|
+
|
|
2170
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
2171
|
+
this list of conditions and the following disclaimers.
|
|
2172
|
+
|
|
2173
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
2174
|
+
this list of conditions and the following disclaimers in the
|
|
2175
|
+
documentation and/or other materials provided with the distribution.
|
|
2176
|
+
|
|
2177
|
+
* Neither the names of the LLVM Team, University of Illinois at
|
|
2178
|
+
Urbana-Champaign, nor the names of its contributors may be used to
|
|
2179
|
+
endorse or promote products derived from this Software without specific
|
|
2180
|
+
prior written permission.
|
|
2181
|
+
|
|
2182
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2183
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
2184
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2185
|
+
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2186
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2187
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
|
2188
|
+
SOFTWARE.
|
|
2189
|
+
|
|
2190
|
+
==============================================================================
|
|
2191
|
+
|
|
2192
|
+
Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT
|
|
2193
|
+
|
|
2194
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2195
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
2196
|
+
in the Software without restriction, including without limitation the rights
|
|
2197
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2198
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
2199
|
+
furnished to do so, subject to the following conditions:
|
|
2200
|
+
|
|
2201
|
+
The above copyright notice and this permission notice shall be included in
|
|
2202
|
+
all copies or substantial portions of the Software.
|
|
2203
|
+
|
|
2204
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2205
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2206
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2207
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2208
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2209
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2210
|
+
THE SOFTWARE.
|
|
2211
|
+
|
|
2212
|
+
========================================================================
|
|
2213
|
+
LLVM compiler-rt license and historical notices
|
|
2214
|
+
========================================================================
|
|
2215
|
+
|
|
2216
|
+
==============================================================================
|
|
2217
|
+
The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
|
|
2218
|
+
==============================================================================
|
|
2219
|
+
|
|
2220
|
+
Apache License
|
|
2221
|
+
Version 2.0, January 2004
|
|
2222
|
+
http://www.apache.org/licenses/
|
|
2223
|
+
|
|
2224
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
2225
|
+
|
|
2226
|
+
1. Definitions.
|
|
2227
|
+
|
|
2228
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
2229
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
2230
|
+
|
|
2231
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
2232
|
+
the copyright owner that is granting the License.
|
|
2233
|
+
|
|
2234
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
2235
|
+
other entities that control, are controlled by, or are under common
|
|
2236
|
+
control with that entity. For the purposes of this definition,
|
|
2237
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
2238
|
+
direction or management of such entity, whether by contract or
|
|
2239
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
2240
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
2241
|
+
|
|
2242
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
2243
|
+
exercising permissions granted by this License.
|
|
2244
|
+
|
|
2245
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
2246
|
+
including but not limited to software source code, documentation
|
|
2247
|
+
source, and configuration files.
|
|
2248
|
+
|
|
2249
|
+
"Object" form shall mean any form resulting from mechanical
|
|
2250
|
+
transformation or translation of a Source form, including but
|
|
2251
|
+
not limited to compiled object code, generated documentation,
|
|
2252
|
+
and conversions to other media types.
|
|
2253
|
+
|
|
2254
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
2255
|
+
Object form, made available under the License, as indicated by a
|
|
2256
|
+
copyright notice that is included in or attached to the work
|
|
2257
|
+
(an example is provided in the Appendix below).
|
|
2258
|
+
|
|
2259
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
2260
|
+
form, that is based on (or derived from) the Work and for which the
|
|
2261
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
2262
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
2263
|
+
of this License, Derivative Works shall not include works that remain
|
|
2264
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
2265
|
+
the Work and Derivative Works thereof.
|
|
2266
|
+
|
|
2267
|
+
"Contribution" shall mean any work of authorship, including
|
|
2268
|
+
the original version of the Work and any modifications or additions
|
|
2269
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
2270
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
2271
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
2272
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
2273
|
+
means any form of electronic, verbal, or written communication sent
|
|
2274
|
+
to the Licensor or its representatives, including but not limited to
|
|
2275
|
+
communication on electronic mailing lists, source code control systems,
|
|
2276
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
2277
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
2278
|
+
excluding communication that is conspicuously marked or otherwise
|
|
2279
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
2280
|
+
|
|
2281
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
2282
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
2283
|
+
subsequently incorporated within the Work.
|
|
2284
|
+
|
|
2285
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
2286
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
2287
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
2288
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
2289
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
2290
|
+
Work and such Derivative Works in Source or Object form.
|
|
2291
|
+
|
|
2292
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
2293
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
2294
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
2295
|
+
(except as stated in this section) patent license to make, have made,
|
|
2296
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
2297
|
+
where such license applies only to those patent claims licensable
|
|
2298
|
+
by such Contributor that are necessarily infringed by their
|
|
2299
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
2300
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
2301
|
+
institute patent litigation against any entity (including a
|
|
2302
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
2303
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
2304
|
+
or contributory patent infringement, then any patent licenses
|
|
2305
|
+
granted to You under this License for that Work shall terminate
|
|
2306
|
+
as of the date such litigation is filed.
|
|
2307
|
+
|
|
2308
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
2309
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
2310
|
+
modifications, and in Source or Object form, provided that You
|
|
2311
|
+
meet the following conditions:
|
|
2312
|
+
|
|
2313
|
+
(a) You must give any other recipients of the Work or
|
|
2314
|
+
Derivative Works a copy of this License; and
|
|
2315
|
+
|
|
2316
|
+
(b) You must cause any modified files to carry prominent notices
|
|
2317
|
+
stating that You changed the files; and
|
|
2318
|
+
|
|
2319
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
2320
|
+
that You distribute, all copyright, patent, trademark, and
|
|
2321
|
+
attribution notices from the Source form of the Work,
|
|
2322
|
+
excluding those notices that do not pertain to any part of
|
|
2323
|
+
the Derivative Works; and
|
|
2324
|
+
|
|
2325
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
2326
|
+
distribution, then any Derivative Works that You distribute must
|
|
2327
|
+
include a readable copy of the attribution notices contained
|
|
2328
|
+
within such NOTICE file, excluding those notices that do not
|
|
2329
|
+
pertain to any part of the Derivative Works, in at least one
|
|
2330
|
+
of the following places: within a NOTICE text file distributed
|
|
2331
|
+
as part of the Derivative Works; within the Source form or
|
|
2332
|
+
documentation, if provided along with the Derivative Works; or,
|
|
2333
|
+
within a display generated by the Derivative Works, if and
|
|
2334
|
+
wherever such third-party notices normally appear. The contents
|
|
2335
|
+
of the NOTICE file are for informational purposes only and
|
|
2336
|
+
do not modify the License. You may add Your own attribution
|
|
2337
|
+
notices within Derivative Works that You distribute, alongside
|
|
2338
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
2339
|
+
that such additional attribution notices cannot be construed
|
|
2340
|
+
as modifying the License.
|
|
2341
|
+
|
|
2342
|
+
You may add Your own copyright statement to Your modifications and
|
|
2343
|
+
may provide additional or different license terms and conditions
|
|
2344
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
2345
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
2346
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
2347
|
+
the conditions stated in this License.
|
|
2348
|
+
|
|
2349
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
2350
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
2351
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
2352
|
+
this License, without any additional terms or conditions.
|
|
2353
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
2354
|
+
the terms of any separate license agreement you may have executed
|
|
2355
|
+
with Licensor regarding such Contributions.
|
|
2356
|
+
|
|
2357
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
2358
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
2359
|
+
except as required for reasonable and customary use in describing the
|
|
2360
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
2361
|
+
|
|
2362
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
2363
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
2364
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
2365
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
2366
|
+
implied, including, without limitation, any warranties or conditions
|
|
2367
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
2368
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
2369
|
+
appropriateness of using or redistributing the Work and assume any
|
|
2370
|
+
risks associated with Your exercise of permissions under this License.
|
|
2371
|
+
|
|
2372
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
2373
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
2374
|
+
unless required by applicable law (such as deliberate and grossly
|
|
2375
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
2376
|
+
liable to You for damages, including any direct, indirect, special,
|
|
2377
|
+
incidental, or consequential damages of any character arising as a
|
|
2378
|
+
result of this License or out of the use or inability to use the
|
|
2379
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
2380
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
2381
|
+
other commercial damages or losses), even if such Contributor
|
|
2382
|
+
has been advised of the possibility of such damages.
|
|
2383
|
+
|
|
2384
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
2385
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
2386
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
2387
|
+
or other liability obligations and/or rights consistent with this
|
|
2388
|
+
License. However, in accepting such obligations, You may act only
|
|
2389
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
2390
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
2391
|
+
defend, and hold each Contributor harmless for any liability
|
|
2392
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
2393
|
+
of your accepting any such warranty or additional liability.
|
|
2394
|
+
|
|
2395
|
+
END OF TERMS AND CONDITIONS
|
|
2396
|
+
|
|
2397
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
2398
|
+
|
|
2399
|
+
To apply the Apache License to your work, attach the following
|
|
2400
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
2401
|
+
replaced with your own identifying information. (Don't include
|
|
2402
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
2403
|
+
comment syntax for the file format. We also recommend that a
|
|
2404
|
+
file or class name and description of purpose be included on the
|
|
2405
|
+
same "printed page" as the copyright notice for easier
|
|
2406
|
+
identification within third-party archives.
|
|
2407
|
+
|
|
2408
|
+
Copyright [yyyy] [name of copyright owner]
|
|
2409
|
+
|
|
2410
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
2411
|
+
you may not use this file except in compliance with the License.
|
|
2412
|
+
You may obtain a copy of the License at
|
|
2413
|
+
|
|
2414
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
2415
|
+
|
|
2416
|
+
Unless required by applicable law or agreed to in writing, software
|
|
2417
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
2418
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2419
|
+
See the License for the specific language governing permissions and
|
|
2420
|
+
limitations under the License.
|
|
2421
|
+
|
|
2422
|
+
|
|
2423
|
+
---- LLVM Exceptions to the Apache 2.0 License ----
|
|
2424
|
+
|
|
2425
|
+
As an exception, if, as a result of your compiling your source code, portions
|
|
2426
|
+
of this Software are embedded into an Object form of such source code, you
|
|
2427
|
+
may redistribute such embedded portions in such Object form without complying
|
|
2428
|
+
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
|
|
2429
|
+
|
|
2430
|
+
In addition, if you combine or link compiled forms of this Software with
|
|
2431
|
+
software that is licensed under the GPLv2 ("Combined Software") and if a
|
|
2432
|
+
court of competent jurisdiction determines that the patent provision (Section
|
|
2433
|
+
3), the indemnity provision (Section 9) or other Section of the License
|
|
2434
|
+
conflicts with the conditions of the GPLv2, you may retroactively and
|
|
2435
|
+
prospectively choose to deem waived or otherwise exclude such Section(s) of
|
|
2436
|
+
the License, but only in their entirety and only with respect to the Combined
|
|
2437
|
+
Software.
|
|
2438
|
+
|
|
2439
|
+
==============================================================================
|
|
2440
|
+
Software from third parties included in the LLVM Project:
|
|
2441
|
+
==============================================================================
|
|
2442
|
+
The LLVM Project contains third party software which is under different license
|
|
2443
|
+
terms. All such code will be identified clearly using at least one of two
|
|
2444
|
+
mechanisms:
|
|
2445
|
+
1) It will be in a separate directory tree with its own `LICENSE.txt` or
|
|
2446
|
+
`LICENSE` file at the top containing the specific license and restrictions
|
|
2447
|
+
which apply to that software, or
|
|
2448
|
+
2) It will contain specific license and restriction terms at the top of every
|
|
2449
|
+
file.
|
|
2450
|
+
|
|
2451
|
+
==============================================================================
|
|
2452
|
+
Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
|
|
2453
|
+
==============================================================================
|
|
2454
|
+
|
|
2455
|
+
The compiler_rt library is dual licensed under both the University of Illinois
|
|
2456
|
+
"BSD-Like" license and the MIT license. As a user of this code you may choose
|
|
2457
|
+
to use it under either license. As a contributor, you agree to allow your code
|
|
2458
|
+
to be used under both.
|
|
2459
|
+
|
|
2460
|
+
Full text of the relevant licenses is included below.
|
|
2461
|
+
|
|
2462
|
+
==============================================================================
|
|
2463
|
+
|
|
2464
|
+
University of Illinois/NCSA
|
|
2465
|
+
Open Source License
|
|
2466
|
+
|
|
2467
|
+
Copyright (c) 2009-2019 by the contributors listed in CREDITS.TXT
|
|
2468
|
+
|
|
2469
|
+
All rights reserved.
|
|
2470
|
+
|
|
2471
|
+
Developed by:
|
|
2472
|
+
|
|
2473
|
+
LLVM Team
|
|
2474
|
+
|
|
2475
|
+
University of Illinois at Urbana-Champaign
|
|
2476
|
+
|
|
2477
|
+
http://llvm.org
|
|
2478
|
+
|
|
2479
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
2480
|
+
this software and associated documentation files (the "Software"), to deal with
|
|
2481
|
+
the Software without restriction, including without limitation the rights to
|
|
2482
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
2483
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
2484
|
+
so, subject to the following conditions:
|
|
2485
|
+
|
|
2486
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
2487
|
+
this list of conditions and the following disclaimers.
|
|
2488
|
+
|
|
2489
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
2490
|
+
this list of conditions and the following disclaimers in the
|
|
2491
|
+
documentation and/or other materials provided with the distribution.
|
|
2492
|
+
|
|
2493
|
+
* Neither the names of the LLVM Team, University of Illinois at
|
|
2494
|
+
Urbana-Champaign, nor the names of its contributors may be used to
|
|
2495
|
+
endorse or promote products derived from this Software without specific
|
|
2496
|
+
prior written permission.
|
|
2497
|
+
|
|
2498
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2499
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
2500
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2501
|
+
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2502
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2503
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
|
2504
|
+
SOFTWARE.
|
|
2505
|
+
|
|
2506
|
+
==============================================================================
|
|
2507
|
+
|
|
2508
|
+
Copyright (c) 2009-2015 by the contributors listed in CREDITS.TXT
|
|
2509
|
+
|
|
2510
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2511
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
2512
|
+
in the Software without restriction, including without limitation the rights
|
|
2513
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2514
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
2515
|
+
furnished to do so, subject to the following conditions:
|
|
2516
|
+
|
|
2517
|
+
The above copyright notice and this permission notice shall be included in
|
|
2518
|
+
all copies or substantial portions of the Software.
|
|
2519
|
+
|
|
2520
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2521
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2522
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2523
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2524
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2525
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2526
|
+
THE SOFTWARE.
|
|
2527
|
+
|
|
2528
|
+
========================================================================
|
|
2529
|
+
LLVM libunwind license and historical notices
|
|
2530
|
+
========================================================================
|
|
2531
|
+
|
|
2532
|
+
==============================================================================
|
|
2533
|
+
The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
|
|
2534
|
+
==============================================================================
|
|
2535
|
+
|
|
2536
|
+
Apache License
|
|
2537
|
+
Version 2.0, January 2004
|
|
2538
|
+
http://www.apache.org/licenses/
|
|
2539
|
+
|
|
2540
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
2541
|
+
|
|
2542
|
+
1. Definitions.
|
|
2543
|
+
|
|
2544
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
2545
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
2546
|
+
|
|
2547
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
2548
|
+
the copyright owner that is granting the License.
|
|
2549
|
+
|
|
2550
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
2551
|
+
other entities that control, are controlled by, or are under common
|
|
2552
|
+
control with that entity. For the purposes of this definition,
|
|
2553
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
2554
|
+
direction or management of such entity, whether by contract or
|
|
2555
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
2556
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
2557
|
+
|
|
2558
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
2559
|
+
exercising permissions granted by this License.
|
|
2560
|
+
|
|
2561
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
2562
|
+
including but not limited to software source code, documentation
|
|
2563
|
+
source, and configuration files.
|
|
2564
|
+
|
|
2565
|
+
"Object" form shall mean any form resulting from mechanical
|
|
2566
|
+
transformation or translation of a Source form, including but
|
|
2567
|
+
not limited to compiled object code, generated documentation,
|
|
2568
|
+
and conversions to other media types.
|
|
2569
|
+
|
|
2570
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
2571
|
+
Object form, made available under the License, as indicated by a
|
|
2572
|
+
copyright notice that is included in or attached to the work
|
|
2573
|
+
(an example is provided in the Appendix below).
|
|
2574
|
+
|
|
2575
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
2576
|
+
form, that is based on (or derived from) the Work and for which the
|
|
2577
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
2578
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
2579
|
+
of this License, Derivative Works shall not include works that remain
|
|
2580
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
2581
|
+
the Work and Derivative Works thereof.
|
|
2582
|
+
|
|
2583
|
+
"Contribution" shall mean any work of authorship, including
|
|
2584
|
+
the original version of the Work and any modifications or additions
|
|
2585
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
2586
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
2587
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
2588
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
2589
|
+
means any form of electronic, verbal, or written communication sent
|
|
2590
|
+
to the Licensor or its representatives, including but not limited to
|
|
2591
|
+
communication on electronic mailing lists, source code control systems,
|
|
2592
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
2593
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
2594
|
+
excluding communication that is conspicuously marked or otherwise
|
|
2595
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
2596
|
+
|
|
2597
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
2598
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
2599
|
+
subsequently incorporated within the Work.
|
|
2600
|
+
|
|
2601
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
2602
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
2603
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
2604
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
2605
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
2606
|
+
Work and such Derivative Works in Source or Object form.
|
|
2607
|
+
|
|
2608
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
2609
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
2610
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
2611
|
+
(except as stated in this section) patent license to make, have made,
|
|
2612
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
2613
|
+
where such license applies only to those patent claims licensable
|
|
2614
|
+
by such Contributor that are necessarily infringed by their
|
|
2615
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
2616
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
2617
|
+
institute patent litigation against any entity (including a
|
|
2618
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
2619
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
2620
|
+
or contributory patent infringement, then any patent licenses
|
|
2621
|
+
granted to You under this License for that Work shall terminate
|
|
2622
|
+
as of the date such litigation is filed.
|
|
2623
|
+
|
|
2624
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
2625
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
2626
|
+
modifications, and in Source or Object form, provided that You
|
|
2627
|
+
meet the following conditions:
|
|
2628
|
+
|
|
2629
|
+
(a) You must give any other recipients of the Work or
|
|
2630
|
+
Derivative Works a copy of this License; and
|
|
2631
|
+
|
|
2632
|
+
(b) You must cause any modified files to carry prominent notices
|
|
2633
|
+
stating that You changed the files; and
|
|
2634
|
+
|
|
2635
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
2636
|
+
that You distribute, all copyright, patent, trademark, and
|
|
2637
|
+
attribution notices from the Source form of the Work,
|
|
2638
|
+
excluding those notices that do not pertain to any part of
|
|
2639
|
+
the Derivative Works; and
|
|
2640
|
+
|
|
2641
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
2642
|
+
distribution, then any Derivative Works that You distribute must
|
|
2643
|
+
include a readable copy of the attribution notices contained
|
|
2644
|
+
within such NOTICE file, excluding those notices that do not
|
|
2645
|
+
pertain to any part of the Derivative Works, in at least one
|
|
2646
|
+
of the following places: within a NOTICE text file distributed
|
|
2647
|
+
as part of the Derivative Works; within the Source form or
|
|
2648
|
+
documentation, if provided along with the Derivative Works; or,
|
|
2649
|
+
within a display generated by the Derivative Works, if and
|
|
2650
|
+
wherever such third-party notices normally appear. The contents
|
|
2651
|
+
of the NOTICE file are for informational purposes only and
|
|
2652
|
+
do not modify the License. You may add Your own attribution
|
|
2653
|
+
notices within Derivative Works that You distribute, alongside
|
|
2654
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
2655
|
+
that such additional attribution notices cannot be construed
|
|
2656
|
+
as modifying the License.
|
|
2657
|
+
|
|
2658
|
+
You may add Your own copyright statement to Your modifications and
|
|
2659
|
+
may provide additional or different license terms and conditions
|
|
2660
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
2661
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
2662
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
2663
|
+
the conditions stated in this License.
|
|
2664
|
+
|
|
2665
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
2666
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
2667
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
2668
|
+
this License, without any additional terms or conditions.
|
|
2669
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
2670
|
+
the terms of any separate license agreement you may have executed
|
|
2671
|
+
with Licensor regarding such Contributions.
|
|
2672
|
+
|
|
2673
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
2674
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
2675
|
+
except as required for reasonable and customary use in describing the
|
|
2676
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
2677
|
+
|
|
2678
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
2679
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
2680
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
2681
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
2682
|
+
implied, including, without limitation, any warranties or conditions
|
|
2683
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
2684
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
2685
|
+
appropriateness of using or redistributing the Work and assume any
|
|
2686
|
+
risks associated with Your exercise of permissions under this License.
|
|
2687
|
+
|
|
2688
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
2689
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
2690
|
+
unless required by applicable law (such as deliberate and grossly
|
|
2691
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
2692
|
+
liable to You for damages, including any direct, indirect, special,
|
|
2693
|
+
incidental, or consequential damages of any character arising as a
|
|
2694
|
+
result of this License or out of the use or inability to use the
|
|
2695
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
2696
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
2697
|
+
other commercial damages or losses), even if such Contributor
|
|
2698
|
+
has been advised of the possibility of such damages.
|
|
2699
|
+
|
|
2700
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
2701
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
2702
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
2703
|
+
or other liability obligations and/or rights consistent with this
|
|
2704
|
+
License. However, in accepting such obligations, You may act only
|
|
2705
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
2706
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
2707
|
+
defend, and hold each Contributor harmless for any liability
|
|
2708
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
2709
|
+
of your accepting any such warranty or additional liability.
|
|
2710
|
+
|
|
2711
|
+
END OF TERMS AND CONDITIONS
|
|
2712
|
+
|
|
2713
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
2714
|
+
|
|
2715
|
+
To apply the Apache License to your work, attach the following
|
|
2716
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
2717
|
+
replaced with your own identifying information. (Don't include
|
|
2718
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
2719
|
+
comment syntax for the file format. We also recommend that a
|
|
2720
|
+
file or class name and description of purpose be included on the
|
|
2721
|
+
same "printed page" as the copyright notice for easier
|
|
2722
|
+
identification within third-party archives.
|
|
2723
|
+
|
|
2724
|
+
Copyright [yyyy] [name of copyright owner]
|
|
2725
|
+
|
|
2726
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
2727
|
+
you may not use this file except in compliance with the License.
|
|
2728
|
+
You may obtain a copy of the License at
|
|
2729
|
+
|
|
2730
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
2731
|
+
|
|
2732
|
+
Unless required by applicable law or agreed to in writing, software
|
|
2733
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
2734
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2735
|
+
See the License for the specific language governing permissions and
|
|
2736
|
+
limitations under the License.
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
---- LLVM Exceptions to the Apache 2.0 License ----
|
|
2740
|
+
|
|
2741
|
+
As an exception, if, as a result of your compiling your source code, portions
|
|
2742
|
+
of this Software are embedded into an Object form of such source code, you
|
|
2743
|
+
may redistribute such embedded portions in such Object form without complying
|
|
2744
|
+
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
|
|
2745
|
+
|
|
2746
|
+
In addition, if you combine or link compiled forms of this Software with
|
|
2747
|
+
software that is licensed under the GPLv2 ("Combined Software") and if a
|
|
2748
|
+
court of competent jurisdiction determines that the patent provision (Section
|
|
2749
|
+
3), the indemnity provision (Section 9) or other Section of the License
|
|
2750
|
+
conflicts with the conditions of the GPLv2, you may retroactively and
|
|
2751
|
+
prospectively choose to deem waived or otherwise exclude such Section(s) of
|
|
2752
|
+
the License, but only in their entirety and only with respect to the Combined
|
|
2753
|
+
Software.
|
|
2754
|
+
|
|
2755
|
+
==============================================================================
|
|
2756
|
+
Software from third parties included in the LLVM Project:
|
|
2757
|
+
==============================================================================
|
|
2758
|
+
The LLVM Project contains third party software which is under different license
|
|
2759
|
+
terms. All such code will be identified clearly using at least one of two
|
|
2760
|
+
mechanisms:
|
|
2761
|
+
1) It will be in a separate directory tree with its own `LICENSE.txt` or
|
|
2762
|
+
`LICENSE` file at the top containing the specific license and restrictions
|
|
2763
|
+
which apply to that software, or
|
|
2764
|
+
2) It will contain specific license and restriction terms at the top of every
|
|
2765
|
+
file.
|
|
2766
|
+
|
|
2767
|
+
==============================================================================
|
|
2768
|
+
Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
|
|
2769
|
+
==============================================================================
|
|
2770
|
+
|
|
2771
|
+
The libunwind library is dual licensed under both the University of Illinois
|
|
2772
|
+
"BSD-Like" license and the MIT license. As a user of this code you may choose
|
|
2773
|
+
to use it under either license. As a contributor, you agree to allow your code
|
|
2774
|
+
to be used under both.
|
|
2775
|
+
|
|
2776
|
+
Full text of the relevant licenses is included below.
|
|
2777
|
+
|
|
2778
|
+
==============================================================================
|
|
2779
|
+
|
|
2780
|
+
University of Illinois/NCSA
|
|
2781
|
+
Open Source License
|
|
2782
|
+
|
|
2783
|
+
Copyright (c) 2009-2019 by the contributors listed in CREDITS.TXT
|
|
2784
|
+
|
|
2785
|
+
All rights reserved.
|
|
2786
|
+
|
|
2787
|
+
Developed by:
|
|
2788
|
+
|
|
2789
|
+
LLVM Team
|
|
2790
|
+
|
|
2791
|
+
University of Illinois at Urbana-Champaign
|
|
2792
|
+
|
|
2793
|
+
http://llvm.org
|
|
2794
|
+
|
|
2795
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
2796
|
+
this software and associated documentation files (the "Software"), to deal with
|
|
2797
|
+
the Software without restriction, including without limitation the rights to
|
|
2798
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
2799
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
2800
|
+
so, subject to the following conditions:
|
|
2801
|
+
|
|
2802
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
2803
|
+
this list of conditions and the following disclaimers.
|
|
2804
|
+
|
|
2805
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
2806
|
+
this list of conditions and the following disclaimers in the
|
|
2807
|
+
documentation and/or other materials provided with the distribution.
|
|
2808
|
+
|
|
2809
|
+
* Neither the names of the LLVM Team, University of Illinois at
|
|
2810
|
+
Urbana-Champaign, nor the names of its contributors may be used to
|
|
2811
|
+
endorse or promote products derived from this Software without specific
|
|
2812
|
+
prior written permission.
|
|
2813
|
+
|
|
2814
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2815
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
2816
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2817
|
+
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2818
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2819
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
|
2820
|
+
SOFTWARE.
|
|
2821
|
+
|
|
2822
|
+
==============================================================================
|
|
2823
|
+
|
|
2824
|
+
Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT
|
|
2825
|
+
|
|
2826
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2827
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
2828
|
+
in the Software without restriction, including without limitation the rights
|
|
2829
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2830
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
2831
|
+
furnished to do so, subject to the following conditions:
|
|
2832
|
+
|
|
2833
|
+
The above copyright notice and this permission notice shall be included in
|
|
2834
|
+
all copies or substantial portions of the Software.
|
|
2835
|
+
|
|
2836
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2837
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2838
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2839
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2840
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2841
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2842
|
+
THE SOFTWARE.
|