Browse Source

Release 0.4.0

len 8 years ago
parent
commit
d971768056
3 changed files with 34 additions and 48 deletions
  1. 2 2
      app/build.gradle
  2. 12 46
      app/proguard-rules.pro
  3. 20 0
      app/src/main/res/raw/changelog_release.xml

+ 2 - 2
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()}\""

+ 12 - 46
app/proguard-rules.pro

@@ -64,7 +64,10 @@
     public <init>(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.** { *; }
-
-## ACRA 4.5.0 specific rules ##
+#-keep class com.google.gson.stream.** { *; }
 
-# 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);
-}
+# Application classes that will be serialized/deserialized over Gson
+-keep class com.google.gson.examples.android.model.** { *; }
 
-# 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 *; }

+ 20 - 0
app/src/main/res/raw/changelog_release.xml

@@ -1,6 +1,26 @@
 <?xml version="1.0" encoding="utf-8"?>
 <changelog bulletedList="true">
 
+    <changelogversion versionName="v0.4.0" changeDate="">
+        <changelogtext>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.
+        </changelogtext>
+
+        <changelogtext>Now it's possible to download to any folder in a SD card.</changelogtext>
+
+        <changelogtext>The download directory setting has been reset.</changelogtext>
+
+        <changelogtext>Active downloads now persist after restarts.</changelogtext>
+
+        <changelogtext>Allow to bookmark chapters.</changelogtext>
+
+        <changelogtext>Allow to share or save a single page while reading with a long tap.</changelogtext>
+
+        <changelogtext>Added italian translation.</changelogtext>
+
+        <changelogtext>Image is now the default decoder.</changelogtext>
+    </changelogversion>
+
     <changelogversion versionName="v0.3.2" changeDate="">
         <changelogtext>Added a new image decoder. It should be faster than Rapid and more reliable than Skia.</changelogtext>