Xcircuit v3.x  Things To Do (file TODO)
----------------------------------------------------------------------
Bugs to fix ASAP:

1) Graphic element:  Does not draw correctly when in a subcircuit
  (ignores the transformation matrix---image is not recalculated).

2) Graphic element:  Incorrect Flate encoding output.  Last character
  may be missing for certain data bit counts, causing an error in
  GhostView.

3) Position parameters have serious consequences for netlisting, in
  that it can cause an object's netlist to change on a per-instance
  basis.  This should be either dealt with or prevented.  (5/20/04:
  some per-instance handling has been added for string parameters
  in labels; the same procedure would apply to numerical parameters
  but needs to be coded).

4) Positional parameters cause incorrect redisplay during polygon/path
  edit (display reverts to original value).  Deletion of points during
  polygon edit must not delete parameterized points, and insertion of
  points must renumber parameterized points.

5) Substring selection in labels is backwards when the "flip
  invariance" feature has rotated the text string 180 degrees.

6) Colormap installation may be incomplete if xcircuit runs out
  of colors in the middle of running the program (minor problem;
  unlikely to happen).

7) Color and Page menus run off the top and bottom of the screen
  if the lists get to be too long.

----------------------------------------------------------------------
Features to add or change (schematic-capture-specific):

1) Page indices need to be separated from the pagelist indices, so
   that schematic library objects can be loaded and manipulated
   without having to be displayed in the page list. 

2) Need to translate the Python routines for handling the "generic"
   netlist output to Tcl.

----------------------------------------------------------------------
Features to add or change (general):

1) Graphic element, still to be addressed:

    A) Incorporate raw PostScript by using ghostscript to generate
       PPM data, and handling it like a PPM file, but treating it
       in file input/output as an encapsulated PostScript block.
       This should replace the current background rendering code.

    B) Rewrite the image processing routines to clip the size of
       the target image when outside screen bounds.  Cropped
       images must be declared invalid on pan operations.

    C) Page saves for backup should not write the graphic image,
       or at least should not write it more than once (write it
       to a separate file?)

2) "Attach" should work in many more modes than it does.

3) Some better handling of over/under arrangements of elements

4) Vectored font output in PostScript.

5) Proper cornering on dot/dashed boxes (maybe easier to
   do in xcircuit and enforce WYSIWYG in PostScript?)

6) Switch to all-floating-point internal units? ---probably not
   necessary, but converting all XPoints to structures with ints
   would be helpful.

7) Comprehensive dependency list for allowing/disallowing
   menu and keyboard functions.

----------------------------------------------------------------------
