Commit Graph

1593 Commits

Author SHA1 Message Date
Frieder Bluemle
e498ad887a
Update Gradle wrapper to 5.5.1 2019-07-22 12:06:15 -07:00
Connor Tumbleson
c2065995ed
feat: update internal framework to API 29 (Q Beta 4)
- fixes: #2131
2019-07-20 12:32:14 -04:00
Connor Tumbleson
f58e043c67
Merge pull request #2072 from iBotPeaches/issue-2058
Prevent directory traversal on asset decoding
2019-07-20 11:10:31 -04:00
Connor Tumbleson
4aa933b31a
test: ensure we don't allow path traversal with win 2019-07-18 07:42:34 -04:00
Connor Tumbleson
47854ec757
fix: experimental fix to prevent path traversal with copied folders 2019-07-18 07:42:34 -04:00
Connor Tumbleson
5aa3cf9728
build: add SECURITY.md 2019-07-14 08:09:21 -04:00
Connor Tumbleson
2c8ea97899
Merge pull request #2132 from iBotPeaches/danielmalmq-master
Added new option to skip non classes[0-9]*.dex files
2019-07-14 07:59:48 -04:00
Connor Tumbleson
9fcd7e4d36
style: grammar for "decompile" vs "disassemble" 2019-07-14 07:35:09 -04:00
Connor Tumbleson
342661cbaa
fix: correct license header on "DuplicateDexTest" 2019-07-14 07:30:41 -04:00
Connor Tumbleson
bae5aab78a
fix: use only long builder for "--only-main-classes" 2019-07-14 07:29:47 -04:00
Connor Tumbleson
9edcc78ee5
style: clean test file 2019-07-14 07:29:32 -04:00
Connor Tumbleson
4d1e6ccbe4
refactor: remove pollution of global command and move to advanced
- removes "-onlymainclasses" for long "--only-main-classes"
2019-07-14 07:23:18 -04:00
Daniel Malmqvist
d79724549c
Added new option to skip non classes[0-9]*.dex files 2019-07-14 07:17:20 -04:00
Connor Tumbleson
5a51c5f96d
style: add comment for explanation of 9patch minimization 2019-07-14 07:09:39 -04:00
Igor Eisberg
bc9f465f3e
Fix the massive list of uncompressed 9.png that prevents recompile on Windows
Windows has its limits, even Windows 10, at least on older versions before the max path length restriction was removed.
Because apktool failed to recognize the .9.png extension as a variety of the .png extension, those .9.png files were piling up in apktool.yml and then passed to aapt, which would fail to run on Windows because of an immense command length.
This fix makes a special exception for the .png exception and will allow the .9.png one to pass as another .png extension.

Before: http://dpaste.com/2BC3RRB
After: http://dpaste.com/177CVZQ
2019-07-14 07:04:49 -04:00
Connor Tumbleson
103aa978df
refactor: remove outdated ALLOWED_PACKAGES constant 2019-07-14 06:56:37 -04:00
Igor Eisberg
8084762274
Fix recompile of miui.apk by allowing package renaming
This old issue prevented the package to be renamed from com.miui.core to miui, making it impossible to recompile, as all attributes are refefred to as miui:*/*. This fixes it permanently.
2019-07-14 06:54:32 -04:00
Connor Tumbleson
3ee39c988a
Merge pull request #2130 from iBotPeaches/issue-2093
License Restoration from 2017 bulk change & 2019 update
2019-07-13 13:25:49 -04:00
Connor Tumbleson
c444bf30f7
build: add exclude for license checks on android.** files 2019-07-13 12:23:48 -04:00
Connor Tumbleson
3990598373
fix: restore licenses wiped by 2017 license change 2019-07-13 12:23:22 -04:00
Connor Tumbleson
25a1cb02ef
fix: License 2019 update 2019-07-13 12:19:41 -04:00
Connor Tumbleson
81acde7613
fix: add deprecation notice into code for #2129 2019-07-13 12:08:59 -04:00
Connor Tumbleson
274f020159
Merge pull request #2120 from Varstahl/master
Enhanced Windows wrapper script
2019-07-13 12:08:33 -04:00
Connor Tumbleson
7619fbcdbe
Merge branch 'master' into master 2019-07-13 11:46:16 -04:00
Connor Tumbleson
acb0ee096f
Merge pull request #2089 from iBotPeaches/issue-2086
build: test on jdk9 and jdk11
2019-07-13 11:34:04 -04:00
Connor Tumbleson
0aad85a0a0
fix: add more missing modules
- thanks http://cr.openjdk.java.net/~mr/jigsaw/ea/module-summary.html
2019-07-13 08:54:19 -04:00
Connor Tumbleson
4888a5a9f0
build: add desktop/sql jmod files 2019-07-13 08:47:16 -04:00
Connor Tumbleson
24c3c0dbc9
fix: properly determine greater than java8 2019-07-13 08:37:59 -04:00
Connor Tumbleson
2d41a613cc
build: use proper bash if statement 2019-07-13 08:26:45 -04:00
Connor Tumbleson
6aeb7d39d7
fix: remove deprecated shadowJar features 2019-07-13 08:22:30 -04:00
Connor Tumbleson
2457bdc9bb
build: update shadowJar to 5.1.0 2019-07-13 08:22:13 -04:00
Connor Tumbleson
e3bead4b5b
build: support for jdk9+ build 2019-07-13 07:54:41 -04:00
Connor Tumbleson
13aa5d2e25
build: update to proguard 6.1.1 2019-07-13 07:52:53 -04:00
Connor Tumbleson
f2ba30ba5f
fix: remove jdk9 (no success) 2019-07-13 07:52:37 -04:00
Connor Tumbleson
5efd17033a
build: test on jdk9 and jdk11 2019-07-13 07:52:37 -04:00
Connor Tumbleson
e8d0d3beef Merge branch 'visigoth-master' 2019-07-12 17:14:33 -04:00
Varstahl
bd4ebdc3dc
Enhanced Windows wrapper script 2019-07-03 19:37:51 +02:00
Shaheen Gandhi
2bc8feb549 Add attr resource type handling 2019-07-02 19:23:33 -04:00
Connor Tumbleson
1b91cec1f1
Merge pull request #2091 from iBotPeaches/gradle-54
Gradle 5.4.1 Upgrade
2019-06-01 11:21:17 -04:00
Connor Tumbleson
1b4f8ec68c
fix: move outjars to end of proguard file 2019-06-01 10:57:19 -04:00
Connor Tumbleson
2d84a8596a
fix: update wrapper version code 2019-06-01 10:55:45 -04:00
Connor Tumbleson
26e2dd6f30
build: update shadowJar and Proguard to latest versions 2019-06-01 10:55:26 -04:00
Connor Tumbleson
513bd600c0
build: update to gradle 5.4.1 2019-06-01 10:54:56 -04:00
Connor Tumbleson
5f43a1fbca
style: cleanup formatting 2019-06-01 09:27:41 -04:00
Connor Tumbleson
4a856b46c4
Merge branch 'feature/keep-meta-inf-services-folder' of https://github.com/adibfara/Apktool into adibfara-feature/keep-meta-inf-services-folder 2019-06-01 09:08:04 -04:00
Connor Tumbleson
ed7633fbe8
build: update smali/baksmali to 2.2.7 2019-06-01 09:00:54 -04:00
Adib Faramarzi
61088302e3 Add unit tests
- add APK file containing a simple app that tries to use coroutines every 2 seconds, and would fail with earlier versions of APKTool
- add unit test for decoding the app
- add unit test for building a decoded app
2019-05-30 22:18:04 +04:30
Adib Faramarzi
cfd50acd1d Add unit tests
- add APK file containing a simple app that tries to use coroutines every 2 seconds, and would fail with earlier versions of APKTool
- add unit test for decoding the app
2019-05-30 22:12:57 +04:30
Adib Faramarzi
fa99bdd19d Fix removal of META-INF/services folder
- copy the META-INF/services folder to the destination APK folder so it does not get dropped
2019-05-30 19:08:21 +04:30
Adib Faramarzi
154da4c643 Fix removal of META-INF/services folder
- copy the META-INF/services folder to the destination APK folder so it does not get dropped
2019-05-30 18:46:59 +04:30