Ryszard Wiśniewski
379e4aa74c
ResStringValue::encodeAsResXmlValue(): don't enumerate non-pos substs.
...
It already sets formatted="false", so enumeration isn't necessary.
2011-12-02 02:57:15 +01:00
Ryszard Wiśniewski
4a0febd862
ResScalarValue: removed serializeXmlBody().
...
It didn't make much sense.
2011-12-02 02:49:46 +01:00
Ryszard Wiśniewski
8b6e02b41a
ResXmlEncoders::findNonPositionalSubstitutions(): it now really finds non-positional substs only.
...
It was showing all substs including positional ones.
2011-12-02 02:41:21 +01:00
Ryszard Wiśniewski
3ed49c83cb
Added tests for positional substitutions in string and string-array.
2011-12-02 02:21:07 +01:00
Ryszard Wiśniewski
2aa7a70b74
Updated smali to 1.3.0-brut6 .
2011-11-29 00:07:10 +01:00
Ryszard Wiśniewski
5d05136ab7
ApkDecoder.writeMetaFile(): don't write framework info if not decoding resources.
2011-11-10 00:11:47 +01:00
Ryszard Wiśniewski
31e6dc51f1
added --quiet option.
2011-11-05 21:07:34 +01:00
Ryszard Wiśniewski
fafc3f447c
Added tests and support for -television qualifier (API13).
2011-11-05 18:13:12 +01:00
Ryszard Wiśniewski
8b285989d2
Added support for API13 resource qualifiers.
2011-11-05 02:12:56 +01:00
Ryszard Wiśniewski
4c01265009
Added tests for API13 resource qualifiers.
2011-11-05 01:49:45 +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
65c20a8411
Updated .gitignore .
2011-11-05 01:00:21 +01:00
Ryszard Wiśniewski
f056603d8c
Hardcoded project.version in POMs, removed ${aversion} property.
...
Property substitution is not allowed in /project/parent/(groupId|artifactId|version) or in /project/(groupId|artifactId|version) - it sometimes works and sometimes not.
2011-11-05 00:52:42 +01:00
Ryszard Wiśniewski
269870bad6
ResXmlEncoders::findNonPositionalSubstitutions() : fixed a bug when string ends with percentage char.
2011-05-17 10:28:49 +02:00
Ryszard Wiśniewski
c74b2ab04f
Added test for literal with percentage char at the end.
2011-05-17 10:26:36 +02:00
Ryszard Wiśniewski
0c428dd7c7
ResPluralsValue: now stores array of ResScalarValue instead of ResStringValue.
...
Plurals contain strings, but they could use e.g. references. It'll be safer to let them store any scalar value.
2011-05-17 10:01:21 +02:00
Ryszard Wiśniewski
b539c3c1a1
Add commit hash to a version name of snapshot builds.
2011-05-17 10:01:06 +02:00
Ryszard Wiśniewski
75bba88e28
Changed version to 1.4.2-SNAPSHOT.
2011-05-15 20:49:55 +02:00
Ryszard Wiśniewski
569aa47773
Changed version to 1.4.1 .
2011-05-15 20:32:50 +02:00
Ryszard Wiśniewski
f52dccc010
pom.xml: do not filter android-framework.jar .
2011-05-15 20:30:54 +02:00
Ryszard Wiśniewski
40b2b6625f
Changed version to 1.4.1-SNAPSHOT .
2011-05-15 18:42:58 +02:00
Ryszard Wiśniewski
f08dcbc02b
Changed version to 1.4.0 .
2011-05-15 17:09:06 +02:00
Ryszard Wiśniewski
abb8215a97
NOTICE: changed project name to "apktool".
2011-05-15 17:09:06 +02:00
Ryszard Wiśniewski
e0a0769704
Androlib::getVersion() : read version from apktool.properties ."
2011-05-15 17:09:06 +02:00
Ryszard Wiśniewski
84a0972526
+apktool.properties +ApktoolProperties
2011-05-15 17:09:06 +02:00
Ryszard Wiśniewski
f1fed7a75e
Moved <resource> from /apktool-lib/pom.xml to /pom.xml .
2011-05-15 17:09:06 +02:00
Ryszard Wiśniewski
ab95908908
pom.xml: added aversion property.
2011-05-15 17:09:06 +02:00
Ryszard Wiśniewski
06dfa4c95f
Updated builtin framework to API 12 (Android v3.1).
2011-05-14 17:44:20 +02:00
Ryszard Wiśniewski
679078d962
ResXmlEncoders::encodeAsXmlValue() : fixes for style tags mixed up with spaces.
2011-05-14 13:17:59 +02:00
Ryszard Wiśniewski
549dc9e3f4
Updated test for literals with style tags - added some spaces.
2011-05-14 13:16:08 +02:00
Ryszard Wiśniewski
f53971f09f
ResPluralsValue: don't encode values in constructor, but in serializeToResValuesXml().
...
This may speed up loading of frameworks.
2011-05-14 13:14:44 +02:00
Ryszard Wiśniewski
1042a72958
ResXmlEncoders: added findNonPositionalSubstitutions(), use it in hasMultipleNonPositionalSubstitutions(), enumerateNonPositionalSubstitutions().
2011-05-14 12:02:02 +02:00
Ryszard Wiśniewski
316353f83f
ResStringValue::encodeAsXmlValue() : enumerate non-positional substitutions.
2011-05-14 03:49:24 +02:00
Ryszard Wiśniewski
5363b7f470
ResScalarValue +serializeXmlBody()
2011-05-14 03:48:32 +02:00
Ryszard Wiśniewski
265ee7ceac
ResXmlEncoders +hasMultipleNonPositionalSubstitutions() +enumerateNonPositionalSubstitutions() .
2011-05-14 03:47:41 +02:00
Ryszard Wiśniewski
19b5e2726a
Removed unused imprt.
2011-05-14 02:32:29 +02:00
Ryszard Wiśniewski
113965e5b5
Added test for a literal with single substitution (should not add formatted="false").
2011-05-14 02:00:54 +02:00
Ryszard Wiśniewski
27fd99ea8c
Remove tmp files after running tests - accidentially broken in 28831ed
.
2011-05-14 01:57:29 +02:00
Ryszard Wiśniewski
e59d3bf84a
Added support for res/mipmap* .
2011-05-14 00:54:42 +02:00
Ryszard Wiśniewski
f175408823
Updated brut.apktool.smali to v1.2.6-brut5 .
2011-05-14 00:40:57 +02:00
Ryszard Wiśniewski
9fd97ca9a5
ResStringValue: added support for strings which require formatted="false".
2011-05-10 17:13:54 +02:00
Ryszard Wiśniewski
99882396b9
ResScalarValue +serializeExtraXmlAttrs() .
2011-05-10 17:12:27 +02:00
Ryszard Wiśniewski
0f251a0fd9
ResXmlEncoders::encodeAsXmlValue() : properly encode strings with styles and new lines.
2011-05-10 16:58:32 +02:00
Ryszard Wiśniewski
8dcbe6ead7
Added test for string literal with formatted="false".
2011-05-10 16:56:00 +02:00
Ryszard Wiśniewski
1e87038c39
Added a test for literal with mixed style tags and new lines.
2011-05-10 16:54:31 +02:00
Ryszard Wiśniewski
28831eda06
Moved ResValuesXmlSerializable to brut.androlib.res.xml package.
2011-05-09 11:25:45 +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
30add278d5
ResScalarValue::encodeAsResXml*() : use raw value if there is one.
2011-05-09 11:19:00 +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