Prepare 4.3.1 release
This commit is contained in:
parent
0ae3a3d66e
commit
0f968662a8
@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
# $nap;
|
||||
# 4.3.1
|
||||
* Fix DexGuard optimization issue ([#216])<br>Thanks [@francescocervone]
|
||||
* module `images`: `GifSupport` and `SvgSupport` use `Class.forName` instead access to full qualified class name
|
||||
* `ext-table`: fix links in tables ([#224])
|
||||
|
@ -8,7 +8,7 @@ android.enableJetifier=true
|
||||
android.enableBuildCache=true
|
||||
android.buildCacheDir=build/pre-dex-cache
|
||||
|
||||
VERSION_NAME=4.3.1-SNAPSHOT
|
||||
VERSION_NAME=4.3.1
|
||||
|
||||
GROUP=io.noties.markwon
|
||||
POM_DESCRIPTION=Markwon markdown for Android
|
||||
|
@ -16,7 +16,7 @@ import java.util.concurrent.Future;
|
||||
* This is intended to be used in a RecyclerView.
|
||||
*
|
||||
* @see io.noties.markwon.Markwon.TextSetter
|
||||
* @since $nap;
|
||||
* @since 4.3.1
|
||||
*/
|
||||
public class PrecomputedFutureTextSetterCompat implements Markwon.TextSetter {
|
||||
|
||||
|
@ -127,7 +127,7 @@ public class TablePlugin extends AbstractMarkwonPlugin {
|
||||
|
||||
visitor.visitChildren(tableBlock);
|
||||
|
||||
// @since $nap; apply table span for the full table
|
||||
// @since 4.3.1 apply table span for the full table
|
||||
visitor.setSpans(length, new TableSpan());
|
||||
|
||||
visitor.blockEnd(tableBlock);
|
||||
|
@ -146,7 +146,7 @@ public class TableRowSpan extends ReplacementSpan {
|
||||
|
||||
if (recreateLayouts(canvas.getWidth())) {
|
||||
width = canvas.getWidth();
|
||||
// @since $nap; it's important to cast to TextPaint in order to display links, etc
|
||||
// @since 4.3.1 it's important to cast to TextPaint in order to display links, etc
|
||||
if (p instanceof TextPaint) {
|
||||
// there must be a reason why this method receives Paint instead of TextPaint...
|
||||
textPaint.set((TextPaint) p);
|
||||
@ -204,7 +204,7 @@ public class TableRowSpan extends ReplacementSpan {
|
||||
// required for borderTop calculation
|
||||
final boolean isFirstTableRow;
|
||||
|
||||
// @since $nap;
|
||||
// @since 4.3.1
|
||||
if (drawBorder) {
|
||||
boolean first = false;
|
||||
// only if first draw the line
|
||||
@ -244,7 +244,7 @@ public class TableRowSpan extends ReplacementSpan {
|
||||
|
||||
canvas.translate(x + (i * w), top);
|
||||
|
||||
// @since $nap;
|
||||
// @since 4.3.1
|
||||
if (drawBorder) {
|
||||
// first vertical border will have full width (it cannot exceed canvas)
|
||||
if (i == 0) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package io.noties.markwon.ext.tables;
|
||||
|
||||
/**
|
||||
* @since $nap;
|
||||
* @since 4.3.1
|
||||
*/
|
||||
public class TableSpan {
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ public class TableTheme {
|
||||
}
|
||||
|
||||
paint.setColor(color);
|
||||
// @since $nap; before it was STROKE... change to FILL as we draw border differently
|
||||
// @since 4.3.1 before it was STROKE... change to FILL as we draw border differently
|
||||
paint.setStyle(Paint.Style.FILL);
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ public class StrikeHandler extends TagHandler {
|
||||
static {
|
||||
boolean hasMarkdownImplementation;
|
||||
try {
|
||||
// @since $nap; we class Class.forName instead of trying
|
||||
// @since 4.3.1 we class Class.forName instead of trying
|
||||
// to access the class by full qualified name (which caused issues with DexGuard)
|
||||
Class.forName("org.commonmark.ext.gfm.strikethrough.Strikethrough");
|
||||
hasMarkdownImplementation = true;
|
||||
|
@ -14,7 +14,7 @@ public abstract class GifSupport {
|
||||
static {
|
||||
boolean result;
|
||||
try {
|
||||
// @since $nap;
|
||||
// @since 4.3.1
|
||||
Class.forName("pl.droidsonroids.gif.GifDrawable");
|
||||
result = true;
|
||||
} catch (Throwable t) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user