Commit Graph

2130 Commits

Author SHA1 Message Date
dependabot[bot] a1f4a4b6c8
build(deps): bump commons-io:commons-io from 2.13.0 to 2.14.0 (#3358)
Bumps commons-io:commons-io from 2.13.0 to 2.14.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 06:44:03 -04:00
dependabot[bot] 9b92ddb78c
build(deps): bump gradle/gradle-build-action from 2.8.0 to 2.9.0 (#3359)
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.8.0...v2.9.0)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 06:43:55 -04:00
Connor Tumbleson 955c5fe847
build: run ci on changes to "libs.versions.toml" 2023-10-02 06:17:33 -04:00
Connor Tumbleson 9265c8bfde
refactor: remake android-framework jar file (#3356) 2023-10-01 07:42:03 -04:00
Connor Tumbleson ce6e4c6cf6
build: add dependency graph support (#3355) 2023-10-01 06:48:22 -04:00
Connor Tumbleson 23d9ec0e58
refactor: support more resource-mode params (#3354) 2023-10-01 06:26:54 -04:00
Connor Tumbleson 93c66ef373
build: migrate towards "libs.versions.toml" (#3353) 2023-10-01 06:08:47 -04:00
Connor Tumbleson 77b4229d10
refactor: suppress last unused method return (#3349) 2023-09-30 07:33:06 -04:00
Connor Tumbleson 9c465321f1
refactor: use static inner classes for AbstractDirectory (#3348) 2023-09-30 07:27:20 -04:00
Connor Tumbleson f63bbc0be2
fix: handle duplicate res entries during a complex resource (#3347) 2023-09-30 07:21:58 -04:00
Connor Tumbleson aea1d68dbc
refactor: adjust line to fit 120 length line endings in /value (#3338) 2023-09-18 06:18:44 -04:00
Connor Tumbleson f3936cbd22
fix: enforce java 1.8 compatibility with built artifacts (#3330) 2023-09-13 06:25:47 -04:00
Connor Tumbleson 515af4faf8
Reworks Attr/Array Handler (#3326)
* test: add example pkcs key

* fix: rework towards ResScalarValue instead of ResIntValue

* fix: prefer res name instead of "guessing" based on ids
2023-09-11 19:01:09 -04:00
Connor Tumbleson c07e4a92e6
fix: load type spec if no TYPE_SPEC chunks (#3325) 2023-09-11 06:24:23 -04:00
dependabot[bot] dd32a3c301
build(deps): bump actions/checkout from 3 to 4 (#3327)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 06:19:27 -04:00
Connor Tumbleson 6e3fac2414
refactor: make _options lowercase (#3324) 2023-09-09 09:47:41 -04:00
Connor Tumbleson a117132e39
Feat: Introduce "res-mode" options. (#3318)
* Revert "Remove Apktool Dummys. (#3258)"

This reverts commit 0e226928ce.

* feat: properly add dummys

* refactor: shorten ResTypeSpec

* style: remove extra space

* refactor: extract FlagItem into own class

* refactor: notate which type is null

* fix: only add dummys if enabled

* feat: skip unknown (if enabled)

* feat: introduce "res-mode"

* feat: expose config on res table

* feat: add method to base attr for res skips

* fix: ensure autobuild doesn't choke

* refactor: remove java17 enhanced switch

* refactor: rename methods

* refactor: cleanup res-mode param

* test: introduction of test/sample apk

* refactor: make ResXmlPatcher public for loading XML

* test: assertions for dummy|leave|retain

* fix: prevent using `@null` as a name

* refactor: shorten long param for 'resm'

* refactor: leave for preserve
2023-09-09 07:29:39 -04:00
dependabot[bot] f0ca6d11f9
build(deps): bump gradle/gradle-build-action from 2.7.1 to 2.8.0 (#3316)
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.7.1...v2.8.0)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 11:30:18 -04:00
Connor Tumbleson dcb6788243
refactor: verbose doesn't adapt handler (#3310) 2023-09-03 07:06:44 -04:00
Connor Tumbleson c7915cd6cb
feat: add sponsors to readme (#3301) 2023-08-29 06:18:18 -04:00
oSumAtrIX 538b8a8e4f
build: start new dev cycle (2.8.2-6) 2023-08-27 21:30:51 +02:00
oSumAtrIX 43edf043ed
Merge branch 'upstream' 2023-08-27 21:30:14 +02:00
Connor Tumbleson 81a7e1e434
fix: only mark as sparse if intended application (#3299) 2023-08-27 15:06:58 -04:00
Connor Tumbleson 06c5f462e0
refactor: use proper enum (0 on both) for setMethod() (#3297) 2023-08-26 21:39:42 -04:00
Connor Tumbleson b6e283ee62
fix: obtain git history for proper "git describe" (#3291) 2023-08-23 19:03:22 -04:00
Connor Tumbleson 7d76829ad9
feat: shorten archive name to apktool-{version}.jar (#3289) 2023-08-23 07:26:21 -04:00
oSumAtrIX a377fde62d
build: start new dev cycle (2.8.2-5) 2023-08-22 18:52:30 +02:00
oSumAtrIX 24c0bd96ee
feat: remove AAPT2 argument unavailable in stable version of platform-tools 2023-08-22 18:52:23 +02:00
oSumAtrIX 863b73877e
Merge branch 'upstream' 2023-08-22 18:48:49 +02:00
Connor Tumbleson 4862131a68
fix: correct path to archive during ci (#3287) 2023-08-21 06:49:31 -04:00
dependabot[bot] 4bdf0b6a75
build(deps): bump gradle/gradle-build-action from 2.7.0 to 2.7.1 (#3285)
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.7.0...v2.7.1)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 06:27:39 -04:00
ArjunaKumarMohanta 7235dda029
feat: Upgrade gradle to v8.3 (#3275) 2023-08-21 06:27:10 -04:00
Connor Tumbleson 8477d996db
fix: bump heap size to 1g max (#3286) 2023-08-21 06:26:46 -04:00
oSumAtrIX 452a620775
feat: disable `customAapt` logic 2023-08-21 02:25:35 +02:00
oSumAtrIX 9ae802052f
build: start new dev cycle (2.8.2-4) 2023-08-19 17:09:43 +02:00
oSumAtrIX 2c9e14c94b
fix: Make sure the property is not null 2023-08-19 17:08:51 +02:00
oSumAtrIX 61bcd855dd
Merge branch 'upstream' 2023-08-19 02:02:00 +02:00
Connor Tumbleson fedc754a78
refactor: remove unneeded blocks/semicolons (#3273) 2023-08-17 07:35:23 -04:00
Connor Tumbleson 225c9089d9
refactor: remove deprecations from test suite (#3269) 2023-08-13 14:25:32 -04:00
Connor Tumbleson e99ed1ccbb
refactor: remove unused decodeManifest function (#3268) 2023-08-13 14:07:45 -04:00
Connor Tumbleson fb6cd883c0
refactor: split out string block vs res table string (#3267) 2023-08-13 13:46:47 -04:00
oSumAtrIX e60804134a
build: start new dev cycle (2.8.2-3) 2023-08-12 01:59:33 +02:00
oSumAtrIX adc9452f66
feat: create missing directories 2023-08-12 01:59:12 +02:00
oSumAtrIX 9c6dffab51
build: allow signing with using gpg-agent 2023-08-11 01:27:03 +02:00
oSumAtrIX 648cb8f546
build: start new dev cycle (2.8.2-2) 2023-08-11 01:27:03 +02:00
oSumAtrIX b16e1763c0
build: change publication repository 2023-08-11 01:27:02 +02:00
oSumAtrIX 72ffcbbc44
feat: decode `9patch` files on Android 2023-08-11 00:56:49 +02:00
oSumAtrIX 4608df636e
feat: allow using the default `XML` serializer by `ResourcesDecoder` manually 2023-08-11 00:53:43 +02:00
oSumAtrIX c0900e50c5
feat: allow instantiating with existing `ApkInfo` 2023-08-11 00:51:30 +02:00
oSumAtrIX 019b2e648d
feat: allow recording uncompressed files manually 2023-08-11 00:51:05 +02:00