Commit graph

279 commits

Author SHA1 Message Date
Jays2Kings
b707cd19fe Remove Duktape
Now that none of the official extensions are using it.

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-08-20 23:29:49 -04:00
Jays2Kings
63ca5f5525 material -> 1.7.0-beta01 2022-08-17 20:30:11 -04:00
Jays2Kings
30b4b589e0
App language change (#1370)
* Add back option to change app langauge

Courtesy of AndroidX/Appcompat
On Android 13, it uses the native methods (at least for now) Also adding locales config file to only list supported languages in android app info's setting

A bit about this for A12 and under, an app restart is needed right now when switching from LTR to RTL or vice versa, not sure if later versions of androidx app compat will change this

* stop using preference context for strings (when possible)

which fixes some of the language issues on a12 and under

* Fixes to timespanfromnow method

now respect set language

* Dont show langauge selector on android 6

it doesn't work so rip

* Filter out unsupported locales in language selector

* appcompat -> 1.6.0-beta01

* Set notifications to use app language

* Add beta tag to language

* Update ExtensionHolder.kt
2022-08-17 14:57:47 -04:00
Jays2Kings
46d5285af3 update dependiences
okhttp-> 4.10.0
kotlinSerialization -> 1.3.3
2022-07-09 17:55:32 -04:00
Jays2Kings
f7cddd25c5 JpegXL support 2022-07-05 18:13:18 -04:00
Jays2Kings
a79a3fb777 M3 Switches
With bonus logic to keep material cards the same radius
And new colors to support them because mixing and matching colors suck
2022-07-03 13:01:33 -04:00
Jays2Kings
dc404af31a lib updates
ktx -> 1.8.0
lifecycle model -> 2.5.0
annotation -> 1.4.0
2022-07-03 12:59:45 -04:00
Jays2Kings
781208d999 revert back to alpha03 of appcompat
since 04 will attempt to use sdk 33 method and can't compile with that just yet
2022-05-31 15:30:15 -04:00
Jays2Kings
96946e8277 Update dependencies
constraintlayout -> 2.1.4
firebase -> 21.0.0
appcompat -> 1.6.0-alpha04
coilVersion -> 2.1.0
2022-05-23 13:26:53 -04:00
Jays2Kings
cc9fefe4eb Revert "Revert "Add Beta flavor builds""
This reverts commit 20aa3c6e2d.
2022-05-22 22:43:49 -04:00
Jays2Kings
20aa3c6e2d Revert "Add Beta flavor builds"
This reverts commit 2040462c49.
2022-05-21 16:28:26 -04:00
Jays2Kings
2040462c49 Add Beta flavor builds
Use Beta tag instead of version check in advanced settings

Simplify beta check logic in advanced settings

new version app check fixes for beta
2022-05-21 15:24:35 -04:00
Jays2Kings
073b454342 Use AndroidX's onBackPressedDispatcher
removing the soon to be deprecated onBackPressed
2022-05-13 02:26:39 -04:00
Jays2Kings
f6ccfadf43 Update gradle to 7.2.0
Using AS Chipmunk now
2022-05-10 14:01:47 -04:00
Jays2Kings
708648361d Dependencies cleanup 2022-05-07 13:51:02 -04:00
Jays2Kings
e0bbb1a24c google material -> 1.6.0 2022-05-05 16:31:27 -04:00
Jays2Kings
42b15aa634 Remove firebase crashlytics 2022-05-04 19:41:03 -04:00
Jays2Kings
cc4c8923d7 Temporarliy disable jpeg xl
Yeah too large and since i cant split apks yet, I'll save it for next release
2022-05-04 16:44:50 -04:00
Jays2Kings
13d8a79926 remove kotson lib 2022-05-04 16:24:38 -04:00
Jays2Kings
601ca6a44c Reinstate Proguard/R8
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2022-05-04 14:49:57 -04:00
Jays2Kings
de2c7ed4e7 Fixed cropping and added jpegxl support (sadly)
apk size go BIG

closes #1236
2022-05-04 14:49:57 -04:00
Jays2Kings
bc778347fd Coil 2.x upgrade
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2022-05-02 17:07:06 -04:00
Jays2Kings
0764012b87 More gradle updates + remove tests
junrar -> 7.5.0
firebase -> 20.1.2
acra-http -> 5.9.3
java-string-similarity -> 2.0.0
com.google.guava (added)

Same as upstream, been broken for a while
2022-05-02 15:30:38 -04:00
Jays2Kings
fd1f5a4212 Gradle cleanup/upgrades
kotlinter -> 3.10.0
com.github.ben-manes.versions -> 0.42.0
google-services -> 4.3.10
okhttp -> 4.9.3
fastadapter -> 5.6.0
taptargetview -> 1.13.3
rxbinding (removed)
2022-05-02 14:57:17 -04:00
Jays2Kings
931626d3b6 remove deprecated use of -Xopt-in for -opt-in
in the span of a single release, I've changed this twice because the deprecation warning
2022-04-26 23:21:03 -04:00
Jays2Kings
85ad45e082 appcompat to 1.4.1 2022-04-26 21:10:02 -04:00
Jays2Kings
89cfd87283 use FlexibleAdapter by Arkon(TM Pending) 2022-04-26 21:10:02 -04:00
Jays2Kings
3587feb8fa Remove all usage of gson and retrofit
We made it!
2022-04-26 00:08:16 -04:00
Jays2Kings
6c14ea5654 Update preference dependencies + constraintlayout 2022-04-21 21:03:32 -04:00
Jays2Kings
e415a365b9 gradle updates - kotlin/ndk
kotlin -> 1.6.10
ndk -> 23.1.7779620

+ removal of using use-experimental for opt-in
2022-04-20 23:08:08 -04:00
Jays2Kings
c87806465f kotlinxSerialization -> 1.3.2 2022-04-20 22:39:57 -04:00
Jays2Kings
f707ed2edd Show parsed Markdown for new version info
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-04-19 22:31:09 -04:00
Jays2Kings
06b2db1f60 Split apks by architecture when building
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2022-04-19 18:46:45 -04:00
Jays2Kings
b8ff6cdd73 material to 1.5.0 2022-04-03 18:34:45 -04:00
Jays2Kings
d504f311fd update sqlite 2022-04-03 17:34:54 -04:00
Jays2Kings
39cb70d90d gradle 7.1.2 2022-04-03 16:11:07 -04:00
Jays2Kings
124b3b51ad add quickjs lib + update jsoup 2022-04-03 15:58:13 -04:00
Jays2Kings
db8028ec80 Update material to 1.5.0-rc01 2021-12-21 15:30:22 -05:00
Jays2Kings
71be4137ba Gradle updates
material -> 1.5.0-beta01
appcompat -> 1.4.0
annotation -> 1.3.0
browser -> 1.4.0
constraintlayout -> 2.1.2
2021-12-04 23:42:53 -05:00
Jays2Kings
7a5c0517d9 Add Shizuku as an option to install extensions + Allow all android versions to update all extensions
And for Shizuku this also allows auto updating extensions when using it

Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2021-10-31 02:06:01 -04:00
Jays2Kings
4d0bed2967 jumping back work-runtime-ktx to 2.6.0
wanted to see if google fixed running FGS even when not targetting a12. They didn't
2021-10-29 23:32:35 -04:00
Jays2Kings
b16d164148 Updating multiple libraries
appcompat to 1.4.0-rc01
material to 1.5.0-alpha05
core ktx to 1.7.0
work-runtime-ktx to 2.7.0
2021-10-29 01:02:07 -04:00
Jays2Kings
e93e538600 Upping androidx.lifecycle to 2.4.0-rc01 2021-10-17 04:41:52 -04:00
Jays2Kings
977332a136 Update appcompat to 1.4.0-beta01 2021-10-17 03:50:08 -04:00
Jays2Kings
671f158319 Update coil to 1.3.2 2021-10-14 01:10:17 -04:00
Jays2Kings
92658a241a update kotlinSerialization to 1.3.0 2021-10-13 21:15:08 -04:00
Jays2Kings
b85f133580 Remove rx pref library 2021-10-12 20:43:36 -04:00
Jays2Kings
4f0b96cdfc update constraintlayout to 2.1.1 2021-10-05 14:38:42 -04:00
Jays2Kings
9b0e0fcfe6
Material 3 (#988)
* use real material dialogs

* Fixes for tristate preference

* use material 1.5.0-alpha03

* Material 3 start

* More Material 3 changes

Updates to color primary for many themes
Using material dialog in more places
Instead of toolbar elevation, changing the color of the toolbar instead

* fix toolbar bg coloring

* More changes and fixes

fixed dialog width when using forced side nav

* update more color primaries

* Fix toolbar title alpha

* more updates

Updates to many fonts (still more to come)
Update to tracker dialogs to true material

* More dialogs updated

Using extensions for some old functionality in material dialog library

* Removed final use of mat dialogs

* Fully removed afollestad.material-dialogs

you will be missed tbh

* fix overflow width back to normal + bg color change for it

* Fix RTL for reader slider

* Fix RTL in general

This way I can revert back the slider changes.

thanks @arkon

* Android 12/SDK 31 Target

* restore ManageCategoryDialog's postive button action

no longer dismisses if there's errors with something

* Use disable items helper in MultiListMatPreference

* Change statelist and ripple for update button in ext page

* Update runtime-ktx and appcompat to alpha for A12 Target

* Removing hyperion as its no longer compatible with A12 target

Sorry Carlos, I never really never used it, even though its neat

Maybe if the library gets an update, but it hasn't had once in Jan

* Fix not being able to install extensions under A12 target

* Fixed status bar color from going back to extensions list from ext settings

* modernizing the action mode toolbar

* tinting overlay background with a hint of secondary

* Remove use of BuildCompat

since `isAtLeastS` will be deprecated soon enough

* Change startInstalling method in updateservice to only run on A12

* Revert dialog behavior for which category to update on swipe refresh

* Adding primaryInverse

used for snackbar action + reader progress when using a different background color from theme (i.e. yin theme with a white reader background)

* More subtle coloring of the manga details backdrop

theres still a tint but its next to unnoticeable now

* Remove colorDownloadBadge for colorTertiary

* Using more rounded indicator for tab chips

* removed randomly extra line in styles

* remove suggested_date_ string since no longer used

* Update chucker version to 3.5.2

to support a12 target

* No longer coloring the highlighted bottom nav text

* many fixes to preference dialogs

along with making the tri state pref match other choice pref dialogs

* Switch tabs style to use M3

No real change as far as i can see

* setting expedited for job

as needed for bigger job in A12

* Changing active tab colors again

changing to match other google apps (gmail, phone, photos) instead of trying to match other google apps (clock)

Also upping the brightness of colorSecondaryVariant for many themes

* Reverting back to target a11

Not worth trying to fix a12 issues with background jobs

* More appropriate colors for colorSecondaryVariant in light themes

* more updates to the active tab colors

* Using sliders + switch material for the reader color filters

Also updating the tints of switches

Will fix #1004

* Changing library badge style + increasing size of grid items

Library badge is now inside the grid, so less padding is needed for the grid item, thus its bigger now
Since its bigger now, the search toolbar is now wider to match its width

* Fix incognito badge not showing until title is showing on manga details

* revert work runtime to 2.6.0

* fix library unread badge for list mode

* fix text colors for download tooltips

* Material3 popup in webview activity

* removing more uses of MaterialComponents for M3

* update header card always show category name

* fix missing text appearance

* Cleanup SearchController

* clean up SwitchPreferenceCategory

* optimize imports of SearchController

* Use SwitchPreferenceCompat in SettingsExtensionsController

* Use of material 3 buttons in manga details library/tracking

* Option to theme manga details page buttons based on the cover

Backdrop tint color is now based on the covers dominant cover instead of the vibrant color, that is now used for the buttons

Also prefetching those colors when loading the covers from other screens

* removing stroke on the cover in details

* improvements to the navigation icon + blue theme improvements

+ styling the swipe refresh to the magna theme

* general cleanup/fixes when it comes to light status/nav bar

also general fixes to webview theme switching

* styles cleanup

* improvements to the library grid selector

* random refactoring thats honestly unrelated to this branch

im nearing the end of development for m3 now

* Details' bookmarks now themed by cover

* Use Material3 for primary buttons

* Use new mat dialog for filter scanlators sheet

* Updates to themed details refresh icon

* fix toolbar title being centered in searchactivity

* Updates to library badges

Now slightly outside of the covers again

* Global search badge updated to match library badge

* Updates to the manga details theme colors to be closer to the original suggested color

Also the backdrop tint will no longer be used as much if it makes for a bad contrast between it and the title/subtitle text

* Updates to the monet themes colorPrimaryVariant

* more updates to cover theme colors

tries to pick between dominant, vibrant, and muted to find something colorful to use

* Updated to material alpha04

With it brings:
M3 Nav Rail
Updated dialogs
Updated sheets theme

* Delete side_nav_item_selector.xml

* Update colorPrimVariant for light themes

* remove elevation in theme preview item

* various updates to imports

* Update ControllerExtensions.kt

* Fix extensions/ dl queue title not being centered

* more improvements to bestColor for covers

* Use attr for styles of textviews

+ style cleanup

* Use cross in filter scanlator groups to show its filtered

* Support delta movement of moving manga categories

Tristate to manage add/remove without removing categories categories

also some refactoring of TriStateCheckBox
closes #644

* remove stroke on category hopper

* update to details theming in light theme

* Fix some text appearances

* Fixes to text that shows when some categories are shared between selected manga

* Use Material3 style for the final remaining elements

this is slider tooltip, chips, text buttons, editText, tracker cardview

* making category hopper slightly bigger

* fixed dialog divider color for edit manga and tri state

* fixed top padding in manga category dialog

* Update dim for full cover for devices under A12

* More improvements to the logic for what text shows on the move categories button

* Fixed slider tooltip color and text size

as well as made the inactive ticks less visible

* fixed light nav bar in bottom sheets for older devices

* Fix reader nav bar colors for android 10 and below

for android 8 and below the reader nav bar is now black in light themes
also removed zhanghai.android.systemuihelper lib

* set tri checkbox background ripple to off for dialogs

* fixed misuse of textAppearanceBodySmall

* make lightStatusBar a local val in readeractivity

* when manga is in the default category, text should always say "move to" instead "add to" when change categories

* Fixed copy and logic for when trying to remove tracker while offline
2021-10-04 17:30:10 -04:00
Jays2Kings
d11506db9c remove timber mention in dependencies 2021-10-01 00:31:04 -04:00