76 Commits

Author SHA1 Message Date
Ben Gruver
9f1d05eb44 Move Utf8Utils to util module, and split out StringUtils 2012-10-21 21:19:39 -07:00
Ben Gruver
337dc0ea26 Move AlignmentUtils to Util library 2012-10-19 18:04:00 -07:00
Ben Gruver
064d77c3ad Implement reading instructions 2012-10-18 18:59:41 -07:00
Ben Gruver
e8665c7a91 Add string formatting functionality to ExceptionWithContext 2012-10-15 22:44:15 -07:00
Ben Gruver
22eede870f Change ImmutableList.convert to return an empty list rather than null 2012-10-15 22:13:19 -07:00
Ben Gruver
bf95959ae4 Move ExceptionWithContext to Util module 2012-10-15 20:23:01 -07:00
Ben Gruver
cc15feab69 Add AbstractListIterator and ImmutableListConverter classes to util module 2012-10-14 22:50:03 -07:00
Ben Gruver
40c48da564 The great tab cleanup of 2012 2012-09-23 21:16:21 -07:00
Ben Gruver
181c04c839 Add copyright/license for build scripts 2012-09-16 00:03:44 -07:00
Ben Gruver
dc3c933b95 Remove poms and smali-maven-plugin 2012-09-15 23:57:24 -07:00
Ben Gruver
7d7ee58ad9 gradleize util project 2012-09-15 15:58:31 -07:00
Ben Gruver
4374e7babc Don't use con.smali to test if we're on a windows system. 2012-09-04 23:38:21 -07:00
Ben Gruver
06bc17a75e Correctly handle duplicate (except case) reserved file names on windows 2012-09-04 21:04:13 -07:00
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
225535b1c9 Add .gitignore files to exclude the target directory for the various modules 2011-11-19 11:39:45 -08: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