Commit Graph

1551 Commits

Author SHA1 Message Date
Connor Tumbleson
9e5df69d17 aapt2: remove unneeded newline 2018-02-22 11:22:40 -05:00
Connor Tumbleson
8de1354007 aapt2: ZipUtils class to replicate the building of final zip 2018-02-22 11:22:40 -05:00
Connor Tumbleson
574de8db71 aapt2: new method to execAndReturn to collect stdout from a process 2018-02-22 11:22:40 -05:00
Connor Tumbleson
f5caccbc2e aapt2: flag for aapt2 and sparse resources to meta-info/apkOptions 2018-02-22 11:22:40 -05:00
Connor Tumbleson
0827b2b7a2 aapt2: read the type spec and infer if sparsely packed 2018-02-22 11:22:40 -05:00
Connor Tumbleson
88987e60b3 aapt2: Add a flag to determine if sparse resources or not 2018-02-22 11:22:40 -05:00
Connor Tumbleson
e02c5f2b2f aapt2: Add AaptManager
- capable of determining version of an aapt binary (2 or 1)
 - can return a v2/v1 aapt binary
2018-02-22 11:22:40 -05:00
Connor Tumbleson
f8edbc9332 aapt2: add support for "--use-aapt2" option 2018-02-22 11:22:40 -05:00
Connor Tumbleson
f57c73d421 aapt2: copy "BuildAndDecodeTest" to aapt2 for temporary testing 2018-02-22 11:22:40 -05:00
Connor Tumbleson
ac1402aa7e aapt2: binary install for mac 2018-02-22 11:22:40 -05:00
Connor Tumbleson
34a2d03b31
Support for applications with an empty resources.arsc file
- fixes #1730
2018-02-19 06:45:48 -05:00
Connor Tumbleson
17bad5a9bd
Merge pull request #1690 from iBotPeaches/type-id-offset
We are ignoring typeIdOffset
2018-02-16 08:42:28 -05:00
Connor Tumbleson
b7b449eaaf
We are ignoring typeIdOffset
- missing sample that experiences this
 - needs tests
 - samples requested: https://github.com/iBotPeaches/Apktool/issues/1728
 - refs: f90f2f8dc3
2018-02-16 08:38:07 -05:00
Connor Tumbleson
9fc1ede991
License 2018 update 2018-02-16 08:26:53 -05:00
Connor Tumbleson
1d485d21e9
cleanup formatting in smali-res-tagger
- experiment rewriting resIds in smali to remove need of public.xml
2018-02-16 08:25:34 -05:00
Connor Tumbleson
dc2db53dec
dir: remove unused file 2018-02-16 08:21:21 -05:00
Connor Tumbleson
7903ec8b29 update internal docs for building aapt2 on mac 2018-02-14 11:32:54 -05:00
Connor Tumbleson
65fb5c25c2
Revert "switch to "startsWith" to stop AndroResGuard tricks"
This reverts commit c7f4dfe1db.
2018-02-13 08:47:43 -05:00
Connor Tumbleson
085e8f66ef
Switch to loop for checking extensions we are treating as raw
- 9patch (samsung)
 - regular (apple)
 - I imagine this list will grow over time
2018-02-13 08:47:02 -05:00
Connor Tumbleson
c7f4dfe1db
switch to "startsWith" to stop AndroResGuard tricks 2018-02-13 08:46:52 -05:00
Connor Tumbleson
da9fb5115e
update steps as aapt2 requirements change 2018-02-13 08:46:20 -05:00
Connor Tumbleson
cab47c846b
update baksmali to v2.2.2 2018-02-13 08:45:13 -05:00
Connor Tumbleson
e7d511adf8 Remove unused line
- refs: no issue
2018-02-08 15:17:51 -05:00
Connor Tumbleson
d1857102dd Add spaces where missing to make logic easier to read
- refs: no issue
2018-02-08 15:14:19 -05:00
Connor Tumbleson
bca474272e Support for rebuilding root depth kotlin folder
- refs: #1703
2018-02-07 09:42:56 -05:00
Connor Tumbleson
89e56c95c1 update internal docs for building aapt2 2018-02-07 09:20:03 -05:00
Connor Tumbleson
ddb5f5c590 We now use android-8.1.0_r9 for aapt 2018-02-02 15:12:05 -05:00
Connor Tumbleson
a504da9846
start new dev cycle (2.3.2-SNAPSHOT) 2017-12-26 08:10:43 -05:00
Connor Tumbleson
0e26950a72
version bump (2.3.1) 2017-12-25 21:24:22 -05:00
Connor Tumbleson
48b40e69c4
Merge pull request #1693 from iBotPeaches/issue-1157
Support private (internal) minified namespaces
2017-12-15 07:45:14 -05:00
Connor Tumbleson
895af9c975 refactor test 2017-12-14 14:07:32 -05:00
Connor Tumbleson
2838d292a0 new test apk 2017-12-14 10:55:35 -05:00
Connor Tumbleson
7d22fc66b5 Initial testing of private namespace
- added sample (removed attribute names)
2017-12-14 10:55:35 -05:00
Connor Tumbleson
d46ba2fb82 add small test for #1157 2017-12-13 14:41:36 -05:00
Connor Tumbleson
b9ddfc8508 remove outdated gitignore 2017-12-08 16:40:53 -05:00
Connor Tumbleson
b525f235f8 code style cleanup 2017-12-08 16:38:31 -05:00
Connor Tumbleson
a0cd772205 Remove duplicate manifest-only parameter 2017-12-08 16:31:25 -05:00
Nic Allen
88eed24625 Patch APKTool to allow repeated entry offsets to appear 2017-12-07 15:38:25 -08:00
Connor Tumbleson
23486830a9 Passing test for #1587
- fixes #1587
 - refs: 0fa6418553
2017-12-07 17:10:30 -05:00
Connor Tumbleson
5734c68156 Merge branch 'rubenanagua-master' 2017-12-07 16:39:18 -05:00
Connor Tumbleson
d414bbd3b4 add unit-tests for 1680 2017-12-07 16:38:38 -05:00
Ruben Anagua
4158347546 Merge branch 'master' of git://github.com/iBotPeaches/Apktool 2017-12-07 11:34:01 +00:00
Ruben Anagua
dd81dbfc9c Add ability to force decoding of manifest 2017-12-07 11:33:04 +00:00
Connor Tumbleson
00e2e43318 update to smali 2.2.2 2017-12-06 17:29:09 -05:00
Connor Tumbleson
2b9728e9f3 Prevent ugly "Content is not allowed in prolog" warning
- fixes: #1634
2017-12-01 15:21:47 -05:00
Connor Tumbleson
3264f142cb
Remove useless null warning 2017-11-29 07:56:24 -05:00
Connor Tumbleson
ee2b7206f1
Add test for #1674 2017-11-29 07:43:45 -05:00
Connor Tumbleson
ef9be883cd update internal framework to API 27 (Android Oreo - 8.1)
- fixes #1667
2017-11-23 08:37:08 -05:00
Connor Tumbleson
18143c037e Merge branch 'minsko-master' 2017-11-23 06:49:08 -05:00
Connor Tumbleson
0a3adab84c Add test changes to detect encoding of raw font files
- refs #1662
2017-11-23 06:48:56 -05:00