438 Commits

Author SHA1 Message Date
arkon
962344f5fc Minor code cleanup
(cherry picked from commit 00fe4cdf2d3e8e37e236c57c06b3db7884b26620)
2020-12-21 14:21:37 -05:00
arkon
024c2d4ce0 More crash fixes
(cherry picked from commit 4880741b8ba6186b0bd9cd59cca960e92ef2ba2f)
2020-12-21 14:21:34 -05:00
arkon
972579bbec Flip left/right key events for Webtoon viewer (fixes #4111)
(cherry picked from commit 836aec43962165cf2aa4c7d77e877c149f481f5b)
2020-12-21 14:21:31 -05:00
Jobobby04
6f712c7f17 Lint 2020-12-12 12:36:29 -05:00
arkon
0137262e4c Update to Kotlin 1.4.21 and kotlinter 3.3.0
(cherry picked from commit 59859e124f0321ad54c522ffa5673672cb4a368c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
2020-12-12 12:19:44 -05:00
Taco
d33cb59af5 Update libraries, some lints (#4099)
* Update some plugins

* Fix some miscellaneous lints

(cherry picked from commit c2b8fea291686a148b98778aa8550e5fa61d8ab3)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/AbstractBackupManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/MigrationSourcesPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
2020-12-12 12:18:30 -05:00
arkon
0db60d68f0 Use more up-to-date fork of junrar
(cherry picked from commit 560f0bba5c8b6d3ba232b9cffaaa15557e0cdff5)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt
2020-12-12 12:11:19 -05:00
Jobobby04
9a2ed755b7 Cleanup EH and AZ preferences 2020-11-30 15:11:58 -05:00
Jobobby04
bff654eac8 Cleanup 2020-11-30 13:19:41 -05:00
Andreas E
6a1a7275c8 Enhance incognito mode (#4073)
* When in Incognito Mode don't set lastUsedSource

* When in Incognito Mode don't save chapter progress

Still allows tracking and mark as read when reaching last page

* When in Incognito Mode don't mark as read (overwritten if hasTrackers)

(cherry picked from commit c9c0f3d01431a1008669d2a04bb6a5c87ccca645)
2020-11-29 17:19:40 -05:00
arkon
7017b7b3ea Replace more usages of Kotlin synthetic views
(cherry picked from commit 322d66d2825fe4d2e4650fb26e4aaf2f1bb96dbc)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2020-11-29 00:23:07 -05:00
arkon
b25e604bc2 Set preview/experimental compiler flags instead of using annotations
(cherry picked from commit 781971ee813b9c3a71558c268365e9495dbc41c2)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2020-11-25 14:52:06 -05:00
Dominik Chrástecký
61b0039a78 add support for S Pen actions (#4029)
(cherry picked from commit c9b1a425a73fda175a72951a2883daebad9555ba)
2020-11-21 16:28:14 -05:00
Jobobby04
079dd953bd Replace elvis operators with .orEmpty where possible 2020-11-04 22:10:13 -05:00
Jobobby04
015c610205 Use stable versions of RxUtil functions 2020-11-04 21:44:08 -05:00
Jobobby04
3b5249c8bc Convert java threads to kotlin coroutines 2020-10-29 15:29:43 -04:00
Jobobby04
406b5a89c8 Fix smart background for real this time, fix issues with theme not changing 2020-10-29 00:37:07 -04:00
Jobobby04
9cba544ffd Refactor and cleanup a bunch of code 2020-10-27 23:05:53 -04:00
Jobobby04
35217036ce Fix chapters in delegated manga where you haven't filtered any groups 2020-10-26 13:07:55 -04:00
Jobobby04
e9cef78d19 Filter scanlators on delegated manga 2020-10-25 20:24:30 -04:00
Andreas E
4937c7fff2 Fix missing chapter warning when chapter number is not recognized (#3928)
* Fix missing chapter warning when chapter number is not recognized

* Add case where ch number is recognized as zero but has no ch number

Yes this will ignore ch 0

* Use RegEx to double check if ch. name contains potential ch. number

(cherry picked from commit f1350bc33e2d20c7cff9e3aadb604ab3498b9672)
2020-10-24 13:41:22 -04:00
Jobobby04
01496ab34c Cleanup some merged manga code 2020-10-24 13:38:25 -04:00
Jobobby04
96989bfa53 Likely fix smart background 2020-10-21 14:59:39 -04:00
Taco
8722c1806e Use some more KTX and Compat stuff (#3933)
* Use more KTX extensions

* Update Android Studio

* Use more Compat classes

(cherry picked from commit 60755d0c26c55e8fa90406a973c00e0871c04723)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupRestoreService.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsBackupController.kt
2020-10-13 12:38:23 -04:00
Jobobby04
405b0580fc Implement exclude categories from deletion 2020-10-12 22:11:16 -04:00
Andreas E
527e26137f Remove from queue after read (#3870)
* Add option to remove chapter from download queue after marked as read

* Begone bug

There was a bug when one queued a new download to the downloader. Which resulted in getChapterDownloadOrNull() would not find the corresponding download for the provided chapter

* Fix review comment

* Remove preference and just remove from queue

(cherry picked from commit 11ab3b2c2e906e51cd27c57cc7a7ed2deb188867)
2020-10-03 12:57:42 -04:00
arkon
2772e4960e Add banner for Incognito Mode
(cherry picked from commit cf39ae0000a39542ba867f894c095f96c71141ef)
2020-10-03 12:57:20 -04:00
Platiplus
e1d7713f14 [Feature Request] Option to turn off History - #3772 (#3855)
* Implementing do not save chapter history preference

* Refactor of labels

* Changing incognito mode from Readers section to More

* Fixing imports and removing unused strings

(cherry picked from commit 79ccfcd55397f3df7ce91d88e93a7c879a3360ab)
2020-10-03 12:56:53 -04:00
Jobobby04
1b90590260 Cleanup Autoscroll coroutine code 2020-09-25 10:26:42 -04:00
arkon
616fbe4afe Center reader transition text properly (fixes #3819)
(cherry picked from commit 01ad405dd2f0dea00ef076926d2487ab915ada29)
2020-09-24 08:24:16 -04:00
Jobobby04
caa6dd6d62 Fix issues with mangadex tracking, infinite loading and showing up on non-mangadex manga 2020-09-22 13:45:50 -04:00
Jay
2583be9923 Send manga/chapter/page details when sharing a chapter page
(cherry picked from commit 004e1c98ee27881f1d70b0b74a912eee81b37e94)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2020-09-15 18:16:06 -04:00
Jay
89427ff37e Send manga/chapter/page details when sharing a chapter page
(cherry picked from commit 32aea55f424d77e78be50f288996fe04053db009)
2020-09-14 21:15:40 -04:00
arkon
8d5b2f40b3 Use Kolinter Gradle plugin for linting instead of ktlint directly
(cherry picked from commit 76f6fe46010b235ee59962c94c790428870fc23e)
2020-09-13 23:08:52 -04:00
arkon
0f16150613 Replace deprecated system window insets usage
(cherry picked from commit af4710370727511bd65f1f96dc6fd47bb245c4e1)
2020-09-13 22:24:06 -04:00
Andreas E
a4578611d7 Always show missing chapter warning if there are missing chapters (#3755)
* Always show missing chapter warning if there are missing chapters

* Change function parameter names

(cherry picked from commit 9f260c351352817f2cceed6323c5ebcceca5e2e9)
2020-09-12 13:51:55 -04:00
arkon
604c7c703a Fix text alignment in transition view when no more chapters available
(cherry picked from commit b55d394a1feba615dd6a9f50faf44e164976e335)
2020-09-05 19:20:53 -04:00
arkon
281fb9c67b Refactor common chapter transition views into separate view
(cherry picked from commit 86e59977dec252b180fa63a2a82c6fc8bcbcfe69)
2020-09-05 19:19:49 -04:00
Andreas E
61fb836be4 Add missing chapter warning (#3745)
* Add missing chapter warning

* Flip calculation instead of flipping variables

* Change logic

* Change tint based on reader theme

* Add missing chapter warning to WebtoonTransitionHolder

* Add chapter warning between current/finished and prev/next

* Fix mix up of TextViews

* Fix review comments

(cherry picked from commit 7a33e198dc4a298b7dee6e866bdaaaf7b3db5efb)
2020-09-05 19:11:20 -04:00
Jobobby04
a1d54880c3 Merged manga implementation, man this took forever to make and bugfix, its not even done 2020-09-05 18:17:33 -04:00
Jobobby04
d97805e38b Respect manga chapter order for reader chapter list, as well as fix page progress updating 2020-08-25 00:12:07 -04:00
Jobobby04
eafe3a62e4 Fix the bottom sheet and remove the bookmark button at the top of the reader 2020-08-24 19:25:47 -04:00
Jobobby04
1d70f0b1dd Lint 2020-08-22 22:13:14 -04:00
Jobobby04
1240cc5232 Reader bottom sheet transparency, as well as a half fix for the fullscreen reader bug 2020-08-22 22:12:59 -04:00
Jobobby04
0abee585fc Some more cleanup to Save as CBZ 2020-08-22 18:41:42 -04:00
Jobobby04
79e4e3d2a0 Add chapters bottom sheet for reader 2020-08-22 17:37:42 -04:00
Fahad1998
4333999b85
Add Save As CBZ (#84)
Co-authored-by: Fahad1998 <f1998>
2020-08-22 17:37:03 -04:00
arkon
b654613345 Use core-ktx for bolding chapter transition text
(cherry picked from commit 4ef25c75b763811439bbd9a5512a22a14c864194)
2020-08-18 22:31:20 -04:00
Jobobby04
a6b98e24dc Undo linting 2020-08-15 15:57:07 -04:00
Jobobby04
bcd36c8fad Add tap to move by page for continues vertical reader 2020-08-14 18:41:21 -04:00