Commit Graph

1170 Commits

Author SHA1 Message Date
Marvin Killing
693f592b13 Ignore file entries containing '..' in the APK file to fix #1498
Zip/APK files can legally contain entries that point to the parent directory of the one in which the .zip is located.
Usually, unzip implementations ignore them by default, and we‘ll do the same.
2017-05-09 22:17:45 +02:00
Marvin Killing
f979f202c7 Add failing test for #1498 2017-05-09 21:54:37 +02:00
Connor Tumbleson
ea16f3ff1d Merge pull request #1496 from iBotPeaches/shadow-jar
Shadow Jar
2017-05-08 09:02:47 -04:00
Connor Tumbleson
966c861d2f
s/fatJar/shadowJar 2017-05-08 08:45:39 -04:00
Connor Tumbleson
e723e6e68f
Prevent over escaping plurals item tags 2017-05-08 08:34:17 -04:00
Connor Tumbleson
015f3a734b
Add unit test for #1456 2017-05-08 08:34:03 -04:00
Connor Tumbleson
429e18ac25
Move MXSerializer to unique namespace
- prevents dependency version from loading
 - patch MXSerializer to skip duplicate namespaces at same depth
2017-05-08 08:33:49 -04:00
Connor Tumbleson
dfbcf298c2
Move to shadowJar, leaving fatJar behind
- plugin was deprecated
2017-05-08 08:33:12 -04:00
Connor Tumbleson
90b7d4b9b5
move common output to fine LOG level
- only visible in VERBOSE
2017-05-05 07:51:24 -04:00
Connor Tumbleson
e2f77aac18
Pass exception back to user
- check object is not null before closing
 - refs #1160
2017-05-05 07:46:56 -04:00
Connor Tumbleson
7947f115b0 Merge pull request #1492 from iBotPeaches/issue-1160
Prevent closing objects that may not exist.
2017-05-05 07:13:30 -04:00
Connor Tumbleson
e4db1fa8d6 Prevent closing objects that may not exist. 2017-05-04 17:53:54 -04:00
Connor Tumbleson
5e94801de1
add passing test for #1431 2017-05-02 08:38:32 -04:00
Connor Tumbleson
af1e24be64
Merge branch 'MarcMil-master' 2017-05-02 08:16:21 -04:00
Connor Tumbleson
488b9d58dd
code style changes 2017-05-02 08:16:07 -04:00
Marc Miltenberger
66c1b46865 Closing Framework and APK after use
This commit should fix https://github.com/iBotPeaches/Apktool/issues/1160
2017-05-02 08:21:09 +02:00
Connor Tumbleson
4800bd7b44 Merge pull request #1484 from iBotPeaches/issue-1481
Keep baksmali options same as previous apktool
2017-04-25 08:54:19 -04:00
Connor Tumbleson
3e552cd020 Merge pull request #1482 from friederbluemle/update-gradle-wrapper
Update Gradle wrapper to 3.5
2017-04-25 08:42:18 -04:00
Connor Tumbleson
2d5337d3cb
Keep baksmali options same as previous apktool 2017-04-25 08:42:01 -04:00
Frieder Bluemle
c82f1ce736
Update Gradle wrapper to 3.5 2017-04-24 12:28:25 +08:00
Connor Tumbleson
1180948e2c Merge pull request #1470 from atn1969/master
fix of binary xml string length encoding, apktool is now supporting long resource lengths
2017-04-05 08:21:48 -04:00
Alexei Khlebnikov
0fa6418553 fix of binary xml string length encoding, now supporting long resource strings 2017-04-04 17:19:21 +02:00
Connor Tumbleson
3c24735f61 Merge pull request #1461 from iBotPeaches/smali-22
Upgrade to smali 2.2
2017-04-04 07:32:07 -04:00
Connor Tumbleson
74f76ae71d
Upgrade to smali 2.2 2017-03-27 09:16:11 -04:00
Connor Tumbleson
6cc251249c
[skip] fix spacing on code block 2017-01-23 08:21:37 -05:00
Connor Tumbleson
60b5b8e4b1
Update INTERNAL doc for instructions how to publish a release 2017-01-23 08:19:14 -05:00
Connor Tumbleson
d386bf447d
start new dev cycle (2.2.3-SNAPSHOT) 2017-01-23 08:18:51 -05:00
Connor Tumbleson
499c2f9039
version bump (2.2.2) 2017-01-22 11:54:12 -05:00
Connor Tumbleson
1b55105042
Skip UTF8 test on Windows
- fixes #1414
2017-01-19 06:12:41 -05:00
Connor Tumbleson
dd4a207ec4
forgot to strip symbols from 64 bit unix aapt 2017-01-16 12:30:35 -05:00
Connor Tumbleson
e3c6db33df Merge pull request #1413 from peter23/master
show message about null references
2017-01-16 08:40:12 -05:00
Connor Tumbleson
71488bbf61
Force pkgId for applications that have a non-standard pkgId 2017-01-16 07:35:40 -05:00
Peter M
c3fc2fe260 show message about null references 2017-01-13 16:49:58 +03:00
Connor Tumbleson
b60db0917d
Add support for 3 non-positional attributes
- fixes #1360 & fixes #1405
 - add tests
2017-01-13 07:06:38 -05:00
Connor Tumbleson
37c26d636e
upgrade to gradle 3.3 2017-01-13 07:04:55 -05:00
Connor Tumbleson
0571cccaff Merge pull request #1395 from iBotPeaches/issue/1394
Refactor ExtFile to brut.j.dir
2016-12-29 09:34:37 -05:00
Connor Tumbleson
726bd47922 Merge pull request #1392 from iBotPeaches/issue/1369
Ignore filename checks to allow unicode filenames
2016-12-29 09:34:29 -05:00
Connor Tumbleson
de8041cb6f
Add new aapt binaries
- 32/64 unix
 - windows
2016-12-29 09:09:03 -05:00
Connor Tumbleson
6e86fa9fcd retain backward compatibility w/ old ExtFile extended to new location 2016-12-26 07:37:54 -05:00
Connor Tumbleson
78a7724725 manually replace %20 w/ space 2016-12-25 08:47:20 -05:00
Connor Tumbleson
3ba82b08e3 leverage paths for default FileDirectory constructor 2016-12-25 08:22:31 -05:00
Connor Tumbleson
891d0d39e0 Refactor ExtFile to brut.j.dir
- move to using Paths when possible
 - adapt calls to FileDirectory to leverage Paths
2016-12-25 07:57:41 -05:00
Connor Tumbleson
b6127d2a31 Ignore filename checks to allow unicode filenames
- fixes #1369
 - aapt binaries for mac osx
2016-12-24 07:45:54 -05:00
Connor Tumbleson
166bf508e2 Add "--no-version-vectors"
- fixes #1384
 - prevents aapt versioning vectors on rebuild
2016-12-23 09:11:43 -05:00
Connor Tumbleson
4d5a822e4f Merge pull request #1390 from iBotPeaches/issue/1389
Patch aapt for 32/64 unix/mac and add support for unknown chars.
2016-12-23 08:54:39 -05:00
Connor Tumbleson
31d015fe37 Add new aapt binaries for macosx 2016-12-23 07:30:46 -05:00
Connor Tumbleson
dae52d3899
Add new aapt binaries
- 32/64 unix
 - windows
2016-12-22 09:06:25 -05:00
Connor Tumbleson
b9736d97e3
Add is64Bit() check 2016-12-22 09:06:03 -05:00
Connor Tumbleson
58ab04cca9 Merge pull request #1385 from xpirt/master
fix TYPE_DYNAMIC_ATTRIBUTE support
2016-12-20 18:41:00 -05:00
Andrei Conache
983e0ad111 fix TYPE_DYNAMIC_ATTRIBUTE support 2016-12-20 14:09:10 +01:00