gEDA-dev: More changes

Peter Clifton pcjc2 at cam.ac.uk
Wed Aug 15 07:26:33 EDT 2007


On Wed, 2007-08-15 at 07:00 -0400, Stuart Brorson wrote:
> > There are cleanups for translating objects, and now (not fully tested),
> > code which uses GLists of OBJECTs for attribute placement and
> > paste-buffers. This saves a lot of code.
> 
> Just a quick question:  Gattrib often dereferences pointers into lists
> instead of using methods to grab attributes.  Bad programming
> practice, I know.....   but it got me to a working program rilly fast.

As a side note, did you notice how complicated and confusing all the
methods for manipulating attributes are? (The answer is _very_).

They are all very similarly named, and behave subtly differently. I
expect there is some cleanup possible.

In spite working with the code lots, I have found the best reference for
this later hacking I've been doing (on OBJECT structures) has been your
data-structure diagram.

Many many thanks for producing that!

I'll have to do an updated version if / when I push these changes which
alter them.

Regards,

Peter Clifton




More information about the geda-dev mailing list