6005 Commits

Author SHA1 Message Date
LorgOn
edfd4a1e08
Merge e9b41975daaa50386f0f07a9c9b35f0cd45e66fd into c5655e8803bc32d0931657f0b7bc6afeab70feaf 2024-12-24 11:21:07 +02:00
AntsyLich
c5655e8803
Revert "Revert "Add option to always use SSIV for image decoding""
This reverts commit 1909126921ac78309f7f7c7c2aa85606611531b8
2024-12-22 02:38:12 +06:00
AntsyLich
3a100c7816
Release v0.17.1 2024-12-06 23:12:20 +06:00
MajorTanya
7f2cfb5eb2
Always use software bitmap on certain devices (#1543)
* Include Coil's broken hardware bitmap device list

Declares all listed devices as unable to use hardware bitmaps.

Might fix #1541.

* Hide Hardware Bitmap Threshold setting if unusable

This hides the setting from the UI if the user's device in on Coil's
list of devices with problematic hardware bitmap implementations.

Also moved HARDWARE_BITMAP_UNSUPPORTED into the ImageUtil as a
property for more ergonomic access across the project.

* Add missing negation

* Update CHANGELOG.md

* Update CHANGELOG.md

* Needs to be and not or

Also fix typo in CHANGELOG.md

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-12-06 21:14:18 +06:00
AntsyLich
d6dfd24548
Improve hardware bitmap threshold option
Also `spotlessApply`
2024-11-21 07:14:18 +06:00
Cuong-Tran
88aff2c77f
Fix app update error notification disappearing (#1476) 2024-11-20 20:07:34 +06:00
AntsyLich
81effea01c
Slightly tweak Preference.PreferenceItem.CustomPreference 2024-11-20 17:54:30 +06:00
AntsyLich
9aef08c333
Fix loading screen not appearing when changing query in browser screen
Fixes #1438
Closes #1441
2024-11-20 17:54:30 +06:00
AntsyLich
dcddac5daa
Add option to lower the threshold for hardware bitmaps
Closes #1436
Closes #1486
2024-11-20 17:54:29 +06:00
AntsyLich
e6d96bd348
Switch to hardware bitmap in reader only if device can handle it
Closes #1460
2024-11-20 17:18:32 +06:00
AntsyLich
1909126921
Revert "Add option to always use SSIV for image decoding"
This reverts commit bb4d9fc81a043ac4f2d0105f19c09974ae2f7201.
2024-11-17 02:51:48 +06:00
Cuong-Tran
36d5ee0763
Fix reader transition color scheme in auto background mode (#1487) 2024-11-17 02:30:48 +06:00
Cuong-Tran
9df21583dc
Fix crash after removing last category while it's active in library (#1450) 2024-11-07 20:20:27 +06:00
AntsyLich
57e6e198b8
Update dependency androidx.work:work-runtime to v2.10.0 2024-11-07 20:07:46 +06:00
AntsyLich
2f4bb7cadb
Cleanup some code 2024-11-02 21:28:43 +06:00
AntsyLich
bb4d9fc81a
Add option to always use SSIV for image decoding 2024-11-02 21:24:27 +06:00
AntsyLich
a1c6089791
Address some build warnings and cleanup (#1412) 2024-10-31 20:17:27 +06:00
AntsyLich
06efc3b25c
Fix long strip images not loading in some old devices
Fixes #1398
2024-10-31 19:19:32 +06:00
AntsyLich
f508d10ad1
Fix a rare crash when invoking "Mark previous as read" action
Closes #1421
2024-10-31 19:19:24 +06:00
MajorTanya
78f9a84b14
Some improvements to Bangumi tracker search (#1396)
In short:
- fetch & show actual summary
- fallback to "name" if "name_cn" is empty
- request larger responseGroup to get & display the summary & rating
- add type filter query param to make Bangumi filter, not us

Previously, we only displayed the "name" in the summary area and used
"name_cn" as the entry name. However, "name_cn" (Chinese name) can be
an empty string at times, resulting in an awkward looking search
result list where some, many, or even all the results have no title
displayed and only show the "name" (Japanese name) in the summary
area. This has been solved by using "name" as a fallback value should
"name_cn" be empty.

If a Chinese name is available, the original name is prepended to the
summary with the addition "作品原名:" (meaning "original series title").

By using the "responseGroup=large" query parameter, we can request
the required data we need to display the actual summary for an entry
and the entry's average rating.
The "name" is prepended to the summary contents, if any exist, so it
is still accessible for series identification if a "name_cn" exists
too and was used for the result title.

Adding the "type=1" filter query parameter means Bangumi will only
return entries of type 1 ("book") instead of all types and Mihon
needing to filter, resulting in potentially missed entry matches.
2024-10-31 01:52:18 +06:00
Lorg0n
e9b41975da fix: fixed a bug in DTO that caused a data parsing error in manga search 2024-10-30 21:05:06 +03:00
MajorTanya
ed9e13a365
Fix sporadically recurring spotless CI failure (#1407)
Somehow this specific issue keeps getting flagged by unrelated PRs'
CI runs (but only sometimes? Somehow? Other times the CI run would
succeed with no spotless issues.)

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-10-30 13:48:52 +00:00
AntsyLich
371c1432e2
Here lies "currentTab was used multiple times"
Fixes #282
2024-10-29 21:46:07 +06:00
Lorg0n
ef3369be26 fix: fixed a bug in DTO that caused a data parsing error 2024-10-28 03:11:31 +03:00
Lorg0n
4a3209267d fix: remove unused import 2024-10-27 19:49:18 +03:00
Lorg0n
e44666673f feat: changed authorization principle, removed dependence on third-party server 2024-10-27 19:44:47 +03:00
Lorg0n
f480d4cb38 ref: optimized imports and refactor code 2024-10-27 15:31:12 +03:00
Lorg0n
a8f4e63d54 ref: optimized imports and reduced the length of lines 2024-10-27 03:00:28 +03:00
Lorg0n
45cd945f7c fix: fixed a bug where the server returned a 404 error due to receiving data in HikkaApi 2024-10-27 02:25:24 +03:00
Lorg0n
6b8c2dcdc3 fix: recode the rereading logic in HikkaApi 2024-10-27 02:14:17 +03:00
Lorg0n
23a34cd3b7 fix: slightly optimised the function of string to number conversion and fixed the check 2024-10-27 01:02:16 +03:00
AntsyLich
38d5fc9160
Release v0.17.0 2024-10-26 23:37:41 +06:00
Cuong-Tran
6de06419f8
Fix app crash when removing tracked entry from tracker (#1380) 2024-10-26 20:12:34 +06:00
Roshan Varughese
fc2f339ea1
Allow completely disabling "Update tracker" snackbar on mark as read (#1374)
Also fixes #1369
2024-10-26 19:16:39 +06:00
AntsyLich
140083ee39
Update dependency com.pinterest.ktlint:ktlint-cli to v1.4.0
Co-authored-by: Mend Renovate <bot@renovateapp.com>
2024-10-26 07:40:57 +06:00
AntsyLich
df9fff60da
Cleanup Slider usage 2024-10-26 07:15:01 +06:00
Cuong-Tran
f7752a98b2
Avoid blocking call to load categories in settings (#1364) 2024-10-24 23:51:47 +06:00
Roshan Varughese
c153ac01f5
Rework Auto Track on Mark as Read (#1365) 2024-10-24 12:23:28 +00:00
Lorg0n
e332a5018e fix: corrected function names and added reread logic 2024-10-22 18:59:57 +03:00
AntsyLich
f3a2f566c8
Pass uncaught exception to default handler in GlobalExceptionHandler
Fixes #1347
2024-10-19 22:51:01 +06:00
AntsyLich
15e3f28aa3
Rework Firebase setup
Fixes #1332
Closes #1339
2024-10-19 21:22:04 +06:00
AntsyLich
3bf70b230f
Address deprecation, suggestion and spotless 2024-10-19 20:19:06 +06:00
AntsyLich
d2afbfe4ed
Change "Invalidate downloads index" to "Reindex downloads" 2024-10-19 17:06:29 +06:00
Lorg0n
41db4a5865 ref: added more specificity and removed unnecessary code in Hikka Api 2024-10-17 22:46:26 +03:00
Lorg0n
f39e947ece feat: more optimization Hikka authorization 2024-10-17 22:25:48 +03:00
Lorg0n
9eeed9f050 feat: improve Hikka authorization 2024-10-17 20:33:09 +03:00
Lorg0n
03f9ae8bb2 feat: improve Hikka authorization 2024-10-17 20:32:47 +03:00
LorgOn
32db1da753
Merge branch 'mihonapp:main' into Add-Hikka-Tracker 2024-10-17 18:42:14 +03:00
Lorg0n
06f01de4b5 feat: update AndroidManifest for auth support, modify auth-related classes, and add Hikka to tracker list 2024-10-17 17:55:18 +03:00
Lorg0n
f6d8d415cc feat: add core Hikka tracker classes and DTOs for API requests 2024-10-17 17:21:53 +03:00