Skip to content

Commit

Permalink
Merge branch 'master' of github.com:buggins/coolreader
Browse files Browse the repository at this point in the history
  • Loading branch information
buggins committed Oct 28, 2020
2 parents c02e2f8 + f5d0326 commit 17b0e8e
Show file tree
Hide file tree
Showing 305 changed files with 196,653 additions and 39,284 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ qtbuild
qt-build
qtcreator-build
CMakeLists.txt.user
CMakeLists.txt.user.*
*~
*.a
*.so
Expand All @@ -21,3 +22,6 @@ cr3gui/data/dict/
cr3gui/data/dict_ext
cr3gui/data/tessdata/
.directory
*.orig
*.rej
/clang-analyzer-reports/
8 changes: 7 additions & 1 deletion android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ obj
.DS_Store
/build
/captures
.externalNativeBuild
/.externalNativeBuild
/.idea/assetWizardSettings.xml
/.idea/encodings.xml
/.idea/jarRepositories.xml
/.idea/modules.xml
/.idea/caches/
/.idea/dictionaries/
4 changes: 4 additions & 0 deletions android/app/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/build
.externalNativeBuild
/.cxx/
/debug/
/release/
/release_stripped/
4 changes: 2 additions & 2 deletions android/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ set(CRENGINE_SRC_FILES
${CR3_ROOT}/crengine/src/cp_stats.cpp
${CR3_ROOT}/crengine/src/lvstring.cpp
${CR3_ROOT}/crengine/src/lvstring8collection.cpp
${CR3_ROOT}/crengine/src/lvstring16collection.cpp
${CR3_ROOT}/crengine/src/lvstring16hashedcollection.cpp
${CR3_ROOT}/crengine/src/lvstring32collection.cpp
${CR3_ROOT}/crengine/src/lvstring32hashedcollection.cpp
${CR3_ROOT}/crengine/src/crlog.cpp
${CR3_ROOT}/crengine/src/serialbuf.cpp
${CR3_ROOT}/crengine/src/props.cpp
Expand Down
8 changes: 5 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ android {
defaultConfig {
applicationId "org.coolreader"
minSdkVersion 3
targetSdkVersion 28
targetSdkVersion 29
// When new version released, version code must be incremented at least by 8
// for compatibility with ABI versioning of split apk (see below).
versionCode 32490
Expand All @@ -29,8 +29,10 @@ android {
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
// to make the bug report more readable.
minifyEnabled false
shrinkResources false
debuggable false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules-optimize.pro'
externalNativeBuild {
cmake {
Expand Down
2 changes: 2 additions & 0 deletions android/app/proguard-rules-optimize.pro
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@
java.lang.String series;
int seriesNumber;
java.lang.String language;
java.lang.String description;
long crc32;
}

-keep class org.coolreader.crengine.Selection {
Expand Down
3 changes: 2 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
android:label="@string/app_name"
android:process="org.coolreader"
android:resizeableActivity="true"
android:usesCleartextTraffic="true" >
android:usesCleartextTraffic="true"
android:requestLegacyExternalStorage="true" >
<!--
android:configChanges="orientation|keyboardHidden|locale|screenSize"
-->
Expand Down
Loading

0 comments on commit 17b0e8e

Please sign in to comment.