2003-02-10 Mark Bucciarelli * Created doc/javadoc directory so "ant doc" works. * Cleaned up some of the documentation. 2003-02-10 Mark Bucciarelli * *.java: Changed GNU license header to proper format. 2003-01-14 Mark Bucciarelli * ./python/parseL004.py: Wrote it and updated ../lib/usps/L004.txt with the output. L004 (used by com.easymailings.ADCList) is now up-to-date. 2002-12-14 Mark Bucciarelli * TextReader.java: No longer use Paneris.org CSVStringTokenizer, as it had a bug when the first two tokens were empty. * TextReader.java: Catch explicit exceptions and give different error messages, instead of lumping them all in a catch (Exception e) clause. * Mailing.java: Set minimum full tray size to 150 for both small and large trays. * Package.java: Fixed ADC_SORT comparator to put mixed packages at end. This was creating a bug in the traying logic. * Tray.java: Set minPieceCnt to 150. * build.xml: Took out reference to paneris.jar. No longer needed. * TokenArray.java: Created. Passed a string, a delimiter and a text qualifier, returns an array of strings, one for each column in the line. Handles lines that have empty tokens, unlike StringTokenizer and the paneris CSVStringTokenizer. * NcoaReport.java: Use TokenArray, not CSVStringTokenizer. * TextReader.java: Use TokenArray instead of internal code. 2002-12-14 Mark Bucciarelli * Mailing.java: Added cass certified property ("cass_certified") to distinguish between mailings that are automation compatable but are not cass certified and those that are both. Mailings that are automated but not CASS certified have much less sorting; for example, you don't need packages in a three digit tray. * TextReader.java: Added plusfour property, to handle input text files that have the five-digit zip in one column and the plus-four in another. 2002-12-13 Mark Bucciarelli * LabelMaker.java: accept configuration file and label output file on command line. Also uses -h for help. * ez: modify shell script to pass command line arguments to LabelMaker. 2002-12-12 Mark Bucciarelli * build.xml: project now builds again with ant. * TestADCList.java: got working again (with Ant). * TestTextReader.java: updated tests. * AddressListReader.java: add java.util.Properties object to TextReader constructor. * TextReader.java: add Properties object. Get column id's from properties; for example, props.getProperty("name"). Allow for "name" (or "first_name" and "last_name"), "line2", "line3", "stree", "city", "state", "zip" and "delivery_point". Throw EasyMailingsException if properties object does not include "first_name" and "last_name" or "name" properties. Implement text delimiters. Rather limited--either all columns have them or all columns don't. * TestTextReader.java: use properties object with TextReader. * MailingProperties.java: Added new class to encapsulate the property file logic. * LabelMaker.java: Don't parse properties. Instead, read properties from disk and then pass MailingProperties object to Mailing and let it do the work. * AddressListReaderFactory.java: Removed READER_CLASS_PROPERTY property and moved it to the new MailingProperties object. 2002-09-03 Mark Bucciarelli * TestLog.java: Added line numbers when writing test log lines to make sure that all lines are recorded properly. 2002-08-15 Mark Bucciarelli * ADCList.java: added actual zip codes to ADC package label so you can package stuff manually just from reading the standard output of running the ez batch file. 2002-04-04 Mark Bucciarelli * ./doc/guide.html: Changed calibration section. Added troubleshooting section. Added note about traylabels.properties. 2002-03-26 Mark Bucciarelli * ./src/buildjar.bat: created. * ./src/sourcefiles: created. Used by buildjar.bat for Windows builds. * ./src/python/checkinput.py: created. Uses python to do some rudimentary checking on the format of the input file. It's currently a better documentation of the com.easymailings.io.TextReader operation than the class documentation. * ./src/**: Formatted all source code according to sun's conventions using Jacobe. (See http://www.tiobe.com/jacobe.htm.) * ./src/com/easymailings/Log.java: Fix formatting of header. Use support email instead of sending them to site. * ./src/com/easymailings/io/TextReader.java: When setting delimiter from properties file, trim spaces from both ends and the pick the first character. Handles case if delimiter is a space, pathological as it may be. * ./src/prj.el: Took out of archive. It's dormant and the old version does not match the settings from Jacobe's formatting. 2001-09-03 Mark Bucciarelli * Log.java: Close buffered reader and writer so file gets copied properly.