Commit Graph

14 Commits

Author SHA1 Message Date
Ryszard Wiśniewski
edaa2e8163 Added cross-type resources tests.
E.g. <item type="integer" name="test">TEST</item> or <item type="string" name="test">#ffcc00</item> - they must be decoded as <item />.
2011-05-02 03:41:08 +02:00
Ryszard Wiśniewski
e4acfb34a2 Do not decode res-references as <item />.
So now they're decoded as e.g. <string name="test">@android:string/ok</string> instead of <item type="string" name="test">@android:string/ok</item>.
2011-05-02 03:35:03 +02:00
Ryszard Wiśniewski
d86909707b apktool-lib: added basic tests for resources building/decoding. 2011-05-02 02:05:46 +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
26cdc8299a Added ExtXmlSerializer interface. 2011-05-02 01:44:34 +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
f05f264182 ResConfigFlags: added zero-padding of MCC qualifiers.
MCC must be 3-digits long. Official documentation does not specify that, but aapt throws errors if you create e.g. values-mcc1 dir.
2011-05-01 19:08:01 +02:00
Ryszard Wiśniewski
0bd967bacc Merge branch 'master' into arichnad 2011-04-26 03:22:37 +02:00
Ryszard Wiśniewski
68937b969e pom.xml: added root.basedir property. 2011-04-26 03:17:57 +02:00
adrian
253a95c98d minor: input file might not exist. 2011-04-26 02:09:36 +02:00
adrian
74ecd31a4d I get a null pointer exception if this isn't a resource. 2011-04-26 02:09:36 +02:00
Ryszard Wiśniewski
606cbb2197 lib/pom.xml: changed smaliVersion to 1.2.4-brut3 . 2011-01-19 20:49:46 +01:00
Ryszard Wiśniewski
855d521a1f lib/pom.xml: added smaliVersion property. 2011-01-19 20:48:59 +01:00
Ryszard Wiśniewski
a3ff517cc0 Prefixed lib and cli dir names with apktool- . 2011-01-18 01:55:38 +01:00