Connor Tumbleson
db1fe98524
feat: usage output for list-frameworks
2020-11-30 07:11:08 -05:00
Connor Tumbleson
734793c4bb
fix: survive if referent is null (flags)
2020-11-29 09:34:43 -05:00
Connor Tumbleson
5f7630e325
fix: survive if referent is null (enum)
2020-11-29 09:34:43 -05:00
Connor Tumbleson
2d41305998
fix: v2.6.0 not v1.6.0
2020-11-28 21:15:30 -05:00
Connor Tumbleson
3ab1a1a5e4
fix: fallback to res-auto namespace if non-android pkg
2020-11-28 16:58:31 -05:00
Connor Tumbleson
150ffc4fdc
style: remove weird indented code
2020-11-28 16:58:31 -05:00
Connor Tumbleson
f1393c3ca6
refactor: return null, if always null
2020-11-28 16:58:31 -05:00
Connor Tumbleson
2eac0339b4
refactor: use easier to read string decode
2020-11-28 16:58:31 -05:00
Connor Tumbleson
db70927699
style: remove unused imports
2020-11-28 16:58:31 -05:00
Connor Tumbleson
45ae71204e
chore: remove StringBlock unused m_stringOwns
2020-11-28 16:58:31 -05:00
Connor Tumbleson
4f13bcad48
fix: add message explaining deprecation of 32bit
2020-11-28 16:26:00 -05:00
Connor Tumbleson
7cf9a95710
fix: add better error message when can't write framework file
2020-11-28 16:19:29 -05:00
Connor Tumbleson
a91aad461e
fix: secure links in usage output
2020-11-28 16:18:54 -05:00
Connor Tumbleson
693d8d1fbf
style: copyright year to start of project
2020-11-28 16:18:40 -05:00
Connor Tumbleson
590f9c1392
fix: remove warning about smali-debugging
2020-11-28 09:10:37 -05:00
Connor Tumbleson
94e224ee3f
fix: delay -c removal till 2.6
2020-11-28 08:59:48 -05:00
Connor Tumbleson
5a54b472d1
fix: set dummy attributes to same type (@null)
2020-11-28 08:59:18 -05:00
Connor Tumbleson
43010de4e8
style: remove unused import
2020-11-28 06:59:48 -05:00
Connor Tumbleson
b896b4491a
fix: prevent NPE during decode app with no matching resId for resource
2020-11-28 06:59:48 -05:00
Connor Tumbleson
cd7405d31b
build: update add latest mac aapt|aapt2 binaries
2020-11-27 15:55:36 -05:00
Connor Tumbleson
3043266ee5
build: update add latest linux/windows aapt|aapt2 binaries
2020-11-27 15:55:36 -05:00
Connor Tumbleson
6bd1ab603b
test: add triple dex test to aapt1
2020-11-27 10:51:54 -05:00
Connor Tumbleson
5658c959b4
test: add triple dex test on aapt2
2020-11-27 10:51:54 -05:00
Connor Tumbleson
9170c5a04b
build: fix chmod on mac binaries
2020-11-27 09:22:41 -05:00
Connor Tumbleson
1dfac6d8bf
build: add latest linux/windows aapt|aapt2 binaries
2020-11-27 09:22:41 -05:00
Connor Tumbleson
d7e27ffc69
build: add latest mac aapt|aapt2 binaries (API 30)
2020-11-27 09:22:41 -05:00
Connor Tumbleson
231ce72483
test: add more tests for #2386
2020-11-27 09:22:41 -05:00
Connor Tumbleson
c501952c69
build: add latest linux/windows aapt|aapt2 binaries (API 30)
2020-11-27 09:22:41 -05:00
Connor Tumbleson
d6f84df00b
fix: leading 0s not supported in aapt anymore
2020-11-27 09:22:41 -05:00
Connor Tumbleson
efeb09e037
build: add latest linux/windows aapt|aapt2 binaries
2020-11-27 09:22:41 -05:00
Connor Tumbleson
3101a05ef6
fix: add development next version (S) - API 31
2020-09-13 08:52:15 -04:00
Connor Tumbleson
6427a28beb
refactor: prevent casting by setting proper types
2020-09-13 08:45:30 -04:00
Connor Tumbleson
943b424172
fix: use proper array syntax
2020-09-13 08:45:05 -04:00
Connor Tumbleson
120c63df75
refactor: remove unused methods/variables
2020-09-13 08:44:40 -04:00
Connor Tumbleson
65eeb2fb4a
refactor: make constant values final
2020-09-13 08:44:08 -04:00
Connor Tumbleson
2720cf93a3
refactor: put same path switch on same line
2020-09-13 08:41:55 -04:00
Connor Tumbleson
35a4bd6718
style: re-org exceptions to have suffix ( #2400 )
...
* style: re-org exceptions to have suffix
* fix: add missing exception for ResResSpec
2020-09-13 08:40:03 -04:00
Connor Tumbleson
22fdee4d2e
feat: update internal framework to API 30 (11 Release)
2020-09-12 11:54:15 -04:00
Giacomo Ferretti
d3f9d5acd2
build: update 'proguard' from 6.1.1 to 7.0.0
...
`jcenter()` it's needed because they didn't upload to Maven Central yet. https://github.com/Guardsquare/proguard/issues/54
There are some minor issues with proguard still.
It produces a lot of warnings since Gradle 6.0, but it's fixable on their side. https://github.com/Guardsquare/proguard/issues/14
2020-08-14 07:56:52 -04:00
Giacomo Ferretti
4c3f1f335a
refactor: 'compile' it's deprecated
...
`compile` it's deprecated since Gradle 6.0 and been discouraged since Gradle 3.4.
We should use `implementation` and `api` instead because `compile` will be removed in Gradle 7.0.
https://docs.gradle.org/6.5.1/userguide/upgrading_version_5.html#deprecations
2020-08-14 07:56:52 -04:00
Ankit Pati
87a9c659f5
convert CRLF line endings to LF in .java
file
2020-08-09 07:57:00 -04:00
Ankit Pati
8009a10a5d
remove executable bit set on .java
file
2020-08-09 07:54:51 -04:00
Connor Tumbleson
de5d0e41cf
fix: prevent nullying out sdk info when compileSdkVersion is found
2020-06-27 15:21:05 -04:00
Leo Wandersleb
546577df6a
exit code 1 if parameters are wrong
...
for use in scripts, it's not convenient to get an exit code 0 on
failure.
2020-06-16 06:18:57 -04:00
Comnir
ecbcfb437e
match test apk name with the relevant issue.
2020-06-09 07:08:22 -04:00
Comnir
306959a6fb
fix the usage of debug flag (-d) when using aapt2
...
- when using aapt and debug flag, we remove the 'debuggable' attribute from AndroidManifest and aapt adds it back. (see issue 1621)
- when using aapt2 and debug flag, we add and set the value of 'debuggable' attribute ourselves.
2020-06-09 07:08:22 -04:00
Peter Retzlaff
408050ffde
Add tests to ensure empty, uncompressed files are put on the doNotCompress list.
...
Also, fix a bug where ext would retain its value from a previous
iteration of the loop, since we don't always overwrite it now.
2020-06-09 07:05:43 -04:00
Peter Retzlaff
05f81f9dd0
Change zero-byte-file tests so they test the correct behavior.
...
* The empty test file needs to be STORED in the testapp, so put it on
the initial doNotCompress list.
* It needs to have a file extension that matches the NO_COMPRESS_PATTERN.
* assertNotSame tests for object equality, which doesn't work for String
comparisons.
2020-06-09 07:05:43 -04:00
Peter Retzlaff
5db19b3329
Put empty, uncompressed files on doNotCompress list ( fixes #2333 ).
...
We do not want one empty file to cause all files with that extension to
not be compressed, so we always put the full filename on the doNotCompress
list in this case.
2020-06-09 07:05:43 -04:00
Connor Tumbleson
83a45921ea
fix: put the resources.arsc file under STORED compression into framework
2020-04-12 07:27:28 -04:00