Commit Graph

2718 Commits

Author SHA1 Message Date
Jays2Kings
40a9b2c421 Fixes to theme changes, and other page loading in recents 2021-04-07 03:50:25 -04:00
Jays2Kings
3c10e7975b Remocing ripple on recents header selection
and showing full white when selected
2021-04-07 02:48:13 -04:00
Jays2Kings
962877ff08 Fix recents history not showing next chapter 2021-04-07 02:47:50 -04:00
arkon
02e483f853 Align filter spinners 2021-04-07 01:42:55 -04:00
Jays2Kings
74826bc51b Add Reader Page Preload option
Based on jobobby04@68bfba4

Closes #544

Co-Authored-By: jobobby04 <17078382+jobobby04@users.noreply.github.com>
2021-04-07 01:41:05 -04:00
Jays2Kings
9eaea6507d Reader Smart BG no longer does gradient backgrounds in landscape 2021-04-07 00:34:36 -04:00
Jays2Kings
c68053d74c Adding dynamic shortcuts populated with recent manga
using the logic for recents to populate this list

To Carlos: I'm sorry I couldn't help it
2021-04-07 00:28:14 -04:00
Jays2Kings
53c04c7084 Cleanup History/Updates Controller 2021-04-06 22:20:08 -04:00
Jays2Kings
f264a69626 Refactoring RecentMangaAdapter + removing recents header while searching 2021-04-06 21:51:50 -04:00
Jays2Kings
0545780ae9 Recents Options
*Show Downloads on all, unread, or none of the items
*Show manga title first
*Show/Hide Reset History Button
*Show read chapters in Grouped/All
2021-04-06 21:36:30 -04:00
Jays2Kings
3492117cb1 Fix material spinner view popup not changing the selection for enum prefs 2021-04-06 21:24:34 -04:00
Jays2Kings
3956a4b2dc Fix Recent manga button layout spacing 2021-04-06 21:23:29 -04:00
Jays2Kings
ddd2ebf286 Fix warnings in manga list item xml 2021-04-06 20:55:50 -04:00
Jays2Kings
bb31a16190 Add button to remove reading history in recents
As an alternative to long press (which in another commit can be removed)
2021-04-06 18:14:34 -04:00
Jays2Kings
0c66d3b8b6 UI Revamp of Recents
*Now Endless scrolling in ungrouped/history/updates
*Removed going to history/updates controller in grouped (will later be removed entirely)
*Always showing a header to switch modes, instead of using a filter button (which will later be replaced
2021-04-06 17:06:22 -04:00
Jays2Kings
2d10680fd9 Using set categories sheet to bulk move in library 2021-04-06 12:25:56 -04:00
Jays2Kings
5868ca3197 Fixes to bottom sheet in browse
same scroll behavior as the set categories sheet: it will not collapse the recycler when reaching the top of the list. Only when swiping down after being at the top of the list will it be able to scroll away

Also fixing appbar elevation when returning to browse controller
2021-04-05 23:10:42 -04:00
Jays2Kings
f724f66e66 Only hide start readin if badge is set to off
No longer hiding if unread badge is off
2021-04-05 22:27:32 -04:00
Jays2Kings
4ece78fc20 Fixed #693
Which because i'm a dum dum implentmented it different from upstream

...but this should also make swiping to the next chapter match the reader mode
2021-04-05 22:21:48 -04:00
Jays2Kings
b447b61a3e Add toast when theres no next/previous chapter 2021-04-05 22:15:52 -04:00
Jays2Kings
2637bcffa5 Fix glitchy animation when first showing reader nav bar 2021-04-05 21:55:24 -04:00
Jays2Kings
6edc15683e Fix RGB filter sliders being disabled on start 2021-04-05 21:52:58 -04:00
Jays2Kings
8c6f3dc14e Fix nav overlay colors 2021-04-05 21:52:37 -04:00
Jays2Kings
7fa8162e5b Separating "Check for updates" button + fixing about library + more about sites
Twitter/Extensions added from upstream

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-05 21:52:10 -04:00
Jays2Kings
0e62516777 Changing Add to/Change in library dialog to a bottom sheet
I just don't get tired of them.

This also has a button to add a new category

Also updating the snackbar when adding to library to show a "change" button to update the categories. In case you have a default category set
2021-04-05 21:07:59 -04:00
Jays2Kings
6d6766a86a
Double pages (#699)
* Start of dual pages

* Fixes to dual pages + added button to shift

Next to add a button to get out of this nightmare

* Adding preference to truly support on and off

* Set double pages correctly for L2R reading mode

* Hide shift double page in single page mode

also fix shift into or out of double pages not going to right page

* Shift page back on loading a new chapter

* Fix back shift when reaching near end of chapter with shifted pages

* Fix chapters not being marked as read when last pages are doubled

* more fixes

* change menu icon and verbage

* Fixed going to previous/next chapter when turning on/off double shift sometimes

* Fix shift icon for double page in R2L

* Adding double page as option in reader sheet

* Adding saving/share/setting cover for second page

* Add back page indicator

* RTL language support for current page in double mode

* Changing to double page always moves the current page to first slot

Also fix bad snap back from single to double or vice versa

* Reset shift icon when going to a new chapter

* Add Double pages to reader settings

* Add padding to current/total pages text

since it gets pretty long with double digits in double pages mode

* Option for automatic single/double layout based on orientation

With option to change mid read

* More fixes

* Lotta reworking to make this work

Lotta reworking to make this work

Seriously a lot of reworking to make this work

* Cleanup + Some documentation

Because I won't "know my own code"

I genuinely do not know what I just coded

* Swapped around icons for double page in chapter sheet bar

Since it was confusing even me

* Fix shifting not updating the ui, nor shifting back to the right page

* Fix changing chapters

* Fixed Prev Chapter transition page jumping back 1

* Fixed progress spinner for single page loading

* Fix the case of a second page shifting for full width while double shift is on

It would unshift the pages in this case, requiring another shift back

If this sounds confusing or complex, it's because it is

Also clean up

* Update Initial dual page bg to match reader bg theme

* More cleanup

* More cleanup + docs + refactoring

* String update

* more cleanup

* Update toolbar ripple based if the menu item is visible

* Fix more issues with shifting + next chapter's first page being a double

* Cleanup ChapterTransision Checks

* Always run shifting logic

* Even more optimizing

which hopefully didnt break something (prolly did)

(spoilers it did I had to undo this local commit)
(more spoilers it still will break again)

* Fix Retry in double mode

* Set gifs as fullpages

* Fix going from automatic to single/double page layout

* More cleanup, more comments

* Fix changing page layout when on a transition page for a manga with a single chapter

The edge cases you can find....man

* Restore shifted pages on activity recrreation

* Adding a "beta" tag to page layout

IMO it's absolutely solid and release candidate ready, but you can get away with so much by calling something a "beta" or an "alpha"
2021-04-05 14:55:22 -04:00
Jays2Kings
4e4f9b339f Some cleanup in the downloads cache and disk util 2021-04-04 12:55:37 -04:00
Jays2Kings
cb025624eb Fix blank scanlators showing a dot in manga details 2021-04-04 12:54:35 -04:00
Jays2Kings
1f707141a6 Fix settings tracking crash 2021-04-02 21:44:01 -04:00
Jays2Kings
c43d5f01fa Collaspe chapter sheet when touching outside of chapter sheet
Which fixes the wonky logic when switching chapters in it
2021-04-02 00:32:29 -04:00
Jays2Kings
008753e7e4 Fix being able to bookmark a chapter by tapping on the invisible area under the reader bar
As in when the chapter sheet is collapsed
2021-04-01 22:58:30 -04:00
Jays2Kings
f74fe7ecbf Removing logic for dragging chapter nav with chapter sheet
Swiping up still expands it but trying to expand with it was too hacky and wonky
2021-04-01 16:15:33 -04:00
Jays2Kings
004b596671 Fix Browse sources padding 2021-03-31 17:36:52 -04:00
Jays2Kings
a830e0ccee fix tapping on ext settings/install 2021-03-31 17:07:41 -04:00
Jays2Kings
7be208d630 Fix padding for exts/migration sheet 2021-03-31 16:37:55 -04:00
Jays2Kings
214a4d2e5a Removing progress dialog in reader
still needs some adjustments
2021-03-31 16:31:07 -04:00
Jays2Kings
241280ed02 Update ReaderNavGestureDetector.kt 2021-03-31 16:29:15 -04:00
Jays2Kings
965af17a2a Fix browse scrolling back to top
same with extensions + migrations
2021-03-31 16:28:53 -04:00
Jays2Kings
f0fb7b3d49 Fix downloads scroll issue at the bottom
Fixes #696
2021-03-31 14:06:15 -04:00
Jays2Kings
48d04e9008 One last fix for the reader nav 2021-03-31 02:16:03 -04:00
Jays2Kings
23702bfd66 More fixes to the reader nav 2021-03-31 02:12:37 -04:00
Jays2Kings
a6a2ef6399 More updates to move the chapter bar 2021-03-30 23:32:28 -04:00
Jays2Kings
363047a2a2 Clean up ReaderChapterSheet 2021-03-30 23:00:11 -04:00
Jays2Kings
645f06c901 Reader seekbar now moves with the chapter bottom sheet 2021-03-30 22:59:06 -04:00
Jays2Kings
d0738f5b00 Fix n/p chapters strings + action for n/p chapter 2021-03-30 22:51:38 -04:00
Jays2Kings
4999231dfc Fix scroll views for tabbed bottom sheets 2021-03-30 14:24:03 -04:00
Jays2Kings
e28a12161a Allow dns_over_https to be translatable 2021-03-30 14:23:50 -04:00
Jays2Kings
538ad09754 Add button to collapse reader filters
Also adding gesture ignoring for custom brightness since its extremely close to the nav bar
2021-03-30 14:23:22 -04:00
Jays2Kings
91a5274660 Material Spinner view using check on the left side
Like a yee old build of tachij2k for category sorting
Or the menu for sorting your library is google photos
2021-03-30 12:43:32 -04:00
Jays2Kings
7796243017 Fix brightness reset when leaving filter tab 2021-03-30 02:18:32 -04:00
Jays2Kings
a1e69e7194 Adding back long tap reader sheet
Hope you missed it
2021-03-30 02:16:19 -04:00
Jays2Kings
2551024b20 Fixed #697 2021-03-30 02:14:40 -04:00
Jays2Kings
bb26e3cc92 Fix #686 2021-03-30 02:11:32 -04:00
Jays2Kings
b7b91f4230 Move Reader settings button to bottom settings sheet 2021-03-30 02:03:01 -04:00
Jays2Kings
21343225e3 Split Reader Bar
Taken from Neko

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
2021-03-30 01:15:38 -04:00
Jays2Kings
abea51c805 Removing kotlin extensions + adding jetbrains kotlin
also bumping up to kotlin 1.4.20 and using jsetbrains kotlin for parcelize (needed for mass migration)

With this we can close #684 because we are TRULY finished
2021-03-29 23:50:46 -04:00
Jays2Kings
419e4832ea Binding Migration Controllers
with this, we are DONE with synthetic.

I am free.....

after one last commit
2021-03-29 23:30:31 -04:00
Jays2Kings
46287f88a1 Binding Sub Recent Controller
Actually not as bad, but still might remove one day
2021-03-29 23:29:53 -04:00
Jays2Kings
bd136696b0 Binding Remaining Search Controllers and ExtensionDetailsController 2021-03-29 23:24:09 -04:00
Jays2Kings
811d7d3120 Binding BrowseSourceController 2021-03-29 23:19:27 -04:00
Jays2Kings
7772ecf897 Binding LoginDialogPreference 2021-03-29 23:15:16 -04:00
Jays2Kings
d4addb2e13 Binding WebViewActivity + LoginPreference
when does this end
2021-03-29 23:13:12 -04:00
Jays2Kings
ef737dd40b Binding Empty View + Remove DialogCheckboxView 2021-03-29 23:07:36 -04:00
Jays2Kings
89f4ad393b Binding Holders
I'm in absolute pain
2021-03-29 23:07:05 -04:00
Jays2Kings
ea3ea165aa Binding Sheets
And you know what being honest,
2021-03-29 22:22:54 -04:00
Jays2Kings
aba58f70c4 Binding Dialogs
I wish I could see the light at the end of the tunnel
2021-03-29 21:46:54 -04:00
Jays2Kings
5845912aaf Binding used in controller extensions 2021-03-29 20:20:55 -04:00
Jays2Kings
3c2bd8c661 Binding Category stuff 2021-03-29 20:17:17 -04:00
Jays2Kings
fe7c235110 Fix not being able to scroll sometimes on extensions 2021-03-29 19:43:57 -04:00
Jays2Kings
474e125d59 Rename library controller xml 2021-03-29 18:23:02 -04:00
Jays2Kings
50728932c8 Refactor Base Controller inflate method 2021-03-29 18:21:57 -04:00
Jays2Kings
31c3e9cc9b Binding MigrationProcessHolder 2021-03-29 17:26:19 -04:00
Jays2Kings
fee50ce84d Cleanup categories item xml 2021-03-29 17:26:09 -04:00
Jays2Kings
96aa91e75d Binding for Browse Section 2021-03-29 17:25:10 -04:00
Jays2Kings
c92b1ce956 Remove id in browse controller
Can't use until its binded
2021-03-29 15:40:32 -04:00
Jays2Kings
cd2b348719 Fix crash on recents when using grouped 2021-03-29 15:40:14 -04:00
Jays2Kings
2e563d7d0c Rename SourceController and title to Browse 2021-03-29 14:47:42 -04:00
Jays2Kings
632d2759cb More binding 2021-03-29 03:24:58 -04:00
Jays2Kings
e2362a2f72 Truly binded all library views 2021-03-29 03:15:03 -04:00
Jays2Kings
0a36245177 Binding for Recents 2021-03-29 02:55:40 -04:00
Jays2Kings
7b91a8a23b Binding Reader Activity and reader view
i want to die.
2021-03-29 02:35:01 -04:00
Jays2Kings
57abbd6eda Reader Spinner Binding + rename
to MaterialSpinnerView (sorry arkon)
2021-03-29 02:14:47 -04:00
Jays2Kings
028ed3ea1e More binding for library (and some reader) views 2021-03-29 01:50:10 -04:00
Jays2Kings
e5405ac381 Binding for the other manga details views 2021-03-29 00:36:08 -04:00
Jays2Kings
fa01471728 Binding for manga details 2021-03-28 23:01:53 -04:00
Jays2Kings
bde20b8135 Converting main activity to binding 2021-03-28 22:24:52 -04:00
Jays2Kings
63c8775854 Binding for everything in library but activity 2021-03-28 21:41:22 -04:00
Jays2Kings
ccb7dbb714 Starting work on viewbinding 2021-03-28 21:17:20 -04:00
Jozef Hollý
bf7d8d73a0
Weblate translations (#689)
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jays2Kings <jays2kings@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: SebiAi <sebastian.ai@gmx.at>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ar/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/bg/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/bn/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ca/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cs/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/el/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/es/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fa/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/gl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hu/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/id/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/it/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ja/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ko/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/lv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ro/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ru/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sc/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ta/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/th/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/tr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/uk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/vi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hant/
Translation: Tachiyomi/Tachiyomi J2K

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Jays2Kings <jays2kings@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: SebiAi <sebastian.ai@gmx.at>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
2021-03-28 14:31:19 -04:00
Jays2Kings
f28c2fcb99 Use CoordinatorLayout for manga details 2021-03-28 12:36:38 -04:00
Jays2Kings
3182e13a70 fixing reader pref dropdown text constraint 2021-03-27 21:43:00 -04:00
Jays2Kings
0247c93972 Move reader prefernce caret to the end of view
Based on tachiyomiorg@c4b975b7

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-27 21:42:01 -04:00
Jays2Kings
5c4a6ef8e0 Adding prompt for marking all as unread 2021-03-27 21:13:00 -04:00
Jays2Kings
697e1460dc Update the start padding a bit for last commit 2021-03-27 21:03:11 -04:00
Jays2Kings
477db48b61 actually add ripple effect on the reader toolbar
I was pretty sure I committed this in c26c38ca3 but here we are

It was just square ripple at first, but adding a new drawable with padding
2021-03-27 20:32:42 -04:00
Jays2Kings
ebb33025f1 Fix certain settings summaries 2021-03-27 19:07:29 -04:00
Jays2Kings
38e304d138 Remove preference title from search setting breadcrumb
To not highlight twice
2021-03-27 18:54:48 -04:00
Jays2Kings
4e9a1721d4 Fix toolbar not staying hidden when autohide bottom is disabled 2021-03-27 18:39:22 -04:00
Jays2Kings
2c6156c061 Fix Starting screen summary not showing correct value when using last used 2021-03-27 18:23:08 -04:00
Jays2Kings
4fb120944c Fix snackbar in extension details 2021-03-27 18:02:07 -04:00