[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Make-sure-internal-order-of-symbols-is-not-relevant-.patch



On Jul 28, 2009, at 8:46 PM, Kai-Martin wrote:

> This is the patch that makes gnetlist output of footprints for multi
> part components insensitive to internal order. Like so many  
> projects, this is
> not the final solution to all problems of computer science. See my  
> discussion
> with John Doty on this list. It may be useful to apply this  
> algorithm to more
> attributes than just footprints. However, this patch fixes the  
> immediate
> problem that made me to start hacking in the first place.
>
> Please check the diffs for obvious problems.
> Most of the new code is in s_netlist.c and a hook in s_traverse.c.
> There is a new struct COMPONENT in libgeda/include/libgeda/struct.h
> which was necessary for the conversion of the internal  
> representation from
> NETLIST to GList and back.

Ugh.

Wrong layer. Massive, unnecessary complexity that only (as you say)  
solves one problem from an open ended collection.

But simply let the back end see all the data, and the whole thing  
becomes easy without limiting flexibility.

>
> I'd be pleased to see this patch hit the main branch of gnetlist.
>
> ---<(kaimartin)>---
> -- 
> Kai-Martin Knaak
> Email: kmk@xxxxxxxxxxxxxxx
> Öffentlicher PGP-Schlüssel:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6C0B9F53
>
> <0001-Make-sure-internal-order-of-symbols-is-not-relevant-.patch>
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd@xxxxxxxxx




_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user