Author: erans Date: Wed Dec 12 10:51:45 2018 New Revision: 31509 Log: Release Commons RNG v1.2 (from RC2).
Added: release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz (with props) release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.asc release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.sha1 release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.sha256 release/commons/rng/binaries/commons-rng-1.2-bin.zip (with props) release/commons/rng/binaries/commons-rng-1.2-bin.zip.asc release/commons/rng/binaries/commons-rng-1.2-bin.zip.sha1 release/commons/rng/binaries/commons-rng-1.2-bin.zip.sha256 release/commons/rng/source/commons-rng-1.2-src.tar.gz (with props) release/commons/rng/source/commons-rng-1.2-src.tar.gz.asc release/commons/rng/source/commons-rng-1.2-src.tar.gz.sha1 release/commons/rng/source/commons-rng-1.2-src.tar.gz.sha256 release/commons/rng/source/commons-rng-1.2-src.zip (with props) release/commons/rng/source/commons-rng-1.2-src.zip.asc release/commons/rng/source/commons-rng-1.2-src.zip.sha1 release/commons/rng/source/commons-rng-1.2-src.zip.sha256 Removed: release/commons/rng/binaries/commons-rng-1.1-bin.tar.gz release/commons/rng/binaries/commons-rng-1.1-bin.tar.gz.asc release/commons/rng/binaries/commons-rng-1.1-bin.tar.gz.sha1 release/commons/rng/binaries/commons-rng-1.1-bin.tar.gz.sha256 release/commons/rng/binaries/commons-rng-1.1-bin.zip release/commons/rng/binaries/commons-rng-1.1-bin.zip.asc release/commons/rng/binaries/commons-rng-1.1-bin.zip.sha1 release/commons/rng/binaries/commons-rng-1.1-bin.zip.sha256 release/commons/rng/source/commons-rng-1.1-src.tar.gz release/commons/rng/source/commons-rng-1.1-src.tar.gz.asc release/commons/rng/source/commons-rng-1.1-src.tar.gz.sha1 release/commons/rng/source/commons-rng-1.1-src.tar.gz.sha256 release/commons/rng/source/commons-rng-1.1-src.zip release/commons/rng/source/commons-rng-1.1-src.zip.asc release/commons/rng/source/commons-rng-1.1-src.zip.sha1 release/commons/rng/source/commons-rng-1.1-src.zip.sha256 Modified: release/commons/rng/README.html release/commons/rng/RELEASE-NOTES.txt Modified: release/commons/rng/README.html ============================================================================== --- release/commons/rng/README.html (original) +++ release/commons/rng/README.html Wed Dec 12 10:51:45 2018 @@ -14,9 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. --> -<h1>Commons-RNG v1.1.</h1> +<h1>Commons-RNG v1.2.</h1> -<p>This is the 1.1 version of commons-rng. It is available in both binary and source distributions.</p> +<p>This is the 1.2 version of commons-rng. It is available in both binary and source distributions.</p> <p><font color="red" size="+2">Note:</font> @@ -55,12 +55,12 @@ <pre>Always test available signatures, <i>e.g.</i>, $ pgpk -a KEYS -$ pgpv commons-rng-1.1-bin.tar.gz.asc +$ pgpv commons-rng-1.2-bin.tar.gz.asc or, $ pgp -ka KEYS -$ pgp commons-rng-1.1-bin.tar.gz.asc +$ pgp commons-rng-1.2-bin.tar.gz.asc or, $ gpg --import KEYS -$ gpg --verify commons-rng-1.1-bin.tar.gz.asc +$ gpg --verify commons-rng-1.2-bin.tar.gz.asc </pre> <p> \ No newline at end of file Modified: release/commons/rng/RELEASE-NOTES.txt ============================================================================== --- release/commons/rng/RELEASE-NOTES.txt (original) +++ release/commons/rng/RELEASE-NOTES.txt Wed Dec 12 10:51:45 2018 @@ -1,93 +1,42 @@ - Apache Commons RNG 1.1 RELEASE NOTES -The Apache Commons RNG team is pleased to announce the Apache Commons RNG 1.1 release! + Apache Commons RNG 1.2 RELEASE NOTES -The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators. - -This is a minor release of Apache Commons RNG, containing a -few new features and performance improvements. +The Apache Commons RNG team is pleased to announce the release of Apache Commons RNG 1.2 -Apache Commons RNG 1.1 contains the following library modules: - commons-rng-client-api (requires Java 6) - commons-rng-core (requires Java 6) - commons-rng-simple (requires Java 6) - commons-rng-sampling (requires Java 6) - -The code in module 'commons-rng-core' should not be accessed -directly by applications as a future release might make use of -the JPMS modularization feature available in Java 9+. +The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators. +This is a minor release of Apache Commons RNG, containing a few new features and performance improvements. Apache Commons RNG 1.2 contains the following library modules: + commons-rng-client-api (requires Java 6) + commons-rng-core (requires Java 6) + commons-rng-simple (requires Java 6) + commons-rng-sampling (requires Java 6) The code in module 'commons-rng-core' should not be accessed directly by applications as a future release might make use of the JPMS modularization feature available in Java 9+. Additional code is provided in the following module: - commons-rng-examples (requires Java 9) -It is however not part of the official API and no compatibility -should be expected in subsequent releases. - -We would like to also note that unit tests in module 'commons-rng-sampling' -are bound to fail with some probability; this is expected due to the nature -of random number generation. The 'maven-surefire-plugin' can be configured -to re-run tests that fail and pass the build if they succeed (the test will -be marked as 'flaky' in the report). + commons-rng-examples (requires Java 9) It is however not part of the official API and no compatibility should be expected in subsequent releases. +It must be noted that, due to the nature of random number generation, some of unit tests are bound to fail with some probability. +The 'maven-surefire-plugin' is configured to re-run tests that fail, and pass the build if they succeed within the allotted number of reruns (the test will be marked as 'flaky' in the report). Changes in this version include: New features: -o RNG-37: Implementation of the "Ziggurat" algorithm for Gaussian sampling. -o RNG-47: "DiscreteProbabilityCollectionSampler": Sampling from a collection of items - with user-defined probabilities (feature ported from "Commons Math"). -o RNG-43: "LogNormalSampler" with user-defined underlying "NormalizedGaussianSampler". -o RNG-39: "UnitSphereSampler": generate random vectors isotropically located - on the surface of a sphere (feature ported from "Commons Math"). -o RNG-36: "MarsagliaNormalizedGaussianSampler": Faster variation of the - Box-Muller algorithm. - This version is used within "AhrensDieterMarsagliaTsangGammaSampler" - "MarsagliaLogNormalSampler" and "PoissonSampler" (generated sequences - will thus differ from those generated by version 1.0 of the library). -o RNG-35: New generic "GaussianSampler" based on "NormalizedGaussianSampler" - marker interface. - Implementation of "BoxMullerNormalizedGaussianSampler" deprecates - "BoxMullerGaussianSampler". +o RNG-62: New "CombinationSampler" class. Thanks to Alex D. Herbert. Fixed Bugs: -o RNG-53: Class "SamplerBase" has been deprecated. It was meant for internal use - only but, through inheritance, it allows incorrect usage of the sampler - classes. +o RNG-59: Use JDK's "SecureRandom" to seed the "SeedFactory". +o RNG-56: "ZigguratNormalizedGaussianSampler": Missing statements in least used branch. +o RNG-55: "UnitSphereSampler": Prevent returning NaN components and forbid + negative dimension. Thanks to Alex D. Herbert. Changes: -o RNG-50: "PoissonSampler": Algorithms for small mean and large mean have - been separated into dedicated classes. Cache precomputation has - been disabled as it is only marginally used and is a performance - hit for small sampling sets.Thanks to Alex D. Herbert. -o RNG-42: Use "ZigguratNormalizedGaussianSampler" within the library. -o RNG-46: Following RNG-43, "BoxMullerLogNormalSampler" has been deprecated. - Furthermore, its base class has been removed; although it is a binary - incompatibility, it cannot cause any problem that were not already - present in code using v1.0 of the library: Calls to the base class - would have raised a NPE. - - -For complete information on Apache Commons RNG, including instructions on how to submit bug reports, -patches, or suggestions for improvement, see the Apache Commons RNG website: - -http://commons.apache.org/proper/commons-rng/ - ------------------------------------------------------------------------------ - - Apache Commons RNG 1.0 RELEASE NOTES - -The Apache Commons RNG team is pleased to announce the release of Apache Commons RNG 1.0 - -The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators. - -This is the first release of Apache Commons RNG. -Apache Commons RNG 1.0 contains the following modules: - commons-rng-client-api (requires Java 6) - commons-rng-core (requires Java 6) - commons-rng-simple (requires Java 6) - commons-rng-sampling (requires Java 6) - commons-rng-jmh (requires Java 6) - commons-rng-examples (requires Java 7) +o RNG-63: "NumberFactory": Some methods have become obsolete following RNG-57. +o RNG-64: "PermutationSampler" and "CombinationSampler" shared code moved to a utility class. Thanks to Alex D. Herbert. +o RNG-61: "PermutationSampler": Performance improvement. Thanks to Alex D. Herbert. +o RNG-57: Cache for using up all the bits provided by the underlying source of randomness. Thanks to Alex D. Herbert. +o RNG-60: Use random seeds for unit testing. +o RNG-52: Set conservative upper bound in "LargePoissonSampler" to avoid truncation. +o RNG-58: Allow part of RNG state to be contained in base classes, e.g. to enable + caching in common code (see RNG-57). +o RNG-51: "PoissonSampler": Performance improvement. Thanks to Alex D. Herbert. -No changes defined in this version. For complete information on Apache Commons RNG, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons RNG website: @@ -95,5 +44,3 @@ patches, or suggestions for improvement, http://commons.apache.org/proper/commons-rng/ -Have fun! --Apache Commons RNG team Added: release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz ============================================================================== Binary file - no diff available. Propchange: release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz ------------------------------------------------------------------------------ svn:mime-type = application/x-gzip Added: release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.asc ============================================================================== --- release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.asc (added) +++ release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.asc Wed Dec 12 10:51:45 2018 @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJFBAABCgAvFiEEs5YX4JXNdI3+UFgWcDQTAR4i1bgFAlwJUWkRHGVyYW5zQGFw +YWNoZS5vcmcACgkQcDQTAR4i1bgLDA/+ISqaBItFSPV8LOItRxIqFgzGusRp/QRj +JkKUCeD7NVIVJEFnT0Rps/ClvH/fZbr1GFTRLo8GoUNUn0ePC+5OgDpgF8oGzlzn +meWKgN46iDarhceu1cKJ68TgpEwZBDkiKwNmIFBqwkz8N5KyFNOBcd/3X6KBEBht +COd4N/wvrMgwk+htpkwoWIz/1FPlqnDmOdNdDCj8TWoB++RTNRYtd6ro465g85qL +hidC9XR0gXCd6lfbdERT5uLLnz2cH2+dnlQB9Wt8Z0kdxRdJDqbO8T9KLBkZsSix +7o5OYwn9OHYYuTD41EJr3E7GqvuddrWTTyQhFfiy8eABce05JesOfxnVyvPHp8Dt +jO1pq24WqDtq34naDoomXZT/A8W0eHdRvldu5RJyUvo3iaaVgpQtiiQ7G1XZ745A +u+0ToJlUmp/3G8czHE4zxrDaw2KGXW5htZBFr2nY9knFod2Y0ab3N8WpmW947d2S +85j9/b3iOkJlT0e1ZQJZq6D46Q0KibAfD4SZzobwn0Az2z+RzlPR1PplqyNa/Wdu +wL0lqfMrJala/+0aekKxc1zezS+clDtDm5MYdQjb2fcXw9+OuNt0aapacUJY+FUf +WpI7rBGE+zMRMwIpFCSTSHDUeFkKw6LBdTLyACEeWOaMdSwXWvyBnbHsIIGFuOcw ++Nc8p2R0K+g= +=8MKP +-----END PGP SIGNATURE----- Added: release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.sha1 ============================================================================== --- release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.sha1 (added) +++ release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.sha1 Wed Dec 12 10:51:45 2018 @@ -0,0 +1 @@ +bbbbffdae18c4b7073250e56b47276774f7a069b Added: release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.sha256 ============================================================================== --- release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.sha256 (added) +++ release/commons/rng/binaries/commons-rng-1.2-bin.tar.gz.sha256 Wed Dec 12 10:51:45 2018 @@ -0,0 +1 @@ +681530e0f26f1ac84b626de4adfc7a5c615b2784157da412b329c5ff33361a7b Added: release/commons/rng/binaries/commons-rng-1.2-bin.zip ============================================================================== Binary file - no diff available. Propchange: release/commons/rng/binaries/commons-rng-1.2-bin.zip ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/commons/rng/binaries/commons-rng-1.2-bin.zip.asc ============================================================================== --- release/commons/rng/binaries/commons-rng-1.2-bin.zip.asc (added) +++ release/commons/rng/binaries/commons-rng-1.2-bin.zip.asc Wed Dec 12 10:51:45 2018 @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJFBAABCgAvFiEEs5YX4JXNdI3+UFgWcDQTAR4i1bgFAlwJUWkRHGVyYW5zQGFw +YWNoZS5vcmcACgkQcDQTAR4i1bhKDA//Wepr1Q4Pxp8fvLtTO86a7hlWQ2hzI1MS +KvLy7oQecALEdJ03tDJzggpzN5ElTuJ8XqSP7con5uRwFaVJqjEikQZVmzH8qdhm +MI5XPR4lWnrXiPbVd6dWkm55DHXdH3BnJa3K/TPFcgGOPep/WH+kr8lRc+6z3VTN +L/MC/gMnY9NVkX8mhxENXcefYidJMW+UCI9Z6cybMKfJaLXqz34PdB8ZZELnQzor +I0hK7MrC1AcKd1QJwpccRycIs7ty4pxiFPBeGDrJM45s3aum8hzscxtxWyN3dRSj +V20F0yuoW1tCNCv9jq75jHJ3PwX0tbC84eGj7NaCWKg3rlEZ8HPc6QmTU0boE3Nn +M7WYaLeMN2tv/B0rKdMYe/wRzClredEVle7cgFQJe4do9ObDpyEaCEQ/IMEtaX5y +29gQUYJX4Izr1djpW9eh4k9fY0ciRxTdjycy83l4jIEEmv8bjd+zmiZR5t+ENxOO +arASkC/FRUFSaNpKckIvCu8niGBI6QrxF7Xepe6W6qx0vaYxKwxlti+EK1vVWeTU +3h7PORy121SgvYPtpXiOGtQNA9CKSWVaF7yuRBAOvIhLLIJcOX3i34HQ9FYDbNOY +IaJSXu9EEezJajHCwF9Y0wvw7dMXl8sME4mp3871lCEWbZnnTAsl1VgjZuRoh84g +q4qaedf7LZ0= +=cZmo +-----END PGP SIGNATURE----- Added: release/commons/rng/binaries/commons-rng-1.2-bin.zip.sha1 ============================================================================== --- release/commons/rng/binaries/commons-rng-1.2-bin.zip.sha1 (added) +++ release/commons/rng/binaries/commons-rng-1.2-bin.zip.sha1 Wed Dec 12 10:51:45 2018 @@ -0,0 +1 @@ +2542662e60f2f1261e9984629d83dd496adf9972 Added: release/commons/rng/binaries/commons-rng-1.2-bin.zip.sha256 ============================================================================== --- release/commons/rng/binaries/commons-rng-1.2-bin.zip.sha256 (added) +++ release/commons/rng/binaries/commons-rng-1.2-bin.zip.sha256 Wed Dec 12 10:51:45 2018 @@ -0,0 +1 @@ +09608ac82e654287d69cca991d516cd95f09189f412bf2be1292f10f9b7d103e Added: release/commons/rng/source/commons-rng-1.2-src.tar.gz ============================================================================== Binary file - no diff available. Propchange: release/commons/rng/source/commons-rng-1.2-src.tar.gz ------------------------------------------------------------------------------ svn:mime-type = application/x-gzip Added: release/commons/rng/source/commons-rng-1.2-src.tar.gz.asc ============================================================================== --- release/commons/rng/source/commons-rng-1.2-src.tar.gz.asc (added) +++ release/commons/rng/source/commons-rng-1.2-src.tar.gz.asc Wed Dec 12 10:51:45 2018 @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJFBAABCgAvFiEEs5YX4JXNdI3+UFgWcDQTAR4i1bgFAlwJUWkRHGVyYW5zQGFw +YWNoZS5vcmcACgkQcDQTAR4i1bgoVBAAxNYl1aQyCV730W21W5YEIz4lNLNv60hT +dBiyAGkeR1ta+qSNkOtDmphTWMedg7dc+JPMnRgtHyUYq4cFvDeqV7FlI6IdeNV2 +D/6P3GNt0yx3UG13OBzRUn3TqnTYxjSFT5SfbeVSSAWveK74C+s4bt/wNXdI8Tgo +muuK8QJ44eMPXMr6ReM1increX77jjjEhCZv87cLK6uDVEwlqe8UklMztbadpCON +E7Gf1P9t/NuYR8+oF0plg111Wq3zxd40CK1v/qymCGwXZ8qqd9HhVDaK3qpPIwYF +XzXjHqz8gR23E6q7OQcaXqFKYbaPsVQwnhLBg4QUEkzBFupgdV0iNGs540q400rJ +mGRjLTH6dJyzIgfY53YSrg8FmrgrKLg73jYj3G8sczSIh3c9VlWxyE/D0Gu6dL7n +5oMLTW724Zp+/MxqxlE9hgMzC6sq/3AtpC2A7ErF01d4MWF0lIfaG9M3xs+4M17r +fvsMQCvlwOLvr/NO4GrcQue56yM/SygJ2T93R+TeGrwWbkMDJd4Z0gHCg67BO08g +TNlTCVZnbuc8xlEXAqyCTagTE2XkGTDnXUVv+DDgasyStFGnQBQmrkT+HeaUgzqQ +lUGiNXdD9PbKsMSHVFaAbaH5hLslhCDLJWf51PyNl+ub2cDcKlTsZzf68Ti7tJGj +y/NOWmTf0CM= +=jdKg +-----END PGP SIGNATURE----- Added: release/commons/rng/source/commons-rng-1.2-src.tar.gz.sha1 ============================================================================== --- release/commons/rng/source/commons-rng-1.2-src.tar.gz.sha1 (added) +++ release/commons/rng/source/commons-rng-1.2-src.tar.gz.sha1 Wed Dec 12 10:51:45 2018 @@ -0,0 +1 @@ +47c46c4ee67d989eb0bdcd5b4b1fd232989f5377 Added: release/commons/rng/source/commons-rng-1.2-src.tar.gz.sha256 ============================================================================== --- release/commons/rng/source/commons-rng-1.2-src.tar.gz.sha256 (added) +++ release/commons/rng/source/commons-rng-1.2-src.tar.gz.sha256 Wed Dec 12 10:51:45 2018 @@ -0,0 +1 @@ +89d1d4fb95651c0d008d941b928e468822769a142f69c1e7f174994e3c13285c Added: release/commons/rng/source/commons-rng-1.2-src.zip ============================================================================== Binary file - no diff available. Propchange: release/commons/rng/source/commons-rng-1.2-src.zip ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/commons/rng/source/commons-rng-1.2-src.zip.asc ============================================================================== --- release/commons/rng/source/commons-rng-1.2-src.zip.asc (added) +++ release/commons/rng/source/commons-rng-1.2-src.zip.asc Wed Dec 12 10:51:45 2018 @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJFBAABCgAvFiEEs5YX4JXNdI3+UFgWcDQTAR4i1bgFAlwJUWkRHGVyYW5zQGFw +YWNoZS5vcmcACgkQcDQTAR4i1biPrQ//fuWKsUBWA1eJigmMqb+LYlafFAMJSlgT +ewIKu42s2rpIhSVBQunP+ci5KoifdL5WbkjPyfvVXSMnr/6MfyEiesblIZpDd/9V +vWmhQaljL2Up//LMmdGHqTqHl9pG2Dxv88brHOqnu4WBNaid+7fcC/DC7P8YV81t +5RcnjbsgS8am8uvcbnevhEBvjyI/vbvi0hgU1gwpPzkiswtNYlM4XLfyDiS/BxZ6 +xq/Yk+Tyw2tHD7RFuGYzsCFM3mNjzW9f+iY43kjzpaowbaEipkImsSpfIbi2OKg5 +z7d5cRJaSGS7io5SWP0erjhnfP5293AaiS1lVyfqt+RVU/cbUw2UhkdgOgpKUPCj +FPCsz3OO+6eiqE8eKeRImgpY1h3uUUU1f0DZ0WC3KVUXsJm+C4MRV3Upu5J/BgQq +Xie11T/4LEz9l+dQjPoBJf5uJvilaaGC94KXu589SCl5Bri0Y94mK67NiWd1klE+ +cwFia/+LlTVRbglZqMiMuOLwt0r0GVbUMACCYu3Py8RVoOEAB96rkCWpxXFNfL1S +vccQACCFXZD1h/lH8rOqObT6D7BmKkmH+v+Dxd6vRusb44EgE83eeglP2OPA1PGd +yRyJThDA7+fLjev8cUFxQYrCKhkrCFG8Rkf5SPHxVapsnMj5tI8y+Mho6XG/V0If +/FUlONALmAE= +=sbmD +-----END PGP SIGNATURE----- Added: release/commons/rng/source/commons-rng-1.2-src.zip.sha1 ============================================================================== --- release/commons/rng/source/commons-rng-1.2-src.zip.sha1 (added) +++ release/commons/rng/source/commons-rng-1.2-src.zip.sha1 Wed Dec 12 10:51:45 2018 @@ -0,0 +1 @@ +f919f5d48fec2c2f79db1424cac55b927fcd4080 Added: release/commons/rng/source/commons-rng-1.2-src.zip.sha256 ============================================================================== --- release/commons/rng/source/commons-rng-1.2-src.zip.sha256 (added) +++ release/commons/rng/source/commons-rng-1.2-src.zip.sha256 Wed Dec 12 10:51:45 2018 @@ -0,0 +1 @@ +aabe2a548c991ef89a7f86a5ed6b7ba9847678a0fd87b48d7d40775ba545063d