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
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
Quang Kieu
41c89eb61d
Add interval data layer ( #9398 )
...
* Update Manga classes for fetch interval data
* Update per review
bump version
---------
Co-authored-by: quangkieu <qkieu>
2023-04-27 22:27:12 -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
97e6f1ea9a
Upgrade to AGP 8.0.0 ( #9351 )
2023-04-16 18:02:24 -04:00
arkon
5c1a81d8ca
Merge branch 'patch'
2023-04-16 11:09:22 -04:00
arkon
c615f4d458
Release v0.14.6
2023-04-16 11:00:14 -04:00
arkon
8ab7e63293
Add tests for MissingChapters function
2023-04-15 09:51:52 -04:00
arkon
d25ba23079
Fix automatic backups not working
...
Apparently they die if you rename a worker class.
2023-04-05 22:13:54 -04:00
arkon
e917349bb7
Use Compose icons instead of drawables
...
Using:
- https://github.com/DevSrSouza/compose-icons
- https://github.com/DevSrSouza/compose-icons/blob/master/simple-icons/DOCUMENTATION.md
2023-03-05 15:37:41 -05:00
Andreas
f27dc19b37
Move Local Source to separate module ( #9152 )
...
* Move Local Source to separate module
* Review changes
2023-02-26 16:16:49 -05:00
arkon
7ec87e76db
Migrate TriState usages to TriStateFilter enum
2023-02-24 16:09:47 -05:00
Ivan Iskandar
6b03dca5f4
Use Compose Foundation's flow layout ( #9123 )
2023-02-21 12:04:11 -05:00
arkon
93523ef50b
Remove dependency injection from core module and data module from presentation-widget module
...
Includes side effects:
- No longer need to restart app for user agent string change to take effect
- parseAs extension function requires a Json instance in the calling context, which doesn't necessarily need to be the default one provided by Injekt
2023-02-20 19:02:38 -05:00
arkon
a6d6a5ed87
Merge branch 'patch'
...
# Conflicts:
# app/build.gradle.kts
# app/src/main/java/eu/kanade/presentation/browse/BrowseSourceScreen.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2023-02-19 15:31:35 -05:00
arkon
b690de55e5
Release v0.14.5
2023-02-19 15:25:35 -05:00
arkon
e3cf863230
Start moving some Compose components to presentation-core module
2023-02-18 15:52:52 -05:00
Ivan Iskandar
be4072c86b
Rework on the wheel picker ( #8559 )
...
* Rework the wheel picker
doesn't need for the animation to stop to change the value
* fix
---------
Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-02-12 23:10:47 -05:00
arkon
42954609b9
Remove background app update check
...
We already check in the foreground. If the app isn't being foregrounded at all, then there isn't much
point in checking for an update.
2023-02-12 22:44:39 -05:00
Ivan Iskandar
ef9dacde79
Fully utilize WorkManager for library updates ( #9007 )
...
No more trampolining, and stuff.
It's pretty much straight copy-paste from the service, with
some changes related to cancellation handling. Manual updates
will also runs with workman job so auto update work
scheduling need some adjustments too.
Bumped version code to re-enqueue auto update job with the
new spec.
Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-02-07 22:37:20 -05:00
arkon
477e3d9b94
Release v0.14.4
2023-02-05 10:35:15 -05:00
Andreas
12e41b6e6f
Move Glance Widget to seperate module ( #8989 )
...
Move Widget to seperate module
- Create a core module for presentation. Widget and App will share some resources and hopefully composables
2023-01-26 17:53:24 -05:00
Andreas
d3a73fc228
Move Category model
and repository
to domain and data layer ( #8967 )
...
To keep the commit from being 100+ files the interactors wasn't moved.
The domain module like the data module uses `tachiyomi` instead of `eu.kanade.tachiyomi` for package names
2023-01-22 10:12:29 -05:00
Andreas
823749fc1e
Move SQLDelight to data module ( #8954 )
...
And use tachiyomi instead of eu.kanade.tachiyomi for package names in the module
2023-01-21 10:37:07 -05:00
Andreas
2b5d9fd76b
Move shared configuration to subprojects in root Gradle file ( #8951 )
...
* Move shared configuration to subprojects in root Gradle file
* Missed but not forgotten
* Review changes
2023-01-20 23:04:22 -05:00
Andreas
c31e75f02f
Create plugin for linting ( #8942 )
2023-01-18 22:33:56 -05:00
arkon
6fe650319d
Bump versionCode to prevent downgrades
...
Since the database schema was changed in f301dc64
2023-01-14 18:27:36 -05:00
arkon
817418f7c9
Release v0.14.3
2023-01-07 12:09:27 -05:00
arkon
0e2bdb7863
Minor cleanup
2022-12-17 12:02:01 -05:00
Ivan Iskandar
82a3a98a5a
Adjust screen transitions ( #8707 )
...
* Fade transition between main navigation tabs
* Shared axis X between screen stacks
Activity transition is using a "close enough" shared axis X xml animation
2022-12-09 17:23:00 -05:00
Ivan Iskandar
d97eab0328
Move app state banner to the very top ( #8706 )
...
This moves the banners to the root composable and so eliminates the need to
track the app states in every screen.
2022-12-09 11:20:13 -05:00
Ivan Iskandar
f7a92cf6ac
Replace reader's Presenter with ViewModel ( #8698 )
...
includes:
* Use coroutines in more places
* Use domain Manga data class and effectively changing the state system
* Replace deprecated onBackPress method
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-12-07 23:00:01 -05:00
arkon
e748d91d4a
Bump dependencies
2022-12-07 22:44:09 -05:00
stevenyomi
2c4ddca38e
Migrate Accompanist SwipeRefresh to Compose PullRefresh ( #8106 )
2022-12-07 22:40:57 -05:00
arkon
b0dc20e00c
Remove some dead code
2022-12-02 22:48:08 -05:00
Ivan Iskandar
3d66eaea83
Merge Voyager screens ( #8656 )
...
* Merge Voyager screens
* cleanups
2022-12-02 22:35:30 -05:00
arkon
5313a5d5d2
Remove unnecessary base Nucleus classes
...
The reader still uses it, but we just move stuff to there.
2022-12-02 13:23:26 -05:00
arkon
75a687138d
Migrate to Accompanist M3 theme adapter
2022-12-01 23:08:04 -05:00
AntsyLich
ba91b483a0
Delayed Tracking Update related fix ( #8642 )
...
* Delayed Tracking Update related fix
* Lint
2022-12-01 23:01:24 -05:00
arkon
4f2a794fba
Remove dead code
2022-11-27 15:09:37 -05:00
Ivan Iskandar
acc65529a0
Replace numberpicker with wheelpicker ( #8501 )
...
* Replace numberpicker with wheelpicker
* cleanups
2022-11-11 15:02:45 -05:00
Ivan Iskandar
18ccde082d
Full Compose MangaController ( #8452 )
...
* Full Compose MangaController
* unique key
* Use StateScreenModel
* dismiss
* rebase fix
* toShareIntent
2022-11-09 22:31:56 -05:00
arkon
0b93b9e059
Add pseudolocales to dev builds
2022-11-03 09:47:27 -04:00
Brett McGinnis
ea3f933e95
#8264 : Enabled isPseudoLocalesEnabled for debug ( #8367 )
...
Enabled isPseudoLocalesEnabled for debug
2022-11-03 09:46:53 -04:00
AntsyLich
1e93d785e5
Remove redundant compiler args ( #8405 )
2022-11-01 20:13:30 -04:00
arkon
3222247969
Release v0.14.2
2022-10-31 17:38:56 -04:00
arkon
26af7ccc77
Use BOM for kotlinx.coroutines dependencies
2022-10-30 19:38:18 -04:00
stevenyomi
57bba9e5ab
Fix Layout Inspector's Compose tree for dev flavor ( #8363 )
2022-10-30 11:42:06 -04:00
Ivan Iskandar
f9c25b350e
New Pager implementation ( #8323 )
...
Minimal implementation using new Compose SnapFlingBehavior
2022-10-29 12:32:55 -04:00
arkon
5b12c144da
Release v0.14.1
2022-10-29 11:51:25 -04:00
Ivan Iskandar
9fbd3fe33f
build: Add param to generate Compose compiler metrics ( #8330 )
...
./gradlew assembledevPreview -Ptachiyomi.enableComposeCompilerMetrics=true
2022-10-29 09:37:48 -04:00
arkon
ebddb96373
Release v0.14.0
2022-10-28 11:36:26 -04:00
Ivan Iskandar
5b3f9e082e
Use new Compose BOM 2022.10.00 ( #8295 )
2022-10-26 18:12:32 -04:00
Ivan Iskandar
3fb42b6ce9
Use Syer's Voyager fork ( #8288 )
...
with fixes needed for further migration
also revert back jvm target to 1.8
2022-10-26 09:22:38 -04:00
stevenyomi
d558f9e1d6
Tweak tablet UI mode setting ( #8262 )
2022-10-22 10:15:12 -04:00
arkon
2921be620a
Use fade transition in Voyager screens to mimic existing Conductor change handler
2022-10-21 15:29:17 -04:00
Andreas
8d97b980e3
Tweak library view ( #8240 )
...
- Move category join to improve performance
- Move bookmark calculation into query
- Move unread calculation into domain
2022-10-18 16:33:26 -04:00
AntsyLich
d6cbff2837
Tweak library query ( #8214 )
...
* Tweak library query
Co-Authored-By: Quang Kieu <kieuq@wit.edu>
* Update app/src/main/sqldelight/migrations/21.sqm
* Update app/src/main/java/eu/kanade/domain/library/model/LibraryManga.kt
* Update app/src/main/sqldelight/view/libraryView.sq
* Update app/src/main/java/eu/kanade/data/manga/MangaMapper.kt
* Update app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
* Update app/src/main/java/eu/kanade/data/manga/MangaMapper.kt
* Bump version
Co-authored-by: Quang Kieu <kieuq@wit.edu>
2022-10-16 15:33:12 -04:00
arkon
69cdba71eb
Remove dead code
...
Mostly from settings rewrite, but some other things too.
2022-10-16 12:48:43 -04:00
Ivan Iskandar
5c5468f9af
Settings: M3 and two pane ui ( #8211 )
...
* Settings: M3 and two pane ui
* TrackingLoginDialog: Move close button
* Use small top bar
* Revert "Update voyager to v1.0.0-rc02"
This reverts commit 570fec6ea6
.
https://github.com/adrielcafe/voyager/issues/62
2022-10-16 12:15:01 -04:00
renovate[bot]
570fec6ea6
Update voyager to v1.0.0-rc02
2022-10-16 10:28:44 -04:00
Ivan Iskandar
890f1a3c7b
Full Compose settings ( #8201 )
...
* Uses Voyager for navigation.
* Replaces every screen inside settings except category editor screen since it's
called from several places.
2022-10-15 11:38:01 -04:00
arkon
23bfa1f18f
Minor UI fixes
...
- Remove M3 styling from search toolbar
- Use secondary alpha for subtitles for Sources and Migrate items
- Update some content descriptions
2022-10-09 15:49:32 -04:00
arkon
7be6863910
Add JavaScriptEngine abstraction to extensions-lib ( #8155 )
...
This allows us to swap out the implementation in the future and on different platforms
without major changes to the extensions themselves.
2022-10-08 09:45:06 -04:00
arkon
caf9219d99
Reword some reader settings
2022-10-05 09:26:42 -04:00
Ivan Iskandar
3b62396442
Setup Baseline Profile ( #8135 )
...
* Setup Baseline Profile
Adds Baseline Profile generator and startup time test.
Readme included in macrobenchmark module to run the generator.
* changes
2022-10-04 09:22:55 -04:00
Andreas
29fa93e829
Split the rest of the preferences in PreferencesHelper ( #8074 )
...
* Split the reset of the preferences in PreferencesHelper
* Capitalize ThemeMode
2022-09-25 10:07:06 -04:00
Andreas
b5dca2eb09
Move chapter preferences from PreferencesHelper to LibraryPrefrences ( #8061 )
2022-09-24 10:14:16 -04:00
Andreas
0086743a53
Use 1.x preference abstraction ( #8020 )
...
* Use 1.x preference abstraction
- Uses SharedPreferences compared to 1.x impl which uses DataStore but it breaks all settings screens currently
- Move PreferencesHelper to new PreferenceStore
- PreferencesHelper should be split into smaller preference stores and be in core or domain
- Remove flow preferences as new PreferenceStore handles changes for us
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
* Fix PreferenceMutableState not updating
* Fix changes not emitting on first subscription
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
2022-09-17 11:48:24 -04:00
arkon
829aadd0bd
Always attempt automatic backup creation
...
- Defaults to every 12 hours
- Minimum number of backups is now 2, just to offer some level of redundancy in case something happens
- If it's missing storage permissions, it'll fail but that's the user's loss if they somehow haven't granted that permission yet
2022-09-15 22:53:46 -04:00
Andreas
86fe850794
Extract source api from app module ( #8014 )
...
* Extract source api from app module
* Extract source online api from app module
2022-09-15 18:12:27 -04:00
Andreas
d5c207d8a3
Extract translation from app module ( #7975 )
...
* Extract translation from app module
- Prep for further extraction to modules in the nearish future
* Subproject .gitignore
2022-09-10 09:58:45 -04:00
Ivan Iskandar
fb9791f597
DownloadController: Partial Compose conversion ( #7969 )
...
Item list is not changed as currently there is no fitting Compose component to
replace the drag-drop behavior.
2022-09-09 22:29:40 -04:00
arkon
4c1da1bd1d
Maybe fix extensions list crash
...
Also fix weird animation of last updated text in Updates
2022-08-31 15:56:08 -04:00
Andreas
880407442c
Tweak flag classes for Library ( #7829 )
...
* Tweak flag classes for Library
- Add interface for Flag and Mask
- Merge Sort Type and Direction into one class
- Use custom serializers for preferences
- Mainly to not break the old
* Review changes
2022-08-29 13:10:30 -04:00
Andreas
a83d29f058
Add APK output for x86_64 CPU architecture ( #7885 )
...
* Add APK output for x86_64 CPU architecture
* Review changes
* Fix formatting
Co-authored-by: stevenyomi <95685115+stevenyomi@users.noreply.github.com>
* Use underscore instead of hyphen
Co-authored-by: stevenyomi <95685115+stevenyomi@users.noreply.github.com>
2022-08-28 09:45:33 -04:00
stevenyomi
e36e9d9d5c
Remove 1.x source models ( #7781 )
2022-08-18 14:07:13 -04:00
Andreas
09abfc7843
Lint changes ( #7802 )
...
- Fixes current lint issues
- Changes lint task to lintKotlin on PRs
2022-08-18 14:06:32 -04:00
arkon
1d6aa9a277
Merge branch 'patch'
...
# Conflicts:
# app/build.gradle.kts
# app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenCallback.kt
# app/src/main/java/eu/kanade/tachiyomi/data/database/models/Manga.kt
# app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt
# app/src/main/java/eu/kanade/tachiyomi/data/saver/ImageSaver.kt
# app/src/main/java/eu/kanade/tachiyomi/extension/util/ExtensionInstallReceiver.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/SearchableNucleusController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/MigrationFlags.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchPresenter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/AddDuplicateMangaDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ReaderPageImageView.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ReaderTransitionView.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt
# app/src/main/java/eu/kanade/tachiyomi/util/chapter/ChapterSorter.kt
# app/src/main/res/layout/pref_settings.xml
# app/src/test/java/eu/kanade/tachiyomi/util/chapter/ChapterRecognitionTest.kt
# gradle/androidx.versions.toml
# gradle/libs.versions.toml
2022-08-14 11:28:28 -04:00
Andreas
4291cc8eb1
Add task to generate locales_config.xml ( #7754 )
2022-08-14 10:43:28 -04:00
arkon
8811d951d0
Release v0.13.6
2022-08-14 10:32:04 -04:00
arkon
3966a917ee
Bump dependencies + compile SDK to 33 + linting
2022-08-13 12:52:18 -04:00
arkon
4a71022a60
Update chapter recognition and related tests
...
Includes 3e07100dc2
Co-authored-by: Saud-97 <Saud-97@users.noreply.github.com>
2022-08-13 12:37:02 -04:00
arkon
d6f1534ee8
Address misc. build warnings
2022-08-10 23:26:34 -04:00
arkon
a2bb81b7db
Start cleaning up backup/restore code
...
The abstraction was useful for handling 2 systems, but it's no longer needed. Cleaning it up will make migrating to domain models easier down the line.
2022-08-05 23:11:06 -04:00
arkon
bfd22f8f2d
Minor gradle cleanup
2022-07-31 11:55:53 -04:00
arkon
2ca62c4eda
Remove unused viewstatepageradapter dependency
2022-07-31 11:55:07 -04:00
Ivan Iskandar
29e1976b90
Glance widget for Updates ( #7581 )
...
* glance
* glance2
2022-07-31 11:31:40 -04:00
arkon
7336714306
Bump dependencies and remove some unneeded opt-in compiler flags
2022-07-27 09:26:40 -04:00
Andreas
fc328e141c
Remove unused dependencies ( #7585 )
2022-07-23 08:54:08 -04:00
Andreas
2b8d1bcc02
Use Compose for Library screen ( #7557 )
...
- Move Pager to Compose
- Move AppBar to Compose
- Use Stable interface for state
- Use pills for no. of manga in category instead of (x)
2022-07-22 19:05:50 -04:00
arkon
ab1a44e108
Merge branch 'patch'
2022-07-08 16:09:19 -04:00
arkon
26ddc6e3aa
Release v0.13.5
2022-07-08 15:52:48 -04:00
Andreas
17951cfd68
Use SQLDelight for all Manga related queries ( #7447 )
2022-07-03 10:17:41 -04:00
Andreas
5d77ee37d2
Replace package with namespace ( #7436 )
2022-07-02 13:08:22 -04:00
arkon
7e4c45858f
Bump dependencies
2022-06-29 22:45:22 -04:00
Ivan Iskandar
33a778873a
MangaController overhaul ( #7244 )
2022-06-25 11:03:48 -04:00
arkon
cd0294b1b6
Replace history query with actual upsert
2022-05-29 12:12:06 -04:00
Ivan Iskandar
3b2362c784
Add scrollbar indicator to LazyColumn ( #7164 )
2022-05-23 18:03:46 -04:00
Andreas
3e2d7d76b9
Convert Extension tab to use Compose ( #7107 )
...
* Convert Extension tab to use Compose
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
* Review changes
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
2022-05-15 09:59:53 -04:00