aAbed
746544f9d5
fix: clear method lookup maps before initializing them ( #210 )
...
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-08-03 13:42:00 +02:00
oSumAtrIX
9755bab298
refactor: remove unnecessary annotation
2023-08-02 00:12:24 +02:00
oSumAtrIX
fae4029cfc
feat: add MutableMethod.getInstructions
extension function
2023-08-02 00:11:56 +02:00
oSumAtrIX
c9bbcf2bf2
feat: Deprecate Version
annotation
2023-07-28 20:19:01 +02:00
oSumAtrIX
1bca84ef0b
refactor: move code out of try block
2023-07-26 06:28:48 +02:00
oSumAtrIX
e0f8e1b71a
fix: set resource table via resource decoder
2023-07-26 06:28:48 +02:00
oSumAtrIX
416d69142f
fix: correct access flags of PackageMetadata
2023-07-26 06:28:48 +02:00
oSumAtrIX
426807aeaa
refactor: remove unnecessary changes to default config
2023-07-26 06:28:47 +02:00
oSumAtrIX
90cb075a97
build(needs-bump): update dependencies
2023-07-26 06:28:47 +02:00
Palm
69e4a49065
feat: remove Path
option ( #202 )
...
BREAKING CHANGE: This removes the previously available `Path` option
2023-07-26 04:11:21 +02:00
LisoUseInAIKyrios
9d81baf4b4
fix: clear method lookup maps ( #198 )
2023-07-01 02:35:49 +02:00
LisoUseInAIKyrios
fcef4342e8
fix: NPE on method lookup ( #195 )
2023-06-28 21:56:03 +02:00
oSumAtrIX
519359a9eb
fix: do not load annotations as patches
2023-06-27 04:09:03 +02:00
LisoUseInAIKyrios
d718134ab2
perf: resolve fingerprints using method maps ( #185 )
...
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-06-27 04:06:51 +02:00
oSumAtrIX
6e1b6479b6
fix: use versionCode
if versionName
is unavailable
2023-06-18 16:39:49 +02:00
oSumAtrIX
d5d6f85084
fix: catch exceptions from closing patches
2023-06-14 02:14:37 +02:00
oSumAtrIX
b8151ebccb
fix: only close succeeded patches
2023-06-14 01:43:19 +02:00
oSumAtrIX
f02a42610b
fix: revert using OutputStream.nullOutputStream
...
Older Android versions don't support this API
2023-06-12 05:32:13 +02:00
oSumAtrIX
2a453d51a8
refactor: rename helper methods for tests
2023-06-10 01:55:05 +02:00
oSumAtrIX
43d6868d1f
fix: add imports to fix failing tests
2023-06-10 01:43:09 +02:00
oSumAtrIX
a12fe7dd9e
refactor!: move extension functions to their corresponding classes
...
BREAKING CHANGE: This changes the import paths for extension functions.
2023-06-07 03:43:17 +02:00
oSumAtrIX
efdd01a988
refactor!: use proper extension function names
...
BREAKING CHANGE: This changes the names of extension functions
2023-06-07 03:43:13 +02:00
oSumAtrIX
eafe1c631f
refactor: use existing null output stream
2023-06-07 03:32:19 +02:00
oSumAtrIX
aacf900764
fix!: implement extension functions consistently
...
BREAKING CHANGE: This changes the name of functions
2023-06-07 03:32:19 +02:00
LisoUseInAIKyrios
b6d6a7591b
fix!: check for two methods parameters orders ( #183 )
...
BREAKING CHANGE: This requires changes to `MethodFingerprint`
2023-06-07 02:50:38 +02:00
oSumAtrIX
526a3d7c35
refactor!: rename parameter
...
BREAKING CHANGE: This changes named parameters.
2023-05-24 01:49:07 +02:00
oSumAtrIX
28fc6a2ddd
refactor: apply Kotlin idioms
2023-05-24 01:45:46 +02:00
Jim Man
239ea0bcaa
refactor: simplify loading patches ( #172 )
2023-05-14 01:55:26 +02:00
badawoll
a2052202b2
feat!: add classDef
parameter to MethodFingerprint
( #175 )
...
BREAKING CHANGE: This changes the signature of the `customFingerprint` function.
2023-05-11 01:37:17 +02:00
rstular
98f8eedecd
fix: remove count
instead of count + 1
instructions with removeInstructions
( #167 )
...
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
BREAKING-CHANGE: This alters the behaviour of the function. Instead of removing `count + 1` instructions, this now removes `count` instructions.
2023-05-08 01:03:09 +02:00
oSumAtrIX
49c173dc14
feat: add overload to get instruction as type
2023-05-05 23:36:30 +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
058d292ad5
fix: check CONST_STRING_JUMP
instructions for matching string
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-02-10 05:18:38 +01:00
oSumAtrIX
1029d56a52
refactor: remove dead code
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-02-10 05:17:36 +01:00
oSumAtrIX
709b5a0fec
chore: fix typo
...
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-02-10 05:16:00 +01:00
oSumAtrIX
4102f43b8a
feat: do not fix methods or methods in class merger
2023-01-02 08:50:08 +01:00
oSumAtrIX
5c09ef7837
feat: fix method and field access when merging classes
2023-01-02 07:57:50 +01:00
oSumAtrIX
3e0bf8c863
refactor: move merging classes code to own class
2023-01-02 07:57:48 +01:00
oSumAtrIX
8f3ecc318c
feat: add missing setter to MutableMethod
2023-01-02 07:09:58 +01:00
Canny
9f0a09a756
feat: make aaptPath
nullable ( #146 )
2022-12-20 20:04:15 +01:00
oSumAtrIX
c5de9e2988
fix: check if fingerprint string is substring of any string references
2022-12-18 22:05:05 +01:00
oSumAtrIX
7cf79e68e0
fix: print full exception when patch fails
2022-12-18 09:02:48 +01:00
oSumAtrIX
9ec720e983
fix: publicize types when merging files if necessary ( #137 )
2022-12-13 23:36:47 +01:00
oSumAtrIX
c2a5a55e67
refactor: remove unnecessary test
2022-12-11 03:01:41 +01:00
oSumAtrIX
a306561b55
feat: sort patches in lexicographical order
...
Closes #125
2022-12-02 03:31:25 +01:00
oSumAtrIX
a925650044
feat: merge classes on addition ( #127 )
2022-12-02 02:31:47 +01:00
oSumAtrIX
bd053b7e99
fix: use MethodUtil.methodSignaturesMatch
instead of Method.softCompareTo
2022-11-25 10:24:13 +01:00
oSumAtrIX
ba9d998681
feat: apply changes from ReVanced Patcher
...
BREAKING-CHANGE: Some annotations have been removed regarding fingerprints and patches.
2022-11-23 00:29:12 +01:00
oSumAtrIX
4164cb0dea
fix: fallback to patch class name instead of java.lang.Class
class name
2022-11-18 02:14:20 +01:00