arkon
8a5382042c
Fix misleading release grace period "Default" options
2023-05-31 18:52:36 -04:00
arkon
8f4bc71cf7
Remove confirm exit option
...
Redundant with predictive back, but also just sort of pointless since it doesn't help
with any sort of app state retention.
2023-05-31 18:51:01 -04:00
Two-Ai
0ac38297f4
Replace RxJava in extension installer ( #9556 )
...
* Replace RxJava in extension installer
Replace common downloadsRelay with Map of individual StateFlows
* Drop RxRelay dependency
* Simplify updateAllExtensions
* Simplify addDownloadState/removeDownloadState
Use immutable Map functions instead of converting to MutableMap
2023-05-30 10:25:20 -04:00
arkon
4c65c2311e
Limit updates to 250 most recent chapters
...
Still limits to things within the past 3 months though.
Closes #9554
2023-05-28 16:48:22 -04:00
arkon
f48f212001
Minor cleanup
2023-05-27 23:27:02 -04:00
Quang Kieu
c90f344910
Add setting and calculate for update interval ( #9399 )
...
* Add Grace Period value and settings
* Add functions to calculate nextUpdate
* update per review
* Move more into SetMangaUpdateInterval, keep wrapper
2023-05-27 23:01:36 -04:00
Ivan Iskandar
a458bd9fdb
Update Glance v1.0.0-beta01 ( #9551 )
2023-05-27 22:59:21 -04:00
arkon
ed5a56be60
Set reader chapter name to marquee if too long
...
Closes #7159
2023-05-27 19:15:11 -04:00
arkon
899fe57f15
Slightly tweak MangaScreen refresh indicator
...
Related to #7813 . It still starts below the status bar, but it looks a bit less weird.
2023-05-27 19:06:04 -04:00
arkon
bac42edabb
Add debug screen to copy backup file schema
...
Closes #8544
2023-05-27 18:53:11 -04:00
arkon
8735f3566f
Fix bookmarked chapters being deleted after manually marked as read
...
Fixes #9520
2023-05-27 18:30:59 -04:00
arkon
46efd4c134
Fix some crashes
2023-05-27 09:53:01 -04:00
arkon
dfd38db7e3
Use primitive state holders
2023-05-27 09:22:31 -04:00
Ivan Iskandar
0189fc1f66
Bump Compose BOM version 2023.04.00-beta01.1 ( #9548 )
2023-05-27 09:17:31 -04:00
arkon
929a881943
Simplify chapter item composable a bit
...
Closes #9442 because I just removed the rounding entirely...
2023-05-26 23:02:16 -04:00
arkon
152fdec855
Minor cleanup and remove unused dependencies
2023-05-26 22:52:00 -04:00
Artemis-CtrlAltDel
9c07451d95
fix: grid size slider ( #9542 )
2023-05-26 22:41:22 -04:00
arkon
e3b2720924
Remove redundant inset handling in AdaptiveSheet
...
The Dialog is handling it anyway, so this doesn't really do anything useful.
We might need to add this back if Dialog actually handles edge-to-edge properly.
2023-05-24 18:10:17 -04:00
Two-Ai
3ae1e37c40
Replace RxJava in Downloader ( #9256 )
...
* Rename removeFromQueueByPredicate to removeFromQueueIf
Follow-up to PR comment in #9511
* Make Download hashCode stable
Mutating pages would previously change the Download hashCode, which
breaks HashMap lookups.
* Convert Donwloader subscription to coroutine
Replace downloadsRelay with activeDownloadsFlow. Instead of managing
a PublishRelay independent from the queue, derive a Flow of active
downloads directly from the queue StateFlow. (This will allow
updating the queue without pausing the downloader, to be done in a
follow-up PR.)
When a download completes successfully, the downloads is removed from
queueState. This updates activeDownloadsFlow and causes the
downloaderJob start the download job for the next active download.
When a download fails, the download is left in the queue, so
queueState is not modified. To make activeDownloadsFlow update
without a change to queueState, use transformLatest and use the
Download statusFlows to suspend until a download reaches the ERROR
state.
To avoid stopping and starting downloads every time
activeDownloadsFlow emits a new value, maintain a map of current
download Jobs and only start/stop jobs in the difference between
downloadJobs and activeDownloads. To make sure all child download
jobs are cancelled when the top-level downloader job is cancelled,
use supervisorScope.
* Remove obsolete main thread references in Downloader
Thread safety of the queue state used to be guaranteed by running all
queue mutation on the main thread, but this has not been true for
some time. Since the queue state is now backed by a StateFlow,
queueState can be safely updated by any thread.
2023-05-24 18:02:27 -04:00
arkon
d8998aacb4
Bump dependencies
2023-05-24 17:55:32 -04:00
arkon
efdff9a21a
Update minimum WebView version
2023-05-24 17:55:27 -04:00
arkon
1824adb2ed
Update default user agent string
2023-05-24 17:54:16 -04:00
renovate[bot]
38445673f3
Update dependency com.github.requery:sqlite-android to v3.42.0 ( #9530 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-21 11:22:10 -04:00
arkon
5a9889b562
Upgrade Compose
...
Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com>
2023-05-21 11:21:32 -04:00
arkon
5ca7c39751
Replace Cascade with our own somewhat janky implementation
2023-05-21 11:02:56 -04:00
arkon
44609c494c
Use AppBarActions in more places
2023-05-20 22:47:16 -04:00
renovate[bot]
0810d3db69
Update dependency com.github.requery:sqlite-android to v3.41.2 ( #9526 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 22:47:09 -04:00
renovate[bot]
d4fb9995ef
Update leakcanary to v2.11 ( #9527 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 22:46:52 -04:00
Weblate (bot)
22a4372583
Translations update from Hosted Weblate ( #9501 )
...
Weblate translations
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/gl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ne/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pt/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hant/
Translation: Tachiyomi/Tachiyomi 0.x
Co-authored-by: FateXBlood <zecrofelix@gmail.com>
Co-authored-by: Filipe Mota (BlackSpirits) <blackspirits@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Pipixel_06 <nico.berard@outlook.com>
Co-authored-by: kevans <albapazpi@gmail.com>
Co-authored-by: torchlight <sima142222@gmail.com>
2023-05-20 16:18:23 -04:00
arkon
a4d86a2e1e
Enable predictive back gesture for Android 13 (behind developer option)/14+
2023-05-20 16:16:19 -04:00
Shamicen
b8716ff6fe
Populate the ComicInfo Number field with chapter numbers ( #9514 )
...
* Populate the ComicInfo Number field
* added negative number check
2023-05-20 10:24:10 -04:00
Ivan Iskandar
73118d4af7
DownloadCache: Fix freezing on initial loading of cache file ( #9523 )
2023-05-19 22:06:06 -04:00
Two-Ai
c27bf4e866
Minor Downloader cleanup ( #9511 )
...
* Inline completeDownload
* Consolidate queueState updates in removeFromQueue
* Inline post-download steps into downloadChapter
2023-05-19 17:16:32 -04:00
Shamicen
f50f5c4b54
bump xmlutil ( #9505 )
...
fixes broken surrogate pairs
2023-05-14 19:19:22 -04:00
arkon
fb38d30775
Avoid attempts to renaming download dirs if name hasn't actually changed
...
Maybe fixes #9503
2023-05-14 12:24:40 -04:00
Weblate (bot)
a3a9c8ac8e
Translations update from Hosted Weblate ( #9463 )
...
Weblate translations
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/bn/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/gl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ne/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/tr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hant/
Translation: Tachiyomi/Tachiyomi 0.x
Co-authored-by: FateXBlood <zecrofelix@gmail.com>
Co-authored-by: Gab Albatros <2lj.fzb@gmail.com>
Co-authored-by: InfinityDouki56 <ced.paltep10@gmail.com>
Co-authored-by: Johnathan Illian <johnathanillian77@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: NGB-Was-Taken <myalternate34@gmail.com>
Co-authored-by: Pipixel_06 <nico.berard@outlook.com>
Co-authored-by: Ramim Hasan <ramimhasan.dev@gmail.com>
Co-authored-by: kevans <albapazpi@gmail.com>
Co-authored-by: orkan gökçe alaz aşina <examplehuman@outlook.com>
Co-authored-by: sebastians17 <sebastians117.ss@gmail.com>
Co-authored-by: stevenlele <stevenlele@outlook.com>
2023-05-13 22:50:07 -04:00
arkon
b4bb855675
Revert "Bump to somewhat newer version of Compose BOM"
...
This reverts commit ce81b76150
.
Fixes crashes when opening menus. Cascade doesn't have an update
to fix this yet.
2023-05-13 22:45:36 -04:00
Ivan Iskandar
6263a52777
Fix navigation backstack ( #9497 )
...
Partial revert of dbbf6c5de0
2023-05-13 14:22:02 -04:00
Ivan Iskandar
96defd6b05
Replace our custom Pager ( #9494 )
...
Turns out that changing the pagerSnapDistance
is enough to achieve the same result.
2023-05-13 12:06:00 -04:00
Ivan Iskandar
8df9bce1b4
Upgrade Kotlin 1.8.21 ( #9495 )
2023-05-13 12:05:19 -04:00
arkon
bcd90be525
Use AppBarActions in more places
...
Related to #8270
2023-05-13 10:04:22 -04:00
arkon
22afae4449
Add tooltips for AppBarActions
...
Partially addresses #8270 . A bunch of Scaffolds aren't using this helper.
2023-05-12 22:56:13 -04:00
arkon
8fae92034e
Fix missing appbar when statistics are loading
2023-05-12 18:13:07 -04:00
arkon
ce81b76150
Bump to somewhat newer version of Compose BOM
2023-05-12 18:10:07 -04:00
AntsyLich
f70d5ea976
Delay automatic backup when restoring ( #9492 )
2023-05-12 18:02:11 -04:00
arkon
dbbf6c5de0
Switch back to upstream version of Voyager
2023-05-12 18:01:48 -04:00
arkon
2379df7e60
Bump dependencies
2023-05-12 17:44:48 -04:00
renovate[bot]
e3ce3ff418
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-bom to v1.7.0 ( #9469 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 22:08:35 -04:00
FlaminSarge
4395202703
Fix StubSource param order to match previous SourceData order ( #9485 )
...
SourceData was replaced with direct StubSource usage but the param order was changed without changing the usage; fixing the param order as such.
2023-05-09 18:37:24 -04:00
Ivan Iskandar
84acae27b7
ChapterNavigator: Fix rounding error when changing page with slider ( #9477 )
...
ChapterNavigator: Fix rounding error when changing page from slider
2023-05-08 09:00:05 -04:00