[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: gschem and CVS
Hi --
> What I suggest is to create the "t" command (keep "T" for backward
> compatibility) that read not a specific number of lines but while the
> first letter is "-" let's say and discard this first letter. In such
> way that $Log:$ will be able to work.
>
> I can even to the modification if someone can point me where to begin in
> the code (I couldn't find by myself where is the parsing/saving)
I don't have the source in front of me, but I can say that the
functions you want live in the libgeda code base, not in gschem. Edit
the noweb source; the C code is auto generated from the noweb source
using make. (This was Ales' early experiment in literate programming.)
As for the fcns you want, start with f_write (or whatever), and follow
it down to o_write (or whatever it's called). You can grep for these
in the libgeda/noweb directory. Also, if you want a 1/2-decent
picture of what a schematic looks like as a data structure in
gEDA/gaf, take a look at this graphic, which I keep in my gattrib
source files:
http://cvs.seul.org/cgi-bin/ viewcvs.cgi/eda/geda/devel/gattrib/design/gEDA_Structures_updated.png
(Note the strategic space after cgi-bin in the above line. I put that
there to keep bots out of CVS. You should fill it in when visiting
that link.)
Additional notes about gEDA/gaf data structures are in:
http://cvs.seul.org/cgi-bin/ viewcvs.cgi/eda/geda/devel/gattrib/NOTES
(Again, note spaces after cgi-bin in above line.)
Finally, if you are anywhere near Boston, MA, USA, you can see Ales
talk about how this works tomorrow at our Free Dog meeting (Wed. Dec
1st).
http://www.freeedaug.org/
> I would like to add something to the wish list : the ability to do a
> diff and even better a merge in between two schematic. That will beat
> many commercial tools...
This would be cool. However, I wonder why you would want to do this
with the schematic capture package, when you can do it using unix
command line utilities on gschem's ASCII files. Is there an
advantage, or am I misunderstanding something?
Stuart