Commit Graph

456 Commits

Author SHA1 Message Date
Ryszard Wiśniewski
4219a8e878 Smali and baksmali using SmaliMod and BaksmaliMod. 2010-09-03 15:05:07 +02:00
Ryszard Wiśniewski
68899cf3f3 SmaliMod, BaksmaliMod: added modifications to original code. 2010-09-03 15:01:45 +02:00
Ryszard Wiśniewski
22374f775f +SmaliMod.assembleSmaliFile() +BaksmaliMod.disassembleDexFile() - added from v1.2.4 . 2010-09-02 16:03:48 +02:00
Ryszard Wiśniewski
912ab63f5b Renamed brut.androlib.src.mod to brut.androlib.mod . 2010-09-02 01:32:24 +02:00
Ryszard Wiśniewski
f648684ca9 ResFileDecoder: in case of decoding error, value is set to FALSE. 2010-09-01 22:31:54 +02:00
Ryszard Wiśniewski
58b6616798 +ResResource.replace(). 2010-09-01 22:30:55 +02:00
Ryszard Wiśniewski
4899344817 ResConfig, ResResSpec: added possibility to overwrite stored ResResource. 2010-09-01 22:30:24 +02:00
Ryszard Wiśniewski
6c98d60922 ResPackage: generating list of files to decode and list of values*/* files on demand. 2010-09-01 22:29:33 +02:00
Ryszard Wiśniewski
6576748f6b Fixed an error, when there are missing resources in type, which does not have default config. 2010-09-01 19:23:13 +02:00
Ryszard Wiśniewski
6a75830a4f +ResPackage.getOrCreateConfig(). 2010-09-01 18:57:39 +02:00
Ryszard Wiśniewski
430fc72388 Added possibility to keep invalid resources, so they could be fixed manually. 2010-08-30 18:38:02 +02:00
Ryszard Wiśniewski
0c1a55cb31 ResConfigFlags: uniquely name every errorous flags. 2010-08-30 18:36:48 +02:00
Ryszard Wiśniewski
db2614831d ResConfigFlags: added validation of input data. 2010-08-30 15:34:28 +02:00
Ryszard Wiśniewski
3c34705798 ARSCDecoder.readConfigFlags(): better handling of exceeding flags data. 2010-08-30 15:25:12 +02:00
Ryszard Wiśniewski
26f39d622a ResConfigFlags: optimized equals() and hashCode() implementations. 2010-08-30 15:15:46 +02:00
Ryszard Wiśniewski
31e987fa12 Added general handling of invalid config flags. 2010-08-30 15:13:38 +02:00
Ryszard Wiśniewski
2064de6a19 Throw warnings instead of exceptions on unknown files inside smali dir. 2010-08-30 00:04:27 +02:00
Ryszard Wiśniewski
10a674dc9e Always compress resources.arsc file. 2010-08-29 23:56:15 +02:00
Ryszard Wiśniewski
5087e915e1 Don't generate sdkVersion ("-v") qualifiers if they're "natural". 2010-08-29 23:41:29 +02:00
Ryszard Wiśniewski
6d923adf81 AXmlResourceParser.getAttributeValue(): always try to use string value first. 2010-08-29 22:52:43 +02:00
Ryszard Wiśniewski
285ee0a146 StringBlock: escape chars in style tags. 2010-08-29 21:20:15 +02:00
Ryszard Wiśniewski
719a25afd6 ARSCDecoder.readConfigFlags(): added more debugging info when omitting unknown flags. 2010-08-29 21:00:10 +02:00
Ryszard Wiśniewski
de8bdfacfa Added support for API Level 8 resource qualifiers. 2010-08-29 17:37:51 +02:00
Ryszard Wiśniewski
a28f40692a ResConfigFlags: swapped screenLayout and sdkVersion. 2010-08-28 20:47:21 +02:00
Ryszard Wiśniewski
2f28ef78f3 Fixed NPE in ResFileDecoder.decode(). 2010-08-27 22:42:23 +02:00
Ryszard Wiśniewski
036d766602 Fixed an issue when *.9.png doesn't have 9patch chunk in it. 2010-08-27 22:30:26 +02:00
Ryszard Wiśniewski
604b15c1cc ResFileDecoder: moved exception catching to outer decode() method, so it can handle decoders exceptions. 2010-08-27 21:04:36 +02:00
Ryszard Wiśniewski
28186f8d22 Changed version to 1.3.1 . 2010-06-14 12:12:09 +02:00
Ryszard Wiśniewski
3f7155c3f3 AndrolibResources.decode(): rethrow error from AXmlResourceParser. 2010-06-14 12:05:51 +02:00
Ryszard Wiśniewski
a592ec78b1 AXmlResourceParser +getFirstError() 2010-06-14 12:05:16 +02:00
Ryszard Wiśniewski
126d66082a AndrolibResources.getResFileDecoder(): return AXmlResourceParser instead of ResAttrDecoder. 2010-06-14 11:35:13 +02:00
Ryszard Wiśniewski
67ff34c39c AXmlResourceParser +getAttrDecoder(). 2010-06-14 11:33:39 +02:00
Ryszard Wiśniewski
db439f2b8c ResEnumAttr: added support for many enum names with same int value. 2010-06-14 11:16:06 +02:00
Ryszard Wiśniewski
a85eff1aef ARSCDecoder: decode strings with their stylings. 2010-06-14 09:22:39 +02:00
Ryszard Wiśniewski
29fd92b2c4 StringBlock.getHTML(): added support for style tags with args. 2010-06-14 09:21:09 +02:00
Ryszard Wiśniewski
2ef8d48d96 AndrolibResources: cut escapeForResXml() to escapeCharsForResXml() and escapeTextForResXml().
StringBlock.getHTML() now properly escapes strings.
2010-06-14 09:21:09 +02:00
Ryszard Wiśniewski
c781281e1c StringBlock.getHtml(): fixed order of closing tags. 2010-06-13 21:46:09 +02:00
Ryszard Wiśniewski
debbb3b5be ApkDecoder: fixed NPE when setFrameTag() is called before setApkFile().
Bug was introduced in 1.3.0 .
2010-06-13 19:24:55 +02:00
Ryszard Wiśniewski
2a20dd1b94 StringBlock.getHTML(): escape XML chars before styling. 2010-06-13 16:43:30 +02:00
Ryszard Wiśniewski
51ec9611f4 Fixed an issue occuring when you try to debug-build smali code with native methods. 2010-06-13 16:13:22 +02:00
Ryszard Wiśniewski
2cda08aea4 Build old projects to dist/out.apk instead of dist/out . 2010-06-12 21:50:50 +02:00
Ryszard Wiśniewski
3703384df9 Changed version to 1.3.0 . 2010-06-12 21:22:56 +02:00
Ryszard Wiśniewski
2748ef833a Added possibility to choose output location when building. 2010-06-12 17:57:47 +02:00
Ryszard Wiśniewski
0ea7744625 Changed default name of built apk from out.apk to a name of original apk. 2010-06-12 17:56:19 +02:00
Ryszard Wiśniewski
517877c665 ApkDecoder.writeMetaFile(): don't write isFrameworkApk and usesFramework if apk doesn't contain resources. 2010-06-12 17:26:34 +02:00
Ryszard Wiśniewski
18c3f0cf7b ApkDecoder: use getResTable() instead of mResTable directly. 2010-06-12 17:22:01 +02:00
Ryszard Wiśniewski
b15179c8bc ApkDecoder +hasSources() +hasResources(). 2010-06-12 17:16:38 +02:00
Ryszard Wiśniewski
80c9806214 Fixed issues related to apks without res directory. 2010-06-12 16:58:15 +02:00
Ryszard Wiśniewski
4af9f005b1 Added 9patch decoding. 2010-06-12 16:06:18 +02:00
Ryszard Wiśniewski
710d7b54d7 Changed version to 1.2.0. 2010-06-03 15:02:04 +02:00