← Back to team overview

kicad-developers team mailing list archive

Re: EESCHEMA: New design for a distributed library management system.


Distributed library, huh!  I want to check out the spec, but
the suggestion to go to Mericurial is probably a good one...
distributed depos for code and libraries. I would probably
like to be able to diff ascii parts in addition to a visual diff
before I commit to local project useage. (anyy visual preview should also
show the grid pins need to snap to). There is a lot of activity of 
projects moving away from cvs to Hg, maybe even the mothership, who 
is a gold sponsor, an interesting way of funding Open source projects...
I did a brief look at Hg, got messed up with sub-repos, but it does look
promising. I will most likely we working for money over the holidays, 
otherwise I might contribute...

Merry Christmas to all,

--- dick@xxxxxxxxxxx wrote:

From: Dick Hollenbeck <dick@xxxxxxxxxxx>
To: KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
Subject: [Kicad-developers] EESCHEMA: New design for a distributed library	management system.
Date: Mon, 13 Dec 2010 12:15:34 -0600

Hey Guys,

After a significant wait, I actually did follow through and put together my thoughts
on a distributed library managment system for EESCHEMA.  Eventually some of these
design ideas could be used on PCBNEW also, but that is not happening yet.

I have been thinking about this design for approximately a year.  Then 3 months ago
began discussing it on the list.  Wayne has been very supportive, and then advanced
beyond that and actually offered to write the part description grammar spec.

Since then, we have been discussing this when we have time, and he has that second
part of the design nearly ready to go in the form of the part description language
spec, tentatively name "Sweet".

There are actually 3 new main concepts being introduced at once:

1) Distributed libraries, with an *abstract* library API.
2) Parts List.
3) Part description language.

Taken together, it will basically mean rewriting EESCHEMA to implement all three
concepts, and I don't think any one of the concepts can be done without the other two.

Wayne and I will be busy over the Christmas holidays, others are welcome to join in. 
In advance of that work, if you feel you can contribute any improvements to the
concepts please let me know soon.

I will be coding the LIB manager and at least one or two LIB_SOURCEs, and the
PARTS_LIST over the holidays, hopefully. 

If there is enough time, and assuming Wayne can do the part parsing and get it to me
on time, I will also do a preliminary text driven GUI which calls the parser to draw a
part on screen, and at that time I'd like to take a look at Torsten's GAL to do the
graphics portion of it.  It is only a single panel, not a significant commitment to
the GAL, but an experiment.  The test tool will not initially support GUI editing,
only GUI display of what is parsed in text, per previous discussion on this list.  

You remember how some HTML editors allow you to edit the HTML source and then display
the GUI in another panel.  I think inkscape may have a similar mode, editing SVG as
text, then displaying it. 

Hopefully Sweet will be easy enough to edit in this way, TBD.

To get a look at the distributed library management design, run doxygen on the
design.h file in /new, or use the script in there to do that.  Output HTML goes into
new/html.  Be sure not to miss the block diagram graphic at the bottom of the main page.


Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Follow ups