arkon
efabe801be
Refactor chapter tracking logic
...
Could probably call this if we ever make it update tracking on manually
marking chapters as read.
2023-07-10 17:13:58 -04:00
arkon
1e3d9a00f2
Handle chapter read status in correct order
...
Fixes #9687
2023-07-09 09:54:36 -04:00
arkon
226272f686
Refactor reader progress/history logic
2023-07-08 18:05:00 -04:00
arkon
16cbcecd99
Fix download ahead
...
Fixes #9669
2023-07-08 17:56:15 -04:00
arkon
f8cf3db4a4
Allow download ahead even if entry isn't favorited
2023-07-08 17:46:48 -04:00
arkon
6fe5e6e21b
Save reader progress on every page change
...
Fixes #9668
Could probably refactor this a bit more, but the reader view model stuff is a mess in general anyway.
2023-07-05 18:57:57 -04:00
arkon
bb8f3c63f1
Remove usage of savedInstanceState for storing reader menu visibility state
2023-07-01 12:47:20 -04:00
arkon
44cc6f11c7
Fix crash when tapping reader in long strip mode before RecyclerView is created
2023-07-01 10:36:46 -04:00
arkon
bae391c2c1
Replace deprecated ProgressDialog
...
Fixes #8223
2023-07-01 10:36:20 -04:00
LagradOst
d99f4697e8
Fixed scrolling on the background using long strip ( #9654 )
...
Update WebtoonFrame.kt
2023-06-30 21:56:35 -04:00
Denny Rodrigues do Carmo
ee684cbef5
Fix download ahead while reading functionality ( #9640 )
...
Correct condition for downloading next chapter
2023-06-25 14:18:54 -04:00
arkon
fe82cdb9c8
Migrate ReaderColorFilterSettings to Compose
...
It'll eventually be a tab with the other settings again once the other tabs are also
migrated over so it's just a single Compose sheet.
2023-06-24 12:51:10 -04:00
arkon
f344831d58
Use our own translation for "OK"
...
I missed this in the PR that it came with, but I guess it'll be useful if we go multiplatform.
2023-06-24 10:38:34 -04:00
arkon
f2b0d74b4c
Migrate ReaderPageSheet to Compose
2023-06-23 23:17:47 -04:00
Ivan Iskandar
740e370465
Bump compile SDK version 34 ( #9625 )
2023-06-22 14:20:12 -04:00
arkon
e323f3c25a
Don't update last page read/read state of chapter if Incognito Mode is enabled
...
Actually closes #7228 , which I forgot was about history more than trackers.
2023-06-13 19:30:02 -04:00
arkon
9766399539
Don't update trackers after reading a chapter if Incognito Mode is enabled
...
Closes #7228
2023-06-13 18:51:07 -04:00
Simon
dddba7bb6f
Filter out non-downloaded chapters in reader when Downloaded Only is enabled ( #9568 )
...
* FIxed Issue #5463 - DownloadedOnly Bug
* Changes according to Feedback
* Changes according to Feedback
---------
Co-authored-by: AlphiGhost <71730726+AlphiGhost@users.noreply.github.com >
2023-06-10 12:48:15 -04:00
arkon
841f80f935
Add share menu item in reader
...
Closes #9510
2023-06-09 22:52:49 -04:00
Ivan Iskandar
39e4568460
ReaderProgressIndicator: Convert to Compose ( #9574 )
2023-06-03 13:11:41 -04:00
arkon
ed5a56be60
Set reader chapter name to marquee if too long
...
Closes #7159
2023-05-27 19:15:11 -04:00
arkon
46efd4c134
Fix some crashes
2023-05-27 09:53:01 -04:00
arkon
6f59c6c6bb
Revert attempts to read archives to cache first
...
Issues:
- Apache implementation relies on methods unavailable on lower Android API levels
- Using input stream implementation doesn't seem to read some files properly, but using
ZipFile implementation still requires reading the entire thing into memory
2023-05-07 12:03:58 -04:00
Ivan Iskandar
d36cf5ce15
Chapter transition tweaks ( #9470 )
...
* Chapter transition tweaks
* Chapter transition cleanups
2023-05-07 10:08:33 -04:00
arkon
9a10656bf0
Migrate reader slider and next/prev buttons to Compose
2023-05-03 17:14:11 -04:00
arkon
3c79777e66
Migrate PageIndicatorTextView to Compose
...
Probably closes #7798
2023-05-03 16:18:25 -04:00
arkon
c623258e8c
Try Apache implementation of ZipFile instead
...
Docs: https://commons.apache.org/proper/commons-compress/
Related StackOverflow post: https://stackoverflow.com/a/54236244/4421500
Related to #9438
2023-05-03 14:00:33 -04:00
arkon
9339ea4196
Process chapter duplicates after sorting
...
Closes #9255 , sort of. The example is a bad edge case though, where chapter numbers are repeated across versions,
so realistically only the first 113 will appear but the later 113(s) won't despite being "different". Those realistically
should be in different manga entries, not all mixed together, so this is just a crappy source.
2023-04-28 16:01:14 -04:00
arkon
20bec66a9d
Handle archives with nested directories properly
...
Closes #9389
2023-04-25 22:07:34 -04:00
Ken Swenson
3ce9a9ff97
Double tap zoom toggle ( #9384 )
...
* Double tap zoom toggle
Implements a toggle that allows users to disable double tap zoom including QuickScaling for webtoons. Partially resolves #4145
* Update i18n/src/main/res/values/strings.xml
---------
Co-authored-by: arkon <arkon@users.noreply.github.com >
2023-04-25 18:06:49 -04:00
arkon
44619febd3
Load ZIP file contents to cache ( #9381 )
...
* Extract downloaded archives to tmp folder when loading for viewing
* Generate sequence of entries from ZipInputStream instead of loading entire ZipFile
2023-04-23 11:59:58 -04:00
arkon
418e6a8b3a
Make loader implementation classes internal
2023-04-23 10:11:26 -04:00
arkon
67b4e53a58
Minor cleanup
2023-04-23 10:11:26 -04:00
arkon
e23cc8f83a
Hide beta split tall images setting from reader setting sheet for release builds
...
Closes #9358
2023-04-22 16:33:41 -04:00
arkon
0b125b7106
Use Compose for reader transition chapter info ( #9373 )
2023-04-22 16:33:36 -04:00
arkon
26f3995595
Consolidate missing chapters functions to domain module and add tests
2023-04-22 11:34:51 -04:00
arkon
add228407f
Remove abstract TabeedBottomSheetDialog class
2023-04-19 22:43:36 -04:00
Trace
4816b4b53a
fix: skip duplicate chapters on download ahead if option to skip duplicates is enabled ( #9334 )
...
* fix: skip duplicate chapters on download ahead if option is enabled
* fix: Use a function to filter duplicates
2023-04-15 09:34:02 -04:00
arkon
776d36caf1
Save current chapter progress when navigating to adjacent chapters
...
Fixes #9295
2023-04-05 22:29:56 -04:00
RS156
274218cf22
Make center zoom start vertically centered too ( #8849 )
...
Update ReaderPageImageView.kt
"true center" Zoom start position #8747 .
Changed zoom position to get true center value.
2023-04-01 14:52:15 -04:00
arkon
be54b8862e
Refactor away some unnecessary lambda expressions
2023-03-26 13:27:31 -04:00
arkon
1986042277
Skip POST_NOTIFICATIONS permission check for now
...
Fixes #9265
2023-03-26 12:34:32 -04:00
Two-Ai
35d381144d
Cleanup Preference.asHotFlow() ( #9257 )
...
* Drop duplicate initial call in Preference.asHotFlow
Preference.changes() always starts by returning the current value of
the preference, so asHotFlow calls block twice on the initial value.
Possible breaking change: As implemented, asHotFlow ran block(get())
before returning the flow. After this change, the first call to block
will run within the flow collection. This might cause concurrency
issues if the flow collection is late to execute.
* Inline Preference.asHotFlow
The Preference.changes().onEach().launchIn() pattern is used widely,
so the asHotFlow extension method is redundant.
2023-03-26 11:52:54 -04:00
arkon
8d7a7919a9
Add TODO to default to 32-bit color at some point
...
Originally proposed in #8959
2023-03-24 22:52:18 -04:00
arkon
953720472f
Add "Rotate wide pages to fit" setting for paged reader
...
Originally authored in #7983
Co-authored-by: timothyng-164 <timothyng-164@users.noreply.github.com >
2023-03-24 22:49:35 -04:00
arkon
cb4699a5bb
Bump dependencies
2023-03-22 22:58:42 -04:00
arkon
3cca460282
Misc cleanup
2023-03-19 22:38:14 -04:00
arkon
bebd4be43d
Move more things to domain/data modules
2023-03-07 22:38:02 -05:00
arkon
ad4912803b
Refactor SourceManager/StubSource to domain module
2023-03-05 12:38:31 -05:00
arkon
f96f0c5889
Move some preferences into domain module
2023-03-05 12:11:47 -05:00