AFF Development Task List
Revision as of 16:13, 25 July 2007 by Simsong
- Create man pages and/or documentation for AFF toolkit. To wit:
* aimage * ident * afcat * afcompare * afconvert * affix * affuse * afinfo * afstats * afxml * afsegment
- Add a usage description to afcat. When run with no arguments the output should say what the program does.
- Create man pages and/or documentation for AFF library functions (e.g. ,af_open, af_get_imagesize)
- Build library as a shared library using libtool. This will allow developers using the library to just link to the AFF. Without it, developers must link to the static library and the individual libraries necessary on that machine. There is no good way to determine those extra libraries.
- Document that af_write may not be called without first setting the image_pagesize value inside of the AFFILE structure. Not doing so causes a divide by zero error. Perhaps we should 1. Check that image_pagesize is not zero and 2. Set image_pagesize to a known good default value when opening a new AFF file for writing.
- How about renaming the library to libaff? That would allow developers to link with -laff instead of -lafflib. To my knowledge, there is no existing library named AFF already.
- Response: The problem with doing this is that we have AFFLIB.ORG; AFF.ORG is the Arab Film Festival.
- Is there a set of segment names that must be defined to have a valid AFF file?
- Document that af_open (when writing a file) does more than a standard fopen command. The command writes an AFF stub of some kind to the output file. Users should be cautioned not to use this function as a test, lest they overwrite data.
- Does af_open refuse to open a file for writing if it already exists? If so, what kind of error does it return?
- Document how to programmatically enumerate all segments and values in a file. That is, explain how to get the output of $ afinfo -a.
- Add library function to open standard input. Perhaps:
AFFILE * af_open_stdin(void);