Commit Graph

905 Commits

Author SHA1 Message Date
a918b49bff Update internal aapt's to android-7.1.2_r11
- fixes #1516
2017-05-30 08:59:06 -04:00
e794508869 cleanup tests 2017-05-27 15:23:39 -04:00
f19317d87c Prevent doctypes declarations 2017-05-27 15:12:54 -04:00
2a35125441 Merge branch 'master' into fix-optical-inset 2017-05-26 10:07:29 +02:00
a00da345b2 code style cleanup 2017-05-25 07:02:23 -04:00
c3ea300b96 Add unit-test for #1508 2017-05-25 07:02:10 -04:00
d2e16044bd Merge branch 'fix-grayalpha-9patch' of https://github.com/phhusson/Apktool into phhusson-fix-grayalpha-9patch 2017-05-25 07:00:00 -04:00
15c4f333a5 Correctly decode arrays.xml
- #1453
 - temporarily cast unknown enum (0) to ResArray
2017-05-24 08:09:05 -04:00
59df68911d update aapts with latest patch
- c81b3899fe
2017-05-23 09:27:59 -04:00
d979247794 patches for style decoding 2017-05-23 09:27:27 -04:00
60f32f7365 Decode OpticalInset cf #1511 2017-05-22 22:28:10 +02:00
dd32f9414d In case of a grayscale + alpha 9patch, work-around JDK.
Original code:
https://worldwind31.arc.nasa.gov/svn/trunk/WorldWind/src/gov/nasa/worldwind/util/gdal/GDALUtils.java
/JDK-5051418
Cf Bug #1508
2017-05-20 13:49:40 +02:00
390ecae6c5 Handle strings with style index at end of string 2017-05-19 09:28:44 -04:00
f979f202c7 Add failing test for #1498 2017-05-09 21:54:37 +02:00
e1f7ac355e add support for preview builds (N, O) 2017-05-08 09:03:13 -04:00
b09dce4050 Prevent loading styles if style position is outside of string
- fixes #1453
2017-05-08 09:03:13 -04:00
e723e6e68f Prevent over escaping plurals item tags 2017-05-08 08:34:17 -04:00
015f3a734b Add unit test for #1456 2017-05-08 08:34:03 -04:00
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
90b7d4b9b5 move common output to fine LOG level
- only visible in VERBOSE
2017-05-05 07:51:24 -04:00
e2f77aac18 Pass exception back to user
- check object is not null before closing
 - refs #1160
2017-05-05 07:46:56 -04:00
e4db1fa8d6 Prevent closing objects that may not exist. 2017-05-04 17:53:54 -04:00
5e94801de1 add passing test for #1431 2017-05-02 08:38:32 -04:00
488b9d58dd code style changes 2017-05-02 08:16:07 -04:00
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
2d5337d3cb Keep baksmali options same as previous apktool 2017-04-25 08:42:01 -04:00
0fa6418553 fix of binary xml string length encoding, now supporting long resource strings 2017-04-04 17:19:21 +02:00
74f76ae71d Upgrade to smali 2.2 2017-03-27 09:16:11 -04:00
1b55105042 Skip UTF8 test on Windows
- fixes #1414
2017-01-19 06:12:41 -05:00
dd4a207ec4 forgot to strip symbols from 64 bit unix aapt 2017-01-16 12:30:35 -05:00
e3c6db33df Merge pull request #1413 from peter23/master
show message about null references
2017-01-16 08:40:12 -05:00
71488bbf61 Force pkgId for applications that have a non-standard pkgId 2017-01-16 07:35:40 -05:00
c3fc2fe260 show message about null references 2017-01-13 16:49:58 +03:00
b60db0917d Add support for 3 non-positional attributes
- fixes #1360 & fixes #1405
 - add tests
2017-01-13 07:06:38 -05:00
0571cccaff Merge pull request #1395 from iBotPeaches/issue/1394
Refactor ExtFile to brut.j.dir
2016-12-29 09:34:37 -05:00
de8041cb6f Add new aapt binaries
- 32/64 unix
 - windows
2016-12-29 09:09:03 -05:00
6e86fa9fcd retain backward compatibility w/ old ExtFile extended to new location 2016-12-26 07:37:54 -05:00
78a7724725 manually replace %20 w/ space 2016-12-25 08:47:20 -05:00
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
b6127d2a31 Ignore filename checks to allow unicode filenames
- fixes #1369
 - aapt binaries for mac osx
2016-12-24 07:45:54 -05:00
166bf508e2 Add "--no-version-vectors"
- fixes #1384
 - prevents aapt versioning vectors on rebuild
2016-12-23 09:11:43 -05:00
31d015fe37 Add new aapt binaries for macosx 2016-12-23 07:30:46 -05:00
dae52d3899 Add new aapt binaries
- 32/64 unix
 - windows
2016-12-22 09:06:25 -05:00
983e0ad111 fix TYPE_DYNAMIC_ATTRIBUTE support 2016-12-20 14:09:10 +01:00
c1cb9425d5 Don't write out a null spec
- #1370
2016-12-02 15:32:31 -05:00
5798c9200f Add unit-test (no unicode)
- #1369
2016-12-02 14:28:06 -05:00
7c6c7ab88b update internal framework to API 25 (Nougat 7.1 Preview) 2016-10-23 08:13:27 -04:00
6361fa9725 Evolve Update-Framework to Empty Framework Directory
- allows emptying of framework via (empty-framework-dir)
 - checks in place to only delete files that are APKs, non recursive
2016-10-06 09:18:16 -04:00
daa1e1d753 Updating Framework Support 2016-10-06 07:21:10 -04:00
81b22df13c Merge pull request #1324 from jamestut/arscfix2
Skip additional payload data of TYPE chunk
2016-09-18 16:56:23 -04:00