Skip to content

Commit a653b97

Browse files
authored
Merge pull request #43 from BobHanson/master
GLPL
2 parents fbd83d8 + dcc4395 commit a653b97

File tree

2 files changed

+189
-2
lines changed

2 files changed

+189
-2
lines changed

LICENSE.txt

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
Java2Script/SwingJS is free software: you can redistribute it and/or modify
2+
it under the terms of the GNU Lesser General Public License as published by the
3+
Free Software Foundation,  version 3 of the License.
4+
5+
Java2Script/SwingJS was originally licensed under an Eclipse Public License 1.0.
6+
Over time code with other licenses was added, including code from OpenJDK under
7+
GNU LGPL. Therefore the original author of Java2Script/SwingJS and contributors to the
8+
software have agreed to modify the license to the GNU LGPL.
9+
10+
Java2Script/SwingJS is distributed in the hope that it will be useful, but
11+
WITHOUT ANY WARRANTY EXPRESS OR IMPLIED, INCLUDING ANY WARRANTY OF
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE OR USE.  
13+
14+
See the GNU Lesser General Public License for more details.
15+
16+
You should have received a copy of the GNU Lesser General Public License along
17+
with Java2Script/SwingJS.  If not, see http://www.gnu.org/licenses/lgpl.html
18+
19+
===============================================================================
20+
21+
GNU LESSER GENERAL PUBLIC LICENSE
22+
Version 3, 29 June 2007
23+
24+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
25+
Everyone is permitted to copy and distribute verbatim copies
26+
of this license document, but changing it is not allowed.
27+
28+
29+
This version of the GNU Lesser General Public License incorporates
30+
the terms and conditions of version 3 of the GNU General Public
31+
License, supplemented by the additional permissions listed below.
32+
33+
0. Additional Definitions.
34+
35+
As used herein, "this License" refers to version 3 of the GNU Lesser
36+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
37+
General Public License.
38+
39+
"The Library" refers to a covered work governed by this License,
40+
other than an Application or a Combined Work as defined below.
41+
42+
An "Application" is any work that makes use of an interface provided
43+
by the Library, but which is not otherwise based on the Library.
44+
Defining a subclass of a class defined by the Library is deemed a mode
45+
of using an interface provided by the Library.
46+
47+
A "Combined Work" is a work produced by combining or linking an
48+
Application with the Library. The particular version of the Library
49+
with which the Combined Work was made is also called the "Linked
50+
Version".
51+
52+
The "Minimal Corresponding Source" for a Combined Work means the
53+
Corresponding Source for the Combined Work, excluding any source code
54+
for portions of the Combined Work that, considered in isolation, are
55+
based on the Application, and not on the Linked Version.
56+
57+
The "Corresponding Application Code" for a Combined Work means the
58+
object code and/or source code for the Application, including any data
59+
and utility programs needed for reproducing the Combined Work from the
60+
Application, but excluding the System Libraries of the Combined Work.
61+
62+
1. Exception to Section 3 of the GNU GPL.
63+
64+
You may convey a covered work under sections 3 and 4 of this License
65+
without being bound by section 3 of the GNU GPL.
66+
67+
2. Conveying Modified Versions.
68+
69+
If you modify a copy of the Library, and, in your modifications, a
70+
facility refers to a function or data to be supplied by an Application
71+
that uses the facility (other than as an argument passed when the
72+
facility is invoked), then you may convey a copy of the modified
73+
version:
74+
75+
a) under this License, provided that you make a good faith effort to
76+
ensure that, in the event an Application does not supply the
77+
function or data, the facility still operates, and performs
78+
whatever part of its purpose remains meaningful, or
79+
80+
b) under the GNU GPL, with none of the additional permissions of
81+
this License applicable to that copy.
82+
83+
3. Object Code Incorporating Material from Library Header Files.
84+
85+
The object code form of an Application may incorporate material from
86+
a header file that is part of the Library. You may convey such object
87+
code under terms of your choice, provided that, if the incorporated
88+
material is not limited to numerical parameters, data structure
89+
layouts and accessors, or small macros, inline functions and templates
90+
(ten or fewer lines in length), you do both of the following:
91+
92+
a) Give prominent notice with each copy of the object code that the
93+
Library is used in it and that the Library and its use are
94+
covered by this License.
95+
96+
b) Accompany the object code with a copy of the GNU GPL and this license
97+
document.
98+
99+
4. Combined Works.
100+
101+
You may convey a Combined Work under terms of your choice that,
102+
taken together, effectively do not restrict modification of the
103+
portions of the Library contained in the Combined Work and reverse
104+
engineering for debugging such modifications, if you also do each of
105+
the following:
106+
107+
a) Give prominent notice with each copy of the Combined Work that
108+
the Library is used in it and that the Library and its use are
109+
covered by this License.
110+
111+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
112+
document.
113+
114+
c) For a Combined Work that displays copyright notices during
115+
execution, include the copyright notice for the Library among
116+
these notices, as well as a reference directing the user to the
117+
copies of the GNU GPL and this license document.
118+
119+
d) Do one of the following:
120+
121+
0) Convey the Minimal Corresponding Source under the terms of this
122+
License, and the Corresponding Application Code in a form
123+
suitable for, and under terms that permit, the user to
124+
recombine or relink the Application with a modified version of
125+
the Linked Version to produce a modified Combined Work, in the
126+
manner specified by section 6 of the GNU GPL for conveying
127+
Corresponding Source.
128+
129+
1) Use a suitable shared library mechanism for linking with the
130+
Library. A suitable mechanism is one that (a) uses at run time
131+
a copy of the Library already present on the user's computer
132+
system, and (b) will operate properly with a modified version
133+
of the Library that is interface-compatible with the Linked
134+
Version.
135+
136+
e) Provide Installation Information, but only if you would otherwise
137+
be required to provide such information under section 6 of the
138+
GNU GPL, and only to the extent that such information is
139+
necessary to install and execute a modified version of the
140+
Combined Work produced by recombining or relinking the
141+
Application with a modified version of the Linked Version. (If
142+
you use option 4d0, the Installation Information must accompany
143+
the Minimal Corresponding Source and Corresponding Application
144+
Code. If you use option 4d1, you must provide the Installation
145+
Information in the manner specified by section 6 of the GNU GPL
146+
for conveying Corresponding Source.)
147+
148+
5. Combined Libraries.
149+
150+
You may place library facilities that are a work based on the
151+
Library side by side in a single library together with other library
152+
facilities that are not Applications and are not covered by this
153+
License, and convey such a combined library under terms of your
154+
choice, if you do both of the following:
155+
156+
a) Accompany the combined library with a copy of the same work based
157+
on the Library, uncombined with any other library facilities,
158+
conveyed under the terms of this License.
159+
160+
b) Give prominent notice with the combined library that part of it
161+
is a work based on the Library, and explaining where to find the
162+
accompanying uncombined form of the same work.
163+
164+
6. Revised Versions of the GNU Lesser General Public License.
165+
166+
The Free Software Foundation may publish revised and/or new versions
167+
of the GNU Lesser General Public License from time to time. Such new
168+
versions will be similar in spirit to the present version, but may
169+
differ in detail to address new problems or concerns.
170+
171+
Each version is given a distinguishing version number. If the
172+
Library as you received it specifies that a certain numbered version
173+
of the GNU Lesser General Public License "or any later version"
174+
applies to it, you have the option of following the terms and
175+
conditions either of that published version or of any later version
176+
published by the Free Software Foundation. If the Library as you
177+
received it does not specify a version number of the GNU Lesser
178+
General Public License, you may choose any version of the GNU Lesser
179+
General Public License ever published by the Free Software Foundation.
180+
181+
If the Library as you received it specifies that a proxy can decide
182+
whether future versions of the GNU Lesser General Public License shall
183+
apply, that proxy's public statement of acceptance of any version is
184+
permanent authorization for you to choose that version for the
185+
Library.

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ within Eclipse, with immediate JavaScript testing and debugging in a browser bas
1616
in Java. Using the java2script/SwingJS Eclipse plug-in, both Java .class files and their equivalent .js files are created simultaneously.
1717

1818

19-
java2script/SwingJS includes an Eclipse plug-in (technically a "drop-in"), net.sf.j2s.core.zip,
20-
along with a JavaScript version of the Java Virtual Machine (SwingJS) to allow the rapid and
19+
java2script/SwingJS includes an Eclipse plug-in (technically a "drop-in"), net.sf.j2s.core.zip
20+
(see https://github.com/BobHanson/java2script/blob/master/sources/net.sf.j2s.core/dist/dropins),
21+
along with a JavaScript version of the Java Virtual Machine (SwingJS, https://github.com/BobHanson/java2script/blob/master/sources/net.sf.j2s.java.core/SwingJS-site.zip)
22+
to allow the rapid and
2123
automated production of browser-ready JavaScript versions of Java applications and applets.
2224

2325

0 commit comments

Comments
 (0)