27 Commits

Author SHA1 Message Date
Connor Tumbleson
ca0f7ec0bb Mac OS X home dir support. Added <uses-sdk> support, reverted SkipBytes(2) for com.htc.resources as just moved the problem elsewhere.
I matched raw AAPT source directly to configFlags. HTC is using something non-official or old.
2012-08-29 00:19:54 -05:00
Connor Tumbleson
2509e402e7 lots of changes to handling of ARSCDecoder. Needs support to handle something that I don't know yet. Something todo with ResSpecs of dual packages. 2012-08-28 21:26:56 -05:00
Connor Tumbleson
df73d477ae cleanup warnings to oraganize things 2012-08-26 14:24:55 -05:00
Connor Tumbleson
cd845cb212 finally making progress. I've found that were at 42 bytes of configflags from the previous 36. Increasing the value fixes the WARNINGs, but then it errors later on because it doesn't know how to handle that new data. That new data I was planning on using AAPT to read, but APPT won't read these weird HTC Sense APKs. So gonna have to step 1 by 1 via java debugger :( 2012-08-26 10:50:02 -05:00
Connor Tumbleson
26362dac3b fix callbacks to old methods 2012-08-08 15:14:08 -05:00
Connor Tumbleson
ca1e7a811e working on reverting bad text on manifest 2012-08-08 09:06:14 -05:00
Connor Tumbleson
97451619b8 Fixing the mess-ups that was apktool v1.4.8 :( 2012-07-08 17:46:02 -05:00
Connor Tumbleson
6575ec9109 reverted 9patch fix as it causes problems. 2012-07-08 11:10:04 -05:00
Connor Tumbleson
ba345ac6b9 increased v1.4.8, merging more of yyj fixes in hopes to fix this arsc error 2012-07-08 10:58:43 -05:00
Connor Tumbleson
282bdae126 Merged in "yyj" fixes along with a few of my own. 95% yyj work :) 2012-07-08 10:33:49 -05:00
Connor Tumbleson
de52fcba8c Added 9patch fix from Charles, worked on com.htc.resources.apk bugs 2012-06-08 12:28:33 -05:00
Connor Tumbleson
ab60071410 Auto Push - Ubuntu Forced Restart 2012-05-21 22:22:43 -05:00
peaches
1b0e066e92 2012-03-22 17:26:16 -05:00
peaches
321dcfa91b 2012-03-22 12:22:12 -05:00
Ryszard Wiśniewski
8b285989d2 Added support for API13 resource qualifiers. 2011-11-05 02:12:56 +01:00
Ryszard Wiśniewski
46cdbd8f8d ARSCDecoder:readConfigFlags(): fixed format of logging of exceeding bytes. 2011-11-05 01:48:33 +01:00
Ryszard Wiśniewski
e59d3bf84a Added support for res/mipmap* . 2011-05-14 00:54:42 +02:00
Ryszard Wiśniewski
e23bf8e70d Added ResXmlEncoders class and use it instead of encoding methods in AndrolibResources. 2011-05-09 11:23:16 +02:00
Ryszard Wiśniewski
31274e73dc ResXmlEncodable: splitted toResXmlFormat() into 2 methods: encodeAsResXmlAttr() and encodeAsResXmlValue(). 2011-05-09 11:17:50 +02:00
Ryszard Wiśniewski
b3866d034d ResAttr::convertToResXmlFormat() : now it returns null if it can't convert a value.
Since now this method was calling toResXmlFormat() on an unconvertable value and was always returning a string. But because of that calling object couldn't know, whether returned value is converted one or not.
2011-05-09 11:07:00 +02:00
Ryszard Wiśniewski
fc814c50d8 Removed some unused or obsolete imports and "implements" declarations. 2011-05-09 10:56:45 +02:00
Ryszard Wiśniewski
5740064cee Extract and store raw value of ResScalarValue.
Many attr values in axml files store their raw string value. Now it's extracted, so any ResScalarValue could make some use of it.
2011-05-09 10:41:29 +02:00
Ryszard Wiśniewski
6c051148b5 AXmlResourceParser::getAttributeValue(): do not use raw value for color values. 2011-05-03 05:08:08 +02:00
Ryszard Wiśniewski
76d8aa0abc AXmlResourceParser::getAttributeValue(): do not use raw value for references and styles. 2011-05-03 03:51:51 +02:00
Ryszard Wiśniewski
e1f3ab852a Add new line at the end of decoded XML file. 2011-05-02 01:50:26 +02:00
Ryszard Wiśniewski
b11d41aefb XmlPullStreamDecoder: do not close streams after decode.
They're passed to XmlPullStreamDecoder, so should be managed by calling object.
2011-05-02 00:36:35 +02:00
Ryszard Wiśniewski
a3ff517cc0 Prefixed lib and cli dir names with apktool- . 2011-01-18 01:55:38 +01:00