Skip to content

Commit

Permalink
Update digital, Gradle. Update CHANGES file.
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyettinger committed Apr 22, 2024
1 parent c967984 commit 3cc7490
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 17 deletions.
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[0.6.0]
- [LARGE, SEED BREAKING] Calling nextInt or nextSignedInt on any EnhancedRandom with two parameters now uses a different, more efficient algorithm. This also changes other bounded int generation, including in shuffling methods.
- [SEED BREAKING] FlowRandom is seeded differently now, in a way that's more consistent with other generators.
- 32-bit-native generators that were super-sourced on GWT had some issues; these are fixed. Affects Bear32Random, ChopRandom, Jsf32Random, Respite32Random, and Xoshiro128PlusRandom.

[0.5.0]
- [SEED BREAKING, POTENTIALLY] When the EnhancedRandom object isn't specified, Distribution types, DistributedRandom, and InterpolatedRandom now default to AceRandom instead of WhiskerRandom. This happens even if a seed is specified, but only when no EnhancedRandom was provided.
- Deserializer was missing some registrations; these are where they should be now.
Expand Down
2 changes: 1 addition & 1 deletion demos/distributor/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms512M -Xmx1G -XX:MaxMetaspaceSize=1G
org.gradle.configureondemand=false
digitalVersion=0.4.7
digitalVersion=0.4.8
juniperVersion=0.5.0
gwtFrameworkVersion=2.11.0
gwtPluginVersion=1.1.29
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms128m -Xmx512m -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8
org.gradle.configureondemand=false
digitalVersion=0.4.7
digitalVersion=0.4.8

SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=false

GROUP=com.github.tommyettinger
POM_ARTIFACT_ID=juniper
VERSION_NAME=0.5.1-SNAPSHOT
VERSION_NAME=0.6.0-SNAPSHOT

POM_NAME=juniper
POM_DESCRIPTION=Serializable pseudo-random number generators and distributions.
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\:https://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\:https://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
20 changes: 10 additions & 10 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand All @@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ public interface IntFloatToFloatFunction {
public IntFloatToFloatFunction[] wobbles = {
LineWobble::wobble, //0
LineWobble::bicubicWobble, //1
LineWobble::splobble, //2
LineWobble::smoothWobble, //2
LineWobble::quobble, //3
LineWobble::quobbleOctave2, //4
LineWobble::trobble, //5
LineWobble::smoothWobble, //6
LineWobble::splobble, //6
(s, f) -> { //7
final long start = MathTools.longFloor(f), end = start + 1L;
return LineWobble.hobble(
Expand All @@ -73,7 +73,7 @@ public interface IntFloatToFloatFunction {
return (Hasher.randomize3(i) * (1f - s) + Hasher.randomize3(1L + i) * s) * 0x1p-63f;
}
};
public int currentWobble = 6;
public int currentWobble = 1;
public int wobbleCount = wobbles.length;
public int octaves = 1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@

import static com.badlogic.gdx.Input.Keys.*;

/**
* A small test to try encrypting a Pixmap's data using {@link SpeckCipher}, and then to decrypt it.
* In practice, the version of this in the similar library
* <a href="https://github.com/tommyettinger/cringe/blob/main/src/main/java/com/github/tommyettinger/cringe/EncryptedFileHandle.java">cringe</a>
* is much more useful.
*/
public class PixmapCipherTest extends ApplicationAdapter {
public static String title = "";
private static final int width = 459, height = 816;
Expand Down

0 comments on commit 3cc7490

Please sign in to comment.