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.
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
* 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
* fix bangumi track : the update status api must be called before update chapter api
* fix bangumi track will override record to 0 after every track search(bind)
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/
* Translated using Weblate (Catalan)
Currently translated at 100.0% (439 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ca/
* Translated using Weblate (Malay)
Currently translated at 99.5% (437 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ms/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (439 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hans/
* Translated using Weblate (Romanian)
Currently translated at 100.0% (439 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ro/
* Translated using Weblate (Japanese)
Currently translated at 44.2% (194 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ja/
* Translated using Weblate (Hindi)
Currently translated at 100.0% (439 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hi/
* Translated using Weblate (Arabic)
Currently translated at 100.0% (439 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ar/
* Translated using Weblate (French)
Currently translated at 100.0% (439 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/
* Translated using Weblate (Thai)
Currently translated at 22.1% (97 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/th/
* Translated using Weblate (German)
Currently translated at 100.0% (439 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/de/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 89.1% (391 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hant/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (439 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es/
* Translated using Weblate (Sardinian)
Currently translated at 100.0% (439 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sc/
* Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.6% (433 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nb_NO/
* Translated using Weblate (Bengali)
Currently translated at 100.0% (439 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/bn/
* Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.8% (438 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nb_NO/
* Translated using Weblate (Hungarian)
Currently translated at 41.7% (183 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hu/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 98.6% (433 of 439 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hant/
* Added translation using Weblate (Slovak)
* Translated using Weblate (Hindi)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hi/
* Translated using Weblate (Slovak)
Currently translated at 34.9% (155 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sk/
* Translated using Weblate (Slovak)
Currently translated at 36.3% (161 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sk/
* Translated using Weblate (Polish)
Currently translated at 99.3% (441 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pl/
* Translated using Weblate (Finnish)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fi/
* Translated using Weblate (Slovak)
Currently translated at 54.5% (242 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sk/
* Translated using Weblate (Catalan)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ca/
* Translated using Weblate (Dutch)
Currently translated at 98.6% (438 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nl/
* Translated using Weblate (Sardinian)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sc/
* Translated using Weblate (German)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/de/
* Translated using Weblate (Italian)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/it/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es/
* Translated using Weblate (French)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/
* Translated using Weblate (French)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/
* Translated using Weblate (Turkish)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/tr/
* Translated using Weblate (Vietnamese)
Currently translated at 98.6% (438 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/vi/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/id/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es/
* Translated using Weblate (Malay)
Currently translated at 99.5% (442 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ms/
* Translated using Weblate (Thai)
Currently translated at 78.8% (350 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/th/
* Translated using Weblate (Thai)
Currently translated at 100.0% (444 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/th/
* Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.3% (441 of 444 strings)
Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nb_NO/
Co-authored-by: Weblate (bot) <hosted@weblate.org>
Co-authored-by: Eduard Ereza Martínez <eduard@ereza.cat>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: sr093906 <sr093906@users.noreply.github.com>
Co-authored-by: f0roots <41129381+f0roots@users.noreply.github.com>
Co-authored-by: Mark Acosta <maraco@udel.edu>
Co-authored-by: darkbeast13 <32981566+darkbeast13@users.noreply.github.com>
Co-authored-by: petetae <pete.taecha@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Credits125 <48494748+Credits125@users.noreply.github.com>
Co-authored-by: asereze <asereze@users.noreply.github.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Rezaul Rabbi <rezaulrabbi5@gmail.com>
Co-authored-by: Rolf Vidar Hoksaas <32819373+mazunki@users.noreply.github.com>
Co-authored-by: Tóth Béla <tbela@inf.u-szeged.hu>
Co-authored-by: KaHsun <58354107+KaHsun@users.noreply.github.com>
Co-authored-by: roguesoulboss <DPELECH1@GMAil.com>
Co-authored-by: Jendrej <ejjendrej@gmail.com>
Co-authored-by: Topi Harjunpää <topi@harjunpaa.fi>
Co-authored-by: mirfire <1897695+mirfire@users.noreply.github.com>
Co-authored-by: Luigi Gandossi <gandossi.luigi@gmail.com>
Co-authored-by: monolifed <6624464+monolifed@users.noreply.github.com>
Co-authored-by: Le Cong Hau <hau.lc151277@sis.hust.edu.vn>
Co-authored-by: muhajaya <36522453+Muhajaya@users.noreply.github.com>
Co-authored-by: Tanpahol <zotix@users.noreply.github.com>
* 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>
* Added a app loading splash Screen. Just a theme that plays on start up before loading the actual app theme
* Added a app loading splash Screen. Just a theme that plays on start up before loading the actual app theme
* Update splash_background.xml
I think I've seen the following message from just about every single
gradle run throughout the upgrade process:
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
Kotlin: 1.2.71 -> 1.3.50
Coroutines: 0.30.2 -> 1.3.1
Gradle: 4.6 -> 5.4.1
Android gradle plugin: 3.2.1 -> 3.5.0
This brings us down to *one* experimental coroutine API, and we've
opted in to using it in just *one* place.
(The fact that the API to opt-in to using an experimental API in a
specific place is *also* experimental surely will not come back to
bite us later.)
* copy from shikimori and change parmater
* add login activity
* fix
* login sucess
* search
* add...
* auth fix
* save status
* revert shikimori
* fix oauth error
* add bangumi info
* update read chapter index
* refersh token
* remove outdate file
* drop comment
* change icon
* drop search result which type not comic
* fix bind logic
* set status
* add ep status
* format code
* disable cache for `collection` api
* Add LibraryUpdateRanker
This class provides various functions to generate Comparators that can
be used to order the manga to update.
One such ordering is by relevance:
It prioritises manga that were updated more recently.
Another Ordering is by lexicographic order:
This is the default behaviour.
* Use relevanceRanking scheme
Instead of default(noRanking/lex ranking) now mangaList is sorted with
relevanceRanking.
* Add UI and associated variables & strings for Update Ranking.
* Use user preferences to determine update ranking scheme.
* Refactor relevanceRanking to latestFirstranking.
This name seems to better reflect the ranking scheme and frees up the
name relevanceRanking for future use.
* Set latestFirst scheme as default.
(Changing over from lexicographic scheme)
* Fix 1
[Convert LibraryUpdateRanker to a object.](./files/82f263749f0ae775385b23dd919f1865360db969#r287513539)
[Nitpick: Add lines](./files/82f263749f0ae775385b23dd919f1865360db969#r287540256)
[Replace Java comparator](./files/82f263749f0ae775385b23dd919f1865360db969#r287539976)
[Nitpick: Add local variable](./files/82f263749f0ae775385b23dd919f1865360db969#r287514805)
* Fix 2
[Weird import](./files/82f263749f0ae775385b23dd919f1865360db969#r287513709)
[Default value](./files/82f263749f0ae775385b23dd919f1865360db969#r287540064)
[Use existing Strings](./files/82f263749f0ae775385b23dd919f1865360db969#r287514476)
[Use Library update order](./files/82f263749f0ae775385b23dd919f1865360db969#r287540204)
* * fix cookieManager not clearing cookies properly
* manually clear tracking prefs when !isLogged (e.g. cookies were cleared)
* use full url for removing cookies
* add interceptor for all non-login network calls
* attempt auto login if cookies are missing
* move handling of csrf token to interceptor
* * move methods around to improve readability
* fix TrackSearchAdapter not updating other fields if cover_url is missing
* revert accidental removal of feature in https://github.com/inorichi/tachiyomi/issues/65
* avoid login if credentials are missing
* fix eol
* *separate login flow from rxjava for reuse in sync
* *use less expensive method of finding manga
* *move variable declaration
* formatting
* set total chapters in remote track