Skip to content

Commit

Permalink
Release 0.10.0 !
Browse files Browse the repository at this point in the history
Former-commit-id: bca9fbe
  • Loading branch information
tommyettinger committed Aug 31, 2023
1 parent d4d77ff commit 15faf49
Show file tree
Hide file tree
Showing 109 changed files with 14,858 additions and 21,358 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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"
```

Expand Down Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'

Expand Down Expand Up @@ -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'
Expand Down
675 changes: 247 additions & 428 deletions docs/apidocs/allclasses-index.html

Large diffs are not rendered by default.

85 changes: 24 additions & 61 deletions docs/apidocs/allpackages-index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Packages (textratypist 0.9.0 API)</title>
<!-- Generated by javadoc (17) -->
<title>All Packages (textratypist 0.10.0 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="package index">
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
Expand All @@ -24,86 +24,49 @@
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar.top">
<div class="skip-nav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar.top.firstrow" class="nav-list" title="Navigation">
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
<li><a href="help-doc.html#all-packages">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div class="nav-list-search"><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip.navbar.top">
<!-- -->
</span></nav>
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header">
<h1 title="All&amp;nbsp;Packages" class="title">All&nbsp;Packages</h1>
</div>
<div class="packages-summary">
<table class="summary-table">
<caption><span>Package Summary</span></caption>
<thead>
<tr>
<th class="col-first" scope="col">Package</th>
<th class="col-last" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="alt-color">
<th class="col-first" scope="row"><a href="com/github/tommyettinger/textra/package-summary.html">com.github.tommyettinger.textra</a></th>
<td class="col-last">
<div class="caption"><span>Package Summary</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><a href="com/github/tommyettinger/textra/package-summary.html">com.github.tommyettinger.textra</a></div>
<div class="col-last even-row-color">
<div class="block">Contains the core of the library, such as the TypingLabel and Font classes.</div>
</td>
</tr>
<tr class="row-color">
<th class="col-first" scope="row"><a href="com/github/tommyettinger/textra/effects/package-summary.html">com.github.tommyettinger.textra.effects</a></th>
<td class="col-last">
</div>
<div class="col-first odd-row-color"><a href="com/github/tommyettinger/textra/effects/package-summary.html">com.github.tommyettinger.textra.effects</a></div>
<div class="col-last odd-row-color">
<div class="block">Contains the various effects that can be applied to text in a TypingLabel.</div>
</td>
</tr>
<tr class="alt-color">
<th class="col-first" scope="row"><a href="com/github/tommyettinger/textra/utils/package-summary.html">com.github.tommyettinger.textra.utils</a></th>
<td class="col-last">
</div>
<div class="col-first even-row-color"><a href="com/github/tommyettinger/textra/utils/package-summary.html">com.github.tommyettinger.textra.utils</a></div>
<div class="col-last even-row-color">
<div class="block">Contains miscellaneous support code; currently this covers 1D noise and color editing.</div>
</td>
</tr>
</tbody>
</table>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottom-nav" id="navbar.bottom">
<div class="skip-nav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar.bottom.firstrow" class="nav-list" title="Navigation">
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<span class="skip-nav" id="skip.navbar.bottom">
<!-- -->
</span></nav>
</footer>
</main>
</div>
</div>
</body>
Expand Down
Loading

0 comments on commit 15faf49

Please sign in to comment.