www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/06/30/22:10:51

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Fri, 1 Jul 2016 04:16:04 +0200 (CEST)
X-X-Sender: igor2 AT igor2priv
To: "Atommann (atommann AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu"
From: gedau AT igor2 DOT repo DOT hu
Subject: Re: [geda-user] Image search mode for gedasymbols site
In-Reply-To: <alpine.DEB.2.11.1606301933590.1448@nimbus>
Message-ID: <alpine.DEB.2.00.1607010409100.7286@igor2priv>
References: <CANDNR8oRiXYxS5b4fhqiiWDDsHgOg_cwCet3vFXFC2ovN8yOSg AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1606300553100 DOT 7286 AT igor2priv> <CANDNR8rFvPzSD16E+igm07RsjTCTkUR907p6F4iJmb_Na2PKTg AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1606300708030 DOT 7286 AT igor2priv>
<alpine DOT DEB DOT 2 DOT 11 DOT 1606301933590 DOT 1448 AT nimbus>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Thu, 30 Jun 2016, Roland Lutz wrote:

<snip>
> The almost-finished code for the symbol part has been sitting around in a 
> branch for quite a while; maybe I'll take this as a motivation to finally 
> merge it.  For footprints, there is a bit more work to be done as the PCB file 
> reading and writing code couldn't easily be used outside of the main PCB 
> application last time I looked.  Maybe Igor2 has worked on this while 
> modularizing the PCB code, though.

Yes, I was working on this one: the whole .pcb and .fp format code is a 
~2k sloc plugin now, behind an API of 6 function pointers. While this 
makes it easy to provide alternative file format plugins for pcb-rnd, it 
doesn't (yet?) do the other way: the code still depends on "global.h" and 
friends. So if you want to reuse the parser linking the plugin 
directly, that still would bring in most of the core (~40k sloc).

I have longer term plans to turn the core into a misc part (that contains 
main() for example) and a lib external tools can link against.

Regards,

Igor2


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019