From d971768056bf0410131ba14cefb5eaefa80a7df2 Mon Sep 17 00:00:00 2001 From: len Date: Sat, 3 Dec 2016 16:54:29 +0100 Subject: [PATCH] Release 0.4.0 --- app/build.gradle | 4 +- app/proguard-rules.pro | 58 +++++----------------- app/src/main/res/raw/changelog_release.xml | 20 ++++++++ 3 files changed, 34 insertions(+), 48 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 5ad21b6f7c..adc925bd7b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,8 +38,8 @@ android { minSdkVersion 16 targetSdkVersion 25 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - versionCode 15 - versionName "0.3.2" + versionCode 16 + versionName "0.4.0" buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\"" buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\"" diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 135ba44113..b738c0a7a4 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -64,7 +64,10 @@ public (android.content.Context); } -## GSON 2.2.4 specific rules ## +# ReactiveNetwork +-dontwarn com.github.pwittchen.reactivenetwork.** + +## GSON ## # Gson uses generic type information stored in a class file when working with fields. Proguard # removes such information by default, so configure it to keep all of it. @@ -73,55 +76,18 @@ # For using GSON @Expose annotation -keepattributes *Annotation* --keepattributes EnclosingMethod - # Gson specific classes -keep class sun.misc.Unsafe { *; } --keep class com.google.gson.stream.** { *; } +#-keep class com.google.gson.stream.** { *; } -## ACRA 4.5.0 specific rules ## +# Application classes that will be serialized/deserialized over Gson +-keep class com.google.gson.examples.android.model.** { *; } -# we need line numbers in our stack traces otherwise they are pretty useless --renamesourcefileattribute SourceFile --keepattributes SourceFile,LineNumberTable - -# ACRA needs "annotations" so add this... --keepattributes *Annotation* - -# keep this class so that logging will show 'ACRA' and not a obfuscated name like 'a'. -# Note: if you are removing log messages elsewhere in this file then this isn't necessary --keep class org.acra.ACRA { - *; -} - -# keep this around for some enums that ACRA needs --keep class org.acra.ReportingInteractionMode { - *; -} - --keepnames class org.acra.sender.HttpSender$** { - *; -} - --keepnames class org.acra.ReportField { - *; -} - -# keep this otherwise it is removed by ProGuard --keep public class org.acra.ErrorReporter { - public void addCustomData(java.lang.String,java.lang.String); - public void putCustomData(java.lang.String,java.lang.String); - public void removeCustomData(java.lang.String); -} - -# keep this otherwise it is removed by ProGuard --keep public class org.acra.ErrorReporter { - public void handleSilentException(java.lang.Throwable); -} - -# Keep the support library --keep class org.acra.** { *; } --keep interface org.acra.** { *; } +# Prevent proguard from stripping interface information from TypeAdapterFactory, +# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter) +-keep class * implements com.google.gson.TypeAdapterFactory +-keep class * implements com.google.gson.JsonSerializer +-keep class * implements com.google.gson.JsonDeserializer # SnakeYaml -keep class org.yaml.snakeyaml.** { public protected private *; } diff --git a/app/src/main/res/raw/changelog_release.xml b/app/src/main/res/raw/changelog_release.xml index feda80dc0b..c5ca0bde6c 100644 --- a/app/src/main/res/raw/changelog_release.xml +++ b/app/src/main/res/raw/changelog_release.xml @@ -1,6 +1,26 @@ + + The download manager has been rewritten and it's possible some of your downloads + aren't recognized anymore. It's recommended to manually delete everything and start over. + + + Now it's possible to download to any folder in a SD card. + + The download directory setting has been reset. + + Active downloads now persist after restarts. + + Allow to bookmark chapters. + + Allow to share or save a single page while reading with a long tap. + + Added italian translation. + + Image is now the default decoder. + + Added a new image decoder. It should be faster than Rapid and more reliable than Skia.