Commit Graph

680 Commits

Author SHA1 Message Date
MCAxiaz
7f5e650796 Bug/2513 edit text preference crash (#2522)
* use themedContext for preference

* use inflater with themed context
remove icon space

* v14 preferenceThemes are deprecated
2020-01-20 18:37:42 -05:00
[pʲɵs]
c22e2e8159 Do not suppress a type system error (#2524)
This code was sort of fine when it used raw Java types, but the Kotlin
equivalent technically calls a method that takes a Nothing-typed
argument with a value that is not of type Nothing. Whether that works
depends on how lenient kotlinc is about inserting casts in bytecode.

The solution is to give the unknown type represented by a star an
explicit name by capturing it in a type variable, then cast to that type
instead of Nothing. This is guaranteed to be an unchecked, but valid,
cast.
2020-01-20 18:34:59 -05:00
arkon
98f86a44ef Add tracker logout dialog (closes #2475) 2020-01-19 17:03:11 -05:00
Jay
1b3169e0d0 Update tracking controller after logging in to Bangumi 2020-01-19 16:42:59 -05:00
arkon
5bad914411 Remove reflection to show tracking checkmark
Icon now shows up on the left, but code is less fragile.
2020-01-19 16:26:38 -05:00
arkon
ce4d75f62a Replace raster icons 2020-01-18 20:58:07 -05:00
arkon
f30622424a Add select all menu option for library category
Based on ae5ad2a9a6
2020-01-18 20:33:43 -05:00
arkon
09e7d56ff2 Move "Open in browser" option to webview only 2020-01-16 22:13:34 -05:00
arkon
5ca23b5363 Use smaller CustomTarget for shortcut creation
Same thing as Neko/Jay's fork
2020-01-16 22:13:02 -05:00
arkon
f7e70d25ea Minor cleanup 2020-01-16 21:47:46 -05:00
arkon
4338c41112 Filter library items by artist as well 2020-01-16 21:46:45 -05:00
Jays2Kings
01f9b25be2 Local genre tag searching (#2423)
Using the search bar in My Library, you can search tags for manga (ie. "Romance") or exclude (ie. "-Comedy") You can also search multiple by seperating by commas (ie. "Romance, -Comedy")

Clicking the tag in manga info from the library also performs a local serach
2020-01-16 21:45:37 -05:00
MCAxiaz
8b0458cdf6 minor reader bugs: (#2491)
- fix preload on last page for R2L reader
 - page 3 bug
2020-01-16 21:45:06 -05:00
MCAxiaz
bed978a26a force menu invalidation when expanding actionView from user interaction to properly layout menu items (#2503) 2020-01-16 21:44:22 -05:00
arkon
73fbc81067 Webview enhancements
- Pull to refresh
- Loading progress
- Share page
2020-01-16 21:43:10 -05:00
Jay
d1db9fb659 Build time now opens changelog
(cherry picked from commit 22bb3463593c060405694da39a0eb1f5ca1d6ba1)
2020-01-16 08:57:46 -05:00
arkon
f3e228e8a4
Indicate obsolete extensions (#2494)
* Indicate obsolete extensions

* Make obsolete indicators red

* Move obsolete extensions up the list

* Add base button theme for holder

* Use red button color state instead of explicit text color
2020-01-12 18:27:04 -05:00
MCAxiaz
6b5742c1ff Fix catalogue search focus automatically being removed (#2396)
Fix catalogue search focus automatically being removed
2020-01-12 15:02:21 -05:00
arkon
57595988f5 Restore transparent status bars, allow WebView app bar to scroll away 2020-01-12 11:47:26 -05:00
Jay
2d3bfa9a89 Implement long hold selection for Manga Chapters and library
Co-Authored-By: zhuoyang <zhuoyang@users.noreply.github.com>

Co-Authored-By: Jays2Kings <Jays2Kings@users.noreply.github.com>
2020-01-11 15:40:00 -05:00
arkon
e414b9edf1 Minor extension filter cleanup 2020-01-11 15:13:51 -05:00
MCAxiaz
62d3fc65e0 Filter Extensions By Language (#2275)
* add options menu item to filer extensions by languages

* resolve merge conflicts
changes per pr comments

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-01-11 15:06:54 -05:00
arkon
012b1b56aa Minor grammar fixes 2020-01-11 10:11:39 -05:00
arkon
ff999a6dda Show selected preference for "Library update order" 2020-01-11 10:11:30 -05:00
arkon
797553ce16
Convert webview into an activity (#2470)
Based on 65804ebb3a
2020-01-10 22:22:12 -05:00
arkon
745f8d32b5 Use OutlineSpan approach from CarlosEsco/Neko to avoid infinite redraws
Based on work by @arsonistAnt: 1876f850f6
2020-01-09 22:13:25 -05:00
arkon
f715478070 Revert "Remove reflection to get TextView color field (closes #2469)"
This reverts commit 5f2aaeac57.
2020-01-09 21:51:34 -05:00
arkon
5f2aaeac57 Remove reflection to get TextView color field (closes #2469) 2020-01-09 21:32:30 -05:00
arkon
044a4f7575 Split general settings into general and library 2020-01-09 21:22:58 -05:00
arkon
83d5e458ca
Update to SDK 29 (Android 10) (#2468) 2020-01-09 20:31:27 -05:00
arkon
f7669b6797 Replace left/right layout attributes with start/end 2020-01-09 19:10:55 -05:00
arkon
d62f0de862 Tweaks based on PR comments, simplify some more strings 2020-01-08 21:53:08 -05:00
arkon
6025b44e5b
Add fast scroller to library (#2459) 2020-01-08 21:32:07 -05:00
arkon
f4f427dd2a Restore equals/hashCode in ChapterTransition (closes #2461) 2020-01-08 21:31:32 -05:00
arkon
26c5c9c839 Replace usage of deprecated Glide SimpleTarget 2020-01-07 20:24:12 -05:00
arkon
5cddb269d6 Minor code cleanup 2020-01-07 20:17:07 -05:00
arkon
0d5099f230
Drop support for Android 4.x (#2440)
* Bump minSdkVersion

* Remove Android 4.x specific logic

* Consolidate res assets

* Add note about minimum Android version to README

* Restore incorrectly removed method, remove unneeded Lollipop TargetApi annotations
2020-01-07 18:46:31 -05:00
andrecsilva
b55814a1c0 Made 'Default' category selectable in global update settings (#2318) 2020-01-07 18:46:08 -05:00
arkon
b3f1714ba9
Convert remaining Java files (#2435) 2020-01-05 19:39:25 -05:00
Carlos
708525ef9d match transition text used by other readers (#2439) 2020-01-05 17:59:05 -05:00
Carlos
df14e6d43e
fix DOWNLOADED text showing after chapters are marked as read (#2434)
* fix DOWNLOADED text showing after chapters are marked as read
2020-01-05 16:36:23 -05:00
arkon
600fbb2ef8 Update files to use unix line endings
cmd: `find . -type f -print0 | xargs -0 dos2unix`
2020-01-05 14:43:07 -05:00
MCAxiaz
dd1e6402c9 Improve Loading Speed When Skipping Pages in a Chapter (#2426)
* cancel queued loads when the page that requested the queue is destroyed

* use page.status for optimizing removal
2020-01-05 12:18:02 -05:00
arkon
78689e7443
Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
Carlos
f0053a2f78 add width and height to listview for browseCatalogueController (#2406)
* add width and height to listview for browseCatalogueController

* readd recycler has fixed size
add width and height to list view
2019-12-28 14:57:44 -05:00
MCAxiaz
4147fd6b19 recycler is not fixed size (#2402) 2019-12-28 14:10:34 -05:00
arkon
2ebaacfc89
Replace dependency for case insensitive natural sorting (#2389)
Replace dependency for case insensitive natural sorting
2019-12-27 07:18:30 -05:00
Eugene
c339bd49d0
Address minor Kotlin compiler warnings 2019-12-26 17:48:39 -05:00
arkon
ff8e3f0af4
Update to SDK 28 (#2394) 2019-12-26 16:01:16 -05:00
Anthony Nguyen
698e17178a Increase default text size of the transition chapter page (#2285) 2019-12-26 12:40:56 -05:00