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.
Files changed (247) hide show
  1. package/LICENSE +78 -258
  2. package/README.md +362 -238
  3. package/ROADMAP.md +241 -18
  4. package/dist/alien-signals.js +87 -20
  5. package/dist/alien-signals.js.map +1 -1
  6. package/dist/chamber-vapor-ByupCPOl.js +237 -0
  7. package/dist/chamber-vapor-ByupCPOl.js.map +1 -0
  8. package/dist/chamber-vapor-Cg_iYzA0.js +239 -0
  9. package/dist/chamber-vapor-Cg_iYzA0.js.map +1 -0
  10. package/dist/chamber-vapor.d.ts +69 -117
  11. package/dist/chamber-vapor.d.ts.map +1 -1
  12. package/dist/chamber-vg2MM_W4.js +734 -0
  13. package/dist/chamber-vg2MM_W4.js.map +1 -0
  14. package/dist/chamber.d.ts +95 -7
  15. package/dist/chamber.d.ts.map +1 -1
  16. package/dist/command-bus-BHCgHQja.js +1255 -0
  17. package/dist/command-bus-BHCgHQja.js.map +1 -0
  18. package/dist/command-bus.d.ts +103 -8
  19. package/dist/command-bus.d.ts.map +1 -1
  20. package/dist/devtools.d.ts.map +1 -1
  21. package/dist/devtools.js +140 -0
  22. package/dist/devtools.js.map +1 -0
  23. package/dist/directives.d.ts +23 -8
  24. package/dist/directives.d.ts.map +1 -1
  25. package/dist/directives.js +225 -127
  26. package/dist/directives.js.map +1 -1
  27. package/dist/fast-lane.js +54 -45
  28. package/dist/fast-lane.js.map +1 -1
  29. package/dist/form.d.ts.map +1 -1
  30. package/dist/http-C0hSmO_m.js +658 -0
  31. package/dist/http-C0hSmO_m.js.map +1 -0
  32. package/dist/http-cache.d.ts +22 -2
  33. package/dist/http-cache.d.ts.map +1 -1
  34. package/dist/http-errors.d.ts +15 -0
  35. package/dist/http-errors.d.ts.map +1 -0
  36. package/dist/http.d.ts +30 -2
  37. package/dist/http.d.ts.map +1 -1
  38. package/dist/iife-core.d.ts +0 -1
  39. package/dist/iife-core.d.ts.map +1 -1
  40. package/dist/iife-core.js +79 -0
  41. package/dist/iife-core.js.map +1 -0
  42. package/dist/iife-elements.d.ts +0 -1
  43. package/dist/iife-elements.d.ts.map +1 -1
  44. package/dist/iife-elements.js +164 -0
  45. package/dist/iife-elements.js.map +1 -0
  46. package/dist/iife.d.ts +3 -4
  47. package/dist/iife.d.ts.map +1 -1
  48. package/dist/iife.js +134 -82
  49. package/dist/iife.js.map +1 -1
  50. package/dist/index.d.ts +23 -16
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +1656 -1073
  53. package/dist/index.js.map +1 -1
  54. package/dist/mcp.d.ts +162 -0
  55. package/dist/mcp.d.ts.map +1 -0
  56. package/dist/mcp.js +298 -0
  57. package/dist/mcp.js.map +1 -0
  58. package/dist/observable.js +70 -43
  59. package/dist/observable.js.map +1 -1
  60. package/dist/outbox.d.ts +177 -0
  61. package/dist/outbox.d.ts.map +1 -0
  62. package/dist/outbox.js +334 -0
  63. package/dist/outbox.js.map +1 -0
  64. package/dist/plugins-core.d.ts +29 -0
  65. package/dist/plugins-core.d.ts.map +1 -1
  66. package/dist/plugins-extra.d.ts +144 -1
  67. package/dist/plugins-extra.d.ts.map +1 -1
  68. package/dist/plugins-io-D_ZuAd0r.js +533 -0
  69. package/dist/plugins-io-D_ZuAd0r.js.map +1 -0
  70. package/dist/plugins-io.d.ts +13 -1
  71. package/dist/plugins-io.d.ts.map +1 -1
  72. package/dist/plugins-schema.js +70 -62
  73. package/dist/plugins-schema.js.map +1 -1
  74. package/dist/reactive.d.ts +70 -0
  75. package/dist/reactive.d.ts.map +1 -0
  76. package/dist/reactive.js +41 -0
  77. package/dist/reactive.js.map +1 -0
  78. package/dist/router/blade.d.ts +16 -0
  79. package/dist/router/blade.d.ts.map +1 -0
  80. package/dist/router/composables.d.ts +129 -0
  81. package/dist/router/composables.d.ts.map +1 -0
  82. package/dist/router/dom.d.ts +56 -0
  83. package/dist/router/dom.d.ts.map +1 -0
  84. package/dist/router/engine.d.ts +64 -0
  85. package/dist/router/engine.d.ts.map +1 -0
  86. package/dist/router/errors.d.ts +31 -0
  87. package/dist/router/errors.d.ts.map +1 -0
  88. package/dist/router/history.d.ts +71 -0
  89. package/dist/router/history.d.ts.map +1 -0
  90. package/dist/router/index.d.ts +88 -0
  91. package/dist/router/index.d.ts.map +1 -0
  92. package/dist/router/index.js +3 -0
  93. package/dist/router/keys.d.ts +4 -0
  94. package/dist/router/keys.d.ts.map +1 -0
  95. package/dist/router/loaders.d.ts +46 -0
  96. package/dist/router/loaders.d.ts.map +1 -0
  97. package/dist/router/menu.d.ts +55 -0
  98. package/dist/router/menu.d.ts.map +1 -0
  99. package/dist/router/outlet.d.ts +15 -0
  100. package/dist/router/outlet.d.ts.map +1 -0
  101. package/dist/router/router-type.d.ts +53 -0
  102. package/dist/router/router-type.d.ts.map +1 -0
  103. package/dist/router/table.d.ts +49 -0
  104. package/dist/router/table.d.ts.map +1 -0
  105. package/dist/router/types.d.ts +154 -0
  106. package/dist/router/types.d.ts.map +1 -0
  107. package/dist/router/url.d.ts +39 -0
  108. package/dist/router/url.d.ts.map +1 -0
  109. package/dist/router-BBMOMgA6.js +1536 -0
  110. package/dist/router-BBMOMgA6.js.map +1 -0
  111. package/dist/router-BTAyriwA.js +1544 -0
  112. package/dist/router-BTAyriwA.js.map +1 -0
  113. package/dist/router-CJEb8LNR.js +1618 -0
  114. package/dist/router-CJEb8LNR.js.map +1 -0
  115. package/dist/router-CSzZ9Vx9.js +1511 -0
  116. package/dist/router-CSzZ9Vx9.js.map +1 -0
  117. package/dist/router-Ct_SSGj4.js +1512 -0
  118. package/dist/router-Ct_SSGj4.js.map +1 -0
  119. package/dist/router-DcoKuMt0.js +1513 -0
  120. package/dist/router-DcoKuMt0.js.map +1 -0
  121. package/dist/router-DtG5woew.js +1614 -0
  122. package/dist/router-DtG5woew.js.map +1 -0
  123. package/dist/router-DyAstu7W.js +1543 -0
  124. package/dist/router-DyAstu7W.js.map +1 -0
  125. package/dist/router-fetch/index.d.ts +23 -0
  126. package/dist/router-fetch/index.d.ts.map +1 -0
  127. package/dist/router-fetch/index.js +35 -0
  128. package/dist/router-fetch/index.js.map +1 -0
  129. package/dist/schema.d.ts +71 -0
  130. package/dist/schema.d.ts.map +1 -1
  131. package/dist/signal-CamQsxJp.js +54 -0
  132. package/dist/signal-CamQsxJp.js.map +1 -0
  133. package/dist/signal.d.ts +9 -1
  134. package/dist/signal.d.ts.map +1 -1
  135. package/dist/ssr.d.ts +26 -18
  136. package/dist/ssr.d.ts.map +1 -1
  137. package/dist/ssr.js +66 -43
  138. package/dist/ssr.js.map +1 -1
  139. package/dist/stream-parser.d.ts +104 -0
  140. package/dist/stream-parser.d.ts.map +1 -0
  141. package/dist/stream-parser.js +515 -0
  142. package/dist/stream-parser.js.map +1 -0
  143. package/dist/transitions.d.ts +42 -27
  144. package/dist/transitions.d.ts.map +1 -1
  145. package/dist/transitions.js +121 -87
  146. package/dist/transitions.js.map +1 -1
  147. package/dist/transports.d.ts +103 -0
  148. package/dist/transports.d.ts.map +1 -1
  149. package/dist/transports.js +552 -9
  150. package/dist/transports.js.map +1 -1
  151. package/dist/utilities.d.ts.map +1 -1
  152. package/dist/vapor-chamber-core.iife.js +1834 -1187
  153. package/dist/vapor-chamber-core.iife.js.map +1 -1
  154. package/dist/vapor-chamber-core.iife.min.js +1 -1
  155. package/dist/vapor-chamber-elements.iife.js +2028 -1279
  156. package/dist/vapor-chamber-elements.iife.js.map +1 -1
  157. package/dist/vapor-chamber-elements.iife.min.js +1 -1
  158. package/dist/vapor-chamber.iife.js +3042 -1983
  159. package/dist/vapor-chamber.iife.js.map +1 -1
  160. package/dist/vapor-chamber.iife.min.js +1 -1
  161. package/dist/vite-hmr.d.ts +33 -1
  162. package/dist/vite-hmr.d.ts.map +1 -1
  163. package/dist/vite-hmr.js +73 -38
  164. package/dist/vite-hmr.js.map +1 -1
  165. package/package.json +99 -29
  166. package/scripts/build.mjs +16 -1
  167. package/scripts/check-size.mjs +32 -3
  168. package/scripts/generate-laravel.mjs +313 -0
  169. package/scripts/measure-coverage.mjs +85 -0
  170. package/scripts/measure-loc.mjs +78 -0
  171. package/scripts/measure-size.mjs +106 -0
  172. package/src/alien-signals.ts +95 -0
  173. package/src/chamber-vapor.ts +279 -0
  174. package/src/chamber.ts +1065 -0
  175. package/src/command-bus.ts +1853 -0
  176. package/src/devtools.ts +196 -0
  177. package/src/directives.ts +327 -0
  178. package/src/fast-lane.ts +130 -0
  179. package/src/form.ts +282 -0
  180. package/src/http-cache.ts +89 -0
  181. package/src/http-errors.ts +23 -0
  182. package/src/http-query.ts +49 -0
  183. package/src/http.ts +853 -0
  184. package/src/iife-core.ts +103 -0
  185. package/src/iife-elements.ts +198 -0
  186. package/src/iife.ts +244 -0
  187. package/src/index.ts +339 -0
  188. package/src/mcp.ts +368 -0
  189. package/src/observable.ts +124 -0
  190. package/src/outbox.ts +453 -0
  191. package/src/plugins-core.ts +463 -0
  192. package/src/plugins-extra.ts +651 -0
  193. package/src/plugins-io.ts +323 -0
  194. package/src/plugins-schema.ts +192 -0
  195. package/src/plugins.ts +29 -0
  196. package/src/reactive.ts +84 -0
  197. package/src/router/blade.ts +41 -0
  198. package/src/router/composables.ts +261 -0
  199. package/src/router/dom.ts +216 -0
  200. package/src/router/engine.ts +345 -0
  201. package/src/router/errors.ts +77 -0
  202. package/src/router/history.ts +204 -0
  203. package/src/router/index.ts +526 -0
  204. package/src/router/keys.ts +4 -0
  205. package/src/router/loaders.ts +123 -0
  206. package/src/router/menu.ts +147 -0
  207. package/src/router/outlet.ts +29 -0
  208. package/src/router/router-type.ts +61 -0
  209. package/src/router/table.ts +218 -0
  210. package/src/router/types.ts +167 -0
  211. package/src/router/url.ts +134 -0
  212. package/src/router-fetch/index.ts +44 -0
  213. package/src/schema.ts +689 -0
  214. package/src/signal.ts +95 -0
  215. package/src/ssr.ts +196 -0
  216. package/src/stream-parser.ts +476 -0
  217. package/src/testing.ts +340 -0
  218. package/src/transitions.ts +268 -0
  219. package/src/transports.ts +842 -0
  220. package/src/utilities.ts +215 -0
  221. package/src/vite-hmr.ts +226 -0
  222. package/dist/chamber-CesaYQmb.js +0 -499
  223. package/dist/chamber-CesaYQmb.js.map +0 -1
  224. package/dist/chamber-CojPkOgp.js +0 -499
  225. package/dist/chamber-CojPkOgp.js.map +0 -1
  226. package/dist/chamber-DojZKG9B.js +0 -499
  227. package/dist/chamber-DojZKG9B.js.map +0 -1
  228. package/dist/chamber-vapor-Djf77X57.js +0 -506
  229. package/dist/chamber-vapor-Djf77X57.js.map +0 -1
  230. package/dist/chamber-vapor-o_QuYtMC.js +0 -506
  231. package/dist/chamber-vapor-o_QuYtMC.js.map +0 -1
  232. package/dist/chamber-vapor-x5d9x9yH.js +0 -506
  233. package/dist/chamber-vapor-x5d9x9yH.js.map +0 -1
  234. package/dist/command-bus-DNHnswE_.js +0 -833
  235. package/dist/command-bus-DNHnswE_.js.map +0 -1
  236. package/dist/signal-Bwatsn-A.js +0 -454
  237. package/dist/signal-Bwatsn-A.js.map +0 -1
  238. package/dist/signal-Bx9fBbNJ.js +0 -27
  239. package/dist/signal-Bx9fBbNJ.js.map +0 -1
  240. package/dist/signal-DUZrcb-E.js +0 -35
  241. package/dist/signal-DUZrcb-E.js.map +0 -1
  242. package/dist/transports-BSfLx9oG.js +0 -726
  243. package/dist/transports-BSfLx9oG.js.map +0 -1
  244. package/dist/transports-BwU722AM.js +0 -726
  245. package/dist/transports-BwU722AM.js.map +0 -1
  246. package/dist/transports-CkGY76vH.js +0 -726
  247. 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
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
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
- freedom to share and change it. By contrast, the GNU General Public
17
- Licenses are intended to guarantee your freedom to share and change
18
- free software--to make sure the software is free for all its users.
19
-
20
- This license, the Lesser General Public License, applies to some
21
- specially designated software packages--typically libraries--of the
22
- Free Software Foundation and other authors who decide to use it. You
23
- can use it too, but we suggest you first think carefully about whether
24
- this license or the ordinary General Public License is the better
25
- strategy to use in any particular case, based on the explanations below.
26
-
27
- When we speak of free software, we are referring to freedom of use,
28
- not price. Our General Public Licenses are designed to make sure that
29
- you have the freedom to distribute copies of free software (and charge
30
- for this service if you wish); that you receive source code or can get
31
- it if you want it; that you can change the software and use pieces of
32
- it in new free programs; and that you are informed that you can do
33
- these things.
34
-
35
- To protect your rights, we need to make restrictions that forbid
36
- distributors to deny you these rights or to ask you to surrender these
37
- rights. These restrictions translate to certain responsibilities for
38
- you if you distribute copies of the library or if you modify it.
39
-
40
- For example, if you distribute copies of the library, whether gratis
41
- or for a fee, you must give the recipients all the rights that we gave
42
- you. You must make sure that they, too, receive or can get the source
43
- code. If you link other code with the library, you must provide
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
- program which contains a notice placed by the copyright holder or
120
- other authorized party saying it may be distributed under the terms of
121
- this Lesser General Public License (also called "this License").
122
- Each licensee is addressed as "you".
123
-
124
- A "library" means a collection of software functions and/or data
125
- prepared so as to be conveniently linked with application programs
126
- (which use some of those functions and data) to form executables.
127
-
128
- The "Library", below, refers to any such software library or work
129
- which has been distributed under these terms. A "work based on the
130
- Library" means either the Library or any derivative work under
131
- copyright law: that is to say, a work containing the Library or a
132
- portion of it, either verbatim or with modifications and/or translated
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
- identifiable sections of that work are not derived from the Library,
192
- and can be reasonably considered independent and separate works in
193
- themselves, then this License, and its terms, do not apply to those
194
- sections when you distribute them as separate works. But when you
195
- distribute the same sections as part of a whole which is a work based
196
- on the Library, the distribution of the whole must be on the terms of
197
- this License, whose permissions for other licensees extend to the
198
- entire whole, and thus to each and every part regardless of who wrote
199
- it.
200
-
201
- Thus, it is not the intent of this section to claim rights or contest
202
- your rights to work written entirely by you; rather, the intent is to
203
- exercise the right to control the distribution of derivative or
204
- collective works based on the Library.
205
-
206
- In addition, mere aggregation of another work not based on the Library
207
- with the Library (or with a work based on the Library) on a volume of
208
- a storage or distribution medium does not bring the other work under
209
- the scope of this License.
210
-
211
- 3. You may opt to apply the terms of the ordinary GNU General Public
212
- License instead of this License to a given copy of the Library. To do
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