Commit Graph

60 Commits

Author SHA1 Message Date
AntsyLich 869fa1a4b2 Suppress R8 warnings for missing androidx.window extension classes 2026-08-05 23:14:47 +06:00
NGB-Was-Taken d7f3ceef5c Ensure R8 keeps methods called externally by Shizuku (#3676)
* Ensure R8 keeps methods called externally by Shizuku

* Changelog
2026-08-02 11:53:49 +00:00
MajorTanya 6d69903a56 Replace java.time APIs with kotlin(x).(date)time (#3001)
* Replace java.time APIs with kotlin(x).(date)time

kotlinx-datetime explicitly says in its README that it does not cover
i18n, so we have to stick with using their toJavaX converters wherever
we localise dates and times.

Yes, some of these replacements are... questionable. But I wanted to
try and maximise the replacement for now.

* Bump kotlinx-datetime to 0.8.0

* More kotlin.time/kotlinx-datetime replacements

* Remove redundant init block & make attributes val

* Replace new use of java.time.Instant
2026-08-02 16:58:25 +06:00
AntsyLich abef1cb8c5 Add proguard rule for com.squareup.zstd 2026-07-09 22:46:40 +06:00
AntsyLich b8e5f22c01 Add proguard rules to keep Serializable writeReplace and readResolve 2026-07-05 22:21:04 +06:00
FooIbar 239c38982c Refactor archive support with libarchive (#949)
* Refactor archive support with libarchive

* Revert string resource changs

* Only mark archive formats as supported

Comic book archives should not be compressed.

* Fixup

* Remove epub from archive format list

* Move to mihon package

* Format

* Cleanup
2024-06-26 20:54:25 +06:00
AwkwardPeak7 f603db3f3f update r8 rules for MultipartBody.Builder in extensions (#783) 2024-05-11 15:15:02 +06:00
MajorTanya 555d2f834f Add ProGuard rule to keep mihon namespace classes (#605)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-03-31 05:35:12 +06:00
FooIbar 0da7ad6f1a Don't copy archives to temp files when opening (#326) 2024-02-03 23:33:18 +06:00
AntsyLich 71931cf697 Add back analytics 2024-01-15 20:55:26 +06:00
arkon 33c62ab711 Clean up some unnecessary bits
- Remove analytics/crash reporting
- Remove app update check
- Remove F-Droid warning
- Remove Discord references
2024-01-13 09:27:53 -05:00
arkon 2d7650537d Address some build warnings 2023-12-25 16:31:40 -05:00
arkon 13dc54df70 Remove unused rxandroid dependency 2023-08-26 10:30:26 -04:00
Alessandro Jean 9b6567f5e4 Add support to kotlin.time APIs in the rate limit interceptor (#9797)
* Add support to kotlin.time APIs in the rate limit interceptor.

* Add a missing line break in the doc.

* Move the specific host to the same file.

* Add kotlin.time rule to Proguard and remove specific host rule.

* Mark the old version as deprecated and address review.

* Remove unused import.

* Remove yet another unused import.
2023-08-04 17:11:43 -04:00
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 44383ff950 Add R8 rule for org.apache.commons:commons-compress
Fixes #9465
2023-05-06 22:49:03 -04:00
arkon c48accb357 Maybe fix Firebase crashes
See https://github.com/firebase/firebase-android-sdk/issues/3507
2023-04-23 11:59:44 -04:00
arkon 265934d77a Fix missing type info in release builds 2023-04-22 18:32:22 -04:00
arkon 2a218cca90 Fix missing type info in release builds 2023-04-22 18:22:24 -04:00
arkon 8d1f99a480 Update Proguard rules to handle serializers in all modules
Fixes #8112
2022-10-01 10:47:45 -04:00
arkon 56722140c9 Add a proguard rule for XMLUtil
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2022-09-26 17:28:22 -04:00
Ivan Iskandar 4a3070265a Upgrade AGP 7.3.0 (#8016) 2022-09-17 10:26:02 -04:00
arkon 324ae3fcfb Remove Duktape
Now that none of the official extensions are using it.
2022-08-18 18:01:57 -04:00
arkon 29348677b8 Merge branch 'patch' 2022-08-14 11:51:29 -04:00
arkon 1f79444a53 Fix sources not loading 2022-08-14 11:49:19 -04:00
arkon e1e1c20dbe Downgrade R8 to avoid extension issues 2022-05-26 22:33:18 -04:00
arkon d71224b40b Adjust R8 optimization configs to fix extension issues
Related: https://issuetracker.google.com/issues/233779072
2022-05-26 19:41:43 -04:00
arkon bdb55ef881 Update to AGP 7.2.0 again
- Disable optimizations on eu.kanade.tachiyomi.source.** classes to avoid access modifications causing mismatches between the app and extensions
- Remove Gson and Kotson Proguard rules, since we don't have those dependencies anymore
2022-05-14 19:40:08 -04:00
arkon 2d03f3ce1e Add QuickJS dependency to eventually replace Duktape 2022-01-02 11:25:23 -05:00
arkon dfec0e45ed Keep coroutine methods (fixes #5662) 2021-08-05 13:10:09 -04:00
arkon 62db4bb09d Fix missing Injekt method crash (fixes #7355) 2021-05-31 19:34:54 -04:00
arkon cef5343a24 More Proguard fixes for extensions 2021-05-22 15:52:01 -04:00
arkon f96b85fcb2 Fix Proguard rules for kotlinx.serialization (e.g. for MangaPlus) 2021-05-22 15:41:08 -04:00
Ivan Iskandar 89fb943733 Reinstate Proguard/R8 (#5134)
* Reinstate Proguard/R8

According to APK analyzer
Before: 18044 classes with 113387 methods in 3 dex files
After: 12604 classes with 68010 methods in 2 dex files
APK download size is reduced by 2.8 MB

* Add debug build type without R8
2021-05-22 14:47:40 -04:00
arkon ccb727529d Add Proguard rules for kotlinx.serialization 2020-10-13 17:34:39 -04:00
arkon 02e370c2d8 Remove OkHttp Proguard rules
https://square.github.io/okhttp/r8_proguard/
2020-08-22 10:44:52 -04:00
tatsuya25 15f49b39b8 Remove Glide Proguard rules (#3702)
* update glide rules in progurad

* remove glide rules since it is implemented by glide it self (through consumerproguardfiles)
2020-08-22 10:42:42 -04:00
TacoTheDank 55101b1a4a Update nucleus library (#2932) 2020-04-22 22:27:30 -04:00
arkon 6c474daacd Update Proguard rules
- Keep everything in Tachiyomi package (for extensions)
- Remove SnakeYaml
2020-03-02 21:45:16 -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
len 1470e9d5ca Glide v4 2017-10-14 18:16:11 +02:00
inorichi 1f32d13698 Travis deployment (#1014)
* Travis deployment

* Executable scripts
2017-09-30 18:49:43 +02:00
len 8586014e17 Exclude extensions dependencies from proguard. Enable new translations. 2017-09-08 17:43:46 +02:00
len 8201b367ec Fix most crashes with extensions and the release version. Crop borders support in android O 2017-08-06 16:19:25 +02:00
len fab7967018 Release 0.6.0 2017-07-08 18:07:43 +02:00
len f88794c752 Keep models from source package 2017-04-21 00:19:10 +02:00
len d971768056 Release 0.4.0 2016-12-03 16:54:29 +01:00
len dcbd72e64d Release 0.3.2 2016-10-30 17:39:16 +01:00
inorichi ade73e6892 Keep project classes 2016-10-17 08:43:19 +02:00
len 74e3d387eb Release v0.2.3 2016-07-24 15:41:58 +02:00