GG Bond
4dc0f7e02e
CropBorder use Compose IntRect
2024-03-02 16:01:08 +08:00
renovate[bot] and GG Bond
6e9c6e6269
Updates for ReaderScreen ( #827 )
...
* Retry pages
* Restore loading behaviour
* Refactor GalleryPager
* GalleryPager accepts onSelectPage
* Slot to do page select actions
* Move zoomableState in
* Refactor using EdgeApplier
* Cleanup unneeded
* Workaround Crash
* Don't scale non-image
* Reset page state when recycled
* Have pageloader restart when cropBorder changes
* Make PagerItem top-level
---------
Co-authored-by: GG Bond <whatever@tagkong.com >
2024-03-02 15:43:53 +08:00
renovate[bot] and GG Bond
a22880a9b1
Fix archive memleak ( #828 )
...
* Don't lock anon pages when decode
* Log madvise fault
* Simplify
* Don't readahead unconditionally
* Refine
* Fixes
* Cleanup
* Fix sparse archive case
* Fixes
* Prefault anon pages for new kernel
* Fixes
* Fixes
* Fixes
---------
Co-authored-by: GG Bond <whatever@tagkong.com >
2024-03-02 14:48:35 +08:00
FooIbar
7357724392
Address GlobalScope usage and minor cleanup
2024-03-01 16:05:17 +08:00
renovate[bot]
fb1b08e7e8
Update dependency com.android.application to v8.4.0-alpha12
2024-02-29 23:43:32 +00:00
renovate[bot]
1405b99ab8
Update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha06
2024-02-29 23:41:13 +00:00
FooIbar
f7aec69dae
Avoid SAF overhead when save-as-cbz is enabled
2024-02-29 22:15:43 +08:00
renovate[bot]
f15a0fc4bb
Update dependency io.arrow-kt:arrow-stack to v1.2.3
2024-02-29 10:21:56 +00:00
FooIbar
6330fc3bdc
Revert "Build with Android 15 preview SDK"
...
This reverts commit 7d2e0f7f
Reason for revert: Android SDK sources for VanillaIceCream are not
available, making it hard to debug.
2024-02-29 16:10:00 +08:00
FooIbar
01e3f3e9b7
Sort only entries in external archive files
2024-02-29 16:07:34 +08:00
FooIbar
e0c614cf71
Cache display name and mime type for document file
2024-02-29 16:06:42 +08:00
renovate[bot]
b34764d4c2
Update dependency com.google.devtools.ksp to v2.0.0-Beta4-1.0.18
2024-02-29 04:44:46 +00:00
FooIbar
f46f84e533
Fix forbidden filename characters in gallery title
2024-02-29 12:36:40 +08:00
renovate[bot]
ca0eaf2053
Update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha05
2024-02-29 03:05:54 +00:00
renovate[bot]
25f283ee9c
Update snapshot
2024-02-29 03:45:13 +08:00
FooIbar
8ee23ab520
Fix zero-copy branch condition for an edge case
2024-02-29 01:45:10 +08:00
renovate[bot] and renovate[bot]
6964baf3f6
Update aboutlibraries to v11 (major) ( #810 )
...
* Update aboutlibraries to v11
* Update LicenseScreen.kt
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <99822064+revonateB0T@users.noreply.github.com >
2024-02-28 12:52:07 +00:00
FooIbar
01aa7af175
Minor fixes for new reader
2024-02-28 18:28:19 +08:00
renovate[bot] and GG Bond
5982bd2d4b
Zero-copy read for 0-compression archives ( #809 )
...
* Zero-copy read for 0-compression archives
* Refine
---------
Co-authored-by: GG Bond <whatever@tagkong.com >
2024-02-28 09:04:17 +00:00
FooIbar
d0fbb3539f
Initial save downloaded gallery as cbz archive ( #808 )
...
* Initial save downloaded gallery as cbz archive
* Make save as cbz archive opt-in
2024-02-28 08:06:08 +00:00
GG Bond
284fb4242b
Compose Reader Start Page
2024-02-28 15:52:53 +08:00
GG Bond
beeb4bdbd4
Crop border for Compose ReaderScreen
2024-02-28 15:52:53 +08:00
renovate[bot] and GG Bond
76a52903e5
Polymorphic pager ( #804 )
...
* Ctrl AppbarVisible
* PageIndicatorText
* Polymorphic pager
* Fixes
* Sync state for pager as well
* Refine
* Navbar Padding
* Refine
---------
Co-authored-by: GG Bond <whatever@tagkong.com >
2024-02-28 04:19:29 +00:00
Vladimir Dostoyevskiy
a19b8782a8
Update compose snapshot
2024-02-28 08:58:51 +08:00
Vladimir Dostoyevskiy and GG Bond
31f66fd05b
Reader updates ( #800 )
...
* Refine
* Bars and sliders
* Zoomable
* Refine
* Refine Slider & LazyList state sync
* Refine
* Cleanup
* Fixes
* Fix initial state
* Fixes
* Fixes
* Fixup initial state
---------
Co-authored-by: GG Bond <whatever@tagkong.com >
2024-02-27 23:14:36 +08:00
renovate[bot]
bc3c4e969c
Update dependency io.arrow-kt:arrow-stack to v1.2.2
2024-02-27 14:52:00 +00:00
FooIbar
4231402e54
Coroutinize DownloadManager
2024-02-27 22:44:12 +08:00
Vladimir Dostoyevskiy and GG Bond
ff4f76dfa5
Initial Compose ReaderScreen ( #799 )
...
* Initial Compose ReaderScreen
* Refine
* Naming
---------
Co-authored-by: GG Bond <whatever@tagkong.com >
2024-02-27 09:44:03 +00:00
FooIbar
2ff9df4c07
Show gallery pages in history
2024-02-27 17:29:35 +08:00
GG Bond
7cbc641178
Drop outdated comment
2024-02-27 13:58:33 +08:00
GG Bond
08d5621b59
Update snapshot for non-gesture systemback transition
2024-02-27 13:58:33 +08:00
GG Bond
d39c2fdfa2
Update workaround
2024-02-27 13:58:33 +08:00
GG Bond
27e02ad642
Don't dup fd when calculate sha1
...
Signed-off-by: GG Bond <whatever@tagkong.com >
2024-02-27 12:50:32 +08:00
FooIbar
11e9faef7c
Fix skip H@H key parsing
...
It may contain alphabets.
2024-02-26 20:55:48 +08:00
FooIbar
cbb8971dd1
Implement sort downloads by page count
2024-02-26 18:04:45 +08:00
FooIbar
1077f4d8cf
Show pages instead of language in downloads' badge ( #793 )
...
It is expected that most downloads will be in the same language.
BREAKING CHANGE: Upgrade db, add `PAGES` column to `GALLERIES` table
2024-02-26 17:54:21 +08:00
FooIbar
594f9412e3
Ignore leading zeros when sorting archive entries
2024-02-26 12:44:48 +08:00
Vladimir Dostoyevskiy and GG Bond
7674f6a0f7
Refactor Image with coil Interceptor ( #791 )
...
* CropBorderInterceptor
* TooLargeBitmapInterceptor
* Refine
* Take Foolbar's code
* May fail if the image is too large
* Fixup
* Fixup
* Refine
* Refine
* Swap CropBorderInterceptor & HardwareBitmapInterceptor
* Refine
---------
Co-authored-by: GG Bond <whatever@tagkong.com >
2024-02-26 03:49:40 +00:00
Vladimir Dostoyevskiy and GG Bond
aea6fbf4ab
Anyhow for parser ( #788 )
...
* Use anyhow for parser
Signed-off-by: GG Bond <whatever@tagkong.com >
* Refine
Signed-off-by: GG Bond <whatever@tagkong.com >
---------
Signed-off-by: GG Bond <whatever@tagkong.com >
Co-authored-by: GG Bond <whatever@tagkong.com >
2024-02-25 23:58:33 +08:00
GG Bond
962f9bfff5
Fuck off silly error handling
...
Signed-off-by: GG Bond <whatever@tagkong.com >
2024-02-25 23:04:35 +08:00
GG Bond
60532e2622
Move sha1 to mod hash, use anyhow
...
Signed-off-by: GG Bond <whatever@tagkong.com >
2024-02-25 23:04:35 +08:00
FooIbar
5c7a834342
Treat download as finished if archive file exists
2024-02-25 21:24:08 +08:00
FooIbar
ca940080a9
Move checked category filter cards to first
2024-02-25 19:39:16 +08:00
Vladimir Dostoyevskiy
2273dd541a
Enable simd ( #783 )
...
* Enable simd
* Update CMakeLists.txt
* Update CMakeLists.txt
* Update CMakeLists.txt
* Update CMakeLists.txt
2024-02-25 07:34:17 +00:00
Vladimir Dostoyevskiy and GG Bond
422062226d
Move to rust sha1 impl ( #782 )
...
* Move to rust sha1 impl
* Use onstack buffer
Signed-off-by: GG Bond <whatever@tagkong.com >
---------
Signed-off-by: GG Bond <whatever@tagkong.com >
Co-authored-by: GG Bond <whatever@tagkong.com >
2024-02-25 14:07:32 +08:00
FooIbar
6a6da6f059
Move sha1 digest calculation to native function ( #781 )
...
`kotlinx-io` has removed hash functions API.
2024-02-25 00:15:34 +08:00
GG Bond
4cbb0eca4f
launchInVM
2024-02-24 22:29:41 +08:00
GG Bond
ebb3eb1ab3
Simplify EhEngine.getPreviewList
2024-02-24 22:29:41 +08:00
GG Bond
ebf645acaf
Refine naming
2024-02-24 22:29:41 +08:00
GG Bond
ec787ebde2
Aggressively fetch in viewModelScope
2024-02-24 22:29:41 +08:00