vapor-chamber 1.4.0 → 1.9.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.
- package/LICENSE +78 -258
- package/README.md +362 -238
- package/ROADMAP.md +241 -18
- package/dist/alien-signals.js +87 -20
- package/dist/alien-signals.js.map +1 -1
- package/dist/chamber-vapor-ByupCPOl.js +237 -0
- package/dist/chamber-vapor-ByupCPOl.js.map +1 -0
- package/dist/chamber-vapor-Cg_iYzA0.js +239 -0
- package/dist/chamber-vapor-Cg_iYzA0.js.map +1 -0
- package/dist/chamber-vapor.d.ts +69 -117
- package/dist/chamber-vapor.d.ts.map +1 -1
- package/dist/chamber-vg2MM_W4.js +734 -0
- package/dist/chamber-vg2MM_W4.js.map +1 -0
- package/dist/chamber.d.ts +95 -7
- package/dist/chamber.d.ts.map +1 -1
- package/dist/command-bus-BHCgHQja.js +1255 -0
- package/dist/command-bus-BHCgHQja.js.map +1 -0
- package/dist/command-bus.d.ts +103 -8
- package/dist/command-bus.d.ts.map +1 -1
- package/dist/devtools.d.ts.map +1 -1
- package/dist/devtools.js +140 -0
- package/dist/devtools.js.map +1 -0
- package/dist/directives.d.ts +23 -8
- package/dist/directives.d.ts.map +1 -1
- package/dist/directives.js +225 -127
- package/dist/directives.js.map +1 -1
- package/dist/fast-lane.js +54 -45
- package/dist/fast-lane.js.map +1 -1
- package/dist/form.d.ts.map +1 -1
- package/dist/http-C0hSmO_m.js +658 -0
- package/dist/http-C0hSmO_m.js.map +1 -0
- package/dist/http-cache.d.ts +22 -2
- package/dist/http-cache.d.ts.map +1 -1
- package/dist/http-errors.d.ts +15 -0
- package/dist/http-errors.d.ts.map +1 -0
- package/dist/http.d.ts +30 -2
- package/dist/http.d.ts.map +1 -1
- package/dist/iife-core.d.ts +0 -1
- package/dist/iife-core.d.ts.map +1 -1
- package/dist/iife-core.js +79 -0
- package/dist/iife-core.js.map +1 -0
- package/dist/iife-elements.d.ts +0 -1
- package/dist/iife-elements.d.ts.map +1 -1
- package/dist/iife-elements.js +164 -0
- package/dist/iife-elements.js.map +1 -0
- package/dist/iife.d.ts +3 -4
- package/dist/iife.d.ts.map +1 -1
- package/dist/iife.js +134 -82
- package/dist/iife.js.map +1 -1
- package/dist/index.d.ts +23 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1656 -1073
- package/dist/index.js.map +1 -1
- package/dist/mcp.d.ts +162 -0
- package/dist/mcp.d.ts.map +1 -0
- package/dist/mcp.js +298 -0
- package/dist/mcp.js.map +1 -0
- package/dist/observable.js +70 -43
- package/dist/observable.js.map +1 -1
- package/dist/outbox.d.ts +177 -0
- package/dist/outbox.d.ts.map +1 -0
- package/dist/outbox.js +334 -0
- package/dist/outbox.js.map +1 -0
- package/dist/plugins-core.d.ts +29 -0
- package/dist/plugins-core.d.ts.map +1 -1
- package/dist/plugins-extra.d.ts +144 -1
- package/dist/plugins-extra.d.ts.map +1 -1
- package/dist/plugins-io-D_ZuAd0r.js +533 -0
- package/dist/plugins-io-D_ZuAd0r.js.map +1 -0
- package/dist/plugins-io.d.ts +13 -1
- package/dist/plugins-io.d.ts.map +1 -1
- package/dist/plugins-schema.js +70 -62
- package/dist/plugins-schema.js.map +1 -1
- package/dist/reactive.d.ts +70 -0
- package/dist/reactive.d.ts.map +1 -0
- package/dist/reactive.js +41 -0
- package/dist/reactive.js.map +1 -0
- package/dist/router/blade.d.ts +16 -0
- package/dist/router/blade.d.ts.map +1 -0
- package/dist/router/composables.d.ts +129 -0
- package/dist/router/composables.d.ts.map +1 -0
- package/dist/router/dom.d.ts +56 -0
- package/dist/router/dom.d.ts.map +1 -0
- package/dist/router/engine.d.ts +64 -0
- package/dist/router/engine.d.ts.map +1 -0
- package/dist/router/errors.d.ts +31 -0
- package/dist/router/errors.d.ts.map +1 -0
- package/dist/router/history.d.ts +71 -0
- package/dist/router/history.d.ts.map +1 -0
- package/dist/router/index.d.ts +88 -0
- package/dist/router/index.d.ts.map +1 -0
- package/dist/router/index.js +3 -0
- package/dist/router/keys.d.ts +4 -0
- package/dist/router/keys.d.ts.map +1 -0
- package/dist/router/loaders.d.ts +46 -0
- package/dist/router/loaders.d.ts.map +1 -0
- package/dist/router/menu.d.ts +55 -0
- package/dist/router/menu.d.ts.map +1 -0
- package/dist/router/outlet.d.ts +15 -0
- package/dist/router/outlet.d.ts.map +1 -0
- package/dist/router/router-type.d.ts +53 -0
- package/dist/router/router-type.d.ts.map +1 -0
- package/dist/router/table.d.ts +49 -0
- package/dist/router/table.d.ts.map +1 -0
- package/dist/router/types.d.ts +154 -0
- package/dist/router/types.d.ts.map +1 -0
- package/dist/router/url.d.ts +39 -0
- package/dist/router/url.d.ts.map +1 -0
- package/dist/router-BBMOMgA6.js +1536 -0
- package/dist/router-BBMOMgA6.js.map +1 -0
- package/dist/router-BTAyriwA.js +1544 -0
- package/dist/router-BTAyriwA.js.map +1 -0
- package/dist/router-CJEb8LNR.js +1618 -0
- package/dist/router-CJEb8LNR.js.map +1 -0
- package/dist/router-CSzZ9Vx9.js +1511 -0
- package/dist/router-CSzZ9Vx9.js.map +1 -0
- package/dist/router-Ct_SSGj4.js +1512 -0
- package/dist/router-Ct_SSGj4.js.map +1 -0
- package/dist/router-DcoKuMt0.js +1513 -0
- package/dist/router-DcoKuMt0.js.map +1 -0
- package/dist/router-DtG5woew.js +1614 -0
- package/dist/router-DtG5woew.js.map +1 -0
- package/dist/router-DyAstu7W.js +1543 -0
- package/dist/router-DyAstu7W.js.map +1 -0
- package/dist/router-fetch/index.d.ts +23 -0
- package/dist/router-fetch/index.d.ts.map +1 -0
- package/dist/router-fetch/index.js +35 -0
- package/dist/router-fetch/index.js.map +1 -0
- package/dist/schema.d.ts +71 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/signal-CamQsxJp.js +54 -0
- package/dist/signal-CamQsxJp.js.map +1 -0
- package/dist/signal.d.ts +9 -1
- package/dist/signal.d.ts.map +1 -1
- package/dist/ssr.d.ts +26 -18
- package/dist/ssr.d.ts.map +1 -1
- package/dist/ssr.js +66 -43
- package/dist/ssr.js.map +1 -1
- package/dist/stream-parser.d.ts +104 -0
- package/dist/stream-parser.d.ts.map +1 -0
- package/dist/stream-parser.js +515 -0
- package/dist/stream-parser.js.map +1 -0
- package/dist/transitions.d.ts +42 -27
- package/dist/transitions.d.ts.map +1 -1
- package/dist/transitions.js +121 -87
- package/dist/transitions.js.map +1 -1
- package/dist/transports.d.ts +103 -0
- package/dist/transports.d.ts.map +1 -1
- package/dist/transports.js +552 -9
- package/dist/transports.js.map +1 -1
- package/dist/utilities.d.ts.map +1 -1
- package/dist/vapor-chamber-core.iife.js +1834 -1187
- package/dist/vapor-chamber-core.iife.js.map +1 -1
- package/dist/vapor-chamber-core.iife.min.js +1 -1
- package/dist/vapor-chamber-elements.iife.js +2028 -1279
- package/dist/vapor-chamber-elements.iife.js.map +1 -1
- package/dist/vapor-chamber-elements.iife.min.js +1 -1
- package/dist/vapor-chamber.iife.js +3042 -1983
- package/dist/vapor-chamber.iife.js.map +1 -1
- package/dist/vapor-chamber.iife.min.js +1 -1
- package/dist/vite-hmr.d.ts +33 -1
- package/dist/vite-hmr.d.ts.map +1 -1
- package/dist/vite-hmr.js +73 -38
- package/dist/vite-hmr.js.map +1 -1
- package/package.json +99 -29
- package/scripts/build.mjs +16 -1
- package/scripts/check-size.mjs +32 -3
- package/scripts/generate-laravel.mjs +313 -0
- package/scripts/measure-coverage.mjs +85 -0
- package/scripts/measure-loc.mjs +78 -0
- package/scripts/measure-size.mjs +106 -0
- package/src/alien-signals.ts +95 -0
- package/src/chamber-vapor.ts +279 -0
- package/src/chamber.ts +1065 -0
- package/src/command-bus.ts +1853 -0
- package/src/devtools.ts +196 -0
- package/src/directives.ts +327 -0
- package/src/fast-lane.ts +130 -0
- package/src/form.ts +282 -0
- package/src/http-cache.ts +89 -0
- package/src/http-errors.ts +23 -0
- package/src/http-query.ts +49 -0
- package/src/http.ts +853 -0
- package/src/iife-core.ts +103 -0
- package/src/iife-elements.ts +198 -0
- package/src/iife.ts +244 -0
- package/src/index.ts +339 -0
- package/src/mcp.ts +368 -0
- package/src/observable.ts +124 -0
- package/src/outbox.ts +453 -0
- package/src/plugins-core.ts +463 -0
- package/src/plugins-extra.ts +651 -0
- package/src/plugins-io.ts +323 -0
- package/src/plugins-schema.ts +192 -0
- package/src/plugins.ts +29 -0
- package/src/reactive.ts +84 -0
- package/src/router/blade.ts +41 -0
- package/src/router/composables.ts +261 -0
- package/src/router/dom.ts +216 -0
- package/src/router/engine.ts +345 -0
- package/src/router/errors.ts +77 -0
- package/src/router/history.ts +204 -0
- package/src/router/index.ts +526 -0
- package/src/router/keys.ts +4 -0
- package/src/router/loaders.ts +123 -0
- package/src/router/menu.ts +147 -0
- package/src/router/outlet.ts +29 -0
- package/src/router/router-type.ts +61 -0
- package/src/router/table.ts +218 -0
- package/src/router/types.ts +167 -0
- package/src/router/url.ts +134 -0
- package/src/router-fetch/index.ts +44 -0
- package/src/schema.ts +689 -0
- package/src/signal.ts +95 -0
- package/src/ssr.ts +196 -0
- package/src/stream-parser.ts +476 -0
- package/src/testing.ts +340 -0
- package/src/transitions.ts +268 -0
- package/src/transports.ts +842 -0
- package/src/utilities.ts +215 -0
- package/src/vite-hmr.ts +226 -0
- package/dist/chamber-CesaYQmb.js +0 -499
- package/dist/chamber-CesaYQmb.js.map +0 -1
- package/dist/chamber-CojPkOgp.js +0 -499
- package/dist/chamber-CojPkOgp.js.map +0 -1
- package/dist/chamber-DojZKG9B.js +0 -499
- package/dist/chamber-DojZKG9B.js.map +0 -1
- package/dist/chamber-vapor-Djf77X57.js +0 -506
- package/dist/chamber-vapor-Djf77X57.js.map +0 -1
- package/dist/chamber-vapor-o_QuYtMC.js +0 -506
- package/dist/chamber-vapor-o_QuYtMC.js.map +0 -1
- package/dist/chamber-vapor-x5d9x9yH.js +0 -506
- package/dist/chamber-vapor-x5d9x9yH.js.map +0 -1
- package/dist/command-bus-DNHnswE_.js +0 -833
- package/dist/command-bus-DNHnswE_.js.map +0 -1
- package/dist/signal-Bwatsn-A.js +0 -454
- package/dist/signal-Bwatsn-A.js.map +0 -1
- package/dist/signal-Bx9fBbNJ.js +0 -27
- package/dist/signal-Bx9fBbNJ.js.map +0 -1
- package/dist/signal-DUZrcb-E.js +0 -35
- package/dist/signal-DUZrcb-E.js.map +0 -1
- package/dist/transports-BSfLx9oG.js +0 -726
- package/dist/transports-BSfLx9oG.js.map +0 -1
- package/dist/transports-BwU722AM.js +0 -726
- package/dist/transports-BwU722AM.js.map +0 -1
- package/dist/transports-CkGY76vH.js +0 -726
- package/dist/transports-CkGY76vH.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -1,184 +1,69 @@
|
|
|
1
1
|
GNU LESSER GENERAL PUBLIC LICENSE
|
|
2
2
|
Version 2.1, February 1999
|
|
3
3
|
|
|
4
|
-
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
|
5
|
-
|
|
6
|
-
Everyone is permitted to copy and distribute verbatim copies
|
|
7
|
-
of this license document, but changing it is not allowed.
|
|
4
|
+
Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
5
|
+
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
|
8
6
|
|
|
9
|
-
[This is the first released version of the Lesser GPL. It also counts
|
|
10
|
-
as the successor of the GNU Library Public License, version 2, hence
|
|
11
|
-
the version number 2.1.]
|
|
7
|
+
[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.]
|
|
12
8
|
|
|
13
9
|
Preamble
|
|
14
10
|
|
|
15
|
-
The licenses for most software are designed to take away your
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
complete object files to the recipients, so that they can relink them
|
|
45
|
-
with the library after making changes to the library and recompiling
|
|
46
|
-
it. And you must show them these terms so they know their rights.
|
|
47
|
-
|
|
48
|
-
We protect your rights with a two-step method: (1) we copyright the
|
|
49
|
-
library, and (2) we offer you this license, which gives you legal
|
|
50
|
-
permission to copy, distribute and/or modify the library.
|
|
51
|
-
|
|
52
|
-
To protect each distributor, we want to make it very clear that
|
|
53
|
-
there is no warranty for the free library. Also, if the library is
|
|
54
|
-
modified by someone else and passed on, the recipients should know
|
|
55
|
-
that what they have is not the original version, so that the original
|
|
56
|
-
author's reputation will not be affected by problems that might be
|
|
57
|
-
introduced by others.
|
|
58
|
-
|
|
59
|
-
Finally, software patents pose a constant threat to the existence of
|
|
60
|
-
any free program. We wish to make sure that a company cannot
|
|
61
|
-
effectively restrict the users of a free program by obtaining a
|
|
62
|
-
restrictive license from a patent holder. Therefore, we insist that
|
|
63
|
-
any patent license obtained for a version of the library must be
|
|
64
|
-
consistent with the full freedom of use specified in this license.
|
|
65
|
-
|
|
66
|
-
Most GNU software, including some libraries, is covered by the
|
|
67
|
-
ordinary GNU General Public License. This license, the GNU Lesser
|
|
68
|
-
General Public License, applies to certain designated libraries, and
|
|
69
|
-
is quite different from the ordinary General Public License. We use
|
|
70
|
-
this license for certain libraries in order to permit linking those
|
|
71
|
-
libraries into non-free programs.
|
|
72
|
-
|
|
73
|
-
When a program is linked with a library, whether statically or using
|
|
74
|
-
a shared library, the combination of the two is legally speaking a
|
|
75
|
-
combined work, a derivative of the original library. The ordinary
|
|
76
|
-
General Public License therefore permits such linking only if the
|
|
77
|
-
entire combination fits its criteria of freedom. The Lesser General
|
|
78
|
-
Public License permits more lax criteria for linking other code with
|
|
79
|
-
the library.
|
|
80
|
-
|
|
81
|
-
We call this license the "Lesser" General Public License because it
|
|
82
|
-
does Less to protect the user's freedom than the ordinary General
|
|
83
|
-
Public License. It also provides other free software developers Less
|
|
84
|
-
of an advantage over competing non-free programs. These disadvantages
|
|
85
|
-
are the reason we use the ordinary General Public License for many
|
|
86
|
-
libraries. However, the Lesser license provides advantages in certain
|
|
87
|
-
special circumstances.
|
|
88
|
-
|
|
89
|
-
For example, on rare occasions, there may be a special need to
|
|
90
|
-
encourage the widest possible use of a certain library, so that it becomes
|
|
91
|
-
a de-facto standard. To achieve this, non-free programs must be
|
|
92
|
-
allowed to use the library. A more frequent case is that a free
|
|
93
|
-
library does the same job as widely used non-free libraries. In this
|
|
94
|
-
case, there is little to gain by limiting the free library to free
|
|
95
|
-
software only, so we use the Lesser General Public License.
|
|
96
|
-
|
|
97
|
-
In other cases, permission to use a particular library in non-free
|
|
98
|
-
programs enables a greater number of people to use a large body of
|
|
99
|
-
free software. For example, permission to use the GNU C Library in
|
|
100
|
-
non-free programs enables many more people to use the whole GNU
|
|
101
|
-
operating system, as well as its variant, the GNU/Linux operating
|
|
102
|
-
system.
|
|
103
|
-
|
|
104
|
-
Although the Lesser General Public License is Less protective of the
|
|
105
|
-
users' freedom, it does ensure that the user of a program that is
|
|
106
|
-
linked with the Library has the freedom and the wherewithal to run
|
|
107
|
-
that program using a modified version of the Library.
|
|
108
|
-
|
|
109
|
-
The precise terms and conditions for copying, distribution and
|
|
110
|
-
modification follow. Pay close attention to the difference between a
|
|
111
|
-
"work based on the library" and a "work that uses the library". The
|
|
112
|
-
former contains code derived from the library, whereas the latter must
|
|
113
|
-
be combined with the library in order to run.
|
|
11
|
+
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.
|
|
12
|
+
|
|
13
|
+
This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below.
|
|
14
|
+
|
|
15
|
+
When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things.
|
|
16
|
+
|
|
17
|
+
To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it.
|
|
18
|
+
|
|
19
|
+
For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights.
|
|
20
|
+
|
|
21
|
+
We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library.
|
|
22
|
+
|
|
23
|
+
To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others.
|
|
24
|
+
|
|
25
|
+
Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license.
|
|
26
|
+
|
|
27
|
+
Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.
|
|
28
|
+
|
|
29
|
+
When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.
|
|
30
|
+
|
|
31
|
+
We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.
|
|
32
|
+
|
|
33
|
+
For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License.
|
|
34
|
+
|
|
35
|
+
In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system.
|
|
36
|
+
|
|
37
|
+
Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library.
|
|
38
|
+
|
|
39
|
+
The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run.
|
|
114
40
|
|
|
115
41
|
GNU LESSER GENERAL PUBLIC LICENSE
|
|
116
42
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
117
43
|
|
|
118
|
-
0. This License Agreement applies to any software library or other
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
portion of it,
|
|
133
|
-
straightforwardly into another language. (Hereinafter, translation is
|
|
134
|
-
included without limitation in the term "modification".)
|
|
135
|
-
|
|
136
|
-
"Source code" for a work means the preferred form of the work for
|
|
137
|
-
making modifications to it. For a library, complete source code means
|
|
138
|
-
all the source code for all modules it contains, plus any associated
|
|
139
|
-
interface definition files, plus the scripts used to control compilation
|
|
140
|
-
and installation of the library.
|
|
141
|
-
|
|
142
|
-
Activities other than copying, distribution and modification are not
|
|
143
|
-
covered by this License; they are outside its scope. The act of
|
|
144
|
-
running a program using the Library is not restricted, and output from
|
|
145
|
-
such a program is covered only if its contents constitute a work based
|
|
146
|
-
on the Library (independent of the use of the Library in a tool for
|
|
147
|
-
writing it). Whether that is true depends on what the Library does
|
|
148
|
-
and what the program that uses the Library does.
|
|
149
|
-
|
|
150
|
-
1. You may copy and distribute verbatim copies of the Library's
|
|
151
|
-
complete source code as you receive it, in any medium, provided that
|
|
152
|
-
you conspicuously and appropriately publish on each copy an
|
|
153
|
-
appropriate copyright notice and disclaimer of warranty; keep intact
|
|
154
|
-
all the notices that refer to this License and to the absence of any
|
|
155
|
-
warranty; and distribute a copy of this License along with the
|
|
156
|
-
Library.
|
|
157
|
-
|
|
158
|
-
You may charge a fee for the physical act of transferring a copy,
|
|
159
|
-
and you may at your option offer warranty protection in exchange for a
|
|
160
|
-
fee.
|
|
161
|
-
|
|
162
|
-
2. You may modify your copy or copies of the Library or any portion
|
|
163
|
-
of it, thus forming a work based on the Library, and copy and
|
|
164
|
-
distribute such modifications or work under the terms of Section 1
|
|
165
|
-
above, provided that you also meet all of these conditions:
|
|
44
|
+
0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you".
|
|
45
|
+
|
|
46
|
+
A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.
|
|
47
|
+
|
|
48
|
+
The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".)
|
|
49
|
+
|
|
50
|
+
"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.
|
|
51
|
+
|
|
52
|
+
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does.
|
|
53
|
+
|
|
54
|
+
1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library.
|
|
55
|
+
|
|
56
|
+
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
|
|
57
|
+
|
|
58
|
+
2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
|
|
166
59
|
|
|
167
60
|
a) The modified work must itself be a software library.
|
|
168
61
|
|
|
169
|
-
b) You must cause the files modified to carry prominent notices
|
|
170
|
-
stating that you changed the files and the date of any change.
|
|
62
|
+
b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change.
|
|
171
63
|
|
|
172
|
-
c) You must cause the whole of the work to be licensed at no
|
|
173
|
-
charge to all third parties under the terms of this License.
|
|
64
|
+
c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License.
|
|
174
65
|
|
|
175
|
-
d) If a facility in the modified Library refers to a function or a
|
|
176
|
-
table of data to be supplied by an application program that uses
|
|
177
|
-
the facility, other than as an argument passed when the facility
|
|
178
|
-
is invoked, then you must make a good faith effort to ensure that,
|
|
179
|
-
in the event an application does not supply such function or
|
|
180
|
-
table, the facility still operates, and performs whatever part of
|
|
181
|
-
its purpose remains meaningful.
|
|
66
|
+
d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful.
|
|
182
67
|
|
|
183
68
|
(For example, a function in a library to compute square roots has
|
|
184
69
|
a purpose that is entirely well-defined independent of the
|
|
@@ -187,81 +72,29 @@ above, provided that you also meet all of these conditions:
|
|
|
187
72
|
be optional: if the application does not supply it, the square
|
|
188
73
|
root function must still compute square roots.)
|
|
189
74
|
|
|
190
|
-
These requirements apply to the modified work as a whole. If
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
a
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
this, you must alter all the notices that refer to this License, so
|
|
214
|
-
that they refer to the ordinary GNU General Public License, version 2,
|
|
215
|
-
instead of to this License. (If a newer version than version 2 of the
|
|
216
|
-
ordinary GNU General Public License has appeared, then you can specify
|
|
217
|
-
that version instead if you wish.) Do not make any other change in
|
|
218
|
-
these notices.
|
|
219
|
-
|
|
220
|
-
Once this change is made in a given copy, it is irreversible for
|
|
221
|
-
that copy, so the ordinary GNU General Public License applies to all
|
|
222
|
-
subsequent copies and derivative works made from that copy.
|
|
223
|
-
|
|
224
|
-
This option is useful when you wish to copy part of the code of
|
|
225
|
-
the Library into a program that is not a library.
|
|
226
|
-
|
|
227
|
-
4. You may copy and distribute the Library (or a portion or
|
|
228
|
-
derivative of it, under Section 2) in object code or executable form
|
|
229
|
-
under the terms of Sections 1 and 2 above provided that you accompany
|
|
230
|
-
it with the complete corresponding machine-readable source code, which
|
|
231
|
-
must be distributed under the terms of Sections 1 and 2 above on a
|
|
232
|
-
medium customarily used for software interchange.
|
|
233
|
-
|
|
234
|
-
If distribution of object code is made by offering access to copy
|
|
235
|
-
from a designated place, then offering equivalent access to copy the
|
|
236
|
-
source code from the same place satisfies the requirement to
|
|
237
|
-
distribute the source code, even though third parties are not
|
|
238
|
-
compelled to copy the source along with the object code.
|
|
239
|
-
|
|
240
|
-
5. A program that contains no derivative of any portion of the
|
|
241
|
-
Library, but is designed to work with the Library by being compiled or
|
|
242
|
-
linked with it, is called a "work that uses the Library". Such a
|
|
243
|
-
work, in isolation, is not a derivative work of the Library, and
|
|
244
|
-
therefore falls outside the scope of this License.
|
|
245
|
-
|
|
246
|
-
However, linking a "work that uses the Library" with the Library
|
|
247
|
-
creates an executable that is a derivative of the Library (because it
|
|
248
|
-
contains portions of the Library), rather than a "work that uses the
|
|
249
|
-
library". The executable is therefore covered by this License.
|
|
250
|
-
Section 6 states terms for distribution of such executables.
|
|
251
|
-
|
|
252
|
-
When a "work that uses the Library" uses material from a header file
|
|
253
|
-
that is part of the Library, the object code for the work may be a
|
|
254
|
-
derivative work of the Library even though the source code is not.
|
|
255
|
-
Whether this is true is especially significant if the work can be
|
|
256
|
-
linked without the Library, or if the work is itself a library. The
|
|
257
|
-
threshold for this to be true is not precisely defined by law.
|
|
258
|
-
|
|
259
|
-
If such an object file uses only numerical parameters, data
|
|
260
|
-
structure layouts and accessors, and small macros and small inline
|
|
261
|
-
functions (ten lines or less in length), then the use of the object
|
|
262
|
-
file is unrestricted, regardless of whether it is legally a derivative
|
|
263
|
-
work. (Executables containing this object code plus portions of the
|
|
264
|
-
Library will still fall under Section 6.)
|
|
75
|
+
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
|
|
76
|
+
|
|
77
|
+
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library.
|
|
78
|
+
|
|
79
|
+
In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
|
|
80
|
+
|
|
81
|
+
3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices.
|
|
82
|
+
|
|
83
|
+
Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy.
|
|
84
|
+
|
|
85
|
+
This option is useful when you wish to copy part of the code of the Library into a program that is not a library.
|
|
86
|
+
|
|
87
|
+
4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.
|
|
88
|
+
|
|
89
|
+
If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.
|
|
90
|
+
|
|
91
|
+
5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.
|
|
92
|
+
|
|
93
|
+
However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.
|
|
94
|
+
|
|
95
|
+
When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law.
|
|
96
|
+
|
|
97
|
+
If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)
|
|
265
98
|
|
|
266
99
|
Otherwise, if the work is a derivative of the Library, you may
|
|
267
100
|
distribute the object code for the work under the terms of Section 6.
|
|
@@ -473,30 +306,17 @@ convey the exclusion of warranty; and each file should have at least the
|
|
|
473
306
|
<one line to give the library's name and a brief idea of what it does.>
|
|
474
307
|
Copyright (C) <year> <name of author>
|
|
475
308
|
|
|
476
|
-
This library is free software; you can redistribute it and/or
|
|
477
|
-
modify it under the terms of the GNU Lesser General Public
|
|
478
|
-
License as published by the Free Software Foundation; either
|
|
479
|
-
version 2.1 of the License, or (at your option) any later version.
|
|
309
|
+
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
|
|
480
310
|
|
|
481
|
-
This library is distributed in the hope that it will be useful,
|
|
482
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
483
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
484
|
-
Lesser General Public License for more details.
|
|
311
|
+
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
|
485
312
|
|
|
486
|
-
You should have received a copy of the GNU Lesser General Public
|
|
487
|
-
License along with this library; if not, write to the Free Software
|
|
488
|
-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
|
489
|
-
USA
|
|
313
|
+
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
490
314
|
|
|
491
315
|
Also add information on how to contact you by electronic and paper mail.
|
|
492
316
|
|
|
493
|
-
You should also get your employer (if you work as a programmer) or your
|
|
494
|
-
school, if any, to sign a "copyright disclaimer" for the library, if
|
|
495
|
-
necessary. Here is a sample; alter the names:
|
|
317
|
+
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names:
|
|
496
318
|
|
|
497
|
-
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
|
498
|
-
library `Frob' (a library for tweaking knobs) written by James Random
|
|
499
|
-
Hacker.
|
|
319
|
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
|
500
320
|
|
|
501
321
|
<signature of Ty Coon>, 1 April 1990
|
|
502
322
|
Ty Coon, President of Vice
|