62 Commits

Author SHA1 Message Date
Ben Gruver
3f70d08442 Gracefully handle duplicate methods and fields in baksmali
baksmali will emit duplicate methods and fields as commented blocks, when it
is safe to do so.
2012-06-19 16:03:20 -07:00
Ben Gruver
36c2f08ba0 Clean up how the usage messages are printed
This also fixes an OOM issue when trying to print the usage message
on a terminal that doesn't report its width.
2012-05-13 11:57:50 -07:00
Ben Gruver
74c14ffcca Rename the printLongAsHex and printIntAsHex methods in IndentingWriter for clarity 2011-07-15 13:32:36 -04:00
Ben Gruver
f119fc6db5 Fix the printIntAsDec method in Indenting writer to correctly handle negative values 2011-07-15 13:32:27 -04:00
JesusFreke@JesusFreke.com
b9f9e85d84 Append a # to the end of class names that happen to be reserved file names on windows
git-svn-id: https://smali.googlecode.com/svn/trunk@790 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2010-09-25 16:04:33 +00:00
JesusFreke@JesusFreke.com
4b72225e9d Move the IndentingWriter class to the util project
git-svn-id: https://smali.googlecode.com/svn/trunk@788 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2010-08-17 13:27:58 +00:00
JesusFreke@JesusFreke.com
bbf4dbba61 Rename fileNameHandler to ClassFileNameHandler and move it to the utils project
git-svn-id: https://smali.googlecode.com/svn/trunk@787 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2010-08-17 13:27:25 +00:00
JesusFreke@JesusFreke.com
525ad75b9d Fix @Override issues when compiling with java 1.5
git-svn-id: https://smali.googlecode.com/svn/trunk@786 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2010-08-17 13:27:06 +00:00
JesusFreke@JesusFreke.com
a6e5671a62 Add support for class names that differ only by case on case insensitive file systems
git-svn-id: https://smali.googlecode.com/svn/trunk@784 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2010-08-02 00:58:12 +00:00
JesusFreke@JesusFreke.com
9ac6fa5048 Add a utility method for constructing a relative path
git-svn-id: https://smali.googlecode.com/svn/trunk@754 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2010-06-13 20:34:20 +00:00
JesusFreke@JesusFreke.com
6786055f35 Move the HelpFormatter subclass to the util project and use it for both smali and baksmali
git-svn-id: https://smali.googlecode.com/svn/trunk@667 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2010-03-03 07:12:06 +00:00
JesusFreke@JesusFreke.com
c616a0dadc Add support for detecting the console width in unix and windows environments, and printing the usage info accordingly
git-svn-id: https://smali.googlecode.com/svn/trunk@666 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2010-03-03 07:11:32 +00:00