Commit Graph

1919 Commits

Author SHA1 Message Date
oSumAtrIX 9443f6fefb
feat: merge iBotPeaches/Apktool 2022-09-23 04:22:53 +02:00
Connor Tumbleson 87223d334e
docs: add note about dummy resources to roadmap 2022-09-20 07:24:55 -04:00
Connor Tumbleson fc1e21e9ed
fix: correct npe if null is returned from attribute value (#2889) 2022-09-20 07:19:28 -04:00
Connor Tumbleson eb105fb26d
docs: add roadmap for split apks 2022-09-20 07:01:13 -04:00
Connor Tumbleson 484760e72c
build: migrate codeql to different workflow (#2888) 2022-09-20 06:39:51 -04:00
Connor Tumbleson dc3667dbd0
Support Spare Flags (#2887)
* support sparse flag

* style: cs changes

Co-authored-by: R0S <41138521+iamr0s@users.noreply.github.com>
2022-09-19 17:18:35 -04:00
Connor Tumbleson 3fff2f128e
Support malformed resource names/namespaces by falling back to resId (#2886)
* Correct falsely-referenced attribute into an entity which is an obfuscated name

* style: correct syntax for custom attributes

* fix: remove unused import

Co-authored-by: MyAnoneNeko <MyAnoneNeko@users.noreply.github.com>
2022-09-19 16:27:43 -04:00
Tvildo 5d6c6c04d2
Fixes Facebook apk deconstruction (#2884) 2022-09-19 12:34:14 -04:00
Jonathan Schoeller 63a8d092d8
Windows: Correct helper script quoting (#2882) 2022-09-13 08:28:31 -04:00
Connor Tumbleson f3f1993bf8
fix: add quotes to allow spaces on windows during helper script
- fixes: #2855
2022-08-06 17:02:43 -04:00
Lucaskyy abd5d09c90
fix: update version to 2.7.0 2022-07-24 18:26:07 +02:00
Lucaskyy 820ef1e4cd
fix: you could make a hollywood movie out of all the hours I spent debugging and eventually after giving up found the solution on this beautiful day. Can you believe it? 2022-07-24 18:17:36 +02:00
Connor Tumbleson 7a2c0c8bb8
fix: correct case when application has no ResPackages
- refs: #2701
2022-07-10 07:42:29 -04:00
Connor Tumbleson f94cdc5cf3
refactor: mark skips as "fine" to not clog output 2022-07-10 07:38:05 -04:00
Connor Tumbleson 287d4a5922
style: fix missing throws statements on javadoc 2022-07-10 07:34:45 -04:00
Connor Tumbleson dceff41a57
feat: lodge helpful information of built apk location
fixes: #2843
2022-07-10 07:32:40 -04:00
Connor Tumbleson c3ce154b72
Binaries: aapt/aapt2 updates (July 5, 2022) (#2846)
* feat: new aapt/aapt2 binaries (win/linux)

* feat: new aapt/aapt2 binaries (mac)

* docs: optimization techniques for aosp clone
2022-07-10 07:21:24 -04:00
Connor Tumbleson 057b35fcec
feat: update internal framework to API 33 (Tiramisu Privacy Preview) (#2845) 2022-07-03 13:00:39 -04:00
Lucaskyy 8cdd9484f7
fix: enable 9patch decoder on any OS 2022-06-28 19:35:02 +02:00
Lucaskyy d9deba1015
fix: just what??? 2022-06-28 00:32:23 +02:00
Lucaskyy 9bfa4c6040
fix: I refuse to believe this ever happened and that's why this is my essay of refusing to believe I made this mistake. I cannot comprehend the fact I made this mistake, that's why I'm very sad now. Some people don't understand the meaning behind life, I don't understand the meaning behind how the actual fck I made this mistake. Please send help. 2022-06-28 00:17:03 +02:00
Lucaskyy 42747d6f99
fix: disable 9patch decoder 2022-06-27 23:56:13 +02:00
Lucaskyy f319ab8ee7
chore: update version to 2.6.5 2022-06-20 16:42:24 +02:00
Lucaskyy 12c490196b
fix: create build dir & java 8 compat 2022-06-20 16:41:45 +02:00
Lucaskyy ef3edf6b34
ci: remove old build step 2022-06-20 16:40:25 +02:00
Lucaskyy ede2d09dc8
fix: wrong matrix when drawing 2022-06-18 23:41:36 +02:00
Sculas a35e53ff79
update version... 2022-06-18 23:06:35 +02:00
Lucaskyy a87ac3a46c
feat: Android implementation of 9patch decoder 2022-06-18 22:17:08 +02:00
Sculas d31e5275dc
fix: get rid of KeyEvent (AWT) 2022-06-18 16:13:43 +02:00
Lucaskyy e115848dbc
refactor: get rid of all that logging 2022-06-11 19:24:41 +02:00
Lucaskyy cdc3eefd88
refactor: cleanup some things and catch possible errors 2022-06-11 19:17:09 +02:00
Lucaskyy 4dca2b2d27
refactor: remove aapt provider implementation 2022-06-11 19:05:40 +02:00
Lucaskyy 37470c018d
fix: redo aapt provider implementation 2022-06-11 17:15:38 +02:00
Lucaskyy 08822dcb98
revert: broken aapt2 conversion
This reverts commit 8701360a0b.
2022-06-11 17:10:02 +02:00
Lucaskyy eabe844a62
ci: actions is lame (last workflow fix) 2022-05-24 17:33:58 +02:00
Lucaskyy cc37d44a2e
ci: fix workflow 2022-05-24 17:29:26 +02:00
Lucaskyy 639681160e
ci: improve workflow 2022-05-24 17:09:23 +02:00
Lucaskyy 5cf66de829
ci: delete old versions 2022-05-24 17:03:13 +02:00
Lucaskyy ac3532219b
ci: fix release 2022-05-24 16:37:29 +02:00
Lucaskyy 65f04ab1f6
ci: create release for apktool-lib 2022-05-24 14:05:15 +02:00
Lucaskyy 8701360a0b
refactor: remove aapt1, add aapt2 interface & provider 2022-05-24 13:56:38 +02:00
Connor Tumbleson 7e71ad01d1
build: cancel duplicate workflows (#2818) 2022-05-23 07:09:43 -04:00
Connor Tumbleson b7c56c8928
Tests / Style for #2815 (#2817)
* style: reorg getAttributes (StyledString)

* test: assertion for aapt2 string (#2815)
2022-05-23 07:09:27 -04:00
Igor Eisberg c1f6dc792a
fix: redesign StyledString decoding (#2816)
* fix: redesign StyledString decoding

* optimize: avoid calling span.getName() twice

* fix: order spans due to aapt1/2 discrepancy
* fixes: #2815
2022-05-23 06:40:48 -04:00
Connor Tumbleson 0997fb98b7
docs: lodge into ROADMAP for Android running of Apktool 2022-05-07 07:04:08 -04:00
erev0s 8fab4bfb3d
added option to include generic/permissive network security config file durin… (#2791)
* added option to include permissive network security config file during build

* added tests for app with existing network config and for app without

* minor fixes for pull 2791

* refactor: slim down test app for network config

* style: remove extra newlines

* refactor: moved network tests to aapt2

* refactor: remove unused exceptions

* test (aapt2): ensure aapt2 is used for net-sec-conf

* fix (cli): block use of net-sec-conf on aapt1

* fix conflict

Co-authored-by: Connor Tumbleson <connor@sourcetoad.com>
Co-authored-by: Connor Tumbleson <connor.tumbleson@gmail.com>
2022-05-07 06:52:07 -04:00
Connor Tumbleson d38eceedae
test (aapt/aapt2): ensure ampersand is escaped on android:label (#2802)
* test (aapt/aapt2): ensure ampersand is escaped on android:label

* build (workflow): ensure test changes force ci rebuild
2022-04-24 17:33:11 -04:00
Connor Tumbleson 420406b553
test (aapt2): add assertion for "usesPermissionFlags" (#2790) 2022-03-28 07:07:20 -04:00
Connor Tumbleson b910df79dd
New aapt/aapt2 binaries (#2787)
* feat: new aapt1/aap2 binaries for mac (static)

* feat: new aapt1/aapt2 binaries for unix/mac (static)

* feat (aapt2): allow reserved pkgIds
2022-03-28 06:53:42 -04:00
Connor Tumbleson fc28ac56ef
Merge pull request #2785 from iBotPeaches/revert-2650-fix-private-reference
Revert "fix: decoding references to private resources"
2022-03-21 07:44:22 -04:00