gds-lens 0.1.0

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.
@@ -0,0 +1,261 @@
1
+ # Third-party licences
2
+
3
+ The published payload (`dist/web/` and `dist/inline-wasm/`) carries third-party
4
+ code in two places: statically linked into the compiled WebAssembly module
5
+ (`gds-lens-engine.js`), and bundled into the JavaScript beside it
6
+ (`gds-lens.js`). Everything from both is listed below. All are permissive and
7
+ compatible with this project's MIT licence; the requirement they impose is
8
+ attribution, reproduced here in full.
9
+
10
+ | Project | Licence | Arrives in |
11
+ |---|---|---|
12
+ | gdstk | BSL-1.0 | linked into `gds-lens-engine.js` |
13
+ | Clipper | BSL-1.0 | linked into `gds-lens-engine.js` |
14
+ | Qhull | Qhull licence | linked into `gds-lens-engine.js` |
15
+ | earcut.hpp | ISC | linked into `gds-lens-engine.js` |
16
+ | zlib | zlib licence | linked into `gds-lens-engine.js` (Emscripten's `-sUSE_ZLIB=1` port) |
17
+ | Emscripten | MIT / NCSA | its runtime *is* `gds-lens-engine.js` |
18
+ | lil-gui | MIT | bundled into `gds-lens.js`, stylesheet included |
19
+
20
+ Qhull's licence in particular requires that its notice accompany any
21
+ distribution that includes it - including binary-only distributions, for which
22
+ it grants no exemption. Qhull's original source can be obtained from
23
+ <http://www.qhull.org>. Qhull is used here unmodified.
24
+
25
+ ---
26
+
27
+ ## gdstk - Boost Software License 1.0
28
+
29
+ <https://github.com/heitzmann/gdstk>
30
+
31
+ ```
32
+ Boost Software License - Version 1.0 - August 17th, 2003
33
+
34
+ Permission is hereby granted, free of charge, to any person or organization
35
+ obtaining a copy of the software and accompanying documentation covered by
36
+ this license (the "Software") to use, reproduce, display, distribute,
37
+ execute, and transmit the Software, and to prepare derivative works of the
38
+ Software, and to permit third-parties to whom the Software is furnished to
39
+ do so, all subject to the following:
40
+
41
+ The copyright notices in the Software and this entire statement, including
42
+ the above license grant, this restriction and the following disclaimer,
43
+ must be included in all copies of the Software, in whole or in part, and
44
+ all derivative works of the Software, unless such copies or derivative
45
+ works are solely in the form of machine-executable object code generated by
46
+ a source language processor.
47
+
48
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
49
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
51
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
52
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
53
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
54
+ DEALINGS IN THE SOFTWARE.
55
+ ```
56
+
57
+ ---
58
+
59
+ ## Clipper - Boost Software License 1.0
60
+
61
+ Angus Johnson, 2010-2017. <http://www.angusj.com>
62
+ Distributed within gdstk as `external/clipper`.
63
+
64
+ ```
65
+ /*******************************************************************************
66
+ * *
67
+ * Author : Angus Johnson *
68
+ * Version : 6.4.2 *
69
+ * Date : 27 February 2017 *
70
+ * Website : http://www.angusj.com *
71
+ * Copyright : Angus Johnson 2010-2017 *
72
+ * *
73
+ * License: *
74
+ * Use, modification & distribution is subject to Boost Software License Ver 1. *
75
+ * http://www.boost.org/LICENSE_1_0.txt *
76
+ * *
77
+ * Attributions: *
78
+ * The code in this library is an extension of Bala Vatti's clipping algorithm: *
79
+ * "A generic solution to polygon clipping" *
80
+ * Communications of the ACM, Vol 35, Issue 7 (July 1992) pp 56-63. *
81
+ * http://portal.acm.org/citation.cfm?id=129906 *
82
+ * *
83
+ * Computer graphics and geometric modeling: implementation and algorithms *
84
+ * By Max K. Agoston *
85
+ ```
86
+
87
+ ---
88
+
89
+ ## Qhull - Qhull licence
90
+
91
+ <http://www.qhull.org>
92
+
93
+ ```
94
+ Qhull, Copyright (c) 1993-2020
95
+
96
+ C.B. Barber
97
+ Arlington, MA
98
+
99
+ and
100
+
101
+ The National Science and Technology Research Center for
102
+ Computation and Visualization of Geometric Structures
103
+ (The Geometry Center)
104
+ University of Minnesota
105
+
106
+ email: qhull@qhull.org
107
+
108
+ This software includes Qhull from C.B. Barber and The Geometry Center.
109
+ Files derived from Qhull 1.0 are copyrighted by the Geometry Center. The
110
+ remaining files are copyrighted by C.B. Barber. Qhull is free software
111
+ and may be obtained via http from www.qhull.org. It may be freely copied,
112
+ modified, and redistributed under the following conditions:
113
+
114
+ 1. All copyright notices must remain intact in all files.
115
+
116
+ 2. A copy of this text file must be distributed along with any copies
117
+ of Qhull that you redistribute; this includes copies that you have
118
+ modified, or copies of programs or other software products that
119
+ include Qhull.
120
+
121
+ 3. If you modify Qhull, you must include a notice giving the
122
+ name of the person performing the modification, the date of
123
+ modification, and the reason for such modification.
124
+
125
+ 4. When distributing modified versions of Qhull, or other software
126
+ products that include Qhull, you must provide notice that the original
127
+ source code may be obtained as noted above.
128
+
129
+ 5. There is no warranty or other guarantee of fitness for Qhull, it is
130
+ provided solely "as is". Bug reports or fixes may be sent to
131
+ qhull_bug@qhull.org; the authors may or may not act on them as
132
+ they desire.
133
+ ```
134
+
135
+ ---
136
+
137
+ ## earcut.hpp - ISC License
138
+
139
+ <https://github.com/mapbox/earcut.hpp>
140
+
141
+ ```
142
+ ISC License
143
+
144
+ Copyright (c) 2015, Mapbox
145
+
146
+ Permission to use, copy, modify, and/or distribute this software for any purpose
147
+ with or without fee is hereby granted, provided that the above copyright notice
148
+ and this permission notice appear in all copies.
149
+
150
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
151
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
152
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
153
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
154
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
155
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
156
+ THIS SOFTWARE.
157
+ ```
158
+
159
+ ---
160
+
161
+ ## zlib - zlib licence
162
+
163
+ <https://github.com/madler/zlib>
164
+
165
+ Linked into the WebAssembly module through Emscripten's bundled zlib port
166
+ (`-sUSE_ZLIB=1` in `src/wasm/CMakeLists.txt`), which gdstk uses to read and
167
+ write OASIS CBLOCK-compressed records. Version 1.3.2, used unmodified.
168
+
169
+ ```
170
+ Copyright notice:
171
+
172
+ (C) 1995-2026 Jean-loup Gailly and Mark Adler
173
+
174
+ This software is provided 'as-is', without any express or implied
175
+ warranty. In no event will the authors be held liable for any damages
176
+ arising from the use of this software.
177
+
178
+ Permission is granted to anyone to use this software for any purpose,
179
+ including commercial applications, and to alter it and redistribute it
180
+ freely, subject to the following restrictions:
181
+
182
+ 1. The origin of this software must not be misrepresented; you must not
183
+ claim that you wrote the original software. If you use this software
184
+ in a product, an acknowledgment in the product documentation would be
185
+ appreciated but is not required.
186
+ 2. Altered source versions must be plainly marked as such, and must not be
187
+ misrepresented as being the original software.
188
+ 3. This notice may not be removed or altered from any source distribution.
189
+
190
+ Jean-loup Gailly Mark Adler
191
+ jloup@gzip.org madler@alumni.caltech.edu
192
+ ```
193
+
194
+ ---
195
+
196
+ ## Emscripten - MIT / University of Illinois NCSA (dual)
197
+
198
+ <https://github.com/emscripten-core/emscripten>
199
+
200
+ `gds-lens-engine.js` is Emscripten's own output: the loader, the runtime and the
201
+ embind glue in it are Emscripten's code, not this project's. Emscripten is
202
+ available under two separate licences, the MIT licence and the University of
203
+ Illinois/NCSA Open Source License, either of which may be chosen. The MIT
204
+ text is reproduced here; the NCSA text is in Emscripten's own `LICENSE` file.
205
+
206
+ ```
207
+ Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
208
+
209
+ Permission is hereby granted, free of charge, to any person obtaining a copy
210
+ of this software and associated documentation files (the "Software"), to deal
211
+ in the Software without restriction, including without limitation the rights
212
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
213
+ copies of the Software, and to permit persons to whom the Software is
214
+ furnished to do so, subject to the following conditions:
215
+
216
+ The above copyright notice and this permission notice shall be included in all
217
+ copies or substantial portions of the Software.
218
+
219
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
220
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
221
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
222
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
223
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
224
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
225
+ SOFTWARE.
226
+ ```
227
+
228
+ ---
229
+
230
+ ## lil-gui - MIT
231
+
232
+ <https://github.com/georgealways/lil-gui>
233
+
234
+ The viewer's control panel. Unlike everything above it is JavaScript, bundled
235
+ into `dist/*/gds-lens.js` by esbuild, and its stylesheet is carried inline in
236
+ the payload (the panel lives in a shadow root, which cannot see a stylesheet
237
+ appended to `document.head`). Version 0.21.0, used unmodified.
238
+
239
+ ```
240
+ MIT License
241
+
242
+ Copyright (c) 2019 George Michael Brower
243
+
244
+ Permission is hereby granted, free of charge, to any person obtaining a copy
245
+ of this software and associated documentation files (the "Software"), to deal
246
+ in the Software without restriction, including without limitation the rights
247
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
248
+ copies of the Software, and to permit persons to whom the Software is
249
+ furnished to do so, subject to the following conditions:
250
+
251
+ The above copyright notice and this permission notice shall be included in all
252
+ copies or substantial portions of the Software.
253
+
254
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
255
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
256
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
257
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
258
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
259
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
260
+ SOFTWARE.
261
+ ```