Commit Graph

1363 Commits

Author SHA1 Message Date
Ryszard Wiśniewski
3955e7082c Added interface of Java decoding and building. 2010-04-23 14:23:08 +02:00
Ryszard Wiśniewski
3cee5a0b02 Updated to use (bak)smali 1.2.2 . 2010-04-23 13:31:45 +02:00
Ryszard Wiśniewski
476ddbfa27 . 2010-04-03 22:44:28 +02:00
Ryszard Wiśniewski
cd56ffadd0 . 2010-04-02 20:14:58 +02:00
Ryszard Wiśniewski
651f4d37d8 Fixed support for apk without any sources. 2010-04-02 20:08:04 +02:00
Ryszard Wiśniewski
02c93c725d ResPluralsValue: escaping values when serializing to XML. 2010-04-02 18:45:50 +02:00
Ryszard Wiśniewski
85a767c9e3 . 2010-04-02 18:43:25 +02:00
Ryszard Wiśniewski
ec1abd3f9b ResFlagsAttr: use smallest possible number of flags to describe decoded value. 2010-04-02 18:16:14 +02:00
Ryszard Wiśniewski
6ce6d76484 ResBagValue.serializeToXml(): serializing as style, array or plurals value depending on type of ResResource. 2010-04-02 14:56:51 +02:00
Ryszard Wiśniewski
c9f298fdea ResArrayValue: added support for empty arrays. 2010-04-02 14:53:36 +02:00
Ryszard Wiśniewski
916e872330 Marking items of enum and flags attrs as synthesized. 2010-04-02 14:20:20 +02:00
Ryszard Wiśniewski
e9db0b3426 Added possibility to mark resource as synthesized, so it won't be included in value XMLs. 2010-04-02 14:19:09 +02:00
Ryszard Wiśniewski
08a95d754c . 2010-04-02 14:17:13 +02:00
Ryszard Wiśniewski
5c27cba88a Rewrited bags factoring mechanisms. 2010-04-02 13:46:26 +02:00
Ryszard Wiśniewski
024b369a6e ResReferenceValue: added type name. 2010-04-02 13:45:46 +02:00
Ryszard Wiśniewski
b636373e1d AndrolibResources.escapeForResXml(): don't insert new-line char to XML output. 2010-04-02 13:42:24 +02:00
Ryszard Wiśniewski
4bd9ea4b60 Storing resources.arsc uncompressed in framework apk files. 2010-04-02 13:38:50 +02:00
Ryszard Wiśniewski
602fd95f8a AndrolibResources.escapeForResXml(): escaping quotes. 2010-04-02 12:44:43 +02:00
Ryszard Wiśniewski
432146c8bb 2010-04-01 18:38:22 +02:00
Ryszard Wiśniewski
9234017707 Added support for framework apks. 2010-04-01 17:38:30 +02:00
Ryszard Wiśniewski
5a6e684f80 AndrolibResources.aaptPackage(): added possibility to package framework resources. 2010-04-01 17:37:23 +02:00
Ryszard Wiśniewski
79a1b564e7 ResTable +hasPackage() 2010-04-01 17:34:16 +02:00
Ryszard Wiśniewski
b8bbbad458 ResFileDecoder: disabled xml-decoding of .html files. 2010-04-01 17:31:57 +02:00
Ryszard Wiśniewski
f4a5e7f910 XmlPullStreamDecoder: added some log messages. 2010-04-01 15:16:33 +02:00
Ryszard Wiśniewski
453d5d1751 Added support for apks which do not have sources or resources. 2010-04-01 14:52:17 +02:00
Ryszard Wiśniewski
f1742c1956 ARSCDecoder: added support for config chunks of size other than 32. 2010-03-27 22:24:05 +01:00
Ryszard Wiśniewski
8094115fbc AndrolibResources.escapeForResXml(): fixed bug triggered when empty string given. 2010-03-27 21:33:42 +01:00
Ryszard Wiśniewski
d35120da35 Added automatic 9-patch workaround. 2010-03-27 21:09:16 +01:00
Ryszard Wiśniewski
dc1a645396 Androlib +buildLib() 2010-03-27 20:02:43 +01:00
Ryszard Wiśniewski
4e49612c18 Androlib: completely rewritten build methods, added changes checking, etc. 2010-03-27 19:49:05 +01:00
Ryszard Wiśniewski
901035d240 ApkDecoder: moved outDir creating from setOutDir() to decode(). 2010-03-27 19:47:09 +01:00
Ryszard Wiśniewski
a955495284 AndrolibResources.aaptPackage(): added assetDir argument. 2010-03-27 19:44:48 +01:00
Ryszard Wiśniewski
43b28c7ee5 AndrolibResources.decode(): get apkFile as ExtFile. 2010-03-26 16:43:36 +01:00
Ryszard Wiśniewski
c09e74c4dd Make messages outputing/logging consistent between files. 2010-03-26 15:40:54 +01:00
Ryszard Wiśniewski
3561384aec +ApkDecoder 2010-03-26 14:32:00 +01:00
Ryszard Wiśniewski
336f61db83 Androlib: replaced decode() by many decode*() methods. 2010-03-26 14:31:34 +01:00
Ryszard Wiśniewski
ecca0d80b7 Androlib: updated to interface changes in brut.directory . 2010-03-26 14:28:51 +01:00
Ryszard Wiśniewski
da2b3d8313 AndrolibResources: using ExtFile to get contents of apk file. 2010-03-26 14:25:43 +01:00
Ryszard Wiśniewski
c41f46cf08 +ExtFile 2010-03-26 14:24:44 +01:00
Ryszard Wiśniewski
96e62f955b ExtMXSerializer.setProperty(): fixed a bug, which makes impossible to set PROPERTY_DEFAULT_ENCODING. 2010-03-26 14:23:16 +01:00
Ryszard Wiśniewski
35efa39be3 Removed unused class ApkFile. 2010-03-25 21:33:31 +01:00
Ryszard Wiśniewski
64fe894062 ExtMXSerializer: added possibility to set default encoding. 2010-03-25 21:15:44 +01:00
Ryszard Wiśniewski
ac1bc7ca54 ExtMXSerializer.startDocument(): new line depends on serializer setup. 2010-03-25 21:01:12 +01:00
Ryszard Wiśniewski
d42798fd92 ResXmlSerializer -> ExtMXSerializer 2010-03-25 21:00:41 +01:00
Ryszard Wiśniewski
a9ab437ae0 Platform-independence improvement. 2010-03-25 13:35:44 +01:00
Ryszard Wiśniewski
3fdde30939 AndrolibResources: added possibility to decode resources.arsc from InputStream. 2010-03-25 11:11:12 +01:00
Ryszard Wiśniewski
51e1a28bda Removed some old code. 2010-03-25 10:53:47 +01:00
Ryszard Wiśniewski
0045fb5479 Removed brut.androlib.jni module. 2010-03-25 10:52:01 +01:00
Ryszard Wiśniewski
9efcc88170 Removed bits related to decoding res table using jni. 2010-03-25 10:48:01 +01:00
Ryszard Wiśniewski
28cb022d1a AndrolibResources: using ARSCDecoder instead of jni code. 2010-03-25 10:38:55 +01:00