Commit graph

76 commits

Author SHA1 Message Date
Andreas
60890147c3
Sort per category (#5408)
* Add flags for sorting per category

* Add logic to LibrarySettingsSheet

* Add  logic to LibraryPresenter

* Minor tweaks

* Use enum instead of variables

Also deprecates LibrarySort in favour of the new enum classes

* Remove debug log and suppress deprecation

* Convert DisplayMode setting to enum

Also fix bug were adapter would get de-synced with the current per category setting

* Fix migration crashing app due to values being access before migration
2021-06-26 13:30:16 -04:00
inorichi
ef937f277e Update image decoder with better AVIF support 2021-06-22 12:58:35 +02:00
arkon
e5cdf74587 Downgrade WorkManager
Related to #5364
2021-06-14 17:07:38 -04:00
arkon
b03ebc1fa4 Update tablet UI
- Only used when width is >= 720dp instead of 600dp (typically 10" tablets)
- Fix fastscroll in manga view (fixes #5267)
2021-06-03 23:00:41 -04:00
arkon
db25a9ae4f Support AVIF and HEIF images (closes #4756)
Co-authored-by: inorichi <inorichi@users.noreply.github.com>
2021-06-02 22:59:02 -04:00
arkon
2b8347f899 Update dependencies 2021-06-02 22:51:26 -04:00
arkon
9299a4beff Generate APKs per CPU architecture 2021-06-01 09:55:10 -04:00
arkon
0f3f1e9226 Release 0.11.1 2021-05-31 19:35:52 -04:00
arkon
5b1fe3460f Release 0.11.0 2021-05-31 18:46:30 -04:00
arkon
2d8858edb4 Fix double free when when parsing webp images (fixes #5227)
Co-authored-by: inorichi <inorichi@users.noreply.github.com>
2021-05-29 13:19:37 -04:00
arkon
2c6bcb85a0 Dependency updates 2021-05-27 08:50:18 -04:00
arkon
fefa519486 Update ACRA 2021-05-27 08:49:47 -04:00
arkon
a1a4916abf Update dependencies 2021-05-25 17:48:31 -04:00
inorichi
a271c3726e Fix GIF detection on previous commit 2021-05-25 19:52:49 +02:00
inorichi
8c18a14dfd Display animated webp whenever possible, otherwise fallback to static image. Fixes #5139 2021-05-25 19:42:48 +02:00
arkon
3d89a317c1 Remove kapt 2021-05-24 22:17:14 -04:00
arkon
d8251224cb Use 1.x source-api artifact from Maven Central 2021-05-24 22:17:09 -04:00
Ivan Iskandar
ef8a87a30f
Bump compileSdk to 30 (#5140) 2021-05-22 14:48:27 -04:00
Ivan Iskandar
89fb943733
Reinstate Proguard/R8 (#5134)
* Reinstate Proguard/R8

According to APK analyzer
Before: 18044 classes with 113387 methods in 3 dex files
After: 12604 classes with 68010 methods in 2 dex files
APK download size is reduced by 2.8 MB

* Add debug build type without R8
2021-05-22 14:47:40 -04:00
arkon
569df39fb8 Remove 1 or 2 hour library updates to avoid DDoSing sources 2021-05-22 11:52:28 -04:00
Ivan Iskandar
afd59eabbb
Remove material-design-dimens (#5133) 2021-05-22 10:10:41 -04:00
inorichi
6843dbf7e1 Fix decoder crash with 1px images and crop borders 2021-05-16 22:49:53 +02:00
arkon
de35a4c62a Initial tablet NavigationRailView implementation
TODO:
- Make the side nav go beside the toolbar too
- Extract out common main_activity stuff to remove duplicated code
2021-05-14 09:14:42 -04:00
arkon
9cbe053e79 Update dependencies 2021-05-14 09:08:58 -04:00
arkon
157d8db68c Update Coil 2021-05-04 22:44:42 -04:00
arkon
32434471e5 Update kotlinx.serialization 2021-04-28 17:30:48 -04:00
Andreas
0fef546a0d
Add manga-wised rotation mode settings (#4841)
* Add manga-wised rotation mode settings

Based on #3522

Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>

* Fix small mistakes

* Complete TODOs

* Rename functions

rotation -> orientation

* Fix orientation icon not changing

Bug from video

* Fix bug with force portrait not being force if a default value

Bug from video

* Backup viewer_flag as a seperate field in so legacy/forks doesn't crash

* Make viewer_flags nullable so old backups viewer gets restored

* Add migration for old rotation and viewer to new defaults ones

* Rename variable in enums

* Fix migration after OrientationType was changed

* Remove untrue comment

Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>
2021-04-28 08:32:47 -04:00
Ivan Iskandar
93e6136795
Use Coil (#4870)
* Use Coil

* Remove coil-transformations lib

* Add MangaCoverFetcher

* Remove Glide

* MangaCoverFetcher: Allow skipping custom cover usage

* Adjust coil caching policy for some non-library items

* Allow coil to use RGB565 only on low ram devices

* Fix image loading progress view not showing

a

* Increase coil crossfade duration

Same as default glide duration

* Add back request clearing
2021-04-28 08:32:00 -04:00
arkon
7d23fd8ef5 Update sqlite-android
This version is on jitpack instead of jcenter
2021-04-27 17:47:19 -04:00
arkon
6aff438a16 Release 0.10.12 2021-04-27 09:28:46 -04:00
arkon
b485e1d657 Downgrade back to stable OkHttp
Maybe fixes some crashes.
2021-04-23 22:41:46 -04:00
arkon
0eb8d7d081 Release 0.10.11 2021-04-19 10:52:52 -04:00
arkon
a598ac3993 Update LeakCanary 2021-04-18 12:55:17 -04:00
arkon
17f7dea21b Update KotlinX dependencies 2021-04-17 19:19:08 -04:00
arkon
a59e134862 Case insensitive source directory search 2021-04-16 22:27:00 -04:00
arkon
0dc4862d79 Revert case insensitive source folder check 2021-04-11 18:19:41 -04:00
arkon
5ff10799e4 Release 0.10.10 2021-04-11 17:59:07 -04:00
arkon
02c9191525 Make source download folder name case-insensitive
Fixes issues from things like "Mangasee" being renamed to "MangaSee"
2021-04-11 14:03:23 -04:00
arkon
b2d4e5ab84 Add Google DoH provider 2021-04-11 13:10:03 -04:00
arkon
42a9f911d8 Update some dependencies; downgrade core-ktx
Fixes ActionMode being underneath statusbar
2021-04-10 22:29:52 -04:00
Ivan Iskandar
f3660d88dd
Draw edge-to-edge (#4802) 2021-04-10 09:38:55 -04:00
arkon
63ce7371bb Update some internal dependencies
They no longer rely on jcenter
2021-04-09 22:44:59 -04:00
arkon
112e233498 Use Material dialogs for preferences
Partially addresses #2907
2021-03-13 18:00:24 -05:00
arkon
91bb6b9016 Dependency updates 2021-03-12 09:06:13 -05:00
arkon
90351c6e9e Revert to core-ktx:1.5.0-beta01
Fixes bottom reader menu from being hidden behind navbar on Android 5.0.
2021-03-07 23:04:29 -05:00
inorichi
48e7cbd76c Fix a decoder crash with RAR files 2021-03-05 18:52:58 +01:00
arkon
aa5861d3ca AndroidX dependency updates 2021-02-28 16:26:05 -05:00
inorichi
d4c9ab793f Fix a decoder crash 2021-02-23 16:53:57 +01:00
inorichi
48d2849d97 Support CMYK and YCCK JPEGs and fix bad PNG cropping 2021-02-22 20:43:15 +01:00
arkon
2b35d22e25 Switch back to new image decoder for preview builds 2021-02-12 16:07:48 -05:00