semantic-release-bot
|
ebbcf78e56
|
chore(release): 1.0.0-dev.10 [skip ci]
# [1.0.0-dev.10](https://github.com/revanced/revanced-patcher/compare/v1.0.0-dev.9...v1.0.0-dev.10) (2022-05-07)
### Bug Fixes
* qualifying `Element` with wrong package ([4d74de4 ](4d74de4061 ))
|
2022-06-05 08:03:31 +02:00 |
|
oSumAtrIX
|
024fa867e1
|
fix: qualifying Element with wrong package
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:31 +02:00 |
|
semantic-release-bot
|
e506d8fd8c
|
chore(release): 1.0.0-dev.9 [skip ci]
# [1.0.0-dev.9](https://github.com/revanced/revanced-patcher/compare/v1.0.0-dev.8...v1.0.0-dev.9) (2022-05-07)
### Bug Fixes
* `compareSignatureToMethod` not matching correctly in case opcodes are null ([5ae5e98 ](5ae5e98f1f ))
* `ConcurrentModificationException` while iterating through `proxies` and modifying it ([bfeeaf4 ](bfeeaf4435 ))
* `PackageMetadata` ([305a817 ](305a81793a ))
* `replaceWith` not replacing classes with used class proxies ([f0f3403 ](f0f34031dd ))
* adding existing classes to the patchers cache ([4281546 ](4281546f69 ))
* always return PatchResultSuccess on patch success ([866b03a ](866b03af21 ))
* applying no patches throwing error ([f88c118 ](f88c11820d ))
* applyPatches not returning successful patches ([8b70bb4 ](8b70bb4290 ))
* Classes not being written properly because of array shifting ([1471956 ](147195647c ))
* failing tests temporarily ([66b08f8 ](66b08f8b3a ))
* fix classes having multiple instances of fields ([b711b80 ](b711b8001e ))
* fix classes having multiple method instances ([12c10d8 ](12c10d8c64 ))
* Fixed writer & signature resolver, improved tests & speed, minor refactoring ([bb42fa3 ](bb42fa3c6f ))
* fuzzy resolver warning params were turned around ([d49df10 ](d49df10a3c ))
* incorrect pattern offset ([03700ff ](03700ffa51 ))
* make `methodMetadata` nullable in `MethodSignatureMetadata` ([864e38c ](864e38c069 ))
* make warnings nullable instead of lateinit ([04b49b8 ](04b49b8b66 ))
* match to correct signature method parameters ([c49071a ](c49071aff7 ))
* MethodSignature#resolved throwing an exception ([82b1e66 ](82b1e66d54 ))
* Move proxy package out of cache package ([6bc4e7e ](6bc4e7eab7 ))
* null check causing an exception ([560c485 ](560c485ab0 ))
* Patcher not writing resolved methods ([d15240d ](d15240d033 ))
* reaching all constructors not possible ([37fa994 ](37fa9949ec ))
* remove leftover debug code ([4458141 ](4458141d6d ))
* return mutable set of classes ([84bc7e0 ](84bc7e0dc7 ))
* returning failure on success ([3b68d5c ](3b68d5c65e ))
* Search method map for existing class proxy ([d5e694c ](d5e694c306 ))
* string signature in `SignatureResolver` ([ac36d19 ](ac36d19693 ))
* Suppress unused for addFiles ([a0d6d46 ](a0d6d46217 ))
* throwing in case the opcode patterns do not match ([f72dd68 ](f72dd68ec5 ))
* use Array instead of Iterable for methodParameters ([312235b ](312235b194 ))
* write all classes ([6ad51aa ](6ad51aad9a ))
### Code Refactoring
* bump multidexlib2 to 2.5.2.r2 ([32e6458 ](32e645850d ))
* Change all references from Array to Iterable ([264989f ](264989f488 ))
### Features
* add `MethodWalker` ([659e108 ](659e1087c9 ))
* add `p` naming scheme to smali compiler ([38556d6 ](38556d61ab ))
* add extensions for cloning methods ([df7503b ](df7503b47b ))
* add findClass method with className ([78235d1 ](78235d1abe ))
* Add first tests ([6767c8f ](6767c8fbc1 ))
* add fuzzy resolver ([a492808 ](a492808021 ))
* add immutableMethod ([eed1cfd ](eed1cfda7b ))
* add inline smali compiler ([dbafe2a ](dbafe2ab37 ))
* add missing test for fields ([4022b8b ](4022b8b847 ))
* add or extension for AccessFlags ([aec5eeb ](aec5eeb597 ))
* Add patch metadata ([8544fc4 ](8544fc4cbc )), closes [ReVancedTeam/revanced-patches#1](https://github.com/ReVancedTeam/revanced-patches/issues/1)
* Add warnings for Fuzzy resolver ([643a14e ](643a14e664 ))
* allow classes to be overwritten in addFiles and resolve signatures when applyPatches is called ([5f71a34 ](5f71a342ac ))
* Allow unknown opcodes using `null` ([f4a47d4 ](f4a47d4dc8 ))
* Finish first patcher test ([a9e4e8a ](a9e4e8ac32 ))
* Improve `SignatureResolver` ([88a6a27 ](88a6a27302 ))
* migrate to dexlib ([be51f42 ](be51f42710 ))
* Minor refactor and return proxy, if class has been proxied already ([2d3c611 ](2d3c61113d ))
* properly manage `ClassProxy` & add `ProxyBackedClassList` ([2319787 ](23197879b2 ))
* remaining mutable `EncodedValue` classes ([7d38bb0 ](7d38bb0baa ))
* string signature ([#22](https://github.com/revanced/revanced-patcher/issues/22)) ([c245edb ](c245edb0c5 ))
### Performance Improvements
* depend on `androlib` instead of `ApkDecoder` ([e5c054a ](e5c054ac2f ))
* do not resolve empty signatures list ([1f7bf3a ](1f7bf3ac6c ))
* lazy-ify all mutable clones ([05e4400 ](05e44007d8 ))
* optimize indexOf call away ([f8e978a ](f8e978af88 ))
* use Set instead of List since there are no dupes ([6221387 ](622138736d ))
* use String List and compare instead of any lambda ([aed4fd9 ](aed4fd9a3c ))
### Reverts
* AccessFlag extensions not working with IDE ([e161f7f ](e161f7fea4 ))
* previous commits check for dupes in dexFile, not cache ([433914f ](433914feda ))
### BREAKING CHANGES
* arrayOf has to be changed to listOf.
* Method signature of Patcher#save() was changed to comply with the changes of multidexlib2.
* Removed usage of ASM library
|
2022-06-05 08:03:30 +02:00 |
|
oSumAtrIX
|
f5b5c52e55
|
chore: bump java-version for action setup-java
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:30 +02:00 |
|
oSumAtrIX
|
fc05fe79de
|
fix: failing tests temporarily
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:29 +02:00 |
|
j4k0xb
|
79909cf260
|
feat: add p naming scheme to smali compiler
|
2022-06-05 08:03:29 +02:00 |
|
autergame
|
8f12873200
|
Replace ReVancedTeam with revanced in build.gradle.kts
|
2022-06-05 08:03:29 +02:00 |
|
oSumAtrIX
|
cc9416dd11
|
perf: depend on androlib instead of ApkDecoder
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:28 +02:00 |
|
oSumAtrIX
|
99319e63da
|
add: resource patcher
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:28 +02:00 |
|
oSumAtrIX
|
c459beb5f8
|
fix: reaching all constructors not possible
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:28 +02:00 |
|
oSumAtrIX
|
e5ae970009
|
fix: string signature in SignatureResolver
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:27 +02:00 |
|
oSumAtrIX
|
612515acf8
|
feat: string signature (#22)
* feat: string signature
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
* fix: signature in test
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
* fix: make string signature optional
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
* fix: use of `compareOpcodes` when comparing string signatures
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
* add: `PackageMetadata` for signatures
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:27 +02:00 |
|
oSumAtrIX
|
b1eebc99a7
|
perf: do not resolve empty signatures list
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:27 +02:00 |
|
oSumAtrIX
|
6cb7cdb0b2
|
fix: ConcurrentModificationException while iterating through proxies and modifying it
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:26 +02:00 |
|
oSumAtrIX
|
beff1df9b0
|
refactor: resolve signatures automatically
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:26 +02:00 |
|
oSumAtrIX
|
f58a498849
|
add: applyProxies method
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:26 +02:00 |
|
oSumAtrIX
|
6cb1fdf617
|
feat: properly manage ClassProxy & add ProxyBackedClassList
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:25 +02:00 |
|
oSumAtrIX
|
7399450139
|
fix: PackageMetadata
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:25 +02:00 |
|
oSumAtrIX
|
193eae298a
|
add: PackageMetadata for signatures
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:25 +02:00 |
|
oSumAtrIX
|
4e56652429
|
fix: make methodMetadata nullable in MethodSignatureMetadata
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:24 +02:00 |
|
oSumAtrIX
|
7755bbc645
|
feat: add MethodWalker
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:24 +02:00 |
|
Lucaskyy
|
f3b5f67b39
|
fix: incorrect pattern offset
|
2022-06-05 08:03:24 +02:00 |
|
Lucaskyy
|
7f18bbf66e
|
docs: fix improper docs for fuzzy resolver Warning
|
2022-06-05 08:03:23 +02:00 |
|
oSumAtrIX
|
c8b68e36e0
|
refactor: better naming for resolver warning parameters
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:23 +02:00 |
|
oSumAtrIX
|
5ca5a1c29e
|
fix: applying no patches throwing error
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:23 +02:00 |
|
oSumAtrIX
|
d677d9e800
|
refact: better parameter names for Warning
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:22 +02:00 |
|
Lucaskyy
|
e5bea06353
|
fix: fuzzy resolver warning params were turned around
|
2022-06-05 08:03:22 +02:00 |
|
Lucaskyy
|
8f1a629191
|
fix: make warnings nullable instead of lateinit
|
2022-06-05 08:03:22 +02:00 |
|
Lucaskyy
|
e6086511e5
|
refactor: remove all parameter names
|
2022-06-05 08:03:21 +02:00 |
|
Lucaskyy
|
c612676543
|
fix: MethodSignature#resolved throwing an exception
|
2022-06-05 08:03:21 +02:00 |
|
Lucaskyy
|
bca948658e
|
test: Add tests for unknown opcodes
|
2022-06-05 08:03:20 +02:00 |
|
Lucaskyy
|
0e5f4ba2d5
|
feat: Allow unknown opcodes using null
This is the same as `??` in IDA signatures.
|
2022-06-05 08:03:20 +02:00 |
|
Lucaskyy
|
6ca05769ef
|
chore: remove todo
|
2022-06-05 08:03:20 +02:00 |
|
Lucaskyy
|
c21e5affba
|
refactor: remove all @Suppression's
|
2022-06-05 08:03:19 +02:00 |
|
Lucaskyy
|
1c5a04caf9
|
refactor: format code
|
2022-06-05 08:03:19 +02:00 |
|
Lucaskyy
|
3d6a1d38f3
|
fix: Suppress unused for addFiles
|
2022-06-05 08:03:19 +02:00 |
|
Lucaskyy
|
715a2ad025
|
feat: Add warnings for Fuzzy resolver
|
2022-06-05 08:03:18 +02:00 |
|
Lucaskyy
|
9889ec9d03
|
docs: fix wrong wording
|
2022-06-05 08:03:18 +02:00 |
|
Lucaskyy
|
01bfbd656e
|
feat: add extensions for cloning methods
|
2022-06-05 08:03:17 +02:00 |
|
Lucaskyy
|
6c9797583d
|
test: fix outdated test
|
2022-06-05 08:03:17 +02:00 |
|
Lucaskyy
|
3cf07f5ce2
|
refactor: replace asInstructions with toInstruction to follow proper naming scheme
|
2022-06-05 08:03:17 +02:00 |
|
Lucaskyy
|
0bfb92a0cb
|
revert: AccessFlag extensions not working with IDE
|
2022-06-05 08:03:16 +02:00 |
|
Lucaskyy
|
042638a399
|
refactor: replace Array with Iterable
|
2022-06-05 08:03:16 +02:00 |
|
oSumAtrIX
|
4178a1eedc
|
fix: replaceWith not replacing classes with used class proxies
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:15 +02:00 |
|
oSumAtrIX
|
338bd9f739
|
fix: null check causing an exception
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:15 +02:00 |
|
oSumAtrIX
|
c55c62a57e
|
add: throw on getting result of MethodSignature if null
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
|
2022-06-05 08:03:15 +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
|
b2dab3fabf
|
refactor: rename method to resolverMethod
|
2022-06-05 08:03:14 +02:00 |
|
Lucaskyy
|
0f30eac32c
|
fix: remove leftover debug code
|
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 |
|