Dude so hot
836b1841e3
Add safety hint for with_bitmap_content
...
Signed-off-by: Dude so hot <djohn@fbi.gov >
2024-09-14 20:08:51 +08:00
Dude so hot
d37f4580a9
Rename to avoid clash
...
Signed-off-by: Dude so hot <djohn@fbi.gov >
2024-09-14 20:08:51 +08:00
Dude so hot
70fc964b4d
Fold get_bitmap_handle
...
Signed-off-by: Dude so hot <djohn@fbi.gov >
2024-09-14 20:08:51 +08:00
Dude so hot
c3c5fbfc79
Extract with_bitmap_content
...
Signed-off-by: Dude so hot <djohn@fbi.gov >
2024-09-14 20:08:51 +08:00
Dude so hot
04103f9280
Extract detect_image_ad
...
Signed-off-by: Dude so hot <djohn@fbi.gov >
2024-09-14 20:08:51 +08:00
Dude so hot
69370efcf5
Modularize QrCode
...
Signed-off-by: Dude so hot <djohn@fbi.gov >
2024-09-14 20:08:51 +08:00
renovate[bot] and Dude so hot
f0d3b0c8ae
Misc updates ( #1629 )
...
* Respect Arch's ndk location
* Don't spam in debug build
* Cleanup
* Revert "Cleanup"
This reverts commit 45b9d76dd363aa1fd3d58b5102b68649028e313a.
* Revert "Respect Arch's ndk location"
This reverts commit 3fd773422d3ae440a6466e2fa161a45018fd8ed7.
* Respect Arch ndk location
---------
Co-authored-by: Dude so hot <djohn@fbi.gov >
2024-09-14 10:45:36 +00:00
FooIbar
370c485048
Update NDK to r27b and address deprecation
2024-09-14 17:07:04 +08:00
FooIbar
7e4c910cd7
Fix blocked image placeholder content scale
2024-09-14 16:06:09 +08:00
renovate[bot]
e8c1c80ce5
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-android to v1.9.0
2024-09-13 16:20:18 +00:00
0d55f319c9
Fuckoff External Ads ( #1617 )
...
* Add Rust implementation to detect QRCode from bitmap
* Add QRCodeInterceptor Framework
* Let image take hasQRCode info
* Keep ReaderPage index internal
* Move imageCache to use ReaderPage as key
* Make PageLoader size & pages internal
* Refine
* Kill entry if QRCode
* Rewrite request to respect index mapping
* Debug: enable by default
* Fix crash
* Fixup
* Fix identity
* Revert to lruCache to avoid crash
* Fixup
* Clippy check for android only
* Fixup
* Resolve clippy
* Switch
* Apply switch
* Restart pageloader restore pages
* Cleanup
* Cleanup
Signed-off-by: Dude so hot <djohn@fbi.gov >
* let it inference
Signed-off-by: Dude so hot <djohn@fbi.gov >
* Don't detect border for ads
* Make coil interceptor runs in `Dispatchers.Default`
* Revert "Restart pageloader restore pages"
This reverts commit 8fd02fb7d9c677c119df72a767a6079f1899dc31.
* Revert drop page changes
* Use backGround color painter for ads
* Only check ads for tags contains extraneous ads
* Only check ads for head 5 images || tail 10 images
* Move strip ADs switch to AdvancedScreen
* Pick placeholder
* Show Placeholder
* Don't try to extract & decode
Signed-off-by: Dude so hot <djohn@fbi.gov >
* cleanup
Signed-off-by: Dude so hot <djohn@fbi.gov >
* Naming
* Naming
* Naming
* Naming
* For ArchivePageLoader as well
* Hint
* Fix flicker
* Refine
* Naming
* QR -> Qr
* Naming
* QR -> Qr
* Naming
* Refine
* Revert
* Remove header check
* Allow show ads
* Adjust
* Refine
* Revert "Don't try to extract & decode"
This reverts commit f35ef46f6ffc81485cf0f4c646ed79e524c29d32.
Signed-off-by: Dude so hot <djohn@fbi.gov >
* be strict
Signed-off-by: Dude so hot <djohn@fbi.gov >
* Just Extract, don't decode
* Refine
* Refine placeholder
---------
Signed-off-by: Dude so hot <djohn@fbi.gov >
Co-authored-by: Dude so hot <djohn@fbi.gov >
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com >
2024-09-13 16:10:05 +00:00
FooIbar
42ed51094e
Temporarily disable shared element transitions ( #1621 )
2024-09-13 12:10:26 +08:00
renovate[bot]
84c3fee5da
Update dependency sh.calvin.reorderable:reorderable to v2.4.0-beta01
2024-09-13 00:33:59 +00:00
renovate[bot]
b3af2c9481
Update AGP to v8.8.0-alpha02
2024-09-12 22:42:21 +00:00
renovate[bot]
33cab186fd
Update dependency com.squareup.okio:okio-jvm to v3.9.1
2024-09-12 22:40:33 +00:00
FooIbar
e3f52412ee
Replace custom user agent with desktop site option
2024-09-12 20:22:54 +08:00
080810c707
Update dependency io.ktor:ktor-client-core to v3.0.0-rc-1 ( #1424 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <99822064+revonateB0T@users.noreply.github.com >
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com >
2024-09-10 01:22:52 +00:00
renovate[bot]
964e827cbe
Update AGP to v8.8.0-alpha01
2024-09-10 01:10:26 +00:00
FooIbar
cae02acfc4
Fix cosplayer tag translation in download label
2024-09-10 06:11:25 +08:00
FooIbar
31ce4eac92
Update description for IP-based image limit
2024-09-09 22:13:49 +08:00
renovate[bot]
bd5bd1e571
Implement Shared Element Transition Connector Framework ( #1614 )
...
undefined
2024-09-09 21:46:07 +08:00
renovate[bot]
2b4a6dc57a
Update dependency gradle to v8.10.1
2024-09-09 10:25:31 +00:00
FooIbar
68932731b9
Fix gallery detail losing scroll position
2024-09-09 18:14:48 +08:00
renovate[bot]
aab7ba0d53
Lock file maintenance
2024-09-09 01:22:24 +00:00
renovate[bot]
59bf4f2702
Update compose.destinations to v2.1.0-beta12
2024-09-08 22:47:54 +00:00
FooIbar
e0e4b739f9
Add key and contentType for gallery detail
2024-09-08 22:04:12 +08:00
FooIbar
21d6b3bbb8
[no ci] Fix renovate config
2024-09-07 18:13:20 +08:00
FooIbar
dae5d67515
[no ci] Fix renovate config
2024-09-07 17:59:56 +08:00
FooIbar
a6a814bbbb
[no ci] Update renovate config
2024-09-07 16:27:23 +08:00
FooIbar
0b0555af9d
Use singleton empty WindowInsets
2024-09-07 16:13:54 +08:00
FooIbar
6e0d77a8ab
Fix unfinished files being considered downloaded
2024-09-07 16:13:40 +08:00
FooIbar
5c06a69c8a
Revert "Update agp to v8.7.0-beta01"
...
This reverts commit 63ec1aa217 .
2024-09-06 14:25:38 +08:00
FooIbar
188a236a90
Fix reader padding and progress indicator theme
2024-09-06 10:00:21 +08:00
renovate[bot]
63ec1aa217
Update agp to v8.7.0-beta01
2024-09-05 21:38:21 +00:00
renovate[bot]
829316d8b9
Update dependency com.google.devtools.ksp to v2.0.20-1.0.25
2024-09-05 21:36:55 +00:00
renovate[bot]
337739fdad
Update dependency androidx.profileinstaller:profileinstaller to v1.4.0-rc01
2024-09-05 14:44:41 +00:00
FooIbar
f144ac701d
Refine BitmapPainter
2024-09-05 22:36:19 +08:00
FooIbar
9c9b8b74cd
Fix crash on random button click with empty list
2024-09-05 20:53:00 +08:00
renovate[bot]
154c7f3710
Update dependency com.google.accompanist:accompanist-drawablepainter to v0.36.0
2024-09-05 03:38:28 +00:00
renovate[bot]
d3308bc987
Update dependency androidx.activity:activity-compose to v1.10.0-alpha02
2024-09-05 01:56:06 +00:00
renovate[bot]
04d9ee57d7
Update dependency androidx.core:core-splashscreen to v1.2.0-alpha02
2024-09-05 01:45:16 +00:00
FooIbar
f3eecf18fb
Switch to official Compose alpha BOM
...
This reverts commit c76440f167 .
2024-09-05 09:45:04 +08:00
renovate[bot]
6591495d2d
Update dependency androidx.work:work-runtime to v2.10.0-alpha03
2024-09-05 01:43:42 +00:00
renovate[bot]
2497835628
Update dependency androidx.constraintlayout:constraintlayout-compose to v1.1.0-beta01
2024-09-04 22:35:38 +00:00
renovate[bot]
8fad9b2abe
Update androidx.lifecycle to v2.9.0-alpha02
2024-09-04 22:34:46 +00:00
renovate[bot]
fdd0ec9fd2
Update dependency com.android.tools:desugar_jdk_libs_nio to v2.1.2
2024-09-04 10:52:07 +00:00
FooIbar
1219ff99ff
Reset page state on page loader restart
2024-09-03 19:12:01 +08:00
FooIbar
c60b14998a
Fix crash when drawing > 100 MB bitmaps
2024-09-03 19:03:54 +08:00
renovate[bot]
380554bd19
Lock file maintenance
2024-09-02 01:56:54 +00:00
FooIbar
2b969030da
Fix recent download label can't be set to null
...
This reverts commit 822a461acd .
2024-09-01 20:56:01 +08:00