Commit Graph

1991 Commits

Author SHA1 Message Date
Connor Tumbleson
b6c3e1daf4
build: start new dev cycle (2.6.1-SNAPSHOT) 2021-09-02 07:03:10 -04:00
Connor Tumbleson
c8f8db72c5
build: version bump (2.6.0) 2021-09-02 05:50:53 -04:00
Connor Tumbleson
3f09781939
docs: add missing docblocks for getHTML() in StringBlock 2021-09-01 07:40:41 -04:00
Connor Tumbleson
5d85f34a2a
refactor: change license to markdown iteration (still apache2.0) 2021-09-01 07:33:02 -04:00
Connor Tumbleson
5fa165a023
refactor: deprecations for 2.6.0 are now 3.0.0
* 2.6.0 -> 2.6.1 (fixes, quicker release)
 * 2.6.0 -> 3.0.0 (big picture, breaking change, slower release)
2021-09-01 07:25:58 -04:00
Connor Tumbleson
8bcab69f25
Merge pull request #2644 from iBotPeaches/detect-valid-aapt-builds
feat: check aapt/aapt binaries for execution and list static nature
2021-09-01 07:23:39 -04:00
Connor Tumbleson
5eed288375
build: rename 2.5.1 to 2.6.0 (2.6.0-SNAPSHOT) 2021-08-30 21:38:45 -04:00
Connor Tumbleson
99166e3609
refactor: change test name of aapt2 issue 2632 2021-08-30 21:38:01 -04:00
Connor Tumbleson
223d3f55d0
Code Cleanup (x2) (#2645)
* refactor: Code cleanups

* build: Add .editorconfig rules

* refactor: Reformat & Rearrange

* refactor: log first package if 2

* fix: remove unneeded depth/logic in serializer

Co-authored-by: Goooler <wangzongler@gmail.com>
2021-08-30 21:36:43 -04:00
Connor Tumbleson
851309dde0
Merge branch 'master' into refine 2021-08-30 21:17:49 -04:00
itaybia
087142d4cf
fix wrong HTML start/end tags in strings.xml (#2631)
* fix wrong HTML start/end tags in strings.xml
2021-08-30 21:15:23 -04:00
Connor Tumbleson
0645821883
fix: remove unneeded depth/logic in serializer 2021-08-30 20:59:53 -04:00
Connor Tumbleson
2e3f22af7c
refactor: log first package if 2 2021-08-30 20:59:38 -04:00
Goooler
5c6d091f39 Merge branch 'master' into refine 2021-08-30 18:48:04 +08:00
Connor Tumbleson
a0c2fef83b feat: new aapt1/aap2 binaries for mac (static) 2021-08-29 11:50:36 -04:00
Connor Tumbleson
caee50b35b test: adjust test for SDK S/T 2021-08-29 07:22:05 -04:00
Connor Tumbleson
f4a75fe761 refactor: remove SDK name from development sdk version 2021-08-29 07:22:05 -04:00
Connor Tumbleson
b80d13b56a fix: add support for proper API 31/S (12) + API 32/T (13) 2021-08-29 07:22:05 -04:00
Connor Tumbleson
aa5d951708
fix: treat aapt binaries as binary 2021-08-28 14:34:13 -04:00
Connor
fc2f12363d feat: new windows/linux aapt/aapt2 binaries 2021-08-28 14:27:30 -04:00
Connor Tumbleson
394394c3b5 feat: add new aapt/aapt2 binaries 2021-08-28 14:27:30 -04:00
Connor Tumbleson
1ce0225c7d fix: add java 15/16 to test suite 2021-08-28 14:25:01 -04:00
Connor Tumbleson
545ba6ae75 fix: remove max-parallel and allow fast fail 2021-08-28 14:25:01 -04:00
Connor Tumbleson
5aba17d81c build: only build master (push) 2021-08-28 14:25:01 -04:00
Connor Tumbleson
ab6b6a5338
docs: add new build information for aapt2/aapt 2021-08-28 14:08:23 -04:00
Goooler
c3e8be3e8a Reformat & Rearrange 2021-08-27 01:32:40 +08:00
Goooler
7ff89c4f44 Add .editorconfig rules 2021-08-27 01:20:06 +08:00
Goooler
94ed86db28 Code cleanups 2021-08-27 01:16:46 +08:00
Connor Tumbleson
2cbefeb91d
docs: fix broken workflow CI image badge 2021-08-26 07:55:42 -04:00
Goooler
e25c3636ff Update docs & licenses to use https 2021-08-26 07:40:32 -04:00
Goooler
6df6beb38d Replace license plugin usage 2021-08-26 07:36:17 -04:00
Goooler
c9d28de8c1 Merge all actions workflows into build.yml 2021-08-26 07:36:17 -04:00
Goooler
7bb6956304
Update github actions & Update gradle (#2628)
* Bump setup-java actions to v2

* Make test action on all branches

* Add dependabot.yml for updating github actions

* Update gradle 7.2

* Revert "Make test action on all branches"

This reverts commit 52758ea249d969f3b94f3ae5d4b5b980103a5cfa.

* Correct jdk

* Revert "Add dependabot.yml for updating github actions"

This reverts commit 7381e8f71c656499e7d0cc70e854b5e4978722d0.

* Run CI after workflows configs changed
2021-08-24 07:59:22 -04:00
Cody Lund
8d59882e5f
Fix: numeric string meta-data value corruption (#2612)
* Fix: handle numeric strings in manifest meta-data value
* fix regex
* scoped solution
* improve comment

Co-authored-by: Cody Lund <colund@microsoft.com>
2021-08-17 07:01:08 -04:00
Goooler
1dddc32636 Add .gitattributes 2021-08-17 06:51:18 -04:00
Goooler
b9f7ae805e Bump proguard to 7.1.1 2021-08-09 15:36:35 -05:00
Goooler
76f01c3695 Bump shadow to 7.0.0 2021-08-09 15:36:35 -05:00
Connor Tumbleson
12ae67158c
Merge pull request #2617 from Goooler/bump
Update dependencies & Add .editorconfig
2021-07-21 06:15:14 -04:00
Goooler
9a3a748e9a Add .editorconfig for format 2021-07-19 12:57:52 +08:00
Goooler
d1b48711cf Update dependencies 2021-07-19 12:57:39 +08:00
Connor Tumbleson
eaab729be5
build: remove deprecated jcenter repo location 2021-07-05 19:44:30 -04:00
Connor Tumbleson
646f43a140
Merge pull request #2606 from iBotPeaches/issue-2603
fix: write dummy resources as items
2021-07-05 05:41:55 -04:00
Connor Tumbleson
e4654e0b5f
fix: write dummy resources as items 2021-07-04 09:49:59 -04:00
Connor Tumbleson
a36be82c48
Merge pull request #2605 from IgorEisberg/master
Determine minSdkVersion with baksmali for JARs + don't compress webp
2021-07-04 09:19:28 -04:00
IgorEisberg
fad2f99541 style: return DexFile interface from SmaliDecoder 2021-07-04 14:12:38 +03:00
IgorEisberg
6cfa79e456 Determine minSdkVersion with baksmali for JARs + don't compress webp
We take advantage of the fact that baksmali can determine the minimum API version needed for a given collection of opcodes and extract it, then save to mMinSdkVersion, which is only used by smali via buildSourcesSmali.
This change, in addition to my previous change, allows to decompile and recompile JARs without worrying about specifying an API version via -api/--api-level.

As an extra, added webp file extension to NO_COMPRESS_PATTERN, according to AAPT2 standards, and since it's factually never compresses as it's an already compressed format.
https://cs.android.com/android/platform/superproject/+/master:frameworks/base/tools/aapt2/cmd/Link.cpp;l=2328
2021-07-04 02:14:56 +03:00
Connor Tumbleson
d1e4478f82
Merge pull request #2604 from IgorEisberg/master
Fix baksmali without API version and various optimizations
2021-07-03 17:41:22 -04:00
IgorEisberg
1ed1076a84 correction: don't clear resource table if it was already loaded 2021-07-04 00:16:22 +03:00
IgorEisberg
88d3d0038c style: organize some using statements for consistency 2021-07-03 23:24:42 +03:00
IgorEisberg
83f9693633 clean: get rid of useless throws 2021-07-03 23:15:10 +03:00