From 15faf49d92423b73c15121a267aaa1ede128bd69 Mon Sep 17 00:00:00 2001 From: Tommy Ettinger Date: Wed, 30 Aug 2023 22:09:02 -0700 Subject: [PATCH] Release 0.10.0 ! Former-commit-id: bca9fbed22f275be1d98bd79808c3688f20914f1 --- README.md | 16 +- build.gradle | 10 +- docs/apidocs/allclasses-index.html | 675 ++- docs/apidocs/allpackages-index.html | 85 +- .../textra/ColorLookup.GdxColorLookup.html | 168 +- .../tommyettinger/textra/ColorLookup.html | 194 +- .../textra/Effect.EffectBuilder.html | 114 +- .../github/tommyettinger/textra/Effect.html | 438 +- .../textra/Font.DistanceFieldType.html | 220 +- .../tommyettinger/textra/Font.FontFamily.html | 296 +- .../textra/Font.GlyphRegion.html | 290 +- .../com/github/tommyettinger/textra/Font.html | 3880 ++++++++--------- .../textra/ImageTextraButton.html | 502 +-- .../textra/ImageTypingButton.html | 292 +- .../tommyettinger/textra/KnownFonts.html | 832 ++-- .../github/tommyettinger/textra/Layout.html | 568 +-- .../com/github/tommyettinger/textra/Line.html | 252 +- .../github/tommyettinger/textra/Parser.html | 234 +- .../tommyettinger/textra/TextraButton.html | 452 +- .../tommyettinger/textra/TextraCheckBox.html | 356 +- .../tommyettinger/textra/TextraDialog.html | 750 ++-- .../TextraField.DefaultOnscreenKeyboard.html | 152 +- .../textra/TextraField.OnscreenKeyboard.html | 110 +- .../TextraField.TextFieldClickListener.html | 340 +- ...ield.TextFieldFilter.DigitsOnlyFilter.html | 162 +- .../textra/TextraField.TextFieldFilter.html | 144 +- .../textra/TextraField.TextFieldListener.html | 114 +- .../tommyettinger/textra/TextraField.html | 1224 +++--- .../tommyettinger/textra/TextraLabel.html | 824 ++-- .../tommyettinger/textra/TextraTooltip.html | 464 +- .../tommyettinger/textra/TextraWindow.html | 704 ++- .../tommyettinger/textra/TokenCategory.html | 278 +- .../tommyettinger/textra/TypingAdapter.html | 200 +- .../tommyettinger/textra/TypingButton.html | 282 +- .../tommyettinger/textra/TypingCheckBox.html | 358 +- .../tommyettinger/textra/TypingConfig.html | 302 +- .../tommyettinger/textra/TypingDialog.html | 750 ++-- .../tommyettinger/textra/TypingLabel.html | 1250 +++--- .../tommyettinger/textra/TypingListener.html | 158 +- .../tommyettinger/textra/TypingTooltip.html | 478 +- .../tommyettinger/textra/TypingWindow.html | 340 +- .../textra/effects/AttentionEffect.html | 182 +- .../textra/effects/BlinkEffect.html | 182 +- .../textra/effects/CannonEffect.html | 182 +- .../textra/effects/CarouselEffect.html | 182 +- .../textra/effects/CrowdEffect.html | 182 +- .../textra/effects/EaseEffect.html | 182 +- .../textra/effects/EmergeEffect.html | 182 +- .../textra/effects/FadeEffect.html | 182 +- .../textra/effects/GradientEffect.html | 182 +- .../textra/effects/HangEffect.html | 182 +- .../textra/effects/HeartbeatEffect.html | 182 +- .../textra/effects/HighlightEffect.html | 182 +- .../textra/effects/InstantEffect.html | 198 + .../textra/effects/JoltEffect.html | 182 +- .../textra/effects/JumpEffect.html | 182 +- .../textra/effects/LinkEffect.html | 182 +- .../textra/effects/OceanEffect.html | 182 +- .../textra/effects/RainbowEffect.html | 182 +- .../textra/effects/RotateEffect.html | 182 +- .../textra/effects/ScaleEffect.html | 182 +- .../textra/effects/ShakeEffect.html | 182 +- .../textra/effects/ShrinkEffect.html | 182 +- .../textra/effects/SickEffect.html | 224 +- .../textra/effects/SlideEffect.html | 182 +- .../textra/effects/SpinEffect.html | 182 +- .../textra/effects/SpiralEffect.html | 182 +- .../textra/effects/SputterEffect.html | 182 +- .../textra/effects/SquashEffect.html | 182 +- .../textra/effects/StylistEffect.html | 182 +- .../textra/effects/TriggerEffect.html | 182 +- .../textra/effects/WaveEffect.html | 182 +- .../textra/effects/WindEffect.html | 192 +- .../textra/effects/package-summary.html | 346 +- .../textra/effects/package-tree.html | 112 +- .../tommyettinger/textra/package-summary.html | 424 +- .../tommyettinger/textra/package-tree.html | 127 +- .../textra/utils/BlockUtils.html | 444 +- .../utils/CaseInsensitiveIntMap.Entries.html | 246 +- .../utils/CaseInsensitiveIntMap.Entry.html | 198 +- .../utils/CaseInsensitiveIntMap.Keys.html | 268 +- .../utils/CaseInsensitiveIntMap.Values.html | 250 +- .../textra/utils/CaseInsensitiveIntMap.html | 762 ++-- .../textra/utils/ColorUtils.html | 548 ++- .../textra/utils/NoiseUtils.html | 178 +- .../tommyettinger/textra/utils/Palette.html | 1718 ++++---- .../textra/utils/StringUtils.html | 150 +- .../textra/utils/package-summary.html | 162 +- .../textra/utils/package-tree.html | 67 +- docs/apidocs/constant-values.html | 1135 ++--- docs/apidocs/deprecated-list.html | 80 - docs/apidocs/help-doc.html | 184 +- docs/apidocs/index-all.html | 2572 +++++------ docs/apidocs/index.html | 89 +- docs/apidocs/legal/ADDITIONAL_LICENSE_INFO | 1 + docs/apidocs/legal/ASSEMBLY_EXCEPTION | 1 + docs/apidocs/legal/LICENSE | 1 + docs/apidocs/legal/jquery.md | 72 + docs/apidocs/legal/jqueryUI.md | 49 + docs/apidocs/member-search-index.js | 2 +- docs/apidocs/overview-summary.html | 6 +- docs/apidocs/overview-tree.html | 230 +- docs/apidocs/script.js | 105 +- docs/apidocs/search.js | 196 +- docs/apidocs/stylesheet.css | 333 +- docs/apidocs/tag-search-index.js | 2 +- docs/apidocs/type-search-index.js | 2 +- gradle.properties | 4 +- .../tommyettinger/textra/TypingLabel.java | 2 +- 109 files changed, 14858 insertions(+), 21358 deletions(-) create mode 100644 docs/apidocs/com/github/tommyettinger/textra/effects/InstantEffect.html delete mode 100644 docs/apidocs/deprecated-list.html create mode 100644 docs/apidocs/legal/ADDITIONAL_LICENSE_INFO create mode 100644 docs/apidocs/legal/ASSEMBLY_EXCEPTION create mode 100644 docs/apidocs/legal/LICENSE create mode 100644 docs/apidocs/legal/jquery.md create mode 100644 docs/apidocs/legal/jqueryUI.md diff --git a/README.md b/README.md index 2e681bee..32f8a7fa 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,9 @@ between two colors, or go across a whole rainbow. Lots of options; lots of fun. typing-label, but there have been some changes. You can check [the TextraTypist wiki](https://github.com/tommyettinger/textratypist/wiki/Examples) for more information. -As of 0.9.0, there are many new effects. Jolt, Spiral, Spin, Crowd, Shrink, Emerge, Heartbeat, Carousel, Squash, Scale, -Rotate, Attention, Highlight, Link, Trigger, Stylist, Cannon, Ocean, and Sputter are all new to TextraTypist (not in -typing-label). You can see usage instructions and sample GIFs at +As of 0.10.0, there are many new effects. Jolt, Spiral, Spin, Crowd, Shrink, Emerge, Heartbeat, Carousel, Squash, Scale, +Rotate, Attention, Highlight, Link, Trigger, Stylist, Cannon, Ocean, Sputter, and Instant are all new to TextraTypist +(not in typing-label). You can see usage instructions and sample GIFs at [the TextraTypist wiki's Tokens page](https://github.com/tommyettinger/textratypist/wiki/Tokens). Most of these effects make use of the smooth scaling and rotation options that effects can use starting in TextraTypist 0.5.1 . Some make use of mouse tracking, new in 0.7.0, such as how Link only responds to a click on a range of text. @@ -307,7 +307,7 @@ user input and can use animated styles like `{RAINBOW}`. You probably want to get this with Gradle! The dependency for a libGDX project's core module looks like: ```groovy -implementation "com.github.tommyettinger:textratypist:0.9.0" +implementation "com.github.tommyettinger:textratypist:0.10.0" ``` This assumes you already depend on libGDX; TextraTypist depends on version 1.12.0 or higher. A requirement for 1.11.0 @@ -318,7 +318,7 @@ pretty easy to update to. If you use GWT, this should be compatible. It needs these dependencies in the html module: ```groovy -implementation "com.github.tommyettinger:textratypist:0.9.0:sources" +implementation "com.github.tommyettinger:textratypist:0.10.0:sources" implementation "com.github.tommyettinger:regexodus:0.1.15:sources" ``` @@ -493,7 +493,11 @@ There's other issues with word wrap if you expect it to behave exactly like `Lab words, even if a single word is longer than the width of a `TextraLabel` or `TypingLabel`. The reason for this is twofold: first, breaking words without proper hyphenation logic can change the meaning of those words, and second, fixing this could be a ton of work. I do intend to try to make this configurable and match `Label` by default in some -near-future version. +near-future version. The word wrap behavior for multiple whitespace characters changed in version 0.10.0, and should be +essentially correct now. Remember that word wrap only makes sense in the context of scene2d.ui if a widget (such as a +TypingLabel or TextraLabel) if that widget has been sized by scene2d.ui, usually by being in a Table cell, or sometimes +by being in a Container. You may need to add a label to a Table or Container, then set the width and/or height of that +Cell or Container, to get wrap to act correctly. A possibly-frequent issue (with an easy fix) that may start occurring with version 0.9.0 and later is that TextraTypist now requires Java 8 or higher. All modern desktop OSes support Java 8, and this has been true for 9 years. Android has diff --git a/build.gradle b/build.gradle index 3ae055d4..41bfe538 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,12 @@ buildscript { apply plugin: 'java-library' apply plugin: 'com.vanniktech.maven.publish' + +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + compileJava { sourceCompatibility = 8 targetCompatibility = 8 @@ -33,7 +39,7 @@ def projectName = 'textratypist' version "$VERSION_NAME" group 'com.github.tommyettinger' -//api "com.github.tommyettinger:textratypist:0.8.3" +//api "com.github.tommyettinger:textratypist:0.10.0" [compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8' @@ -83,7 +89,7 @@ dependencies { testImplementation "com.rafaskoberg.gdx:typing-label:1.3.0" testImplementation "com.badlogicgames.gdx:gdx-freetype:$gdxVersion" testImplementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop" - testImplementation "com.github.raeleus.stripe:freetype:1.4.2" + testImplementation "com.github.raeleus.stripe:freetype:1.4.5" testImplementation "com.github.raeleus.TenPatch:tenpatch:5.2.3" testImplementation "com.github.tommyettinger:anim8-gdx:$anim8Version" testImplementation 'com.github.tommyettinger:colorful:0.8.4' diff --git a/docs/apidocs/allclasses-index.html b/docs/apidocs/allclasses-index.html index 6b265c45..8d24ccda 100644 --- a/docs/apidocs/allclasses-index.html +++ b/docs/apidocs/allclasses-index.html @@ -1,9 +1,9 @@ - - -All Classes (textratypist 0.9.0 API) + +All Classes and Interfaces (textratypist 0.10.0 API) + @@ -15,10 +15,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + +
+ +
+
+ +
+ +

Class InstantEffect

+
+
java.lang.Object +
com.github.tommyettinger.textra.Effect +
com.github.tommyettinger.textra.effects.InstantEffect
+
+
+
+
+
public class InstantEffect +extends Effect
+
Makes a span of text appear instantly, without the typing delay taking place per-glyph. Text after the span will be + set to a speed of TypingConfig.DEFAULT_SPEED_PER_CHAR. Doesn't change over time and doesn't have parameters.
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      InstantEffect

      +
      public InstantEffect(TypingLabel label, + String[] params)
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      onApply

      +
      protected void onApply(long glyph, + int localIndex, + int globalIndex, + float delta)
      +
      Description copied from class: Effect
      +
      Called when this effect should be applied to the given glyph.
      +
      +
      Specified by:
      +
      onApply in class Effect
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/apidocs/com/github/tommyettinger/textra/effects/JoltEffect.html b/docs/apidocs/com/github/tommyettinger/textra/effects/JoltEffect.html index 203d7740..0ff9b1c3 100644 --- a/docs/apidocs/com/github/tommyettinger/textra/effects/JoltEffect.html +++ b/docs/apidocs/com/github/tommyettinger/textra/effects/JoltEffect.html @@ -1,9 +1,9 @@ - - -JoltEffect (textratypist 0.9.0 API) + +JoltEffect (textratypist 0.10.0 API) + @@ -15,10 +15,8 @@ - - - - - - - - - - - - - - - - - - - -