slint-ui 0.3.3 → 0.3.4
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.md +2 -2
- package/LICENSES/LicenseRef-Slint-commercial.md +56 -58
- package/native/Cargo.toml +4 -4
- package/native/lib.rs +1 -1
- package/package.json +1 -1
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Slint License
|
|
2
2
|
|
|
3
|
-
Slint is available under either a [
|
|
4
|
-
or [GNU GPLv3](LICENSES/GPL-3.0-only.txt)
|
|
3
|
+
Slint is available under either a [proprietary license](LICENSES/LicenseRef-Slint-commercial.md)
|
|
4
|
+
or [GNU GPLv3](LICENSES/GPL-3.0-only.txt).
|
|
5
5
|
|
|
6
6
|
Third party licenses listed in the `LICENSES` folder also apply to parts of the product.
|
|
@@ -43,9 +43,9 @@ The Licensed Software includes
|
|
|
43
43
|
treaties. The Licensed Software is licensed, not sold.
|
|
44
44
|
|
|
45
45
|
2. The Licensed Software may provide links to third Party libraries or code
|
|
46
|
-
(collectively **Third
|
|
47
|
-
Third
|
|
48
|
-
cases, access to Third
|
|
46
|
+
(collectively **Third-Party Libraries**) to implement various functions.
|
|
47
|
+
Third-Party Libraries do not comprise part of the Licensed Software. In some
|
|
48
|
+
cases, access to Third-Party Libraries may be included along with the
|
|
49
49
|
Licensed Software delivery as a convenience for development and testing
|
|
50
50
|
only. You acknowledge:
|
|
51
51
|
|
|
@@ -54,7 +54,7 @@ The Licensed Software includes
|
|
|
54
54
|
|
|
55
55
|
2. that distribution of any of the Licensed Software referencing any portion
|
|
56
56
|
of a Third-Party Library may require appropriate licensing from such
|
|
57
|
-
third parties. All such Third
|
|
57
|
+
third parties. All such Third-Party Libraries, along with applicable
|
|
58
58
|
copyright notices and licenses, will be listed and made available to
|
|
59
59
|
you.
|
|
60
60
|
|
|
@@ -67,89 +67,88 @@ The Licensed Software includes
|
|
|
67
67
|
|
|
68
68
|
3. your contact details.
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
4. In case of any changes or deviations to the information noted in the License
|
|
71
71
|
Certificate, you are obliged to notify us in writing, not later than 7 days
|
|
72
|
-
after any such change or deviation has
|
|
72
|
+
after any such change or deviation has occurred.
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
5. The Term of this Agreement shall begin on the date mentioned in the License
|
|
75
75
|
Certificate (**Effective Date**) and shall continue unless terminated
|
|
76
76
|
earlier as herein provided (**Term**).
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
6. New releases of the Licensed Software (**Updates**) will be made available
|
|
79
79
|
to you for the period (**Maintenance Period**) specified in the License
|
|
80
80
|
Certificate. Such Updates may be bound by additional license terms. You
|
|
81
81
|
consent to any such additional license terms, without which you may not
|
|
82
82
|
install, copy, or otherwise use such Updates.
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
7. The Licensed Software is to be used exclusively with your software
|
|
85
85
|
products (**Products**) specified in the License Certificate.
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
8. We grant you a perpetual, non-exclusive, non-transferable right to use the
|
|
88
88
|
Licensed Software, including making modifications, for the sole purposes of
|
|
89
89
|
designing, developing, and testing your Products during the Term. The number
|
|
90
|
-
of **Users** using the Licensed Software to design, develop and test your
|
|
90
|
+
of **Users** using the Licensed Software to design, develop, and test your
|
|
91
91
|
Products is limited to the amount of **User Seats** specified in the License
|
|
92
92
|
Certificate. For clarity, each unique User is counted as one User Seat.
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
9. We grant you a perpetual, non-exclusive, non-transferable right to reproduce
|
|
95
95
|
and distribute the object code form of the Licensed Software, including any
|
|
96
96
|
modifications made to the Licensed Software, during the Term. Such
|
|
97
|
-
distributions
|
|
97
|
+
distributions are permitted only with your Products and limited to the number
|
|
98
98
|
of **Distributions** specified in the License Certificate.
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
10. The license grants are conditional on the full and timely payment of all
|
|
101
101
|
applicable **Fees**; if said Fees are not paid in full and by their due
|
|
102
102
|
date, the license shall not be granted and your Products shall be deemed as
|
|
103
103
|
made in breach of the Agreement ex tunc.
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
11. Clause 10 above shall not apply if the license has been granted to you under
|
|
106
106
|
the **Ambassador** program. Instead, the license grants shall be conditional
|
|
107
|
-
on the
|
|
107
|
+
on the fulfillment of the obligations as specified herein. If said
|
|
108
108
|
obligations are not fulfilled, the license shall not be granted and your
|
|
109
109
|
Products shall be deemed as made in breach of the Agreement ex tunc. The
|
|
110
110
|
obligations are as follows:
|
|
111
111
|
|
|
112
|
-
1. Showcase: You grant us the right to use your name, logo and your
|
|
112
|
+
1. Showcase: You grant us the right to use your name, logo, and your
|
|
113
113
|
Products in our marketing materials,
|
|
114
114
|
|
|
115
|
-
2. Spread the word: You will include
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
2. Spread the word: You will include visible notices in the documentation,
|
|
116
|
+
marketing materials, and social media channels related to your Products
|
|
117
|
+
that such were built with the Licensed Software,
|
|
118
118
|
|
|
119
|
-
3. Give feedback: You agree to provide
|
|
120
|
-
|
|
121
|
-
feedback in testimonials.
|
|
119
|
+
3. Give feedback: You agree to provide feedback that would help us improve
|
|
120
|
+
the Licensed Software. We may use any such feedback in testimonials.
|
|
122
121
|
|
|
123
|
-
|
|
122
|
+
12. The Fees and any other charges under this Agreement shall be paid by
|
|
124
123
|
you no later than thirty (30) days from the date of the applicable
|
|
125
|
-
invoice from us. A late payment charge of
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
124
|
+
invoice from us. A late payment charge of five percent per month over and
|
|
125
|
+
above the interest rate stipulated by applicable law shall be charged on any
|
|
126
|
+
unpaid balances that remain past due and which have not been disputed by you
|
|
127
|
+
in good faith.
|
|
129
128
|
|
|
130
|
-
|
|
129
|
+
13. The Fees and any other charges payable under this Agreement are gross
|
|
131
130
|
amounts but exclusive of any value added tax, use tax, sales tax,
|
|
132
131
|
withholding tax and other taxes, duties or tariffs levied directly for the
|
|
133
|
-
sale, delivery or use of the Licensed Software pursuant to any applicable
|
|
132
|
+
sale, delivery, or use of the Licensed Software pursuant to any applicable
|
|
134
133
|
law.
|
|
135
134
|
|
|
136
|
-
|
|
135
|
+
14. The Parties also agree to all the following conditions:
|
|
137
136
|
|
|
138
|
-
1. You may not remove or alter any copyright, trademark or other
|
|
137
|
+
1. You may not remove or alter any copyright, trademark, or other
|
|
139
138
|
proprietary rights notice contained in any portion of the Licensed
|
|
140
139
|
Software,
|
|
141
140
|
|
|
142
141
|
2. Your Products may not compete with the Licensed Software,
|
|
143
142
|
|
|
144
|
-
3. You will indemnify and hold us, our affiliated companies and our
|
|
143
|
+
3. You will indemnify and hold us, our affiliated companies, and our
|
|
145
144
|
suppliers, harmless from and against any claims or liabilities
|
|
146
|
-
arising out of the use, reproduction or distribution of your
|
|
147
|
-
Products, except as set out in clause
|
|
145
|
+
arising out of the use, reproduction, or distribution of your
|
|
146
|
+
Products, except as set out in clause 14.4. immediately below,
|
|
148
147
|
|
|
149
148
|
4. We shall indemnify and hold you harmless from and against any
|
|
150
149
|
claims from third parties alleging that the use of the Licensed Software
|
|
151
150
|
as set out in this Agreement infringes or will infringe such third
|
|
152
|
-
parties intellectual property rights or other rights,
|
|
151
|
+
parties' intellectual property rights or other rights,
|
|
153
152
|
|
|
154
153
|
5. A Party shall promptly notify the other Party if it receives a claim that
|
|
155
154
|
the other Party shall or may be obliged to indemnify. The Parties shall
|
|
@@ -169,17 +168,17 @@ The Licensed Software includes
|
|
|
169
168
|
the indemnifying Party, such consent not to be unreasonably withheld or
|
|
170
169
|
delayed.
|
|
171
170
|
|
|
172
|
-
|
|
171
|
+
15. The Licensed Software is licensed to you "as is". To the maximum extent
|
|
173
172
|
permitted by applicable law, we on behalf of us and our suppliers,
|
|
174
173
|
disclaim all warranties and conditions, either express or implied,
|
|
175
174
|
including, but not limited to, any implied warranties of merchantability or
|
|
176
|
-
fitness for a particular purpose, title and non-infringement with regard to
|
|
175
|
+
fitness for a particular purpose, title, and non-infringement with regard to
|
|
177
176
|
the Licensed Software. The warranty disclaimer in the foregoing
|
|
178
177
|
notwithstanding, you may have specific legal rights which may vary from
|
|
179
178
|
state/jurisdiction to state/jurisdiction; as far as legally permissible, you
|
|
180
179
|
waive any such legal rights vis-à-vis us.
|
|
181
180
|
|
|
182
|
-
|
|
181
|
+
16. We shall not under any circumstances be liable to you based on failure of
|
|
183
182
|
the Licensed Software if the failure resulted from your changing of the
|
|
184
183
|
Licensed Software, from your accident, abuse or misapplication, nor shall
|
|
185
184
|
we except in case of gross negligence or willful misconduct be
|
|
@@ -188,7 +187,7 @@ The Licensed Software includes
|
|
|
188
187
|
nor shall any award of damages exceed the total amount you paid to us in
|
|
189
188
|
connection with this Agreement.
|
|
190
189
|
|
|
191
|
-
|
|
190
|
+
17. Each Party shall hold Confidential Information of the other Party, its
|
|
192
191
|
customers, and licensors in confidence, and without written permission from
|
|
193
192
|
will not disclose to any person or use for its own benefit, any such
|
|
194
193
|
information. **Confidential Information** includes without limitation the
|
|
@@ -200,7 +199,7 @@ The Licensed Software includes
|
|
|
200
199
|
licensors, or customers as proprietary or confidential, or which would
|
|
201
200
|
reasonably be understood under the circumstances to be confidential. All
|
|
202
201
|
Confidential Information shall remain the sole property of each respective
|
|
203
|
-
Party. Information will not be considered
|
|
202
|
+
Party. Information will not be considered as Confidential Information if
|
|
204
203
|
|
|
205
204
|
1. available to the public other than by a breach of this Agreement;
|
|
206
205
|
|
|
@@ -220,21 +219,20 @@ The Licensed Software includes
|
|
|
220
219
|
remedies available, each Party shall be entitled to enforcement of such
|
|
221
220
|
obligations by court injunction.
|
|
222
221
|
|
|
223
|
-
|
|
222
|
+
18. During the Term, an independent, certified auditor on our behalf, may, upon
|
|
224
223
|
its reasonable request, with 30 (thirty) days written notice, and at its
|
|
225
224
|
sole expense, examine your books and records solely with respect to your use
|
|
226
225
|
of the Licensed Software. Any such audit shall be conducted during regular
|
|
227
226
|
business hours at your facilities and shall not unreasonably interfere with
|
|
228
227
|
your business activities. Our auditor shall not remove, copy, or
|
|
229
|
-
redistribute any electronic material during
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
18. If you materially breach this Agreement, we will provide a 60 (sixty) days
|
|
228
|
+
redistribute any electronic material during an audit. If an audit reveals that
|
|
229
|
+
you are using the Licensed Software in a way that is in material violation
|
|
230
|
+
of the terms of this Agreement, then you shall pay us reasonable costs of
|
|
231
|
+
conducting the audit. Our auditor shall only be allowed to report violations
|
|
232
|
+
of the terms of this Agreement, with a copy to you. You shall be provided
|
|
233
|
+
the right to provide comments to the report before it is finalized.
|
|
234
|
+
|
|
235
|
+
19. If you materially breach this Agreement, we will provide a 60 (sixty) days
|
|
238
236
|
written notice to you during which any such breach(es) may be cured, failing
|
|
239
237
|
which we will terminate the agreement. You undertake to pay a contractual
|
|
240
238
|
penalty for each case of negligent breach of this Agreement of EUR 10000
|
|
@@ -243,32 +241,32 @@ The Licensed Software includes
|
|
|
243
241
|
other claims. The amount of contractual penalty shall be offset against
|
|
244
242
|
claims for damages, if any.
|
|
245
243
|
|
|
246
|
-
|
|
244
|
+
20. You may terminate this Agreement at any time for any reason upon 90 (ninety)
|
|
247
245
|
days notice to us and upon payment of all applicable fees and contractual
|
|
248
246
|
penalties, if any, in connection with the use of the Licensed Software.
|
|
249
247
|
|
|
250
|
-
|
|
248
|
+
21. Both Parties shall comply with all applicable laws and regulations relating
|
|
251
249
|
to the Licensed Software in the countries in which the Parties use or modify
|
|
252
250
|
the Licensed Software.
|
|
253
251
|
|
|
254
|
-
|
|
252
|
+
22. All notices and communications between the Parties shall be in writing and
|
|
255
253
|
shall be deemed given when received. For avoidance of doubt, email is
|
|
256
254
|
considered a written form of communication.
|
|
257
255
|
|
|
258
|
-
|
|
256
|
+
23. This Agreement shall be construed, interpreted, and governed by the laws of
|
|
259
257
|
the Federal Republic of Germany.
|
|
260
258
|
|
|
261
|
-
|
|
259
|
+
24. No term or condition contained in your purchase order will apply unless
|
|
262
260
|
expressly accepted by us in writing.
|
|
263
261
|
|
|
264
|
-
|
|
262
|
+
25. You may assign this Agreement, in whole or in part (whether by operation of
|
|
265
263
|
law or otherwise), with prior consent from us, which shall not be
|
|
266
264
|
unreasonably withheld or delayed. We may assign this Agreement or any of its
|
|
267
265
|
rights hereunder or delegate any of its obligations hereunder with prior
|
|
268
266
|
notice to you. Any attempt to assign this Agreement other than in accordance
|
|
269
267
|
with this provision shall be null and void.
|
|
270
268
|
|
|
271
|
-
|
|
269
|
+
26. This Agreement constitutes the complete agreement between the Parties and
|
|
272
270
|
supersedes all prior or contemporaneous discussions, representations, and
|
|
273
271
|
proposals, written or oral, with respect to the subject matters discussed
|
|
274
272
|
herein. No modification of this Agreement will be effective unless contained
|
package/native/Cargo.toml
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
[package]
|
|
5
5
|
name = "slint-node"
|
|
6
|
-
version = "0.3.
|
|
6
|
+
version = "0.3.4"
|
|
7
7
|
authors = ["Slint Developers <info@slint-ui.com>"]
|
|
8
8
|
edition = "2021"
|
|
9
9
|
build = "build.rs"
|
|
@@ -20,9 +20,9 @@ crate-type = ["cdylib"]
|
|
|
20
20
|
name = "slint_node_native"
|
|
21
21
|
|
|
22
22
|
[dependencies]
|
|
23
|
-
i-slint-compiler = { version = "=0.3.
|
|
24
|
-
i-slint-core = { version = "=0.3.
|
|
25
|
-
slint-interpreter = { version = "=0.3.
|
|
23
|
+
i-slint-compiler = { version = "=0.3.4"}
|
|
24
|
+
i-slint-core = { version = "=0.3.4"}
|
|
25
|
+
slint-interpreter = { version = "=0.3.4", features = ["display-diagnostics"] }
|
|
26
26
|
|
|
27
27
|
vtable = { version = "0.1.6"}
|
|
28
28
|
|
package/native/lib.rs
CHANGED
|
@@ -422,7 +422,7 @@ declare_types! {
|
|
|
422
422
|
};
|
|
423
423
|
|
|
424
424
|
let res = run_scoped(&mut cx,this.downcast().unwrap(), || {
|
|
425
|
-
component.
|
|
425
|
+
component.invoke(callback_name.as_str(), args.as_slice())
|
|
426
426
|
.map_err(|_| "Cannot emit callback".to_string())
|
|
427
427
|
})?;
|
|
428
428
|
to_js_value(res, &mut cx, &persistent_context)
|