Commit Graph

1890 Commits

Author SHA1 Message Date
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
Connor Tumbleson
49071d0fb0
feat: update internal framework to API 31 (12 Release) (#2743)
* feat: update internal framework to API 31 (12 Release)

* refactor: rename enums for new overlays/stagedAliases

* fix: introduce basic staged alias support

* feat: update internal framework to API 32 (12L Release)

* fix: add support for overlay spec skipping
2022-03-21 07:20:04 -04:00
Connor Tumbleson
c300184780
fix: add support for overlay spec skipping 2022-03-21 07:03:14 -04:00
Connor Tumbleson
26f39ee736
feat: update internal framework to API 32 (12L Release) 2022-03-21 07:02:54 -04:00
auermich93
e105768592
fixes issue #2473 (#2783) 2022-03-21 06:51:15 -04:00
Connor Tumbleson
df3b9f7c56
fix: introduce basic staged alias support 2022-03-13 08:34:45 -04:00
Connor Tumbleson
e9a3993da8
refactor: rename enums for new overlays/stagedAliases 2022-03-13 08:34:31 -04:00
Connor Tumbleson
951d063cbd
feat: update internal framework to API 31 (12 Release) 2022-03-13 07:55:51 -04:00
Goooler
7fd91369e8
Optimize CI a bit (#2773)
* Use gradle-build-action on CI

* Bump actions/checkout to v3

* Bump actions/setup-java to v2

* Rearrange & trim blank lines

* Bump actions/upload-artifact to v3

* Test on jdk 17

* Trim blank lines

* Revert test on jdk 17

* Merge duplicated build actions
2022-03-13 07:40:02 -04:00
Connor Tumbleson
31af56a430
feat: introduce SDK_S_V2 (#2780) 2022-03-13 07:39:54 -04:00
Connor Tumbleson
adc9425a9a
docs: add note about sonatype releasing 2022-02-26 12:57:48 -05:00
Connor Tumbleson
af0da2c671
build: start new dev cycle (2.6.2-SNAPSHOT) 2022-02-26 12:49:33 -05:00
Connor Tumbleson
8f0e461473
build: version bump (2.6.1) 2022-02-26 12:20:51 -05:00
Connor Tumbleson
4065717b45
Preventing instantiation of untrusted classes. (#2760 - CVE-2022-0476)
* fix: enforce allowable classes during yaml parsing

* fix: rename class to reference escaping nature of strings

* test: assertion for parsing malicious yaml
2022-02-19 09:12:04 -05:00
Connor Tumbleson
a269a8e0d5
refactor: drop unused exceptions (#2746) 2022-01-18 08:18:33 -05:00
Connor Tumbleson
797fc3e332
fix: prevent file hold on tmpDir during build (#2745) 2022-01-18 07:32:41 -05:00
Connor Tumbleson
ddc4bb360a
Cleanup trailing temp files/folders (#2742)
* test: add missing afterClass to cleanup BRUT* directory

* fix: properly cleanup apkFile temp after buildManifest
2022-01-17 07:19:22 -05:00
Goooler
86856a69d7
Update dependencies (#2715)
* Bump gradle to 7.3.1

* Update dependencies

* Gradle 7.3.2
2021-12-18 17:31:04 -05:00
Al Sutton
95874be448
Replace use of deprecated methods with their recommended replacements (#2713)
* Replace use of deprecated methods with their recommended replacements

* Add scripting jmod to proguard inputs
2021-12-13 06:27:19 -05:00
Connor Tumbleson
6cfe2987e5
fix: support for signature scheme v4 (#2705) 2021-11-27 07:41:15 -05:00
Connor
fb140dcb3b
docs: add note about multi-threaded 2021-11-27 07:15:54 -05:00
Connor Tumbleson
61fbc5a16e
feat: publish apktool-cli as well to maven
- fixes: #2686
2021-11-08 06:32:41 -05:00
Yaroslav
d29411117e
fix: decoding references to private resources (#2650)
* fix: decoding references to private resources

* style: fix naming in constructor parameter

* test: add test to check build/decode private references
2021-10-17 12:01:54 -04:00
Connor Tumbleson
9bdf385538 style: cleanup build vs Build 2021-09-06 06:59:30 -04:00
Connor Tumbleson
0f690e4654 refactor: remove redundant suppression 2021-09-06 06:59:30 -04:00
Connor Tumbleson
3118b54632 refactor: extract common element from if statement 2021-09-06 06:59:30 -04:00
Connor Tumbleson
d48b407f5b fix: remove unused exceptions in CLI 2021-09-06 06:59:30 -04:00
Connor Tumbleson
3b179f8750 refactor: rename ApkOptions -> Options/BuildOptions 2021-09-06 06:59:30 -04:00
Connor Tumbleson
bc51024ea8
fix: correct behavior of license plugin when injecting variables 2021-09-03 07:58:51 -04:00
Connor Tumbleson
b6c3e1daf4
build: start new dev cycle (2.6.1-SNAPSHOT) 2021-09-02 07:03:10 -04:00