oSumAtrIX
d5d6f85084
fix: catch exceptions from closing patches
2023-06-14 02:14:37 +02:00
oSumAtrIX
6e24a85eab
feat!: merge integrations only when necessary
...
BREAKING CHANGE: `Patcher.addFiles` is now renamed to `Patcher.addIntegrations`
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de >
2023-02-27 00:23:27 +01:00
oSumAtrIX
e4c3e9ffc5
refactor: remove unnecessary annotations
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de >
2023-02-26 23:18:35 +01:00
oSumAtrIX
c5de9e2988
fix: check if fingerprint string is substring of any string references
2022-12-18 22:05:05 +01:00
oSumAtrIX
4aa14bbb85
refactor: improve structuring of classes and their implementations
...
BREAKING CHANGE: various changes in which packages classes previously where and their implementation
2022-10-05 03:57:40 +02:00
oSumAtrIX
d37452997b
refactor: move OptionsContainer to own class file
...
BREAKING-CHANGE: this changes the package
2022-10-04 08:32:50 +02:00
oSumAtrIX
4d581811db
feat!: seal abstract class Patch as an interface
2022-10-04 08:30:17 +02:00
Sculas
172655bde0
feat: add PathOption back
...
Now backed by a String.
2022-09-09 16:23:21 +02:00
Sculas
e722e3f4f9
feat: improved Patch Options
...
Removed a lot of the type mess. There's still some duplicated code PatchOption.kt, but I'm afraid there's nothing I can do about that. It's not a big deal anyway.
2022-09-09 16:10:30 +02:00
Sculas
c348c1f0a0
refactor: remove PathOption and FileOption
2022-09-09 15:04:17 +02:00
Sculas
e31ac1f132
fix: wrong value for iterator in PatchOptions
2022-09-08 17:37:31 +02:00
Sculas
b873228ef0
fix: invalid type propagation in options
...
Fixes #98
2022-09-08 16:49:06 +02:00
Sculas
002f84da1a
Merge remote-tracking branch 'origin/main' into main
2022-09-08 11:29:14 +02:00
Sculas
aff4968e6f
fix: handle option types and nulls properly
2022-09-08 11:29:06 +02:00
Sculas
4055939c08
fix: only run list option check if not null
2022-09-07 23:46:46 +02:00
Sculas
6b909c1ee6
refactor: Improve Patch Options
...
It's so much better now. Really happy with the current system.
BREAKING CHANGE: Options has been moved from Patch to a new interface called OptionsContainer and are now handled entirely different. Make sure to check the examples to understand how it works.
2022-09-07 20:55:35 +02:00
Sculas
a562e476c0
fix: PathOption should be open, not sealed
2022-09-06 22:36:20 +02:00
Sculas
75d2be8803
perf: make exception an object
2022-09-06 22:35:33 +02:00
Sculas
bb97af4d86
refactor: add FileOption alias for PathOption
2022-09-06 22:34:46 +02:00
Sculas
392164862c
fix: typo in ListOption
2022-09-06 21:44:05 +02:00
Sculas
53e807dec1
refactor: add PatchOption.PathOption
2022-09-06 21:43:45 +02:00
oSumAtrIX
7b2d058144
fix: revert soft dependencies
2022-08-03 03:45:34 +02:00
Sculas
2572cd04b5
feat: add getValue & setValue for PatchOption
2022-08-02 23:30:38 +02:00
Sculas
14a73bfcaf
fix: check if patch option requirement is met
2022-08-02 22:41:34 +02:00
Sculas
371f0c4d0b
feat: PatchOptions#nullify to nullify an option
2022-08-02 22:32:55 +02:00
Sculas
1b42f65d95
refactor: migrate to custom exceptions for patch options
2022-08-02 22:16:37 +02:00
Sculas
4e2e772389
feat: validator for patch options
2022-08-02 22:00:10 +02:00
Sculas
2431785d0e
feat: registry for patch options
...
BREAKING CHANGE: Patch options now use the PatchOptions registry class instead of an Iterable. This change requires modifications to existing patches using this API.
2022-08-02 21:10:14 +02:00
Sculas
ec1d8a8fba
refactor: remove DependencyType.SOFT ( #82 )
...
BREAKING-CHANGE: DependencyType.SOFT has now been removed after it was deprecated. There is no direct replacement for this. Please look into Patch Options instead, which supersedes this.
2022-08-02 00:47:32 +02:00
Sculas
fbb09f38dc
feat: patch options ( #81 )
...
* feat: Patch Options
* refactor: remove delegate property
* feat: List patch options
* refactor: add setter example to PatchOptionsUsage.kt
* docs: add docs for PatchOptions
* docs: tidy docs
2022-08-02 00:31:00 +02:00
oSumAtrIX
bbd40bf2f6
feat: Closeable patches
2022-08-01 04:12:33 +02:00
Sculas
3de999a2d3
refactor: remove ReplaceWith from DependencyType.SOFT
2022-07-31 18:35:02 +02:00
Sculas
fcc7fa75d0
refactor: deprecate DependencyType.SOFT
...
Soft dependencies will be removed when Patch Options is implemented.
2022-07-31 18:31:40 +02:00
Sculas
8c12f8d488
feat: Soft Dependencies for Patches
2022-07-31 16:50:59 +02:00
bogadana
4ea030d0a0
feat: nullability for BytecodePatch constructor ( #59 )
2022-07-05 16:46:54 +02:00
oSumAtrIX
efa8ea1445
refactor: migrate from Signature to Fingerprint
...
BREAKING CHANGE: Not backwards compatible, since a lot of classes where renamed.
2022-06-26 15:10:54 +02:00
oSumAtrIX
fd690acd61
refactor: add internal attribute to signatures field
2022-06-20 20:10:06 +02:00
oSumAtrIX
2dcbd8d079
refactor: use include annotation parameter instead of excludeByDefault
2022-06-11 19:14:19 +02:00
oSumAtrIX
31815ca9ea
fix: resource patcher
2022-06-11 06:36:13 +02:00
oSumAtrIX
893d4c699b
feat: Dependencies annotation
2022-06-05 08:03:40 +02:00
oSumAtrIX
6c65952d80
feat: patch dependencies annotation and PatcherOptions
2022-06-05 08:03:39 +02:00
oSumAtrIX
d20f7fd6e1
feat: use annotations instead of metadata objects
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de >
2022-06-05 08:03:31 +02:00
oSumAtrIX
99319e63da
add: resource patcher
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de >
2022-06-05 08:03:28 +02:00
oSumAtrIX
7399450139
fix: PackageMetadata
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de >
2022-06-05 08:03:25 +02:00
Lucaskyy
042638a399
refactor: replace Array with Iterable
2022-06-05 08:03:16 +02:00
oSumAtrIX
1f08da8b2a
refact: include each signature in its corresponding patch
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de >
2022-06-05 08:03:14 +02:00
Lucaskyy
642e9031eb
feat: Add patch metadata
...
Fixes ReVancedTeam/revanced-patches#1
2022-06-05 08:03:13 +02:00
oSumAtrIX
3651981161
feat: migrate to dexlib
...
BREAKING CHANGE: Removed usage of ASM library
2022-06-05 08:02:51 +02:00
Lucaskyy
70872307e3
refactor: Rename net.revanced to app.revanced
...
BREAKING CHANGE: Package name was changed from "net.revanced" to "app.revanced"
2022-06-05 08:02:44 +02:00