Commit Graph

826 Commits

Author SHA1 Message Date
Connor Tumbleson
a7b06f161b [skip] added changes note for PR #84 2014-06-18 11:07:08 -05:00
Connor Tumbleson
04d3d1a03a [skip] remove newline at EOF 2014-06-18 11:06:05 -05:00
Connor Tumbleson
cc405a8f35 Merge branch 'teprrr-master' 2014-06-18 11:01:35 -05:00
Connor Tumbleson
2ca606c04d Merge branch 'master' of github.com:teprrr/Apktool into teprrr-master 2014-06-18 11:01:20 -05:00
Connor Tumbleson
e126a51b4b handles manifests with missing named attributes.
- fixes #512
2014-06-18 10:59:54 -05:00
Teemu Rytilahti
5eabf19157 Allow using the library externally by catching the exceptions while loading properties from unavailable classes. 2014-06-18 00:53:53 +02:00
Connor Tumbleson
a66e150fc1 add license badge icon to readme 2014-06-06 20:58:08 -05:00
Connor Tumbleson
848f0d6b5f fixed regression introduced in: b149d7bd49 2014-05-30 06:33:17 -05:00
Connor Tumbleson
c29dffe554 fix array type values being misrepresented due to incorrect index 2014-05-25 12:37:14 -05:00
Connor Tumbleson
db68deb41a [skip] added note to changes on previous merge 2014-05-25 11:45:58 -05:00
chrisch1974
1fd8a0c361 DirUtil: fixed exception when decompiling with -r and no res folder exists in the apk 2014-05-25 11:44:55 -05:00
Connor Tumbleson
0ece6cf1b3 update internal aapts for "unknown error -19" 2014-05-25 11:26:29 -05:00
Connor Tumbleson
584d1cda18 ignore "com.lge.internal" 2014-05-18 06:48:01 -05:00
Connor Tumbleson
8ad817441f suppress warnings when coming back from Yaml 2014-05-12 17:12:04 -05:00
Connor Tumbleson
a3897bfe0d [spelling] Nul -> Null 2014-05-12 17:11:28 -05:00
Connor Tumbleson
fc0b584af1 [skip] adjusted spacing to match new standard 2014-05-12 17:01:08 -05:00
Connor Tumbleson
0bb217ac88 [skip] code spacing 2014-05-12 17:00:49 -05:00
Connor Tumbleson
b149d7bd49 cleaned up XmlPullStreamDecoder
-- removed optimize for manifest bool
 -- take attr value once, then re-use
 -- used passed ResTable, instead of re-init
2014-05-12 17:00:31 -05:00
Connor Tumbleson
8766cfbb7f [travis] re-enable email notifications 2014-05-11 13:42:55 -05:00
Connor Tumbleson
665ec60b75 add badges to readme 2014-05-09 17:55:51 -05:00
Connor Tumbleson
f5fc88e463 add travis-ci builds
[travis] skip test on travis

[travis] install 32bit libs
2014-05-09 17:52:29 -05:00
Connor Tumbleson
b53101f69e adds support for ignoring "com.lge"
-- fixes issue 630
2014-05-08 15:08:40 -05:00
Connor Tumbleson
172f3272d2 [skip] add fixed bug 626 to changes 2014-05-03 07:39:07 -05:00
Connor Tumbleson
dbda71d2af [skip] fix output to match a jar 2014-05-03 07:38:49 -05:00
Connor Tumbleson
a031787ece switch from URI to Paths 2014-05-03 07:37:52 -05:00
Connor Tumbleson
625d042c26 version bump (rc1) 2014-04-13 20:42:24 -05:00
Connor Tumbleson
ab60872bbf Merge branch 'wip-2.0'
Conflicts:
	brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/ResConfigFlags.java
2014-04-13 20:30:09 -05:00
Connor Tumbleson
251a6bbb11 add unit-test for font tags in <array> item 2014-03-19 16:52:07 -05:00
Connor Tumbleson
25e9ed7281 add more modular support for renamed packages
-- There is no "set" rules for renaming a manifest, so we must adapt to patterns. There are some apks that have original package names as "android", "miui", "com.htc", etc. These are not meant for renaming, but exist to align that apk to a specific OEM framework system. (EX HTC system apks have a package id of com.htc). However, this pattern isn't true when framework apks are involved, as the intended behavior is to rename the package from xxx to com.htc (as an example).

-- We solve this by first identifying the active package via the packageId instead of package with most ResSpecs (we fall back on that though)
-- then with two hardcoded arrays of UNKNOWN_PACKAGES and ALLOWED_PACKAGES
2014-03-19 16:23:45 -05:00
Connor Tumbleson
74153661df add unit-test for jpg image 2014-03-18 10:31:07 -05:00
Connor Tumbleson
1e3b66f9be adds "miui", "android" and "com.htc" to list of ignored renamed packages. 2014-03-09 17:47:43 -05:00
Connor Tumbleson
d1eb0b01e1 [skip] fixed bad logger name 2014-03-06 09:40:49 -06:00
Connor Tumbleson
119f9d9680 Added jar decode unit-test 2014-03-02 08:46:51 -06:00
Connor Tumbleson
b5dcce3738 abstracted unknown files out of resources, to remove dependencies on ResTable 2014-03-02 08:46:35 -06:00
Connor Tumbleson
0736aac013 fixes unknown files being ignored when -r is used 2014-02-22 13:59:36 -06:00
Connor Tumbleson
65b188ae96 fixes unknown files being ignored if prefixed with known file 2014-02-16 11:20:06 -06:00
Connor Tumbleson
f130c995fb added failing unit-test for bug 603 2014-02-16 11:16:59 -06:00
Connor Tumbleson
f85dc478b2 Github pr #81 - correctly handle non-URI characters in filename 2014-02-10 07:17:56 -06:00
Connor Tumbleson
19a1a260a0 refactor aapt test into own test class, move helper function into TestUtils 2014-02-10 07:15:32 -06:00
Connor Tumbleson
2d0fb1f6ca force UTF-8 compile w/ gradle 2014-02-10 07:14:44 -06:00
Connor Tumbleson
d90bea10ce malformed styles
if styles are malformed html, then recreation fails with OutOfBounds,
end tag if error occurs to prevent crash
2014-02-09 20:45:16 -06:00
Connor Tumbleson
f980cfad97 add change note about fixing spacing 2014-02-09 20:08:04 -06:00
Connor Tumbleson
94b90a6dd2 add code style doc rules, adjusting stringblock to 120 margin 2014-02-09 19:23:25 -06:00
Connor Tumbleson
bdc18552d3 added changes note 2014-02-09 19:15:17 -06:00
Connor Tumbleson
8cd8850ad8 add a contributing doc 2014-02-09 19:14:29 -06:00
Connor Tumbleson
086139a037 code cleanup of 2014 2014-02-09 19:01:57 -06:00
Connor Tumbleson
720c08608d fix debug gradle builds to have less bloat in console 2014-02-09 18:49:59 -06:00
Connor Tumbleson
c5a8f0c8a5 don't write a trailing /u0000 if its the last char of the string 2014-02-09 18:49:32 -06:00
Connor Tumbleson
541301278b add unit-tests (very long strings - greater than 32768 chars) 2014-02-09 18:49:05 -06:00
Connor Tumbleson
ca314b9aae fix abused lengths (strings over 32768) for UTF-16 strings 2014-02-09 18:48:40 -06:00