1.1 --- a/PKG-INFO Thu Mar 24 00:54:11 2011 +0100
1.2 +++ b/PKG-INFO Thu Mar 24 00:58:05 2011 +0100
1.3 @@ -1,14 +1,14 @@
1.4 Metadata-Version: 1.1
1.5 Name: javaclass
1.6 -Version: 0.1
1.7 +Version: 0.2
1.8 Author: Paul Boddie
1.9 Author-email: paul at boddie org uk
1.10 Maintainer: Paul Boddie
1.11 Maintainer-email: paul at boddie org uk
1.12 Home-page: http://www.boddie.org.uk/python/javaclass.html
1.13 -Download-url: http://www.boddie.org.uk/python/downloads/javaclass-0.1.tar.gz
1.14 +Download-url: http://www.boddie.org.uk/python/downloads/javaclass-0.2.tar.gz
1.15 Summary: Import Java classes and packages into Python
1.16 -License: LGPL
1.17 +License: LGPL (version 3 or later)
1.18 Description: The javaclass collection of packages and utilities provides a means of importing
1.19 Java classes and packages directly into Python, without the need for a Java
1.20 virtual machine, so that the classes may be instantiated, accessed, run and
2.1 --- a/README.txt Thu Mar 24 00:54:11 2011 +0100
2.2 +++ b/README.txt Thu Mar 24 00:58:05 2011 +0100
2.3 @@ -4,17 +4,21 @@
2.4 Installation
2.5 ------------
2.6
2.7 -Usually, I issue this command first:
2.8 +To build the software, perhaps as part of a packaging process, you can run the
2.9 +following command:
2.10
2.11 python setup.py build
2.12
2.13 -The following should, in any case, be sufficient:
2.14 +To directly install the software in a system-wide location, you can run the
2.15 +following command:
2.16
2.17 python setup.py install
2.18
2.19 -I don't think distutils supports uninstall, but the installation just adds
2.20 -the java and javaclass packages to your site-packages directory and the
2.21 -runclass.py program to the same bin directory that python resides in.
2.22 +The installation adds the java and javaclass packages to your site-packages
2.23 +directory and the runclass.py program to the same bin directory that python
2.24 +resides in. However, it is arguably preferable to make an operating system
2.25 +package for the software and use the system's package manager to install and
2.26 +potentially uninstall the software.
2.27
2.28 Testing
2.29 -------
2.30 @@ -23,6 +27,25 @@
2.31
2.32 python test.py
2.33
2.34 +Contact, Copyright and Licence Information
2.35 +------------------------------------------
2.36 +
2.37 +The current Web page for javaclass at the time of release is:
2.38 +
2.39 +http://www.boddie.org.uk/python/javaclass.html
2.40 +
2.41 +Copyright and licence information can be found in the docs directory - see
2.42 +docs/COPYING.txt, docs/lgpl-3.0.txt and docs/gpl-3.0.txt for more information.
2.43 +
2.44 +Dependencies
2.45 +------------
2.46 +
2.47 +Python Tested with Python 2.3, although javaclass.classfile
2.48 + should work on any recent Python 2.x release.
2.49 +
2.50 +A Java toolchain Tested with whichever Sun JDK for Java release was current
2.51 + in 2005. ;-)
2.52 +
2.53 Class Search Paths
2.54 ------------------
2.55
2.56 @@ -162,13 +185,19 @@
2.57 Consider nicer ways of writing the method names in Python, perhaps using a
2.58 function which takes the individual parameter types as arguments.
2.59
2.60 +New in javaclass 0.2 (Changes since javaclass 0.1)
2.61 +--------------------------------------------------------
2.62 +
2.63 + * Added Braden Thomas' class file serialisation patches.
2.64 + * Relicensed under the LGPL version 3 or later.
2.65 +
2.66 Release Procedures
2.67 ------------------
2.68
2.69 Update the javaclass/__init__.py __version__ attribute.
2.70 Update the release notes (see above).
2.71 +Update the setup.py and PKG-INFO files.
2.72 Check the setup.py file and ensure that all package directories are
2.73 mentioned.
2.74 Tag, export.
2.75 -Rename ClassFile to javaclass (and add the release to the directory name).
2.76 Archive, upload.
3.1 --- a/docs/COPYING.txt Thu Mar 24 00:54:11 2011 +0100
3.2 +++ b/docs/COPYING.txt Thu Mar 24 00:58:05 2011 +0100
3.3 @@ -1,15 +1,15 @@
3.4 -Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk>
3.5 +Copyright (C) 2004, 2005, 2006, 2011 Paul Boddie <paul@boddie.org.uk>
3.6 +Copyright (C) 2010 Braden Thomas <bradenthomas@me.com>
3.7
3.8 -This library is free software; you can redistribute it and/or
3.9 -modify it under the terms of the GNU Lesser General Public
3.10 -License as published by the Free Software Foundation; either
3.11 -version 2.1 of the License, or (at your option) any later version.
3.12 +This program is free software; you can redistribute it and/or modify it under
3.13 +the terms of the GNU Lesser General Public License as published by the Free
3.14 +Software Foundation; either version 3 of the License, or (at your option) any
3.15 +later version.
3.16
3.17 -This library is distributed in the hope that it will be useful,
3.18 -but WITHOUT ANY WARRANTY; without even the implied warranty of
3.19 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3.20 -Lesser General Public License for more details.
3.21 +This program is distributed in the hope that it will be useful, but WITHOUT
3.22 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
3.23 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
3.24 +details.
3.25
3.26 -You should have received a copy of the GNU Lesser General Public
3.27 -License along with this library; if not, write to the Free Software
3.28 -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
3.29 +You should have received a copy of the GNU Lesser General Public License along
3.30 +with this program. If not, see <http://www.gnu.org/licenses/>.
4.1 --- a/docs/LICENCE.txt Thu Mar 24 00:54:11 2011 +0100
4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
4.3 @@ -1,458 +0,0 @@
4.4 - GNU LESSER GENERAL PUBLIC LICENSE
4.5 - Version 2.1, February 1999
4.6 -
4.7 - Copyright (C) 1991, 1999 Free Software Foundation, Inc.
4.8 - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
4.9 - Everyone is permitted to copy and distribute verbatim copies
4.10 - of this license document, but changing it is not allowed.
4.11 -
4.12 -[This is the first released version of the Lesser GPL. It also counts
4.13 - as the successor of the GNU Library Public License, version 2, hence
4.14 - the version number 2.1.]
4.15 -
4.16 - Preamble
4.17 -
4.18 - The licenses for most software are designed to take away your
4.19 -freedom to share and change it. By contrast, the GNU General Public
4.20 -Licenses are intended to guarantee your freedom to share and change
4.21 -free software--to make sure the software is free for all its users.
4.22 -
4.23 - This license, the Lesser General Public License, applies to some
4.24 -specially designated software packages--typically libraries--of the
4.25 -Free Software Foundation and other authors who decide to use it. You
4.26 -can use it too, but we suggest you first think carefully about whether
4.27 -this license or the ordinary General Public License is the better
4.28 -strategy to use in any particular case, based on the explanations below.
4.29 -
4.30 - When we speak of free software, we are referring to freedom of use,
4.31 -not price. Our General Public Licenses are designed to make sure that
4.32 -you have the freedom to distribute copies of free software (and charge
4.33 -for this service if you wish); that you receive source code or can get
4.34 -it if you want it; that you can change the software and use pieces of
4.35 -it in new free programs; and that you are informed that you can do
4.36 -these things.
4.37 -
4.38 - To protect your rights, we need to make restrictions that forbid
4.39 -distributors to deny you these rights or to ask you to surrender these
4.40 -rights. These restrictions translate to certain responsibilities for
4.41 -you if you distribute copies of the library or if you modify it.
4.42 -
4.43 - For example, if you distribute copies of the library, whether gratis
4.44 -or for a fee, you must give the recipients all the rights that we gave
4.45 -you. You must make sure that they, too, receive or can get the source
4.46 -code. If you link other code with the library, you must provide
4.47 -complete object files to the recipients, so that they can relink them
4.48 -with the library after making changes to the library and recompiling
4.49 -it. And you must show them these terms so they know their rights.
4.50 -
4.51 - We protect your rights with a two-step method: (1) we copyright the
4.52 -library, and (2) we offer you this license, which gives you legal
4.53 -permission to copy, distribute and/or modify the library.
4.54 -
4.55 - To protect each distributor, we want to make it very clear that
4.56 -there is no warranty for the free library. Also, if the library is
4.57 -modified by someone else and passed on, the recipients should know
4.58 -that what they have is not the original version, so that the original
4.59 -author's reputation will not be affected by problems that might be
4.60 -introduced by others.
4.61 -
4.62 - Finally, software patents pose a constant threat to the existence of
4.63 -any free program. We wish to make sure that a company cannot
4.64 -effectively restrict the users of a free program by obtaining a
4.65 -restrictive license from a patent holder. Therefore, we insist that
4.66 -any patent license obtained for a version of the library must be
4.67 -consistent with the full freedom of use specified in this license.
4.68 -
4.69 - Most GNU software, including some libraries, is covered by the
4.70 -ordinary GNU General Public License. This license, the GNU Lesser
4.71 -General Public License, applies to certain designated libraries, and
4.72 -is quite different from the ordinary General Public License. We use
4.73 -this license for certain libraries in order to permit linking those
4.74 -libraries into non-free programs.
4.75 -
4.76 - When a program is linked with a library, whether statically or using
4.77 -a shared library, the combination of the two is legally speaking a
4.78 -combined work, a derivative of the original library. The ordinary
4.79 -General Public License therefore permits such linking only if the
4.80 -entire combination fits its criteria of freedom. The Lesser General
4.81 -Public License permits more lax criteria for linking other code with
4.82 -the library.
4.83 -
4.84 - We call this license the "Lesser" General Public License because it
4.85 -does Less to protect the user's freedom than the ordinary General
4.86 -Public License. It also provides other free software developers Less
4.87 -of an advantage over competing non-free programs. These disadvantages
4.88 -are the reason we use the ordinary General Public License for many
4.89 -libraries. However, the Lesser license provides advantages in certain
4.90 -special circumstances.
4.91 -
4.92 - For example, on rare occasions, there may be a special need to
4.93 -encourage the widest possible use of a certain library, so that it becomes
4.94 -a de-facto standard. To achieve this, non-free programs must be
4.95 -allowed to use the library. A more frequent case is that a free
4.96 -library does the same job as widely used non-free libraries. In this
4.97 -case, there is little to gain by limiting the free library to free
4.98 -software only, so we use the Lesser General Public License.
4.99 -
4.100 - In other cases, permission to use a particular library in non-free
4.101 -programs enables a greater number of people to use a large body of
4.102 -free software. For example, permission to use the GNU C Library in
4.103 -non-free programs enables many more people to use the whole GNU
4.104 -operating system, as well as its variant, the GNU/Linux operating
4.105 -system.
4.106 -
4.107 - Although the Lesser General Public License is Less protective of the
4.108 -users' freedom, it does ensure that the user of a program that is
4.109 -linked with the Library has the freedom and the wherewithal to run
4.110 -that program using a modified version of the Library.
4.111 -
4.112 - The precise terms and conditions for copying, distribution and
4.113 -modification follow. Pay close attention to the difference between a
4.114 -"work based on the library" and a "work that uses the library". The
4.115 -former contains code derived from the library, whereas the latter must
4.116 -be combined with the library in order to run.
4.117 -
4.118 - GNU LESSER GENERAL PUBLIC LICENSE
4.119 - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
4.120 -
4.121 - 0. This License Agreement applies to any software library or other
4.122 -program which contains a notice placed by the copyright holder or
4.123 -other authorized party saying it may be distributed under the terms of
4.124 -this Lesser General Public License (also called "this License").
4.125 -Each licensee is addressed as "you".
4.126 -
4.127 - A "library" means a collection of software functions and/or data
4.128 -prepared so as to be conveniently linked with application programs
4.129 -(which use some of those functions and data) to form executables.
4.130 -
4.131 - The "Library", below, refers to any such software library or work
4.132 -which has been distributed under these terms. A "work based on the
4.133 -Library" means either the Library or any derivative work under
4.134 -copyright law: that is to say, a work containing the Library or a
4.135 -portion of it, either verbatim or with modifications and/or translated
4.136 -straightforwardly into another language. (Hereinafter, translation is
4.137 -included without limitation in the term "modification".)
4.138 -
4.139 - "Source code" for a work means the preferred form of the work for
4.140 -making modifications to it. For a library, complete source code means
4.141 -all the source code for all modules it contains, plus any associated
4.142 -interface definition files, plus the scripts used to control compilation
4.143 -and installation of the library.
4.144 -
4.145 - Activities other than copying, distribution and modification are not
4.146 -covered by this License; they are outside its scope. The act of
4.147 -running a program using the Library is not restricted, and output from
4.148 -such a program is covered only if its contents constitute a work based
4.149 -on the Library (independent of the use of the Library in a tool for
4.150 -writing it). Whether that is true depends on what the Library does
4.151 -and what the program that uses the Library does.
4.152 -
4.153 - 1. You may copy and distribute verbatim copies of the Library's
4.154 -complete source code as you receive it, in any medium, provided that
4.155 -you conspicuously and appropriately publish on each copy an
4.156 -appropriate copyright notice and disclaimer of warranty; keep intact
4.157 -all the notices that refer to this License and to the absence of any
4.158 -warranty; and distribute a copy of this License along with the
4.159 -Library.
4.160 -
4.161 - You may charge a fee for the physical act of transferring a copy,
4.162 -and you may at your option offer warranty protection in exchange for a
4.163 -fee.
4.164 -
4.165 - 2. You may modify your copy or copies of the Library or any portion
4.166 -of it, thus forming a work based on the Library, and copy and
4.167 -distribute such modifications or work under the terms of Section 1
4.168 -above, provided that you also meet all of these conditions:
4.169 -
4.170 - a) The modified work must itself be a software library.
4.171 -
4.172 - b) You must cause the files modified to carry prominent notices
4.173 - stating that you changed the files and the date of any change.
4.174 -
4.175 - c) You must cause the whole of the work to be licensed at no
4.176 - charge to all third parties under the terms of this License.
4.177 -
4.178 - d) If a facility in the modified Library refers to a function or a
4.179 - table of data to be supplied by an application program that uses
4.180 - the facility, other than as an argument passed when the facility
4.181 - is invoked, then you must make a good faith effort to ensure that,
4.182 - in the event an application does not supply such function or
4.183 - table, the facility still operates, and performs whatever part of
4.184 - its purpose remains meaningful.
4.185 -
4.186 - (For example, a function in a library to compute square roots has
4.187 - a purpose that is entirely well-defined independent of the
4.188 - application. Therefore, Subsection 2d requires that any
4.189 - application-supplied function or table used by this function must
4.190 - be optional: if the application does not supply it, the square
4.191 - root function must still compute square roots.)
4.192 -
4.193 -These requirements apply to the modified work as a whole. If
4.194 -identifiable sections of that work are not derived from the Library,
4.195 -and can be reasonably considered independent and separate works in
4.196 -themselves, then this License, and its terms, do not apply to those
4.197 -sections when you distribute them as separate works. But when you
4.198 -distribute the same sections as part of a whole which is a work based
4.199 -on the Library, the distribution of the whole must be on the terms of
4.200 -this License, whose permissions for other licensees extend to the
4.201 -entire whole, and thus to each and every part regardless of who wrote
4.202 -it.
4.203 -
4.204 -Thus, it is not the intent of this section to claim rights or contest
4.205 -your rights to work written entirely by you; rather, the intent is to
4.206 -exercise the right to control the distribution of derivative or
4.207 -collective works based on the Library.
4.208 -
4.209 -In addition, mere aggregation of another work not based on the Library
4.210 -with the Library (or with a work based on the Library) on a volume of
4.211 -a storage or distribution medium does not bring the other work under
4.212 -the scope of this License.
4.213 -
4.214 - 3. You may opt to apply the terms of the ordinary GNU General Public
4.215 -License instead of this License to a given copy of the Library. To do
4.216 -this, you must alter all the notices that refer to this License, so
4.217 -that they refer to the ordinary GNU General Public License, version 2,
4.218 -instead of to this License. (If a newer version than version 2 of the
4.219 -ordinary GNU General Public License has appeared, then you can specify
4.220 -that version instead if you wish.) Do not make any other change in
4.221 -these notices.
4.222 -
4.223 - Once this change is made in a given copy, it is irreversible for
4.224 -that copy, so the ordinary GNU General Public License applies to all
4.225 -subsequent copies and derivative works made from that copy.
4.226 -
4.227 - This option is useful when you wish to copy part of the code of
4.228 -the Library into a program that is not a library.
4.229 -
4.230 - 4. You may copy and distribute the Library (or a portion or
4.231 -derivative of it, under Section 2) in object code or executable form
4.232 -under the terms of Sections 1 and 2 above provided that you accompany
4.233 -it with the complete corresponding machine-readable source code, which
4.234 -must be distributed under the terms of Sections 1 and 2 above on a
4.235 -medium customarily used for software interchange.
4.236 -
4.237 - If distribution of object code is made by offering access to copy
4.238 -from a designated place, then offering equivalent access to copy the
4.239 -source code from the same place satisfies the requirement to
4.240 -distribute the source code, even though third parties are not
4.241 -compelled to copy the source along with the object code.
4.242 -
4.243 - 5. A program that contains no derivative of any portion of the
4.244 -Library, but is designed to work with the Library by being compiled or
4.245 -linked with it, is called a "work that uses the Library". Such a
4.246 -work, in isolation, is not a derivative work of the Library, and
4.247 -therefore falls outside the scope of this License.
4.248 -
4.249 - However, linking a "work that uses the Library" with the Library
4.250 -creates an executable that is a derivative of the Library (because it
4.251 -contains portions of the Library), rather than a "work that uses the
4.252 -library". The executable is therefore covered by this License.
4.253 -Section 6 states terms for distribution of such executables.
4.254 -
4.255 - When a "work that uses the Library" uses material from a header file
4.256 -that is part of the Library, the object code for the work may be a
4.257 -derivative work of the Library even though the source code is not.
4.258 -Whether this is true is especially significant if the work can be
4.259 -linked without the Library, or if the work is itself a library. The
4.260 -threshold for this to be true is not precisely defined by law.
4.261 -
4.262 - If such an object file uses only numerical parameters, data
4.263 -structure layouts and accessors, and small macros and small inline
4.264 -functions (ten lines or less in length), then the use of the object
4.265 -file is unrestricted, regardless of whether it is legally a derivative
4.266 -work. (Executables containing this object code plus portions of the
4.267 -Library will still fall under Section 6.)
4.268 -
4.269 - Otherwise, if the work is a derivative of the Library, you may
4.270 -distribute the object code for the work under the terms of Section 6.
4.271 -Any executables containing that work also fall under Section 6,
4.272 -whether or not they are linked directly with the Library itself.
4.273 -
4.274 - 6. As an exception to the Sections above, you may also combine or
4.275 -link a "work that uses the Library" with the Library to produce a
4.276 -work containing portions of the Library, and distribute that work
4.277 -under terms of your choice, provided that the terms permit
4.278 -modification of the work for the customer's own use and reverse
4.279 -engineering for debugging such modifications.
4.280 -
4.281 - You must give prominent notice with each copy of the work that the
4.282 -Library is used in it and that the Library and its use are covered by
4.283 -this License. You must supply a copy of this License. If the work
4.284 -during execution displays copyright notices, you must include the
4.285 -copyright notice for the Library among them, as well as a reference
4.286 -directing the user to the copy of this License. Also, you must do one
4.287 -of these things:
4.288 -
4.289 - a) Accompany the work with the complete corresponding
4.290 - machine-readable source code for the Library including whatever
4.291 - changes were used in the work (which must be distributed under
4.292 - Sections 1 and 2 above); and, if the work is an executable linked
4.293 - with the Library, with the complete machine-readable "work that
4.294 - uses the Library", as object code and/or source code, so that the
4.295 - user can modify the Library and then relink to produce a modified
4.296 - executable containing the modified Library. (It is understood
4.297 - that the user who changes the contents of definitions files in the
4.298 - Library will not necessarily be able to recompile the application
4.299 - to use the modified definitions.)
4.300 -
4.301 - b) Use a suitable shared library mechanism for linking with the
4.302 - Library. A suitable mechanism is one that (1) uses at run time a
4.303 - copy of the library already present on the user's computer system,
4.304 - rather than copying library functions into the executable, and (2)
4.305 - will operate properly with a modified version of the library, if
4.306 - the user installs one, as long as the modified version is
4.307 - interface-compatible with the version that the work was made with.
4.308 -
4.309 - c) Accompany the work with a written offer, valid for at
4.310 - least three years, to give the same user the materials
4.311 - specified in Subsection 6a, above, for a charge no more
4.312 - than the cost of performing this distribution.
4.313 -
4.314 - d) If distribution of the work is made by offering access to copy
4.315 - from a designated place, offer equivalent access to copy the above
4.316 - specified materials from the same place.
4.317 -
4.318 - e) Verify that the user has already received a copy of these
4.319 - materials or that you have already sent this user a copy.
4.320 -
4.321 - For an executable, the required form of the "work that uses the
4.322 -Library" must include any data and utility programs needed for
4.323 -reproducing the executable from it. However, as a special exception,
4.324 -the materials to be distributed need not include anything that is
4.325 -normally distributed (in either source or binary form) with the major
4.326 -components (compiler, kernel, and so on) of the operating system on
4.327 -which the executable runs, unless that component itself accompanies
4.328 -the executable.
4.329 -
4.330 - It may happen that this requirement contradicts the license
4.331 -restrictions of other proprietary libraries that do not normally
4.332 -accompany the operating system. Such a contradiction means you cannot
4.333 -use both them and the Library together in an executable that you
4.334 -distribute.
4.335 -
4.336 - 7. You may place library facilities that are a work based on the
4.337 -Library side-by-side in a single library together with other library
4.338 -facilities not covered by this License, and distribute such a combined
4.339 -library, provided that the separate distribution of the work based on
4.340 -the Library and of the other library facilities is otherwise
4.341 -permitted, and provided that you do these two things:
4.342 -
4.343 - a) Accompany the combined library with a copy of the same work
4.344 - based on the Library, uncombined with any other library
4.345 - facilities. This must be distributed under the terms of the
4.346 - Sections above.
4.347 -
4.348 - b) Give prominent notice with the combined library of the fact
4.349 - that part of it is a work based on the Library, and explaining
4.350 - where to find the accompanying uncombined form of the same work.
4.351 -
4.352 - 8. You may not copy, modify, sublicense, link with, or distribute
4.353 -the Library except as expressly provided under this License. Any
4.354 -attempt otherwise to copy, modify, sublicense, link with, or
4.355 -distribute the Library is void, and will automatically terminate your
4.356 -rights under this License. However, parties who have received copies,
4.357 -or rights, from you under this License will not have their licenses
4.358 -terminated so long as such parties remain in full compliance.
4.359 -
4.360 - 9. You are not required to accept this License, since you have not
4.361 -signed it. However, nothing else grants you permission to modify or
4.362 -distribute the Library or its derivative works. These actions are
4.363 -prohibited by law if you do not accept this License. Therefore, by
4.364 -modifying or distributing the Library (or any work based on the
4.365 -Library), you indicate your acceptance of this License to do so, and
4.366 -all its terms and conditions for copying, distributing or modifying
4.367 -the Library or works based on it.
4.368 -
4.369 - 10. Each time you redistribute the Library (or any work based on the
4.370 -Library), the recipient automatically receives a license from the
4.371 -original licensor to copy, distribute, link with or modify the Library
4.372 -subject to these terms and conditions. You may not impose any further
4.373 -restrictions on the recipients' exercise of the rights granted herein.
4.374 -You are not responsible for enforcing compliance by third parties with
4.375 -this License.
4.376 -
4.377 - 11. If, as a consequence of a court judgment or allegation of patent
4.378 -infringement or for any other reason (not limited to patent issues),
4.379 -conditions are imposed on you (whether by court order, agreement or
4.380 -otherwise) that contradict the conditions of this License, they do not
4.381 -excuse you from the conditions of this License. If you cannot
4.382 -distribute so as to satisfy simultaneously your obligations under this
4.383 -License and any other pertinent obligations, then as a consequence you
4.384 -may not distribute the Library at all. For example, if a patent
4.385 -license would not permit royalty-free redistribution of the Library by
4.386 -all those who receive copies directly or indirectly through you, then
4.387 -the only way you could satisfy both it and this License would be to
4.388 -refrain entirely from distribution of the Library.
4.389 -
4.390 -If any portion of this section is held invalid or unenforceable under any
4.391 -particular circumstance, the balance of the section is intended to apply,
4.392 -and the section as a whole is intended to apply in other circumstances.
4.393 -
4.394 -It is not the purpose of this section to induce you to infringe any
4.395 -patents or other property right claims or to contest validity of any
4.396 -such claims; this section has the sole purpose of protecting the
4.397 -integrity of the free software distribution system which is
4.398 -implemented by public license practices. Many people have made
4.399 -generous contributions to the wide range of software distributed
4.400 -through that system in reliance on consistent application of that
4.401 -system; it is up to the author/donor to decide if he or she is willing
4.402 -to distribute software through any other system and a licensee cannot
4.403 -impose that choice.
4.404 -
4.405 -This section is intended to make thoroughly clear what is believed to
4.406 -be a consequence of the rest of this License.
4.407 -
4.408 - 12. If the distribution and/or use of the Library is restricted in
4.409 -certain countries either by patents or by copyrighted interfaces, the
4.410 -original copyright holder who places the Library under this License may add
4.411 -an explicit geographical distribution limitation excluding those countries,
4.412 -so that distribution is permitted only in or among countries not thus
4.413 -excluded. In such case, this License incorporates the limitation as if
4.414 -written in the body of this License.
4.415 -
4.416 - 13. The Free Software Foundation may publish revised and/or new
4.417 -versions of the Lesser General Public License from time to time.
4.418 -Such new versions will be similar in spirit to the present version,
4.419 -but may differ in detail to address new problems or concerns.
4.420 -
4.421 -Each version is given a distinguishing version number. If the Library
4.422 -specifies a version number of this License which applies to it and
4.423 -"any later version", you have the option of following the terms and
4.424 -conditions either of that version or of any later version published by
4.425 -the Free Software Foundation. If the Library does not specify a
4.426 -license version number, you may choose any version ever published by
4.427 -the Free Software Foundation.
4.428 -
4.429 - 14. If you wish to incorporate parts of the Library into other free
4.430 -programs whose distribution conditions are incompatible with these,
4.431 -write to the author to ask for permission. For software which is
4.432 -copyrighted by the Free Software Foundation, write to the Free
4.433 -Software Foundation; we sometimes make exceptions for this. Our
4.434 -decision will be guided by the two goals of preserving the free status
4.435 -of all derivatives of our free software and of promoting the sharing
4.436 -and reuse of software generally.
4.437 -
4.438 - NO WARRANTY
4.439 -
4.440 - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
4.441 -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
4.442 -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
4.443 -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
4.444 -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
4.445 -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4.446 -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
4.447 -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
4.448 -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
4.449 -
4.450 - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
4.451 -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
4.452 -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
4.453 -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
4.454 -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
4.455 -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
4.456 -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
4.457 -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
4.458 -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
4.459 -DAMAGES.
4.460 -
4.461 - END OF TERMS AND CONDITIONS
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/docs/gpl-3.0.txt Thu Mar 24 00:58:05 2011 +0100
5.3 @@ -0,0 +1,674 @@
5.4 + GNU GENERAL PUBLIC LICENSE
5.5 + Version 3, 29 June 2007
5.6 +
5.7 + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5.8 + Everyone is permitted to copy and distribute verbatim copies
5.9 + of this license document, but changing it is not allowed.
5.10 +
5.11 + Preamble
5.12 +
5.13 + The GNU General Public License is a free, copyleft license for
5.14 +software and other kinds of works.
5.15 +
5.16 + The licenses for most software and other practical works are designed
5.17 +to take away your freedom to share and change the works. By contrast,
5.18 +the GNU General Public License is intended to guarantee your freedom to
5.19 +share and change all versions of a program--to make sure it remains free
5.20 +software for all its users. We, the Free Software Foundation, use the
5.21 +GNU General Public License for most of our software; it applies also to
5.22 +any other work released this way by its authors. You can apply it to
5.23 +your programs, too.
5.24 +
5.25 + When we speak of free software, we are referring to freedom, not
5.26 +price. Our General Public Licenses are designed to make sure that you
5.27 +have the freedom to distribute copies of free software (and charge for
5.28 +them if you wish), that you receive source code or can get it if you
5.29 +want it, that you can change the software or use pieces of it in new
5.30 +free programs, and that you know you can do these things.
5.31 +
5.32 + To protect your rights, we need to prevent others from denying you
5.33 +these rights or asking you to surrender the rights. Therefore, you have
5.34 +certain responsibilities if you distribute copies of the software, or if
5.35 +you modify it: responsibilities to respect the freedom of others.
5.36 +
5.37 + For example, if you distribute copies of such a program, whether
5.38 +gratis or for a fee, you must pass on to the recipients the same
5.39 +freedoms that you received. You must make sure that they, too, receive
5.40 +or can get the source code. And you must show them these terms so they
5.41 +know their rights.
5.42 +
5.43 + Developers that use the GNU GPL protect your rights with two steps:
5.44 +(1) assert copyright on the software, and (2) offer you this License
5.45 +giving you legal permission to copy, distribute and/or modify it.
5.46 +
5.47 + For the developers' and authors' protection, the GPL clearly explains
5.48 +that there is no warranty for this free software. For both users' and
5.49 +authors' sake, the GPL requires that modified versions be marked as
5.50 +changed, so that their problems will not be attributed erroneously to
5.51 +authors of previous versions.
5.52 +
5.53 + Some devices are designed to deny users access to install or run
5.54 +modified versions of the software inside them, although the manufacturer
5.55 +can do so. This is fundamentally incompatible with the aim of
5.56 +protecting users' freedom to change the software. The systematic
5.57 +pattern of such abuse occurs in the area of products for individuals to
5.58 +use, which is precisely where it is most unacceptable. Therefore, we
5.59 +have designed this version of the GPL to prohibit the practice for those
5.60 +products. If such problems arise substantially in other domains, we
5.61 +stand ready to extend this provision to those domains in future versions
5.62 +of the GPL, as needed to protect the freedom of users.
5.63 +
5.64 + Finally, every program is threatened constantly by software patents.
5.65 +States should not allow patents to restrict development and use of
5.66 +software on general-purpose computers, but in those that do, we wish to
5.67 +avoid the special danger that patents applied to a free program could
5.68 +make it effectively proprietary. To prevent this, the GPL assures that
5.69 +patents cannot be used to render the program non-free.
5.70 +
5.71 + The precise terms and conditions for copying, distribution and
5.72 +modification follow.
5.73 +
5.74 + TERMS AND CONDITIONS
5.75 +
5.76 + 0. Definitions.
5.77 +
5.78 + "This License" refers to version 3 of the GNU General Public License.
5.79 +
5.80 + "Copyright" also means copyright-like laws that apply to other kinds of
5.81 +works, such as semiconductor masks.
5.82 +
5.83 + "The Program" refers to any copyrightable work licensed under this
5.84 +License. Each licensee is addressed as "you". "Licensees" and
5.85 +"recipients" may be individuals or organizations.
5.86 +
5.87 + To "modify" a work means to copy from or adapt all or part of the work
5.88 +in a fashion requiring copyright permission, other than the making of an
5.89 +exact copy. The resulting work is called a "modified version" of the
5.90 +earlier work or a work "based on" the earlier work.
5.91 +
5.92 + A "covered work" means either the unmodified Program or a work based
5.93 +on the Program.
5.94 +
5.95 + To "propagate" a work means to do anything with it that, without
5.96 +permission, would make you directly or secondarily liable for
5.97 +infringement under applicable copyright law, except executing it on a
5.98 +computer or modifying a private copy. Propagation includes copying,
5.99 +distribution (with or without modification), making available to the
5.100 +public, and in some countries other activities as well.
5.101 +
5.102 + To "convey" a work means any kind of propagation that enables other
5.103 +parties to make or receive copies. Mere interaction with a user through
5.104 +a computer network, with no transfer of a copy, is not conveying.
5.105 +
5.106 + An interactive user interface displays "Appropriate Legal Notices"
5.107 +to the extent that it includes a convenient and prominently visible
5.108 +feature that (1) displays an appropriate copyright notice, and (2)
5.109 +tells the user that there is no warranty for the work (except to the
5.110 +extent that warranties are provided), that licensees may convey the
5.111 +work under this License, and how to view a copy of this License. If
5.112 +the interface presents a list of user commands or options, such as a
5.113 +menu, a prominent item in the list meets this criterion.
5.114 +
5.115 + 1. Source Code.
5.116 +
5.117 + The "source code" for a work means the preferred form of the work
5.118 +for making modifications to it. "Object code" means any non-source
5.119 +form of a work.
5.120 +
5.121 + A "Standard Interface" means an interface that either is an official
5.122 +standard defined by a recognized standards body, or, in the case of
5.123 +interfaces specified for a particular programming language, one that
5.124 +is widely used among developers working in that language.
5.125 +
5.126 + The "System Libraries" of an executable work include anything, other
5.127 +than the work as a whole, that (a) is included in the normal form of
5.128 +packaging a Major Component, but which is not part of that Major
5.129 +Component, and (b) serves only to enable use of the work with that
5.130 +Major Component, or to implement a Standard Interface for which an
5.131 +implementation is available to the public in source code form. A
5.132 +"Major Component", in this context, means a major essential component
5.133 +(kernel, window system, and so on) of the specific operating system
5.134 +(if any) on which the executable work runs, or a compiler used to
5.135 +produce the work, or an object code interpreter used to run it.
5.136 +
5.137 + The "Corresponding Source" for a work in object code form means all
5.138 +the source code needed to generate, install, and (for an executable
5.139 +work) run the object code and to modify the work, including scripts to
5.140 +control those activities. However, it does not include the work's
5.141 +System Libraries, or general-purpose tools or generally available free
5.142 +programs which are used unmodified in performing those activities but
5.143 +which are not part of the work. For example, Corresponding Source
5.144 +includes interface definition files associated with source files for
5.145 +the work, and the source code for shared libraries and dynamically
5.146 +linked subprograms that the work is specifically designed to require,
5.147 +such as by intimate data communication or control flow between those
5.148 +subprograms and other parts of the work.
5.149 +
5.150 + The Corresponding Source need not include anything that users
5.151 +can regenerate automatically from other parts of the Corresponding
5.152 +Source.
5.153 +
5.154 + The Corresponding Source for a work in source code form is that
5.155 +same work.
5.156 +
5.157 + 2. Basic Permissions.
5.158 +
5.159 + All rights granted under this License are granted for the term of
5.160 +copyright on the Program, and are irrevocable provided the stated
5.161 +conditions are met. This License explicitly affirms your unlimited
5.162 +permission to run the unmodified Program. The output from running a
5.163 +covered work is covered by this License only if the output, given its
5.164 +content, constitutes a covered work. This License acknowledges your
5.165 +rights of fair use or other equivalent, as provided by copyright law.
5.166 +
5.167 + You may make, run and propagate covered works that you do not
5.168 +convey, without conditions so long as your license otherwise remains
5.169 +in force. You may convey covered works to others for the sole purpose
5.170 +of having them make modifications exclusively for you, or provide you
5.171 +with facilities for running those works, provided that you comply with
5.172 +the terms of this License in conveying all material for which you do
5.173 +not control copyright. Those thus making or running the covered works
5.174 +for you must do so exclusively on your behalf, under your direction
5.175 +and control, on terms that prohibit them from making any copies of
5.176 +your copyrighted material outside their relationship with you.
5.177 +
5.178 + Conveying under any other circumstances is permitted solely under
5.179 +the conditions stated below. Sublicensing is not allowed; section 10
5.180 +makes it unnecessary.
5.181 +
5.182 + 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
5.183 +
5.184 + No covered work shall be deemed part of an effective technological
5.185 +measure under any applicable law fulfilling obligations under article
5.186 +11 of the WIPO copyright treaty adopted on 20 December 1996, or
5.187 +similar laws prohibiting or restricting circumvention of such
5.188 +measures.
5.189 +
5.190 + When you convey a covered work, you waive any legal power to forbid
5.191 +circumvention of technological measures to the extent such circumvention
5.192 +is effected by exercising rights under this License with respect to
5.193 +the covered work, and you disclaim any intention to limit operation or
5.194 +modification of the work as a means of enforcing, against the work's
5.195 +users, your or third parties' legal rights to forbid circumvention of
5.196 +technological measures.
5.197 +
5.198 + 4. Conveying Verbatim Copies.
5.199 +
5.200 + You may convey verbatim copies of the Program's source code as you
5.201 +receive it, in any medium, provided that you conspicuously and
5.202 +appropriately publish on each copy an appropriate copyright notice;
5.203 +keep intact all notices stating that this License and any
5.204 +non-permissive terms added in accord with section 7 apply to the code;
5.205 +keep intact all notices of the absence of any warranty; and give all
5.206 +recipients a copy of this License along with the Program.
5.207 +
5.208 + You may charge any price or no price for each copy that you convey,
5.209 +and you may offer support or warranty protection for a fee.
5.210 +
5.211 + 5. Conveying Modified Source Versions.
5.212 +
5.213 + You may convey a work based on the Program, or the modifications to
5.214 +produce it from the Program, in the form of source code under the
5.215 +terms of section 4, provided that you also meet all of these conditions:
5.216 +
5.217 + a) The work must carry prominent notices stating that you modified
5.218 + it, and giving a relevant date.
5.219 +
5.220 + b) The work must carry prominent notices stating that it is
5.221 + released under this License and any conditions added under section
5.222 + 7. This requirement modifies the requirement in section 4 to
5.223 + "keep intact all notices".
5.224 +
5.225 + c) You must license the entire work, as a whole, under this
5.226 + License to anyone who comes into possession of a copy. This
5.227 + License will therefore apply, along with any applicable section 7
5.228 + additional terms, to the whole of the work, and all its parts,
5.229 + regardless of how they are packaged. This License gives no
5.230 + permission to license the work in any other way, but it does not
5.231 + invalidate such permission if you have separately received it.
5.232 +
5.233 + d) If the work has interactive user interfaces, each must display
5.234 + Appropriate Legal Notices; however, if the Program has interactive
5.235 + interfaces that do not display Appropriate Legal Notices, your
5.236 + work need not make them do so.
5.237 +
5.238 + A compilation of a covered work with other separate and independent
5.239 +works, which are not by their nature extensions of the covered work,
5.240 +and which are not combined with it such as to form a larger program,
5.241 +in or on a volume of a storage or distribution medium, is called an
5.242 +"aggregate" if the compilation and its resulting copyright are not
5.243 +used to limit the access or legal rights of the compilation's users
5.244 +beyond what the individual works permit. Inclusion of a covered work
5.245 +in an aggregate does not cause this License to apply to the other
5.246 +parts of the aggregate.
5.247 +
5.248 + 6. Conveying Non-Source Forms.
5.249 +
5.250 + You may convey a covered work in object code form under the terms
5.251 +of sections 4 and 5, provided that you also convey the
5.252 +machine-readable Corresponding Source under the terms of this License,
5.253 +in one of these ways:
5.254 +
5.255 + a) Convey the object code in, or embodied in, a physical product
5.256 + (including a physical distribution medium), accompanied by the
5.257 + Corresponding Source fixed on a durable physical medium
5.258 + customarily used for software interchange.
5.259 +
5.260 + b) Convey the object code in, or embodied in, a physical product
5.261 + (including a physical distribution medium), accompanied by a
5.262 + written offer, valid for at least three years and valid for as
5.263 + long as you offer spare parts or customer support for that product
5.264 + model, to give anyone who possesses the object code either (1) a
5.265 + copy of the Corresponding Source for all the software in the
5.266 + product that is covered by this License, on a durable physical
5.267 + medium customarily used for software interchange, for a price no
5.268 + more than your reasonable cost of physically performing this
5.269 + conveying of source, or (2) access to copy the
5.270 + Corresponding Source from a network server at no charge.
5.271 +
5.272 + c) Convey individual copies of the object code with a copy of the
5.273 + written offer to provide the Corresponding Source. This
5.274 + alternative is allowed only occasionally and noncommercially, and
5.275 + only if you received the object code with such an offer, in accord
5.276 + with subsection 6b.
5.277 +
5.278 + d) Convey the object code by offering access from a designated
5.279 + place (gratis or for a charge), and offer equivalent access to the
5.280 + Corresponding Source in the same way through the same place at no
5.281 + further charge. You need not require recipients to copy the
5.282 + Corresponding Source along with the object code. If the place to
5.283 + copy the object code is a network server, the Corresponding Source
5.284 + may be on a different server (operated by you or a third party)
5.285 + that supports equivalent copying facilities, provided you maintain
5.286 + clear directions next to the object code saying where to find the
5.287 + Corresponding Source. Regardless of what server hosts the
5.288 + Corresponding Source, you remain obligated to ensure that it is
5.289 + available for as long as needed to satisfy these requirements.
5.290 +
5.291 + e) Convey the object code using peer-to-peer transmission, provided
5.292 + you inform other peers where the object code and Corresponding
5.293 + Source of the work are being offered to the general public at no
5.294 + charge under subsection 6d.
5.295 +
5.296 + A separable portion of the object code, whose source code is excluded
5.297 +from the Corresponding Source as a System Library, need not be
5.298 +included in conveying the object code work.
5.299 +
5.300 + A "User Product" is either (1) a "consumer product", which means any
5.301 +tangible personal property which is normally used for personal, family,
5.302 +or household purposes, or (2) anything designed or sold for incorporation
5.303 +into a dwelling. In determining whether a product is a consumer product,
5.304 +doubtful cases shall be resolved in favor of coverage. For a particular
5.305 +product received by a particular user, "normally used" refers to a
5.306 +typical or common use of that class of product, regardless of the status
5.307 +of the particular user or of the way in which the particular user
5.308 +actually uses, or expects or is expected to use, the product. A product
5.309 +is a consumer product regardless of whether the product has substantial
5.310 +commercial, industrial or non-consumer uses, unless such uses represent
5.311 +the only significant mode of use of the product.
5.312 +
5.313 + "Installation Information" for a User Product means any methods,
5.314 +procedures, authorization keys, or other information required to install
5.315 +and execute modified versions of a covered work in that User Product from
5.316 +a modified version of its Corresponding Source. The information must
5.317 +suffice to ensure that the continued functioning of the modified object
5.318 +code is in no case prevented or interfered with solely because
5.319 +modification has been made.
5.320 +
5.321 + If you convey an object code work under this section in, or with, or
5.322 +specifically for use in, a User Product, and the conveying occurs as
5.323 +part of a transaction in which the right of possession and use of the
5.324 +User Product is transferred to the recipient in perpetuity or for a
5.325 +fixed term (regardless of how the transaction is characterized), the
5.326 +Corresponding Source conveyed under this section must be accompanied
5.327 +by the Installation Information. But this requirement does not apply
5.328 +if neither you nor any third party retains the ability to install
5.329 +modified object code on the User Product (for example, the work has
5.330 +been installed in ROM).
5.331 +
5.332 + The requirement to provide Installation Information does not include a
5.333 +requirement to continue to provide support service, warranty, or updates
5.334 +for a work that has been modified or installed by the recipient, or for
5.335 +the User Product in which it has been modified or installed. Access to a
5.336 +network may be denied when the modification itself materially and
5.337 +adversely affects the operation of the network or violates the rules and
5.338 +protocols for communication across the network.
5.339 +
5.340 + Corresponding Source conveyed, and Installation Information provided,
5.341 +in accord with this section must be in a format that is publicly
5.342 +documented (and with an implementation available to the public in
5.343 +source code form), and must require no special password or key for
5.344 +unpacking, reading or copying.
5.345 +
5.346 + 7. Additional Terms.
5.347 +
5.348 + "Additional permissions" are terms that supplement the terms of this
5.349 +License by making exceptions from one or more of its conditions.
5.350 +Additional permissions that are applicable to the entire Program shall
5.351 +be treated as though they were included in this License, to the extent
5.352 +that they are valid under applicable law. If additional permissions
5.353 +apply only to part of the Program, that part may be used separately
5.354 +under those permissions, but the entire Program remains governed by
5.355 +this License without regard to the additional permissions.
5.356 +
5.357 + When you convey a copy of a covered work, you may at your option
5.358 +remove any additional permissions from that copy, or from any part of
5.359 +it. (Additional permissions may be written to require their own
5.360 +removal in certain cases when you modify the work.) You may place
5.361 +additional permissions on material, added by you to a covered work,
5.362 +for which you have or can give appropriate copyright permission.
5.363 +
5.364 + Notwithstanding any other provision of this License, for material you
5.365 +add to a covered work, you may (if authorized by the copyright holders of
5.366 +that material) supplement the terms of this License with terms:
5.367 +
5.368 + a) Disclaiming warranty or limiting liability differently from the
5.369 + terms of sections 15 and 16 of this License; or
5.370 +
5.371 + b) Requiring preservation of specified reasonable legal notices or
5.372 + author attributions in that material or in the Appropriate Legal
5.373 + Notices displayed by works containing it; or
5.374 +
5.375 + c) Prohibiting misrepresentation of the origin of that material, or
5.376 + requiring that modified versions of such material be marked in
5.377 + reasonable ways as different from the original version; or
5.378 +
5.379 + d) Limiting the use for publicity purposes of names of licensors or
5.380 + authors of the material; or
5.381 +
5.382 + e) Declining to grant rights under trademark law for use of some
5.383 + trade names, trademarks, or service marks; or
5.384 +
5.385 + f) Requiring indemnification of licensors and authors of that
5.386 + material by anyone who conveys the material (or modified versions of
5.387 + it) with contractual assumptions of liability to the recipient, for
5.388 + any liability that these contractual assumptions directly impose on
5.389 + those licensors and authors.
5.390 +
5.391 + All other non-permissive additional terms are considered "further
5.392 +restrictions" within the meaning of section 10. If the Program as you
5.393 +received it, or any part of it, contains a notice stating that it is
5.394 +governed by this License along with a term that is a further
5.395 +restriction, you may remove that term. If a license document contains
5.396 +a further restriction but permits relicensing or conveying under this
5.397 +License, you may add to a covered work material governed by the terms
5.398 +of that license document, provided that the further restriction does
5.399 +not survive such relicensing or conveying.
5.400 +
5.401 + If you add terms to a covered work in accord with this section, you
5.402 +must place, in the relevant source files, a statement of the
5.403 +additional terms that apply to those files, or a notice indicating
5.404 +where to find the applicable terms.
5.405 +
5.406 + Additional terms, permissive or non-permissive, may be stated in the
5.407 +form of a separately written license, or stated as exceptions;
5.408 +the above requirements apply either way.
5.409 +
5.410 + 8. Termination.
5.411 +
5.412 + You may not propagate or modify a covered work except as expressly
5.413 +provided under this License. Any attempt otherwise to propagate or
5.414 +modify it is void, and will automatically terminate your rights under
5.415 +this License (including any patent licenses granted under the third
5.416 +paragraph of section 11).
5.417 +
5.418 + However, if you cease all violation of this License, then your
5.419 +license from a particular copyright holder is reinstated (a)
5.420 +provisionally, unless and until the copyright holder explicitly and
5.421 +finally terminates your license, and (b) permanently, if the copyright
5.422 +holder fails to notify you of the violation by some reasonable means
5.423 +prior to 60 days after the cessation.
5.424 +
5.425 + Moreover, your license from a particular copyright holder is
5.426 +reinstated permanently if the copyright holder notifies you of the
5.427 +violation by some reasonable means, this is the first time you have
5.428 +received notice of violation of this License (for any work) from that
5.429 +copyright holder, and you cure the violation prior to 30 days after
5.430 +your receipt of the notice.
5.431 +
5.432 + Termination of your rights under this section does not terminate the
5.433 +licenses of parties who have received copies or rights from you under
5.434 +this License. If your rights have been terminated and not permanently
5.435 +reinstated, you do not qualify to receive new licenses for the same
5.436 +material under section 10.
5.437 +
5.438 + 9. Acceptance Not Required for Having Copies.
5.439 +
5.440 + You are not required to accept this License in order to receive or
5.441 +run a copy of the Program. Ancillary propagation of a covered work
5.442 +occurring solely as a consequence of using peer-to-peer transmission
5.443 +to receive a copy likewise does not require acceptance. However,
5.444 +nothing other than this License grants you permission to propagate or
5.445 +modify any covered work. These actions infringe copyright if you do
5.446 +not accept this License. Therefore, by modifying or propagating a
5.447 +covered work, you indicate your acceptance of this License to do so.
5.448 +
5.449 + 10. Automatic Licensing of Downstream Recipients.
5.450 +
5.451 + Each time you convey a covered work, the recipient automatically
5.452 +receives a license from the original licensors, to run, modify and
5.453 +propagate that work, subject to this License. You are not responsible
5.454 +for enforcing compliance by third parties with this License.
5.455 +
5.456 + An "entity transaction" is a transaction transferring control of an
5.457 +organization, or substantially all assets of one, or subdividing an
5.458 +organization, or merging organizations. If propagation of a covered
5.459 +work results from an entity transaction, each party to that
5.460 +transaction who receives a copy of the work also receives whatever
5.461 +licenses to the work the party's predecessor in interest had or could
5.462 +give under the previous paragraph, plus a right to possession of the
5.463 +Corresponding Source of the work from the predecessor in interest, if
5.464 +the predecessor has it or can get it with reasonable efforts.
5.465 +
5.466 + You may not impose any further restrictions on the exercise of the
5.467 +rights granted or affirmed under this License. For example, you may
5.468 +not impose a license fee, royalty, or other charge for exercise of
5.469 +rights granted under this License, and you may not initiate litigation
5.470 +(including a cross-claim or counterclaim in a lawsuit) alleging that
5.471 +any patent claim is infringed by making, using, selling, offering for
5.472 +sale, or importing the Program or any portion of it.
5.473 +
5.474 + 11. Patents.
5.475 +
5.476 + A "contributor" is a copyright holder who authorizes use under this
5.477 +License of the Program or a work on which the Program is based. The
5.478 +work thus licensed is called the contributor's "contributor version".
5.479 +
5.480 + A contributor's "essential patent claims" are all patent claims
5.481 +owned or controlled by the contributor, whether already acquired or
5.482 +hereafter acquired, that would be infringed by some manner, permitted
5.483 +by this License, of making, using, or selling its contributor version,
5.484 +but do not include claims that would be infringed only as a
5.485 +consequence of further modification of the contributor version. For
5.486 +purposes of this definition, "control" includes the right to grant
5.487 +patent sublicenses in a manner consistent with the requirements of
5.488 +this License.
5.489 +
5.490 + Each contributor grants you a non-exclusive, worldwide, royalty-free
5.491 +patent license under the contributor's essential patent claims, to
5.492 +make, use, sell, offer for sale, import and otherwise run, modify and
5.493 +propagate the contents of its contributor version.
5.494 +
5.495 + In the following three paragraphs, a "patent license" is any express
5.496 +agreement or commitment, however denominated, not to enforce a patent
5.497 +(such as an express permission to practice a patent or covenant not to
5.498 +sue for patent infringement). To "grant" such a patent license to a
5.499 +party means to make such an agreement or commitment not to enforce a
5.500 +patent against the party.
5.501 +
5.502 + If you convey a covered work, knowingly relying on a patent license,
5.503 +and the Corresponding Source of the work is not available for anyone
5.504 +to copy, free of charge and under the terms of this License, through a
5.505 +publicly available network server or other readily accessible means,
5.506 +then you must either (1) cause the Corresponding Source to be so
5.507 +available, or (2) arrange to deprive yourself of the benefit of the
5.508 +patent license for this particular work, or (3) arrange, in a manner
5.509 +consistent with the requirements of this License, to extend the patent
5.510 +license to downstream recipients. "Knowingly relying" means you have
5.511 +actual knowledge that, but for the patent license, your conveying the
5.512 +covered work in a country, or your recipient's use of the covered work
5.513 +in a country, would infringe one or more identifiable patents in that
5.514 +country that you have reason to believe are valid.
5.515 +
5.516 + If, pursuant to or in connection with a single transaction or
5.517 +arrangement, you convey, or propagate by procuring conveyance of, a
5.518 +covered work, and grant a patent license to some of the parties
5.519 +receiving the covered work authorizing them to use, propagate, modify
5.520 +or convey a specific copy of the covered work, then the patent license
5.521 +you grant is automatically extended to all recipients of the covered
5.522 +work and works based on it.
5.523 +
5.524 + A patent license is "discriminatory" if it does not include within
5.525 +the scope of its coverage, prohibits the exercise of, or is
5.526 +conditioned on the non-exercise of one or more of the rights that are
5.527 +specifically granted under this License. You may not convey a covered
5.528 +work if you are a party to an arrangement with a third party that is
5.529 +in the business of distributing software, under which you make payment
5.530 +to the third party based on the extent of your activity of conveying
5.531 +the work, and under which the third party grants, to any of the
5.532 +parties who would receive the covered work from you, a discriminatory
5.533 +patent license (a) in connection with copies of the covered work
5.534 +conveyed by you (or copies made from those copies), or (b) primarily
5.535 +for and in connection with specific products or compilations that
5.536 +contain the covered work, unless you entered into that arrangement,
5.537 +or that patent license was granted, prior to 28 March 2007.
5.538 +
5.539 + Nothing in this License shall be construed as excluding or limiting
5.540 +any implied license or other defenses to infringement that may
5.541 +otherwise be available to you under applicable patent law.
5.542 +
5.543 + 12. No Surrender of Others' Freedom.
5.544 +
5.545 + If conditions are imposed on you (whether by court order, agreement or
5.546 +otherwise) that contradict the conditions of this License, they do not
5.547 +excuse you from the conditions of this License. If you cannot convey a
5.548 +covered work so as to satisfy simultaneously your obligations under this
5.549 +License and any other pertinent obligations, then as a consequence you may
5.550 +not convey it at all. For example, if you agree to terms that obligate you
5.551 +to collect a royalty for further conveying from those to whom you convey
5.552 +the Program, the only way you could satisfy both those terms and this
5.553 +License would be to refrain entirely from conveying the Program.
5.554 +
5.555 + 13. Use with the GNU Affero General Public License.
5.556 +
5.557 + Notwithstanding any other provision of this License, you have
5.558 +permission to link or combine any covered work with a work licensed
5.559 +under version 3 of the GNU Affero General Public License into a single
5.560 +combined work, and to convey the resulting work. The terms of this
5.561 +License will continue to apply to the part which is the covered work,
5.562 +but the special requirements of the GNU Affero General Public License,
5.563 +section 13, concerning interaction through a network will apply to the
5.564 +combination as such.
5.565 +
5.566 + 14. Revised Versions of this License.
5.567 +
5.568 + The Free Software Foundation may publish revised and/or new versions of
5.569 +the GNU General Public License from time to time. Such new versions will
5.570 +be similar in spirit to the present version, but may differ in detail to
5.571 +address new problems or concerns.
5.572 +
5.573 + Each version is given a distinguishing version number. If the
5.574 +Program specifies that a certain numbered version of the GNU General
5.575 +Public License "or any later version" applies to it, you have the
5.576 +option of following the terms and conditions either of that numbered
5.577 +version or of any later version published by the Free Software
5.578 +Foundation. If the Program does not specify a version number of the
5.579 +GNU General Public License, you may choose any version ever published
5.580 +by the Free Software Foundation.
5.581 +
5.582 + If the Program specifies that a proxy can decide which future
5.583 +versions of the GNU General Public License can be used, that proxy's
5.584 +public statement of acceptance of a version permanently authorizes you
5.585 +to choose that version for the Program.
5.586 +
5.587 + Later license versions may give you additional or different
5.588 +permissions. However, no additional obligations are imposed on any
5.589 +author or copyright holder as a result of your choosing to follow a
5.590 +later version.
5.591 +
5.592 + 15. Disclaimer of Warranty.
5.593 +
5.594 + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
5.595 +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
5.596 +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
5.597 +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
5.598 +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
5.599 +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
5.600 +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
5.601 +ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
5.602 +
5.603 + 16. Limitation of Liability.
5.604 +
5.605 + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
5.606 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
5.607 +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
5.608 +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
5.609 +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
5.610 +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
5.611 +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
5.612 +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
5.613 +SUCH DAMAGES.
5.614 +
5.615 + 17. Interpretation of Sections 15 and 16.
5.616 +
5.617 + If the disclaimer of warranty and limitation of liability provided
5.618 +above cannot be given local legal effect according to their terms,
5.619 +reviewing courts shall apply local law that most closely approximates
5.620 +an absolute waiver of all civil liability in connection with the
5.621 +Program, unless a warranty or assumption of liability accompanies a
5.622 +copy of the Program in return for a fee.
5.623 +
5.624 + END OF TERMS AND CONDITIONS
5.625 +
5.626 + How to Apply These Terms to Your New Programs
5.627 +
5.628 + If you develop a new program, and you want it to be of the greatest
5.629 +possible use to the public, the best way to achieve this is to make it
5.630 +free software which everyone can redistribute and change under these terms.
5.631 +
5.632 + To do so, attach the following notices to the program. It is safest
5.633 +to attach them to the start of each source file to most effectively
5.634 +state the exclusion of warranty; and each file should have at least
5.635 +the "copyright" line and a pointer to where the full notice is found.
5.636 +
5.637 + <one line to give the program's name and a brief idea of what it does.>
5.638 + Copyright (C) <year> <name of author>
5.639 +
5.640 + This program is free software: you can redistribute it and/or modify
5.641 + it under the terms of the GNU General Public License as published by
5.642 + the Free Software Foundation, either version 3 of the License, or
5.643 + (at your option) any later version.
5.644 +
5.645 + This program is distributed in the hope that it will be useful,
5.646 + but WITHOUT ANY WARRANTY; without even the implied warranty of
5.647 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5.648 + GNU General Public License for more details.
5.649 +
5.650 + You should have received a copy of the GNU General Public License
5.651 + along with this program. If not, see <http://www.gnu.org/licenses/>.
5.652 +
5.653 +Also add information on how to contact you by electronic and paper mail.
5.654 +
5.655 + If the program does terminal interaction, make it output a short
5.656 +notice like this when it starts in an interactive mode:
5.657 +
5.658 + <program> Copyright (C) <year> <name of author>
5.659 + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
5.660 + This is free software, and you are welcome to redistribute it
5.661 + under certain conditions; type `show c' for details.
5.662 +
5.663 +The hypothetical commands `show w' and `show c' should show the appropriate
5.664 +parts of the General Public License. Of course, your program's commands
5.665 +might be different; for a GUI interface, you would use an "about box".
5.666 +
5.667 + You should also get your employer (if you work as a programmer) or school,
5.668 +if any, to sign a "copyright disclaimer" for the program, if necessary.
5.669 +For more information on this, and how to apply and follow the GNU GPL, see
5.670 +<http://www.gnu.org/licenses/>.
5.671 +
5.672 + The GNU General Public License does not permit incorporating your program
5.673 +into proprietary programs. If your program is a subroutine library, you
5.674 +may consider it more useful to permit linking proprietary applications with
5.675 +the library. If this is what you want to do, use the GNU Lesser General
5.676 +Public License instead of this License. But first, please read
5.677 +<http://www.gnu.org/philosophy/why-not-lgpl.html>.
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/docs/lgpl-3.0.txt Thu Mar 24 00:58:05 2011 +0100
6.3 @@ -0,0 +1,165 @@
6.4 + GNU LESSER GENERAL PUBLIC LICENSE
6.5 + Version 3, 29 June 2007
6.6 +
6.7 + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
6.8 + Everyone is permitted to copy and distribute verbatim copies
6.9 + of this license document, but changing it is not allowed.
6.10 +
6.11 +
6.12 + This version of the GNU Lesser General Public License incorporates
6.13 +the terms and conditions of version 3 of the GNU General Public
6.14 +License, supplemented by the additional permissions listed below.
6.15 +
6.16 + 0. Additional Definitions.
6.17 +
6.18 + As used herein, "this License" refers to version 3 of the GNU Lesser
6.19 +General Public License, and the "GNU GPL" refers to version 3 of the GNU
6.20 +General Public License.
6.21 +
6.22 + "The Library" refers to a covered work governed by this License,
6.23 +other than an Application or a Combined Work as defined below.
6.24 +
6.25 + An "Application" is any work that makes use of an interface provided
6.26 +by the Library, but which is not otherwise based on the Library.
6.27 +Defining a subclass of a class defined by the Library is deemed a mode
6.28 +of using an interface provided by the Library.
6.29 +
6.30 + A "Combined Work" is a work produced by combining or linking an
6.31 +Application with the Library. The particular version of the Library
6.32 +with which the Combined Work was made is also called the "Linked
6.33 +Version".
6.34 +
6.35 + The "Minimal Corresponding Source" for a Combined Work means the
6.36 +Corresponding Source for the Combined Work, excluding any source code
6.37 +for portions of the Combined Work that, considered in isolation, are
6.38 +based on the Application, and not on the Linked Version.
6.39 +
6.40 + The "Corresponding Application Code" for a Combined Work means the
6.41 +object code and/or source code for the Application, including any data
6.42 +and utility programs needed for reproducing the Combined Work from the
6.43 +Application, but excluding the System Libraries of the Combined Work.
6.44 +
6.45 + 1. Exception to Section 3 of the GNU GPL.
6.46 +
6.47 + You may convey a covered work under sections 3 and 4 of this License
6.48 +without being bound by section 3 of the GNU GPL.
6.49 +
6.50 + 2. Conveying Modified Versions.
6.51 +
6.52 + If you modify a copy of the Library, and, in your modifications, a
6.53 +facility refers to a function or data to be supplied by an Application
6.54 +that uses the facility (other than as an argument passed when the
6.55 +facility is invoked), then you may convey a copy of the modified
6.56 +version:
6.57 +
6.58 + a) under this License, provided that you make a good faith effort to
6.59 + ensure that, in the event an Application does not supply the
6.60 + function or data, the facility still operates, and performs
6.61 + whatever part of its purpose remains meaningful, or
6.62 +
6.63 + b) under the GNU GPL, with none of the additional permissions of
6.64 + this License applicable to that copy.
6.65 +
6.66 + 3. Object Code Incorporating Material from Library Header Files.
6.67 +
6.68 + The object code form of an Application may incorporate material from
6.69 +a header file that is part of the Library. You may convey such object
6.70 +code under terms of your choice, provided that, if the incorporated
6.71 +material is not limited to numerical parameters, data structure
6.72 +layouts and accessors, or small macros, inline functions and templates
6.73 +(ten or fewer lines in length), you do both of the following:
6.74 +
6.75 + a) Give prominent notice with each copy of the object code that the
6.76 + Library is used in it and that the Library and its use are
6.77 + covered by this License.
6.78 +
6.79 + b) Accompany the object code with a copy of the GNU GPL and this license
6.80 + document.
6.81 +
6.82 + 4. Combined Works.
6.83 +
6.84 + You may convey a Combined Work under terms of your choice that,
6.85 +taken together, effectively do not restrict modification of the
6.86 +portions of the Library contained in the Combined Work and reverse
6.87 +engineering for debugging such modifications, if you also do each of
6.88 +the following:
6.89 +
6.90 + a) Give prominent notice with each copy of the Combined Work that
6.91 + the Library is used in it and that the Library and its use are
6.92 + covered by this License.
6.93 +
6.94 + b) Accompany the Combined Work with a copy of the GNU GPL and this license
6.95 + document.
6.96 +
6.97 + c) For a Combined Work that displays copyright notices during
6.98 + execution, include the copyright notice for the Library among
6.99 + these notices, as well as a reference directing the user to the
6.100 + copies of the GNU GPL and this license document.
6.101 +
6.102 + d) Do one of the following:
6.103 +
6.104 + 0) Convey the Minimal Corresponding Source under the terms of this
6.105 + License, and the Corresponding Application Code in a form
6.106 + suitable for, and under terms that permit, the user to
6.107 + recombine or relink the Application with a modified version of
6.108 + the Linked Version to produce a modified Combined Work, in the
6.109 + manner specified by section 6 of the GNU GPL for conveying
6.110 + Corresponding Source.
6.111 +
6.112 + 1) Use a suitable shared library mechanism for linking with the
6.113 + Library. A suitable mechanism is one that (a) uses at run time
6.114 + a copy of the Library already present on the user's computer
6.115 + system, and (b) will operate properly with a modified version
6.116 + of the Library that is interface-compatible with the Linked
6.117 + Version.
6.118 +
6.119 + e) Provide Installation Information, but only if you would otherwise
6.120 + be required to provide such information under section 6 of the
6.121 + GNU GPL, and only to the extent that such information is
6.122 + necessary to install and execute a modified version of the
6.123 + Combined Work produced by recombining or relinking the
6.124 + Application with a modified version of the Linked Version. (If
6.125 + you use option 4d0, the Installation Information must accompany
6.126 + the Minimal Corresponding Source and Corresponding Application
6.127 + Code. If you use option 4d1, you must provide the Installation
6.128 + Information in the manner specified by section 6 of the GNU GPL
6.129 + for conveying Corresponding Source.)
6.130 +
6.131 + 5. Combined Libraries.
6.132 +
6.133 + You may place library facilities that are a work based on the
6.134 +Library side by side in a single library together with other library
6.135 +facilities that are not Applications and are not covered by this
6.136 +License, and convey such a combined library under terms of your
6.137 +choice, if you do both of the following:
6.138 +
6.139 + a) Accompany the combined library with a copy of the same work based
6.140 + on the Library, uncombined with any other library facilities,
6.141 + conveyed under the terms of this License.
6.142 +
6.143 + b) Give prominent notice with the combined library that part of it
6.144 + is a work based on the Library, and explaining where to find the
6.145 + accompanying uncombined form of the same work.
6.146 +
6.147 + 6. Revised Versions of the GNU Lesser General Public License.
6.148 +
6.149 + The Free Software Foundation may publish revised and/or new versions
6.150 +of the GNU Lesser General Public License from time to time. Such new
6.151 +versions will be similar in spirit to the present version, but may
6.152 +differ in detail to address new problems or concerns.
6.153 +
6.154 + Each version is given a distinguishing version number. If the
6.155 +Library as you received it specifies that a certain numbered version
6.156 +of the GNU Lesser General Public License "or any later version"
6.157 +applies to it, you have the option of following the terms and
6.158 +conditions either of that published version or of any later version
6.159 +published by the Free Software Foundation. If the Library as you
6.160 +received it does not specify a version number of the GNU Lesser
6.161 +General Public License, you may choose any version of the GNU Lesser
6.162 +General Public License ever published by the Free Software Foundation.
6.163 +
6.164 + If the Library as you received it specifies that a proxy can decide
6.165 +whether future versions of the GNU Lesser General Public License shall
6.166 +apply, that proxy's public statement of acceptance of any version is
6.167 +permanent authorization for you to choose that version for the
6.168 +Library.
7.1 --- a/javaclass/__init__.py Thu Mar 24 00:54:11 2011 +0100
7.2 +++ b/javaclass/__init__.py Thu Mar 24 00:58:05 2011 +0100
7.3 @@ -1,1 +1,23 @@
7.4 -__version__ = "0.1"
7.5 +#!/usr/bin/env python
7.6 +
7.7 +"""
7.8 +Copyright (C) 2004, 2005, 2006, 2011 Paul Boddie <paul@boddie.org.uk>
7.9 +Copyright (C) 2010 Braden Thomas <bradenthomas@me.com>
7.10 +
7.11 +This program is free software; you can redistribute it and/or modify it under
7.12 +the terms of the GNU Lesser General Public License as published by the Free
7.13 +Software Foundation; either version 3 of the License, or (at your option) any
7.14 +later version.
7.15 +
7.16 +This program is distributed in the hope that it will be useful, but WITHOUT
7.17 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
7.18 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
7.19 +details.
7.20 +
7.21 +You should have received a copy of the GNU Lesser General Public License along
7.22 +with this program. If not, see <http://www.gnu.org/licenses/>.
7.23 +"""
7.24 +
7.25 +__version__ = "0.2"
7.26 +
7.27 +# vim: tabstop=4 expandtab shiftwidth=4
8.1 --- a/javaclass/bytecode.py Thu Mar 24 00:54:11 2011 +0100
8.2 +++ b/javaclass/bytecode.py Thu Mar 24 00:58:05 2011 +0100
8.3 @@ -5,6 +5,21 @@
8.4 http://java.sun.com/docs/books/vmspec/2nd-edition/html/Instructions2.doc.html
8.5
8.6 NOTE: Synchronized constructs are not actually supported.
8.7 +
8.8 +Copyright (C) 2004, 2005, 2006, 2011 Paul Boddie <paul@boddie.org.uk>
8.9 +
8.10 +This program is free software; you can redistribute it and/or modify it under
8.11 +the terms of the GNU Lesser General Public License as published by the Free
8.12 +Software Foundation; either version 3 of the License, or (at your option) any
8.13 +later version.
8.14 +
8.15 +This program is distributed in the hope that it will be useful, but WITHOUT
8.16 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
8.17 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
8.18 +details.
8.19 +
8.20 +You should have received a copy of the GNU Lesser General Public License along
8.21 +with this program. If not, see <http://www.gnu.org/licenses/>.
8.22 """
8.23
8.24 import classfile
9.1 --- a/javaclass/classfile.py Thu Mar 24 00:54:11 2011 +0100
9.2 +++ b/javaclass/classfile.py Thu Mar 24 00:58:05 2011 +0100
9.3 @@ -3,6 +3,22 @@
9.4 """
9.5 Java class file decoder. Specification found at the following URL:
9.6 http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html
9.7 +
9.8 +Copyright (C) 2004, 2005, 2006, 2011 Paul Boddie <paul@boddie.org.uk>
9.9 +Copyright (C) 2010 Braden Thomas <bradenthomas@me.com>
9.10 +
9.11 +This program is free software; you can redistribute it and/or modify it under
9.12 +the terms of the GNU Lesser General Public License as published by the Free
9.13 +Software Foundation; either version 3 of the License, or (at your option) any
9.14 +later version.
9.15 +
9.16 +This program is distributed in the hope that it will be useful, but WITHOUT
9.17 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
9.18 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
9.19 +details.
9.20 +
9.21 +You should have received a copy of the GNU Lesser General Public License along
9.22 +with this program. If not, see <http://www.gnu.org/licenses/>.
9.23 """
9.24
9.25 import struct # for general decoding of class files
10.1 --- a/javaclass/classhook.py Thu Mar 24 00:54:11 2011 +0100
10.2 +++ b/javaclass/classhook.py Thu Mar 24 00:58:05 2011 +0100
10.3 @@ -1,5 +1,24 @@
10.4 #!/usr/bin/env python
10.5
10.6 +"""
10.7 +An import hook for class files.
10.8 +
10.9 +Copyright (C) 2004, 2005, 2006, 2011 Paul Boddie <paul@boddie.org.uk>
10.10 +
10.11 +This program is free software; you can redistribute it and/or modify it under
10.12 +the terms of the GNU Lesser General Public License as published by the Free
10.13 +Software Foundation; either version 3 of the License, or (at your option) any
10.14 +later version.
10.15 +
10.16 +This program is distributed in the hope that it will be useful, but WITHOUT
10.17 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10.18 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
10.19 +details.
10.20 +
10.21 +You should have received a copy of the GNU Lesser General Public License along
10.22 +with this program. If not, see <http://www.gnu.org/licenses/>.
10.23 +"""
10.24 +
10.25 import ihooks # for the import machinery
10.26 import os, glob # for getting suitably-named files
10.27 from imp import PY_SOURCE, PKG_DIRECTORY, C_BUILTIN # import machinery magic
11.1 --- a/runclass.py Thu Mar 24 00:54:11 2011 +0100
11.2 +++ b/runclass.py Thu Mar 24 00:58:05 2011 +0100
11.3 @@ -1,6 +1,23 @@
11.4 #!/usr/bin/env python
11.5
11.6 -"A program to run Java class files."
11.7 +"""
11.8 +A program to run Java class files.
11.9 +
11.10 +Copyright (C) 2004, 2005, 2006, 2011 Paul Boddie <paul@boddie.org.uk>
11.11 +
11.12 +This program is free software; you can redistribute it and/or modify it under
11.13 +the terms of the GNU Lesser General Public License as published by the Free
11.14 +Software Foundation; either version 3 of the License, or (at your option) any
11.15 +later version.
11.16 +
11.17 +This program is distributed in the hope that it will be useful, but WITHOUT
11.18 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11.19 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11.20 +details.
11.21 +
11.22 +You should have received a copy of the GNU Lesser General Public License along
11.23 +with this program. If not, see <http://www.gnu.org/licenses/>.
11.24 +"""
11.25
11.26 import javaclass.classhook
11.27 import java.lang
12.1 --- a/setup.py Thu Mar 24 00:54:11 2011 +0100
12.2 +++ b/setup.py Thu Mar 24 00:58:05 2011 +0100
12.3 @@ -2,15 +2,13 @@
12.4
12.5 from distutils.core import setup
12.6
12.7 -import javaclass
12.8 -
12.9 setup(
12.10 name = "javaclass",
12.11 description = "A Java class and package importer with utilities.",
12.12 author = "Paul Boddie",
12.13 author_email = "paul@boddie.org.uk",
12.14 url = "http://www.boddie.org.uk/python/javaclass.html",
12.15 - version = javaclass.__version__,
12.16 + version = "0.2",
12.17 packages = ["javaclass", "java", "java.lang", "java.security"],
12.18 scripts = ["runclass.py"]
12.19 )
13.1 --- a/tools/wrap.py Thu Mar 24 00:54:11 2011 +0100
13.2 +++ b/tools/wrap.py Thu Mar 24 00:58:05 2011 +0100
13.3 @@ -3,6 +3,21 @@
13.4 """
13.5 Wrap Java packages, converting the skeleton Java classes to Python modules which
13.6 connect to concrete Python implementation classes.
13.7 +
13.8 +Copyright (C) 2004, 2005, 2006, 2011 Paul Boddie <paul@boddie.org.uk>
13.9 +
13.10 +This program is free software; you can redistribute it and/or modify it under
13.11 +the terms of the GNU Lesser General Public License as published by the Free
13.12 +Software Foundation; either version 3 of the License, or (at your option) any
13.13 +later version.
13.14 +
13.15 +This program is distributed in the hope that it will be useful, but WITHOUT
13.16 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13.17 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13.18 +details.
13.19 +
13.20 +You should have received a copy of the GNU Lesser General Public License along
13.21 +with this program. If not, see <http://www.gnu.org/licenses/>.
13.22 """
13.23
13.24 import javaclass.classfile