Commit Graph

1483 Commits

Author SHA1 Message Date
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
Ryszard Wiśniewski
2c587188db Updated android framework to 2.2r1. 2010-06-03 14:56:30 +02:00
Ryszard Wiśniewski
1747353955 StringBlock: added support for UTF8 strings (Froyo compatibility). 2010-06-03 14:44:50 +02:00
Ryszard Wiśniewski
4ea40577bf StringBlock.getString(): decoding strings using CharsetDecoder. 2010-06-03 13:42:17 +02:00
Ryszard Wiśniewski
a7fd5fd70a StringBlock: changed type of m_strings from int[] to byte[]. 2010-06-03 12:51:44 +02:00
Ryszard Wiśniewski
397d69c72a +Androlib.installFramework() 2010-06-03 09:25:42 +02:00
Ryszard Wiśniewski
5fda5dbf00 ARSCDecoder: modified interface to be more flexible - added ARSCData class. 2010-06-03 09:23:58 +02:00
Ryszard Wiśniewski
58e7d6960f Moved publicizeResources() implementation to AndrolibResources. 2010-06-02 13:27:42 +02:00
Ryszard Wiśniewski
be3743e967 Removed HTC resources. 2010-06-02 11:45:00 +02:00
Ryszard Wiśniewski
2eb8b20d40 Use framework files from hard disk when building apk. 2010-06-02 11:39:35 +02:00
Ryszard Wiśniewski
51a429ebd9 AndrolibResources.getFrameworkApk(): fixed small bug, occuring when frameTag is null. 2010-06-02 11:21:37 +02:00
Ryszard Wiśniewski
c3fc711ee2 AndrolibResources.aaptPackage(): added include argument, removed some bad magic. 2010-06-02 11:07:17 +02:00
Ryszard Wiśniewski
c410a27cd8 AndrolibResources.aaptPackage(): create args array using List. 2010-06-02 10:31:25 +02:00
Ryszard Wiśniewski
3d69eb9fd5 +ResTable.listFramePackages() 2010-06-02 10:12:00 +02:00
Ryszard Wiśniewski
0ad4f262a6 Androlib.writeMetaFile(): use default intendation. 2010-06-02 10:11:24 +02:00
Ryszard Wiśniewski
ebfb9e3038 Storing isFrameworkApk bool in apktool.yml instead of guessing it at build time. 2010-06-02 09:37:19 +02:00
Ryszard Wiśniewski
1826c7f65f Added apktool.yml file for storing project meta-data. 2010-06-02 09:32:12 +02:00
Ryszard Wiśniewski
c57b79ff27 +Androlib.getVersion() 2010-06-02 09:08:54 +02:00
Ryszard Wiśniewski
ce9c6304af AndrolibResources.loadFrameworkPkg(): added check for loaded pkg id. 2010-06-02 00:43:31 +02:00
Ryszard Wiśniewski
28d4457481 Moved OutDirExistsException to package brut.androlib.err . 2010-06-02 00:10:52 +02:00
Ryszard Wiśniewski
d2fdeb5a73 Reading framework files from hard disk. 2010-06-02 00:09:38 +02:00
Ryszard Wiśniewski
43797e0c0d Throwing exception when decoding to existing directory. 2010-06-01 14:30:08 +02:00
Ryszard Wiśniewski
25ec196cfa From now there is no need to use -s/-r switch, when apk doesn't contain sources/resources. 2010-06-01 14:06:13 +02:00
Ryszard Wiśniewski
f07aae158a TypeName.fetchFromInternalName(): fixed a bug occuring when parsing class name without a package. 2010-06-01 13:30:09 +02:00